Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

Want to avoid loading modules at boot

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
cesar
Tux's lil' helper
Tux's lil' helper
Posts: 124
Joined: Fri Aug 15, 2003 4:41 am

Want to avoid loading modules at boot

  • Quote

Post by cesar » Sat Aug 23, 2003 2:24 am

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.
Top
Anacific
Apprentice
Apprentice
User avatar
Posts: 210
Joined: Thu Jun 05, 2003 8:30 pm
Location: Toronto, Canada

  • Quote

Post by Anacific » Sat Aug 23, 2003 2:29 am

Have you tried /etc/modules.autoload?
warning: `class GroveImpl' only defines a private destructor and has no friends.
Top
cesar
Tux's lil' helper
Tux's lil' helper
Posts: 124
Joined: Fri Aug 15, 2003 4:41 am

  • Quote

Post by cesar » Sat Aug 23, 2003 2:40 am

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.
Top
cyrillic
Watchman
Watchman
User avatar
Posts: 7311
Joined: Wed Feb 19, 2003 3:05 am
Location: Groton, Massachusetts USA

  • Quote

Post by cyrillic » Sat Aug 23, 2003 2:46 am

Are you using hotplug to load modules ?

You can disable it like this :

Code: Select all

# rc-update del hotplug 
This does not uninstall hotplug, it just removes hotplug from the startup scripts.
Top
cesar
Tux's lil' helper
Tux's lil' helper
Posts: 124
Joined: Fri Aug 15, 2003 4:41 am

  • Quote

Post by cesar » Sat Aug 23, 2003 3:08 am

cyrillic wrote:Are you using hotplug to load modules ?

You can disable it like this :

Code: Select all

# 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).
Top
arosboro
n00b
n00b
User avatar
Posts: 73
Joined: Tue Aug 19, 2003 3:49 am
Location: Pennsylvania, USA
Contact:
Contact arosboro
Website

  • Quote

Post by arosboro » Sat Aug 23, 2003 3:46 am

Can't you do something like changing

Code: Select all

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
Top
arosboro
n00b
n00b
User avatar
Posts: 73
Joined: Tue Aug 19, 2003 3:49 am
Location: Pennsylvania, USA
Contact:
Contact arosboro
Website

  • Quote

Post by arosboro » Sat Aug 23, 2003 4:04 am

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
Top
cesar
Tux's lil' helper
Tux's lil' helper
Posts: 124
Joined: Fri Aug 15, 2003 4:41 am

  • Quote

Post by cesar » Sat Aug 23, 2003 4:15 am

Great!!! Thanks so much, now I have a clean startup.
Top
Post Reply

8 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy