Re: [BUG] ethX misnumbered and one missing in mii-tool

From: Jesse Brandeburg
Date: Fri Mar 30 2007 - 00:22:08 EST


added netdev.

On 3/29/07, Andrei Popa <andrei.popa@xxxxxxxx> wrote:
In a dual core 2 server with an intel motherboard and 5 network
cards(two onboard) and 1 pci express card with two slots and one pci-x
pci64 card the kernel sees all of them in dmesg but in mii-tool are
misnumbered and one card is missing.
(please CC as I am not subscribed to lkml)

please don't use mii-tool, ethtool is a much better option and
actually works with gigabit cards.

from dmesg:
Intel(R) PRO/1000 Network Driver - version 7.0.33-k2-NAPI
Copyright (c) 1999-2005 Intel Corporation.
ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:03:00.0 to 64
e1000: 0000:03:00.0: e1000_probe: (PCI Express:2.5Gb/s:Width x4)
00:15:17:21:0c:08
e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection

eth0...

ACPI: PCI Interrupt 0000:03:00.1[B] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:03:00.1 to 64
e1000: 0000:03:00.1: e1000_probe: (PCI Express:2.5Gb/s:Width x4)
00:15:17:21:0c:09
e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection
eth0...

ACPI: PCI Interrupt 0000:05:00.0[A] -> GSI 18 (level, low) -> IRQ 18
PCI: Setting latency timer of device 0000:05:00.0 to 64
e1000: 0000:05:00.0: e1000_probe: (PCI Express:2.5Gb/s:Width x4)
00:15:17:17:b7:68
e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection
eth0...
GSI 20 sharing vector 0xC9 and IRQ 20
ACPI: PCI Interrupt 0000:05:00.1[B] -> GSI 19 (level, low) -> IRQ 20
PCI: Setting latency timer of device 0000:05:00.1 to 64
e1000: 0000:05:00.1: e1000_probe: (PCI Express:2.5Gb/s:Width x4)
00:15:17:17:b7:69
e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection
eth0...

GSI 21 sharing vector 0xD1 and IRQ 21
ACPI: PCI Interrupt 0000:06:02.0[A] -> GSI 27 (level, low) -> IRQ 21
e1000: 0000:06:02.0: e1000_probe: (PCI-X:100MHz:64-bit)
00:0e:0c:ba:a8:50
e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection
eth0...

um, I'm a little confused why every interface was named eth0 when it
tried to come up.
you didn't mention what kernel you're using.

you can enable MSI and not share interrupts on this platform, it will
at least help your PCIe adapters.

zeus ~ # mii-tool
eth2: no link
eth5: negotiated 100baseTx-FD, link ok
eth6: no link
eth7: no link
zeus ~ #

it sees only 4 cards that are misnumbered and one is missing.

what does 'ip link' or 'ifconfig -a' show?

Jesse
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/