2.6.21rc7 e1000 media-detect oddness.
Subsystems (2)
I booted up 2.6.21rc7 without an ethernet cable plugged in, and noticed this..
e1000: 0000:02:00.0: e1000_probe: The EEPROM Checksum Is Not Valid
e1000: probe of 0000:02:00.0 failed with error -5
I plugged a cable in, did rmmod e1000;modprobe e1000, and got this..
e1000: 0000:02:00.0: e1000_probe: (PCI Express:2.5Gb/s:Width x1) 00:16:d3:3a:62:d3
e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection
e1000: eth0: e1000_watchdog: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX
e1000: eth0: e1000_watchdog: 10/100 speed: disabling TSO
and it works fine..
Why would no cable make it think the EEPROM is invalid ?
I repeated this a few times, just to be sure it wasn't a fluke, and it seems to happen 100% reproducably.
Dave
Signature · 1 line
http://www.codemonkey.org.uk
Quoted 15 lines · Dave Jones
I booted up 2.6.21rc7 without an ethernet cable plugged in, and noticed this..
e1000: 0000:02:00.0:
e1000_probe: The EEPROM Checksum Is Not Valid
e1000: probe of 0000:02:00.0 failed with error -5I plugged a cable in, did rmmod e1000;modprobe e1000, and got this..
e1000: 0000:02:00.0:
e1000_probe: (PCI Express:2.5Gb/s:Width x1) 00:16:d3:3a:62:d3 e1000: eth0:e1000_probe: Intel(R) PRO/1000 Network Connection
e1000: eth0:e1000_watchdog: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX e1000: eth0:e1000_watchdog: 10/100 speed: disabling TSO
Quoted 2 lines
and it works fine..
Why would no cable make it think the EEPROM is invalid ?
There was a similar issue reported a while back on T60 and it had to do with power management:
http://forums.gentoo.org/viewtopic-t-476305-highlight-e1000.html
Some questions:
What was the system in your case (lspci -vv)?
Quoted 3 lines
I repeated this a few times, just to be sure it wasn't a fluke, and it seems to happen 100% reproducably.
Can you reproduce this with the latest driver from e1000.sf.net?
Thanks,
Emil
Quoted 13 lines · Dave Jones
I booted up 2.6.21rc7 without an ethernet cable plugged in, and noticed this..
e1000: 0000:02:00.0:
e1000_probe: The EEPROM Checksum Is Not Valid
e1000: probe of 0000:02:00.0 failed with error -5I plugged a cable in, did rmmod e1000;modprobe e1000, and got this..
e1000: 0000:02:00.0:
e1000_probe: (PCI Express:2.5Gb/s:Width x1) 00:16:d3:3a:62:d3
e1000: eth0:e1000_probe: Intel(R) PRO/1000 Network Connection
e1000: eth0:e1000_watchdog: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX
e1000: eth0:e1000_watchdog: 10/100 speed: disabling TSO
Quoted 5 lines
and it works fine..
Why would no cable make it think the EEPROM is invalid ?I repeated this a few times, just to be sure it wasn't a fluke, and it seems to happen 100% reproducably.
This is a known issue, having to do with a power saving mode on the PCIe side of the adapter, that is enabled when link is down.
There are several fixes, an eeprom fix, or changing the code to call e1000_validate_eeprom_checksum twice in a row if the first fails.
this bug has some text about this and an attachment with the fix script
http://sourceforge.net/tracker/index.php?func=detail&aid=1474679&group_id=42302&atid=447449
Jesse