home | list info | list archive | date index | thread index

Re: [OCLUG-Tech] Problem with an Intel NIC card

On Thu, 2010-07-15 at 11:04 -0400, Charles Nadeau wrote:
> Good morning,
Morning Charles

> 
> I need a bit of help with a problem:
> I bought a dual-port Intel PRO/1000MT NIC. I installed it in a machine
> running Linux kernel 2.6.25 and upon booting the content of the NIC's
> EEPROM was erased. This problem was known but not to me. It has been
> documented there:
>         http://lwn.net/Articles/300202/
>         http://blog.mandriva.com/2008/09/23/urgent-notification-major-bug-in-all-mandriva-linux-2009-pre-releases/
>         https://bugzilla.kernel.org/show_bug.cgi?id=11382
Flashbacks to when I lost my LG CD Drive because the kernel decided to
flush (not flash) the buffers on all cd burners and LG had taken the
reserved "flush" code as there own "start write to eeprom" code = fried
cd drive and no recovery (I managed to get it fixed on warranty).

In any case, as the article suggest I now collected "ethtool -e" on all
my cards, just in case.

> Now that the EEPROM is blank, the NIC is unusable under Linux (since
> then I upgraded my kernel to 2.6.33. I haven't done if before because
> "if it's not broken, don't fix it").
> However there is a solution to my problem:
> http://blog.vodkamelone.de/archives/146-Unbricking-an-Intel-Pro1000-e1000-network-interface.html
> However I miss an essential ingredient: a second _identical_ card from
> which I can extract the content of the EEPROM.
> Is there anybody on this list with the _exact_ same card who could
> provide me with a copy of the EEPROM content? I do not know anybody
> with the exact same card.
As it so happens I think I got some dualport GBit cards (pci-x & pci-e)
in the lab cleanup

> This is the description of my card as revealed by lspci -v:
> 00:0d.0 Ethernet controller: Intel Corporation 82546EB Gigabit
> Ethernet Controller (Copper) (rev 01)
>         Subsystem: Intel Corporation PRO/1000 MT Dual Port Server Adapter
>         Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18
>         Memory at 40080000 (64-bit, non-prefetchable) [size=128K]
>         Memory at 40000000 (64-bit, non-prefetchable) [size=256K]
>         I/O ports at 7800 [size=64]
>         Expansion ROM at 40040000 [disabled] [size=256K]
>         Capabilities: [dc] Power Management version 2
>         Capabilities: [e4] PCI-X non-bridge device
>         Capabilities: [f0] MSI: Enable- Count=1/1 Maskable- 64bit-
>         Kernel driver in use: e1000
>         Kernel modules: e1000
> 
> And its vendor/product number is:
> lspci -n | grep 00:0d
> 00:0d.0 0200: 8086:1010 (rev 01)
> 
> If you have the exact same card AND same vendor/product number, could
> you do a "ethtool -e eth0" on your card and mail back the result to
> this list?
> Thanks!
I have a dualport card that seems to be close to your card. It's
installed as addon card (=eht1) on a server running 32bit Centos5.5. It
not exactly the same, could be that it's rebranded for Compaq, if so
maybe you get a compaq card in the end. In any case I guess you don't
have much to loose.

root@lwaxana:/spare/data/downloads # uname -r
2.6.18-194.8.1.el5PAE
root@lwaxana:/spare/data/downloads # uname -m
i686
root@lwaxana:/spare/data/downloads # lspci -v|grep -A18 ^02:05.0
02:05.0 Ethernet controller: Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) (rev 01)
        Subsystem: Compaq Computer Corporation NC7170 Gigabit Server Adapter
        Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 233
        Memory at dfde0000 (64-bit, non-prefetchable) [size=128K]
        Memory at dfd80000 (64-bit, non-prefetchable) [size=256K]
        I/O ports at ecc0 [size=64]
        Expansion ROM at dfe00000 [disabled] [size=256K]
        Capabilities: [dc] Power Management version 2
        Capabilities: [e4] PCI-X non-bridge device
        Capabilities: [f0] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-

02:05.1 Ethernet controller: Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) (rev 01)
        Subsystem: Compaq Computer Corporation NC7170 Gigabit Server Adapter
        Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 50
        Memory at dfdc0000 (64-bit, non-prefetchable) [size=128K]
        I/O ports at ec80 [size=64]
        Capabilities: [dc] Power Management version 2
        Capabilities: [e4] PCI-X non-bridge device
        Capabilities: [f0] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
root@lwaxana:/spare/data/downloads # lspci -n|grep 8086:1010
02:05.0 0200: 8086:1010 (rev 01)
02:05.1 0200: 8086:1010 (rev 01)
root@lwaxana:/spare/data/downloads # ethtool -i eth1
driver: e1000
version: 7.3.21-k4.1-NAPI
firmware-version: N/A
bus-info: 0000:02:05.0
root@lwaxana:/spare/data/downloads # ethtool -e eth1
Offset          Values
------          ------
0x0000          00 02 a5 4d 1e b6 30 05 ff ff ff ff ff ff ff ff
0x0010          33 c2 04 33 0b 46 db 00 11 0e 10 10 86 80 68 b4
0x0020          08 00 10 10 00 00 02 21 c8 1c ff ff ff ff ff ff
0x0030          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0040          0c c3 61 78 04 50 02 21 c8 04 ff ff ff ff ff ff
0x0050          ff ff ff ff ff ff ff ff ff ff ff ff ff ff 02 06
0x0060          00 00 00 40 0b 12 07 40 00 00 00 40 ff ff ff ff
0x0070          ff ff ff ff ff ff ff ff ff ff ff ff ff ff 8c 49
0x0080          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0090          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00a0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00b0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00c0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00d0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00e0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00f0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0100          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0110          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0120          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0130          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0140          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0150          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0160          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0170          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0180          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0190          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x01a0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x01b0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x01c0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x01d0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x01e0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x01f0          ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
root@lwaxana:/spare/data/downloads #


> Charles
> 



references