[GUTSY] LAN cards detected as eth0 and eth1, but eth0 and eth1 wants only to bring up as eth2 and eth3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu |
New
|
Undecided
|
Unassigned | ||
Bug Description
I installed today GUTSY from netboot (kernel 2.6.22.12-generic) in text-only mode to test on a server.
This server worked flawlessly with Ubuntu 6.06 LTS server (dapper), and lan cards are very generic and was recognized without any problem in the netboot installation of gutsy.
This is /var/log/syslog on booting:
Sep 23 20:45:03 nettuno kernel: [ 23.033542] 8139too Fast Ethernet driver 0.9.28
Sep 23 20:45:03 nettuno kernel: [ 23.163106] sis900.c: v1.08.10 Apr. 2 2006
Sep 23 20:45:03 nettuno kernel: [ 23.759205] ACPI: PCI Interrupt 0000:00:05.0[A] -> GSI 17 (level, low) -> IRQ 19
Sep 23 20:45:03 nettuno kernel: [ 23.759524] eth0: RealTek RTL8139 at 0xf8836000, 00:e0:4c:5a:cb:fe, IRQ 19
Sep 23 20:45:03 nettuno kernel: [ 23.759527] eth0: Identified 8139 chip type 'RTL-8100B/8139D'
Sep 23 20:45:03 nettuno kernel: [ 23.763322] 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
Sep 23 20:45:03 nettuno kernel: [ 23.763484] PCI: Enabling device 0000:00:03.3 (0100 -> 0102)
Sep 23 20:45:03 nettuno kernel: [ 23.867094] ACPI: PCI Interrupt 0000:00:04.0[A] -> GSI 19 (level, low) -> IRQ 21
Sep 23 20:45:03 nettuno kernel: [ 23.868449] 0000:00:04.0: SiS 900 on Foxconn 661 7MI transceiver found at address 1.
Sep 23 20:45:03 nettuno kernel: [ 23.879115] 0000:00:04.0: Using transceiver found at address 1 as default
Sep 23 20:45:03 nettuno kernel: [ 23.879897] eth1: SiS 900 PCI Fast Ethernet at 0x2100, IRQ 21, 00:19:d1:86:18:77.
Ok... all seems to be ok, now let's watch lspci:
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 662 Host (rev 01)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS AGP Port (virtual PCI-to-PCI bridge)
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS964 [MuTIOL Media IO] (rev 36)
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev 01)
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] AC'97 Sound Controller (rev a0)
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 91)
00:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/
00:1f.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 661/741/760 PCI/AGP or 662/761Gx PCIE VGA Display Adapter (rev 04)
It's ok, ethernet controllers are recognized and modules loaded flawlessly! But now let's look at lshw:
*-network:0 DISABLED
bus info: pci@0000:00:04.0
size: 100MB/s
width: 32 bits
clock: 33MHz
*-network:1 DISABLED
bus info: pci@0000:00:05.0
size: 10MB/s
width: 32 bits
clock: 33MHz
Please watch on "logical name" label. eth0 and eth1 are not used, but system assign my network cards as eth2 and eth3! And this is the output if I try to bring up eth0 and eth1 interfaces:
root@nettuno:~# ifconfig eth0 up
eth0: ERROR while getting interface flags: No such device
root@nettuno:~# ifconfig eth1 up
eth1: ERROR while getting interface flags: No such device
Strange thing, doesn't it? On my Ubuntu 6.06 LTS eth0 was the SIS internal card, and eth1 was the PCI 8139D card. On GUTSY kernel detects 8139D to eth0 and SIS card to eth1, but load them as eth2 and eth3. How can i fix it?
Seems to be an /etc/iftab issue, but it's quite strange to find it out on new fresh GUTSY installation