Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Stopping module autoloading when modules are disabled?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
drinian
Tux's lil' helper
Tux's lil' helper


Joined: 01 Feb 2004
Posts: 81
Location: Maryland

PostPosted: Fri Jun 16, 2006 7:18 pm    Post subject: Stopping module autoloading when modules are disabled? Reply with quote

I'm using the latest ~x86 version of gentoo-sources. While doing some troubleshooting, I enabled modules and compiled everything possible as a module. Since then, I've disabled modules and compiled everything I need into the kernel (this is my preferred way of doing things).

Problem is, every time I boot up my console puts out a lot of error messages about modules not being found that it would like to load. I think it's near the beginning, when udev is doing its thing. What can I do to get rid of these error messages? I have tried running modules-update, and I've deleted the /etc/modules.d directory. There's nothing listed in /etc/modules.autoload.d either. Thanks.
Back to top
View user's profile Send private message
I.C.Wiener
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jul 2004
Posts: 115
Location: Furtwangen (Germany)

PostPosted: Sat Jun 17, 2006 12:11 am    Post subject: Reply with quote

Some udev-developers thought it would be a funny to move coldplug into udev. Since 090 udev is loading every module it finds, without proper parameters of course, in random order (devices get other names every time you boot),... and in the end it turns your system into a pice of junk.

As far as I know there's no way to stop udev from messing up your system, except unemerging it. I spent half a day to figure out how to get things working with udev090 but didn't made any progress. There seems no user-interaction possible at the moment. Things that are explicitly defined in config files such as /etc/modules.d/alsa are simply being ignored. I really wonder why this crap is still in portage. Stuff like that should at least be masked.

To fix things just emerge udev-087 (stable version) until those freaks put in some option to turn off this stupid autoloading. Who needs that anyway?!
If you like to waste some time you could of course try to build some custom udev-rules which will most probably break again with the next version.

Then you should read this:
https://bugs.gentoo.org/show_bug.cgi?id=129047

and this:
https://bugs.gentoo.org/show_bug.cgi?id=130766

and also this:
https://bugs.gentoo.org/show_bug.cgi?id=130893

Looks all different, but once you prevent udev from randomly autoload everything all those problems disappear.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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