View previous topic :: View next topic |
Author |
Message |
cesar Tux's lil' helper
Joined: 15 Aug 2003 Posts: 124
|
Posted: Sat Aug 23, 2003 2:24 am Post subject: Want to avoid loading modules at boot |
|
|
When I boot into gentoo, everything seems to be OK except for these lines,
insmod: /lib/modules/2.4.20-gentoo-r5/kernel/drivers/net/e100/e100.o: init_module: No such device
insmod: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
The e100 module seems to be for my network card, but Gentoo is using eepro100, so how can I tell Gentoo not to try to load the e100 module?
I've searched in modules.autoload.d and modules.conf files, even I've done "grep e100" in the whole /etc directory, but nothing is found. |
|
Back to top |
|
|
Anacific Apprentice
Joined: 05 Jun 2003 Posts: 210 Location: Toronto, Canada
|
Posted: Sat Aug 23, 2003 2:29 am Post subject: |
|
|
Have you tried /etc/modules.autoload? _________________ warning: `class GroveImpl' only defines a private destructor and has no friends. |
|
Back to top |
|
|
cesar Tux's lil' helper
Joined: 15 Aug 2003 Posts: 124
|
Posted: Sat Aug 23, 2003 2:40 am Post subject: |
|
|
Anacific wrote: | Have you tried /etc/modules.autoload? |
Yes, but it seems to be a directory (/etc/modules.autoload.d), and inside there is kernel-2.4 and kernel-2.5 files but there is nothing called e100 there. |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sat Aug 23, 2003 2:46 am Post subject: |
|
|
Are you using hotplug to load modules ?
You can disable it like this :
Code: | # rc-update del hotplug |
This does not uninstall hotplug, it just removes hotplug from the startup scripts. |
|
Back to top |
|
|
cesar Tux's lil' helper
Joined: 15 Aug 2003 Posts: 124
|
Posted: Sat Aug 23, 2003 3:08 am Post subject: |
|
|
cyrillic wrote: | Are you using hotplug to load modules ?
You can disable it like this :
Code: | # rc-update del hotplug |
This does not uninstall hotplug, it just removes hotplug from the startup scripts. |
Thanks, I will try and let you know. I started to "emerge xfree" and will take a while before I try your suggestion. All I did was to follow the installation guide from the web and after I compiled the kernel using "genkernel gentoo-sources" I typed "emerge -k hotplug"
If that were the case, is there a script where I can start hotplug after the modules for the kernel have been loaded. I remember in RH there was a file called rc.local where I put all the things I wanted to start at boot time but that were actually loaded after the system was up (for example I used that to mount an external HD). |
|
Back to top |
|
|
arosboro n00b
Joined: 19 Aug 2003 Posts: 73 Location: Pennsylvania, USA
|
Posted: Sat Aug 23, 2003 3:46 am Post subject: |
|
|
Can't you do something like changing
Code: | depend() {
need modules
}
|
or add e100 and eepro100 to /etc/hotplug/blacklist
I didn't realize hotplug was the problem, but I have the exact same issue, and just thought of those two things when I looked. _________________ Andrew Rosborough
I run on a Dell Latitude with a Core i5 and 8GB Ram |
|
Back to top |
|
|
arosboro n00b
Joined: 19 Aug 2003 Posts: 73 Location: Pennsylvania, USA
|
Posted: Sat Aug 23, 2003 4:04 am Post subject: |
|
|
You should leave the hotplug in the default boot level. Just go edit /etc/hotplug/blacklist and type in the names of the modules that insmod fails to activate several times at boot. I had to add e100 and then it started complaining about my soundcard maestro module, but everything did work, and the boot up is much cleaner than it used to be.
Good luck! _________________ Andrew Rosborough
I run on a Dell Latitude with a Core i5 and 8GB Ram |
|
Back to top |
|
|
cesar Tux's lil' helper
Joined: 15 Aug 2003 Posts: 124
|
Posted: Sat Aug 23, 2003 4:15 am Post subject: |
|
|
Great!!! Thanks so much, now I have a clean startup. |
|
Back to top |
|
|
|