Unplugging the cable with netconsole active on the interface results in
neverending:

May 10 17:48:28 nemi kernel: [  624.809508] e1000e 0000:00:19.0 eth0: Detected 
Hardware Unit Hang:
May 10 17:48:28 nemi kernel: [  624.809508]   TDH                  <0>
May 10 17:48:28 nemi kernel: [  624.809508]   TDT                  <1>
May 10 17:48:28 nemi kernel: [  624.809508]   next_to_use          <1>
May 10 17:48:28 nemi kernel: [  624.809508]   next_to_clean        <0>
May 10 17:48:28 nemi kernel: [  624.809508] buffer_info[next_to_clean]:
May 10 17:48:28 nemi kernel: [  624.809508]   time_stamp           <1000123c3>
May 10 17:48:28 nemi kernel: [  624.809508]   next_to_watch        <0>
May 10 17:48:28 nemi kernel: [  624.809508]   jiffies              <100013d32>
May 10 17:48:28 nemi kernel: [  624.809508]   next_to_watch.status <0>
May 10 17:48:28 nemi kernel: [  624.809508] MAC Status             <80280>
May 10 17:48:28 nemi kernel: [  624.809508] PHY Status             <7949>
May 10 17:48:28 nemi kernel: [  624.809508] PHY 1000BASE-T Status  <0>
May 10 17:48:28 nemi kernel: [  624.809508] PHY Extended Status    <3000>
May 10 17:48:28 nemi kernel: [  624.809508] PCI Status             <10>
May 10 17:48:30 nemi kernel: [  626.809388] e1000e 0000:00:19.0 eth0: Detected 
Hardware Unit Hang:
May 10 17:48:30 nemi kernel: [  626.809388]   TDH                  <0>
May 10 17:48:30 nemi kernel: [  626.809388]   TDT                  <1>
May 10 17:48:30 nemi kernel: [  626.809388]   next_to_use          <1>
May 10 17:48:30 nemi kernel: [  626.809388]   next_to_clean        <0>
May 10 17:48:30 nemi kernel: [  626.809388] buffer_info[next_to_clean]:
May 10 17:48:30 nemi kernel: [  626.809388]   time_stamp           <1000123c3>
May 10 17:48:30 nemi kernel: [  626.809388]   next_to_watch        <0>
May 10 17:48:30 nemi kernel: [  626.809388]   jiffies              <100013f26>
May 10 17:48:30 nemi kernel: [  626.809388]   next_to_watch.status <0>
May 10 17:48:30 nemi kernel: [  626.809388] MAC Status             <80280>
May 10 17:48:30 nemi kernel: [  626.809388] PHY Status             <7949>
May 10 17:48:30 nemi kernel: [  626.809388] PHY 1000BASE-T Status  <0>
May 10 17:48:30 nemi kernel: [  626.809388] PHY Extended Status    <3000>
May 10 17:48:30 nemi kernel: [  626.809388] PCI Status             <10>


This is running on current net/master.  I'm not quite sure when the
problem started as I don't use netconsole that often.


To reproduce:

 ifconfig eth0 192.168.2.2/24 up
 modprobe netconsole netconsole=@/,@192.168.2.1/
 <unplug cable>


Unloading netconsole before unplugging the cable prevents the problem.
Unloading it after unplugging has no effect.  The log messages will then
continue until I either plug the cable again or unload the e1000e
driver.


The device is:

nemi:/tmp# lspci -vvvnns :19
00:19.0 Ethernet controller [0200]: Intel Corporation 82567LM Gigabit Network 
Connection [8086:10f5] (rev 03)
        Subsystem: Lenovo Device [17aa:20ee]
        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-
        Interrupt: pin A routed to IRQ 20
        Region 0: Memory at f0600000 (32-bit, non-prefetchable) [disabled] 
[size=128K]
        Region 1: Memory at f0625000 (32-bit, non-prefetchable) [disabled] 
[size=4K]
        Region 2: I/O ports at 1840 [disabled] [size=32]
        Capabilities: [c8] Power Management version 2
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA 
PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D3 NoSoftRst- PME-Enable+ DSel=0 DScale=1 PME-
        Capabilities: [d0] MSI: Enable- Count=1/1 Maskable- 64bit+
                Address: 00000000fee0300c  Data: 4183
        Capabilities: [e0] PCI Advanced Features
                AFCap: TP+ FLR+
                AFCtrl: FLR-
                AFStatus: TP-
        Kernel driver in use: e1000e


Let me know if there is any other info I can provide.  I don't read this
list, so please CC me if you need my attention.


Thanks,
Bjørn

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
E1000-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel&#174; Ethernet, visit 
http://communities.intel.com/community/wired

Reply via email to