[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#361936: linux-source-2.6.16: inconsistent device detetion: eth0<=>eth1



On Tue, 11 Apr 2006 13:03:17 +0200 josh wrote:

> Subject: linux-source-2.6.16: inconsistent device detetion:
> eth0<=>eth1 Package: linux-source-2.6.16
> Version: 2.6.16-2
> Severity: normal
> 
> I have two ethernet cards on my box, an onboard SiS and a pci ne-2k
> compatible. When I boot the system, sometimes the SiS is detected as
> eth0 and the pci as eth1, and sometimes the SiS is eth1 and the pci
> eth0, *without my changing anything*. I just reboot and it's
> different.

My guess is that this is due to your use of initramfs-tools for ramdisk
generation, which uses udev to coldplug devices, which I suspect cannot
(and should not, I believe) guarantee a specific module load order.

I believe you can simply add 8193too and ne2k (or whatever the modules
needed are) explicitly to /etc/modules in your preferred order.

Alternatively (but that does *not* make autoloading become reliable,
but allows you to avoid udev altogether) you can use the alternative
ramdisk generator yaird instead.


 - Jonas

-- 
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

 - Enden er nær: http://www.shibumi.org/eoti.htm

Attachment: pgp92ApsXuBAT.pgp
Description: PGP signature


Reply to: