Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Want to avoid loading modules at boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
cesar
Tux's lil' helper
Tux's lil' helper


Joined: 15 Aug 2003
Posts: 124

PostPosted: Sat Aug 23, 2003 2:24 am    Post subject: Want to avoid loading modules at boot Reply with quote

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
View user's profile Send private message
Anacific
Apprentice
Apprentice


Joined: 05 Jun 2003
Posts: 210
Location: Toronto, Canada

PostPosted: Sat Aug 23, 2003 2:29 am    Post subject: Reply with quote

Have you tried /etc/modules.autoload?
_________________
warning: `class GroveImpl' only defines a private destructor and has no friends.
Back to top
View user's profile Send private message
cesar
Tux's lil' helper
Tux's lil' helper


Joined: 15 Aug 2003
Posts: 124

PostPosted: Sat Aug 23, 2003 2:40 am    Post subject: Reply with quote

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
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sat Aug 23, 2003 2:46 am    Post subject: Reply with quote

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
View user's profile Send private message
cesar
Tux's lil' helper
Tux's lil' helper


Joined: 15 Aug 2003
Posts: 124

PostPosted: Sat Aug 23, 2003 3:08 am    Post subject: Reply with quote

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
View user's profile Send private message
arosboro
n00b
n00b


Joined: 19 Aug 2003
Posts: 73
Location: Pennsylvania, USA

PostPosted: Sat Aug 23, 2003 3:46 am    Post subject: Reply with quote

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
View user's profile Send private message
arosboro
n00b
n00b


Joined: 19 Aug 2003
Posts: 73
Location: Pennsylvania, USA

PostPosted: Sat Aug 23, 2003 4:04 am    Post subject: Reply with quote

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
View user's profile Send private message
cesar
Tux's lil' helper
Tux's lil' helper


Joined: 15 Aug 2003
Posts: 124

PostPosted: Sat Aug 23, 2003 4:15 am    Post subject: Reply with quote

Great!!! Thanks so much, now I have a clean startup.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum