I have two ethernet ports on my mainboard and both drivers compiled as modules. And after reboot net.eth0 fails to start (eth1 i don't start), but modules are loaded (they loades before net.eth0, whith udev-events). Reproducible: Always I have wrote alias eth0 via-rhine alias eth1 skge to the file /etc/modules.d/aliases, and have done update-modules. Manual bringing up of interface with ifconfig failes too, with "No such interface found". But after unloading modules, /etc/init.d/net.eth0 failes to but, manual bringing up of eth0 with ifconfig work fine, and after that /etc/init.d/net.eth0 begin work. I wrote blacklist via-rhine blacklist skge to the /etc/modprobe.d/blacklists, after that modules ended to load on udev-events on boot-level, but keep on loading on net.eth0 start with same error (No such interface found), and again works only after unloading modules and manual bring up with ifconfig. Even after I have wrote a very simple runscript, it failes if started by #!/sbin/runscript.
aliasing modules like that is no guarantee that the aliased name will be the one used. You should make a udev rule for this http://www.reactivated.net/writing_udev_rules.html#example-netif
Sorry for long time out :( had less time :( About problem, i don't think it is right solution. I sure theres a bug in baselayout, because even with one ethernet card and well configured aliases in modprobe.conf ifconfig brings up module and interface well ( if module unloaded before), but it loads module with error instead of bringing up of interface when it's called from a verry simple run-script (it's enough to write "#!/sbin/runscript" at begining).
alias eth0 via-rhine alias eth1 skge With via-rhine unloaded and skge unloaded and eth0 and eth1 not reported by `ifconfig -a` do this modprobe eth1 Now see that it is loaded as eth0 and realise that you probably do need to write a udev rule.
Does this problem still exist? Please test and reopen if needed.
(In reply to comment #4) > Does this problem still exist? Please test and reopen if needed. > Sorry for long time that bug was opened, I forgotten about it. No I have another MB with different ethernet cards, but I sure now it configures with udev rules well.