device named eth0_clashed during swapping
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
udev (Ubuntu) |
Fix Released
|
High
|
Scott James Remnant (Canonical) |
Bug Description
I have a hunch that this is due to linux-wlan-ng and some other drivers not giving the network device a mac address until after it's added
Using the latest version if udev (079-0ubuntu10), I ended up with a network card called 'eth0_clashed' after bootup.
/etc/iftab:
# This file assigns persistent names to network interfaces. See iftab(5).
eth0 mac 00:0d:60:80:d7:ce
ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:0D:60:80:D7:CE
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
eth0_clas Link encap:Ethernet HWaddr 00:12:F0:5D:BC:BD
inet addr:192.168.0.9 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::212:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:133 errors:0 dropped:0 overruns:0 frame:0
TX packets:113 errors:0 dropped:0 overruns:0 carrier:1
RX bytes:29303 (28.6 KiB) TX bytes:12519 (12.2 KiB)
Ideally this network card (the one without an entry in /etc/iftab) would end up as eth1
Changed in udev: | |
assignee: | nobody → keybuk |
summary: |
+ I have a hunch that this is due to linux-wlan-ng and some other drivers + not giving the network device a mac address until after it's added |
Changed in udev: | |
status: | Unconfirmed → Needs Info |
Changed in udev: | |
status: | Fix Released → In Progress |
status: | In Progress → Unconfirmed |
Ongoing discussion here: http:// www.ubuntuforum s.org/showthrea d.php?t= 128276
Got this one too, but I that thanks to the bug where the interfaces switch, I was able to reboot myself online. ;-)
udev version: 079-0ubuntu10 (some say 079-0ubuntu8 worked, but that 079-0ubuntu9 had the same error).
Interfaces are properly detected at boot it seems, and my iftab looks like this:
# This file assigns persistent names to network interfaces. See iftab(5).
eth0 mac 00:13:ce:71:91:42
eth1 mac 00:03:0d:39:4b:36
It's autogenerated I assume since I haven't created it. It is also, however utterly ignored since interfaces switch and clash.
ifconfig -a looked like this:
eth1 Link encap:Ethernet HWaddr 00:03:0D:39:4B:36
collisions: 0 txqueuelen:1000
Interrupt: 217 Base address:0xc00
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
eth1_clas Link encap:Ethernet HWaddr 00:13:CE:71:91:42
collisions: 0 txqueuelen:1000
Interrupt: 217 Base address:0x2000 Memory: fa9fe000- fa9fefff
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:1855 errors:0 dropped:0 overruns:0 frame:0
TX packets:449 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
lo Link encap:Local Loopback
collisions: 0 txqueuelen:0
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:7 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:372 (372.0 b) TX bytes:372 (372.0 b)
sit0 Link encap:IPv6-in-IPv4
collisions: 0 txqueuelen:0
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
As you can see, iftab entry for eth0 gets eth1 address, and then eth1 entry gets it too - and clashes.
Please inform if more data is needed.