[olug] modules.conf

drose.SCANTRON at scantron.com drose.SCANTRON at scantron.com
Mon Aug 25 17:19:54 UTC 2003


I see.  Maybe I misunderstood what the /etc/modules.conf file was.  I never
had a need to load modules before.  I guess I just assumed that the
/etc/modules.conf file was the file in which the modules were loaded from.
After what you just said, and reviewing startup scripts, I see the errors
of my ways.  I now believe that rc.local is the correct place to load the
module.

Thanks for the help.

Daryl Rose
Scantron Service Group
Unix Support Specialist
drose at scantron.com
1-800-228-3628 x3061


                                                                                                                                       
                      "Eric Penne"                                                                                                     
                      <epenne at olug.org>        To:       <olug at olug.org>                                                               
                      Sent by:                 cc:                                                                                     
                      olug-bounces at olug        Subject:  Re: [olug] modules.conf                                                       
                      .org                                                                                                             
                                                                                                                                       
                                                                                                                                       
                      08/22/2003 05:20                                                                                                 
                      PM                                                                                                               
                      Please respond to                                                                                                
                      Omaha Linux User                                                                                                 
                      Group                                                                                                            
                                                                                                                                       
                                                                                                                                       




On my debian system, /etc/modules.conf is for configuring modules.
/etc/modules is for loading the modules.

All I have to do to load a module at boot is to put it's name in the
/etc/modules file.

Not sure if your's is the same or not.


>
> If I make up an alias, i.e. alias easycon stallion, and put that in the
> modules.conf file, modprobe does not load it.  I verify that by doing an
> lsmod and do not see the module loaded.
>
> If I do a modprobe -c|less, I do see the alias and module listed, but
> modprobe did not load the module.  In other words, it did see my entry
> in the modules.conf, but didn't load the module into the kernel.
> i.e.
>
> # Generated by modprobe -c (2.4.14)
> path[boot]=/lib/modules/boot
> path[toplevel]=/lib/modules/2.4.18-3
> path[toplevel]=/lib/modules/2.4
> path[kernel]=/lib/modules/kernel
> path[fs]=/lib/modules/fs
> path[net]=/lib/modules/net
> .
> .
> alias tty-ldisc-11 irtty
> alias tty-ldisc-14 ppp_synctty
> alias ppp-compress-21 bsd_comp
> alias ppp-compress-24 ppp_deflate
> alias ppp-compress-26 ppp_deflate
> alias parport_lowlevel parport_pc
> alias usbdevfs usbcore
> alias easycon stallion    <= Module showes up here.=>
> # Options
>
> Now, Cyclades is listed as:
> alias char-major-19 cyclades
> alias char-major-20 cyclades
>
> so I thought that I would follow this format.  The major device number
> for the Stallion is:  24.
> I tried alias char-major-24 stallion.
>
> Modprobe still does not load the modules into the kernel.
>
> So far the only way that I've been able to get the module to install at
> bootup is by placing it in /etc/rc.d/rc.local.  i.e.  insmod stallion.
> This works, but I don't thing that this is the proper way to do it.
>
> As far as Computone.  Yes, Computone is dead.  We have customers that
> still use it.  We can get replacement parts, but its difficult.  If
> possible, we switch our customers to Digi. Also, the customers that we
> have using Computone are on SCO.  So far we only have customers using
> Digi and Stallion on Linux.
>
> Thank you.
>
> Daryl Rose
> Scantron Service Group
> Unix Support Specialist
> drose at scantron.com
> 1-800-228-3628 x3061
>
>
>
>
>                       "Mike Peterson"
>
>                      <mpeterson at mail.charlesfur
>     To:       "Omaha Linux User Group"
> <olug at olug.org>
>    niture.com>                       cc:
>
>                         Sent by:
>        Subject:  Re: [olug] modules.conf
>
> olug-bounces at olug.org
>
>
>
>
>                       08/22/2003 02:34 PM
>
>                      Please respond to Omaha
>
>                                           Linux
> User Group
>
>
>
>
>
>
>
>
> If you do an lsmod and match that to what is in modules.conf the
> stallion.o might now exist.
> If not, use the same format as the other items in modules.conf using the
> info for how the alais is matched up in lsmod.
>
> Computone is out of business from I have found.
> I use Computone and Equinox on SCO but am going to use on Equinox on
> Linux.
>
> Do you use Computone on Linux or just UNIX?
>
> ----- Original Message -----
> From: <drose.SCANTRON at scantron.com>
> To: "Omaha Linux User Group" <olug at olug.org>
> Sent: Friday, August 22, 2003 2:04 PM
> Subject: Re: [olug] modules.conf
>
>
>>
>> The controller card is an interal card, with an external module.  The
>> controller is a Stallion EasyConnection 8/64 PCI.
>>
>> Stallion only has drivers for <= 2.2 kernel.  They say to use the
>> kernel built in modules, stallion.o, for 2.4 kernels.
>>
>> If I do a insmod stallion, they load just fine.  But I want to be able
>> to have the module load on bootup, i.e. modules.conf.  I've never put
>> a
> module
>> in modules.conf by hand before.  If I've ever installed something that
>> required a module to be loaded, an install program put it in the
>> modules.conf, and I've never thought twice about it.
>>
>> As far as using Equinox, this is a customer requirenment.  Our
>> customers use Digi, Equinox, Stallion, and Computone.
>>
>> Daryl Rose
>> Scantron Service Group
>> Unix Support Specialist
>> drose at scantron.com
>> 1-800-228-3628 x3061
>>
>>
>>
>>                       "Mike Peterson"
>>                       <mpeterson at mail.charlesfur        To:
>> "Omaha
> Linux User Group" <olug at olug.org>
>>                       niture.com>                       cc:
>>                       Sent by:                          Subject:  Re:
> [olug] modules.conf
>>                       olug-bounces at olug.org
>>
>>
>>                       08/22/2003 12:23 PM
>>                       Please respond to Omaha
>>                       Linux User Group
>>
>>
>>
>>
>>
>>
>> Is it a internal board or an externally connected network device?
>>
>> Did it not come with or have available for download Linux install
> software?
>>
>> Did the software not already install the required module?
>>
>> Does the customer require stallion?
>>
>> Is this being moved from a UNIX system?
>>
>> I use Equinox for Linux, Windows, and UNIX.
>>
>> ----- Original Message -----
>> From: <drose.SCANTRON at scantron.com>
>> To: <olug at olug.org>
>> Sent: Friday, August 22, 2003 10:41 AM
>> Subject: [olug] modules.conf
>>
>>
>> > I want to add a multiport serial board (stallion) to the
>> modules.conf
>> file.
>> > Do I make up an alias name for it? Or is there predefined aliases
>> that
> I
>> > have to use?
>> >
>> > Thanks
>> >
>> > Daryl Rose
>> > Scantron Service Group
>> > Unix Support Specialist
>> > daryl_rose at scantron.com
>> > 1-800-228-3628 x3061
>> >
>> >
>> > _______________________________________________
>> > OLUG mailing list
>> > OLUG at olug.org
>> > http://lists.olug.org/mailman/listinfo/olug
>>
>>
>> _______________________________________________
>> OLUG mailing list
>> OLUG at olug.org
>> http://lists.olug.org/mailman/listinfo/olug
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> OLUG mailing list
>> OLUG at olug.org
>> http://lists.olug.org/mailman/listinfo/olug
>>
>
>
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> http://lists.olug.org/mailman/listinfo/olug
>
>
>
>
>
>
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> http://lists.olug.org/mailman/listinfo/olug



_______________________________________________
OLUG mailing list
OLUG at olug.org
http://lists.olug.org/mailman/listinfo/olug








More information about the OLUG mailing list