All of lore.kernel.org
 help / color / mirror / Atom feed
* i217-LM boot wreckage
@ 2014-03-20 12:58 Thomas Gleixner
  2014-03-20 13:45 ` Thomas Gleixner
  0 siblings, 1 reply; 13+ messages in thread
From: Thomas Gleixner @ 2014-03-20 12:58 UTC (permalink / raw)
  To: netdev; +Cc: todd.fujinaka, e1000-devel

On a Lenovo ThinkCentre M93z I have the following issue:

When the network cable is not connected at power on time and plugged
in later, then the driver does not receive any packets. The DHCP TX
packets are received by the DHCP server, but the answer gets lost in
the 217-LM.

If I plug the network cable before power on, the chip works perfectly
fine.

I'm running latest mainline. ethtool -i output is:

driver: e1000e
version: 2.3.2-k
firmware-version: 0.12-4
bus-info: 0000:00:19:0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: no

ethtool -S shows all counters 0 except tx_packets, tx_bytes and
tx_multicast in the bad case

lspci for the device:

00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I217-LM (rev 04)
	Subsystem: Lenovo Device 309b
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 42
	Region 0: Memory at f7f00000 (32-bit, non-prefetchable) [size=128K]
	Region 1: Memory at f7f3d000 (32-bit, non-prefetchable) [size=4K]
	Region 2: I/O ports at f080 [size=32]
	Capabilities: [c8] Power Management version 2
		Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=1 PME-
	Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
		Address: 00000000fee0f00c  Data: 4182
	Capabilities: [e0] PCI Advanced Features
		AFCap: TP+ FLR+
		AFCtrl: FLR-
		AFStatus: TP-
	Kernel driver in use: e1000e

The output is identical for the good and the bad case except for the
MSI interrupt number, but thats related to the init ordering and not a
functional issue. The bios does not give out the MSI irq numbers.

[    1.885503] e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-k
[    1.885506] e1000e: Copyright(c) 1999 - 2013 Intel Corporation.
[    1.888762] e1000e 0000:00:19.0: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode
[    1.888781] e1000e 0000:00:19.0: irq 43 for MSI/MSI-X
[    2.062745] e1000e 0000:00:19.0 eth0: registered PHC clock
[    2.062748] e1000e 0000:00:19.0 eth0: (PCI Express:2.5GT/s:Width x1) fc:4d:d4:41:a9:aa
[    2.062750] e1000e 0000:00:19.0 eth0: Intel(R) PRO/1000 Network Connection
[    2.062795] e1000e 0000:00:19.0 eth0: MAC: 11, PHY: 12, PBA No: FFFFFF-0FF
[   14.709709] e1000e 0000:00:19.0: irq 43 for MSI/MSI-X
[   14.813686] e1000e 0000:00:19.0: irq 43 for MSI/MSI-X
[   18.364687] e1000e: eth1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None

dmesg is identical as well.

So it looks like the BIOS is setting something up, when the cable is
plugged at power on time, which is not visible through our debug
output.

Anything else you want me to try?

Thanks,

	tglx

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2014-03-26 17:44 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-20 12:58 i217-LM boot wreckage Thomas Gleixner
2014-03-20 13:45 ` Thomas Gleixner
2014-03-20 15:12   ` [E1000-devel] " Ertman, DavidX M
2014-03-20 16:37     ` Thomas Gleixner
2014-03-21 14:36       ` Thomas Gleixner
2014-03-21 14:51         ` [E1000-devel] " Thomas Gleixner
2014-03-21 15:07           ` Ronciak, John
2014-03-21 15:09             ` Ertman, DavidX M
2014-03-21 15:57               ` Thomas Gleixner
2014-03-21 21:28                 ` [E1000-devel] " Ertman, DavidX M
2014-03-21 22:01                   ` Thomas Gleixner
2014-03-26 17:42                     ` [E1000-devel] " Ertman, DavidX M
2014-03-21 15:57             ` Thomas Gleixner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.