Was upgrading a bit on my laptop (amd64), and this included udev and baselayout.
After a reboot, my whole system did funny things. All was retraceable to one thing: the system was automatically loading modules as it pleases, which caused all kinds of problems...
I have a pretty custom configured system concerning hardware.
By default, I only use wireless, and thus don't load the local netif modules (Realtek 8139) and definitely not the IEEE1394 (Firewire) link, as I very rarely us this for networking (and when I do, it's mainly for high-speed p2p transfer - no I don't have gigabit network).
Secondly, I have both my onboard sound card, as well as my Audigy 2 PCCARD configured. Naturally, the Audigy has to be loaded first, accept when it's not present. This pretty much works automatically: if the Audigy is not present, the default soundcard (card 0) is always the ATI IXP; if the card is present, the ATI becomes card 1.
Now, because of the automatic module loading from udev, all network interfaces were starting up automatically. Gentoo described this neatly as:
device initiated service net.eth0, net.eth1, ... started
I didn't want that, and on top of things, eth0 was the IEEE1394 and eth1 the Realtek. How annoying.
Even worse: the modules for my sound cards were loaded before the alsasound could set the correct order. Since udev loads it in alphabetical order, the ATI got loaded prior to the Audigy, which didn't do at all, as this would mean some serious reconfiguring just about everything that uses sound. Moreover, the Audigy landed on the third place as card 2, as udev saw it fit to load the IXP Modem as card 1, something I never even configured, and am still wondering how the f**k it loaded those modem drivers in the first place.
Anyway, googling to disable automatic module loading was not an easy task, which is something I find very odd. Anyway, after a lot of grumbling on my part, I found the solution in /etc/conf.d/rc, in the form of two variables.
First, the whole device initiated services stuff, which wasn't bothering me all that much, but still, it's nice to have services not started each time you load a module.
By default, this is set to "yes", so I pretty quickly changed this to "no".
The real issue was this variable.
Basically, the text above explains it does module and service autoloading/starting, which was the root of all evil: a quick "no" and a reboot later, I was once again free of trouble.
Naturally (well, not really naturally, but still) I had to reconfigure the VMWare modules, because for some reason udev kicked out those vmmon and vmnet device nodes. Sweet, no...?
« ‹ | December 2024 | › » | ||||
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |