First of all: thanks to Willie W. for spotting this issue. I was banging 
my head against the wall since yesterday!

------ Warning: -------
Upgrading udev to 090, don't accept the lines:

<quote>
# Module autoloading
# Autoload modules that lack aliases but have them defined in autoload 
modules
SYSFS{modalias}=="?*", ACTION=="add", RUN+="/sbin/modprobe 
$env{MODALIAS}"
# /etc/modprobe.conf.
SUBSYSTEM=="pnp", ENV{MODALIAS}!="?*", RUN+="/bin/sh -c 'while read id; 
do /sbin/modprobe pnp:d$$id; done < /sys$devpath/id'"
# If you have problems with some pnp modules being loaded, please enter 
the
# following aliases into the modprobe configuration files.  These are 
needed by
# udev to autoload some modules
# alias pnp:dPNP0510 irtty-sir
# alias pnp:dPNP0511 irtty-sir
# alias pnp:dPNP0700 floppy
# alias pnp:dPNP0800 pcspkr
# alias pnp:dPNP0b00 rtc
# alias pnp:dPNP0303 atkbd
# alias pnp:dPNP0f13 psmouse
# alias pnp:dPNPb02f analog
# Load firmware (not quite yet...)
# SUBSYSTEM=="firmware", ACTION=="add", RUN+="/lib/udev/firmware_helper"
</quote>

from the file /etc/udev/rules.d/50-udev.rules of udev-090
They will cause any sort of crappy behaviour!

If you accept them (as I did, alas!), the drivers of the network cards 
are loaded in order of appearance during BIOS checkup routine 
irrespective of any user settings, namely:

1) modules order in /etc/modules.autoload.d/kernel-2.x

2) alias entry in /etc/modules.d/net (hence in /etc/modules.conf after 
due modules-update).

In consequence of this snafu if you have more than one NIC (I had 4 last 
night!) you are more or less sure no net services will start correctly 
at following boot. I suspected an hardware failure (there was a storm 
here, last night) and had any sort of doubts trying to swap back eth0 
and eth1 to their original names without compiling one of the modules 
into the kernel.

<rant>
All this stupid waste of time started when I decided to get rid of the 
warning at bootup about '%e' being deprecated.
I wouldn't have upgraded udev!

Ok, "%e" will be set apart, but which is the new and right syntax, then?

Why a warning (a deprecation advice isn't an error) is showing up in 
console as an error?

I'm really a bit disappointed about this udev issue.
IMHO silly choice, about the way of managing deprecation and about 
default settings for modules automation.
</rant>

Hoping this will save someone else a bunch of nightmares...
Ciao
        Francesco
-- 
Linux Version 2.6.16-gentoo-r4, Compiled #1 PREEMPT Wed Apr 26 06:59:58 
CEST 2006
One 1GHz AMD Athlon 64 Processor, 2GB RAM, 2007.31 Bogomips Total
aemaeth
-- 
[email protected] mailing list

Reply via email to