Comment 64 for bug 19740

Revision history for this message
Michael Onnen (michael-onnen) wrote :

I ran into this bug yesterday after installing dapper flight 5 on a sun fire x2100.

The x2100 has two nics: an nvidia (forcedeth) and a broadcom (tg3):
# lspci | grep Ethernet
0000:00:0a.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev a3)
0000:04:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5721 Gigabit Ethernet PCI Express (rev 11)

During installation the installer asked which one should be the primary nic, I answered tg3. Installation went fine, but after the reboot dhclient didn't get an ip for the tg3. Invoking "dhclient eth0" manually worked. Also putting "pre-up sleep 10" for eth0 in /etc/network/interfaces worked. Btw. I have UTC=yes in /etc/default/rcS.

This problem seems to be related to the renaming of interface names in /etc/iftab. The installer put
 eth0 mac mac_of_tg3
 eth1 mac mac_of_nvidia
in there, which is the opposite order of how the kernel detects the nics (nvidia first, then tg3).
Using nvidia and putting "auto eth1" in /etc/network/interfaces: works.
After swapping eth0 and eth1 in /etc/iftab:
Using nvidia with "auto eth0": works.
Using tg3 with "auto eth1": works.

So, only when tg3 is renamed to eth0 dhclient fails.