Hi,

I'm running a Debian kernel and at least since 3.2 I've got a problem with my
82579LM (in a Thinkpad T420). If I plug in a network cable after waking my
laptop from suspend I get 10M full-duplex instead of the 100M or 1000M the
other side is capable of. If I remove and re-insert the module I get full speed
again, same for plugging it in after a reboot.

e1000e does log something once in a while:

[162714.160471] e1000e 0000:00:19.0: eth0: Unsupported Speed/Duplex 
configuration
[162714.161177] e1000e 0000:00:19.0: eth0: Unsupported Speed/Duplex 
configuration

It's not directly correlatable with plugging in/out, though. Attached is a
snippet of `dmesg | grep e1000e'. At 162874.295608 you can observe a module
removal / re-insert (driver version 1.5.1-k). Afterwards the full speed is
detected. I'm pretty sure that this is a regression as networking used to
work. But I'm not exactly sure if it happens immediately after the first
suspend. I think I tried and didn't succeed.

lspci: 00:19.0 0200: 8086:1502 (rev 04)
uname: Linux spike.0x539.de 3.2.0-2-amd64 #1 SMP Mon Jun 11 17:24:18 UTC 2012 
x86_64 GNU/Linux

Any clue on how to debug this? eth0 is pretty uncooperative when in this
state:

pkern@spike:~$ sudo ethtool eth0
Settings for eth0:
Cannot get device settings: No such device
Cannot get wake-on-lan settings: No such device
Cannot get message level: No such device
Cannot get link status: No such device
No data available
pkern@spike:~$ sudo rmmod e1000e
pkern@spike:~$ sudo modprobe e1000e
pkern@spike:~$ sudo ethtool eth0
Settings for eth0:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full 
                                100baseT/Half 100baseT/Full 
                                1000baseT/Full 
        Supported pause frame use: No
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full 
                                100baseT/Half 100baseT/Full 
                                1000baseT/Full 
        Advertised pause frame use: No
        Advertised auto-negotiation: Yes
        Speed: Unknown!
        Duplex: Unknown! (255)
        Port: Twisted Pair
        PHYAD: 2
        Transceiver: internal
        Auto-negotiation: on
        MDI-X: Unknown
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00000001 (1)
                               drv
        Link detected: no

That's indeed without a cable attached.

Kind regards
Philipp Kern

Attachment: signature.asc
Description: Digital signature

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
E1000-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel® Ethernet, visit 
http://communities.intel.com/community/wired

Reply via email to