Ethernet device's number increases by one after reboot (via-rhine)

Bug #346885 reported by Akkana Peck
2
Affects Status Importance Assigned to Milestone
udev (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: udev

I upgraded from Intrepid to jaunty and ended up with no network. It turned out udev had renamed eth0 to eth1, so my /etc/network/interfaces no longer worked. (This is a desktop machine with only one ethernet interface, a Via-rhine chip on the motherboard.)

Removing /etc/udev/conf.d/70-persistent-net.rules fixed the problem and on the next reboot my ethernet card was back on eth0. The MAC address hadn't changed -- I'll attach the 70-persistent-net.rules to show that both entries had the same MAC address.

This is the same issue as in bugs 153727, bug 145382 and bug 208103, except that in Jaunty the Via-rhine networking chip is now triggering it, which never happened before. After some discussion in bug 153727 Scott James Remnant said it was always better to file a new bug even if it seemed to match the same behavior as in older bugs, so that's what I'm doing.

lspci -vvv for the ethernet chip:
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 78)
        Subsystem: ABIT Computer Corp. Device 1421
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 32 (750ns min, 2000ns max), Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 10
        Region 0: I/O ports at e400 [size=256]
        Region 1: Memory at e8101000 (32-bit, non-prefetchable) [size=256]
        Capabilities: <access denied>
        Kernel driver in use: via-rhine

dmesg section where the card gets initialized:

[ 0.475359] via-rhine: Broken BIOS detected, avoid_D3 enabled.
[ 0.475436] via-rhine.c:v1.10-LK1.4.3 2007-03-06 Written by Donald Becker
[ 0.475512] via-rhine 0000:00:12.0: PCI INT A -> Link[LNKA] -> GSI 10 (level, low) -> IRQ 10
[ 0.479677] eth0: VIA Rhine II at 0xe8101000, 00:50:8d:c0:b9:30, IRQ 10.
[ 0.480447] eth0: MII PHY found at address 1, status 0x786d advertising 05e1 Link 45e1.

ifconfig for the card is:
eth0 Link encap:Ethernet HWaddr 00:50:8d:c0:b9:30
          inet addr:192.168.1.5 Bcast:192.168.1.255 Mask:255.255.255.0
          inet6 addr: fe80::250:8dff:fec0:b930/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:257 errors:0 dropped:0 overruns:0 frame:0
          TX packets:264 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:117439 (117.4 KB) TX bytes:23805 (23.8 KB)
          Interrupt:10 Base address:0x8000

MAC is 00:50:8d:c0:b9:30 in both.

Full reports were attached in bug 153727 but I could attach them here if anyone cares.

Revision history for this message
Akkana Peck (akkzilla) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.