View previous topic :: View next topic |
Author |
Message |
Gast n00b
Joined: 01 Nov 2004 Posts: 28 Location: .de
|
Posted: Thu Nov 04, 2004 9:39 pm Post subject: Q about modules |
|
|
Hello,
at some point of the installation, the manual asks you to add all additional modules to /etc/modules.autoload.d/kernel-2.x
The available modules can be found by typing:
Code: |
find /lib/modules/2.6.9-gentoo-r1 -type f -iname '*.o*' -or -iname '*.ko'
|
These modules are returned:
Code: |
/lib/modules/2.6.9-gentoo-r1/video/fglrx.ko
/lib/modules/2.6.9-gentoo-r1/kernel/lib/libcrc32c.ko
/lib/modules/2.6.9-gentoo-r1/kernel/net/ipv4/netfilter/ipt_NOTRACK.ko
/lib/modules/2.6.9-gentoo-r1/kernel/net/ipv4/netfilter/iptable_raw.ko
/lib/modules/2.6.9-gentoo-r1/kernel/drivers/net/s2io.ko
/lib/modules/2.6.9-gentoo-r1/kernel/drivers/net/dummy.ko
/lib/modules/2.6.9-gentoo-r1/kernel/drivers/usb/misc/cytherm.ko
/lib/modules/2.6.9-gentoo-r1/kernel/drivers/usb/misc/phidgetservo.ko
/lib/modules/2.6.9-gentoo-r1/kernel/drivers/usb/input/touchkitusb.ko
/lib/modules/2.6.9-gentoo-r1/kernel/drivers/base/firmware_class.ko
/lib/modules/2.6.9-gentoo-r1/kernel/drivers/char/agp/intel-mch-agp.ko
/lib/modules/2.6.9-gentoo-r1/kernel/drivers/scsi/sata_sis.ko
/lib/modules/2.6.9-gentoo-r1/kernel/drivers/scsi/sata_sx4.ko
/lib/modules/2.6.9-gentoo-r1/kernel/drivers/scsi/ipr.ko
/lib/modules/2.6.9-gentoo-r1/kernel/drivers/scsi/dpt_i2o.ko
|
Although I have no idea what their intention is, I added them to /etc/modules.autoload.d/kernel2.6.9-gentoo-r1, follwing the example in the manual (i.e. I skipped the path). I guess scsi/sata_s* concerns SATA-devices, but I don't have any.
At the next boot, I get a lot of messages that these modules couldn't be loaded. My next attempt was to include the full path name in the configuration file. Still the same messages.
Then I disabled all these modules and everything still seems to be ok so far.
Maybe someone can tell me what these modules are good for? Why would I need a sata-module with no SATA drives? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Thu Nov 04, 2004 9:48 pm Post subject: |
|
|
Gast,
The filename you should have used is /etc/modules.autoload.d/kernel-2.6 for any 2.6 kernel, not /etc/modules.autoload.d/kernel2.6.9-gentoo-r1 as you posted.
You only add the names of modules you have a use for here, then the system will load them for you at startup. e.g. your network card driver module. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Gast n00b
Joined: 01 Nov 2004 Posts: 28 Location: .de
|
Posted: Thu Nov 04, 2004 9:58 pm Post subject: |
|
|
Thanks,
but how do I find out what these modules are good for? Eg cytherm.ko, phidgetservo.ko, dummy.ko etc.
I don't know if I need them or if I can live without 'em |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Thu Nov 04, 2004 10:09 pm Post subject: |
|
|
Gast,
Read the help pages that you can see when you configure the kernel.
This will tell you what module name goes with what function. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Gast n00b
Joined: 01 Nov 2004 Posts: 28 Location: .de
|
Posted: Thu Nov 04, 2004 10:11 pm Post subject: |
|
|
NeddySeagoon,
thanks again. I'll give that a try! |
|
Back to top |
|
|
|