Ethernet probe order

Phil Oester kernel at linuxace.com
Thu Sep 8 15:08:52 UTC 2005


Can anyone explain the ethernet probe order anaconda uses?  In poking around the
code I found mention of sorting the modules alphabetically and loading in that
order, but I haven't found that to be true.  I would expect PCI bus order, but
that hasn't happened either.  

Take this box as an example.  Nics:

00:02.0 Ethernet controller: Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) (rev 01)
00:02.1 Ethernet controller: Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) (rev 01)
00:04.0 Ethernet controller: Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) (rev 01)
00:04.1 Ethernet controller: Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) (rev 01)
01:04.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 05)
01:05.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 05)
02:08.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5700 Gigabit Ethernet (rev 12)
03:04.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 08)

Anaconda ends up inserting modules in this order:

* inserted /tmp/e100.ko
* inserted /tmp/tg3.ko
* inserted /tmp/e1000.ko

Which is neither alphabetically or PCI bus order.  Any ideas?

Phil




More information about the Kickstart-list mailing list