netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jesper Krogh <jesper@krogh.cc>
To: Matheos Worku <Matheos.Worku@Sun.COM>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: Re: niu driver - Transmit timed out - 2.6.29
Date: Sat, 28 Mar 2009 07:05:54 +0100	[thread overview]
Message-ID: <49CDBE42.8030708@krogh.cc> (raw)
In-Reply-To: <49CD7266.1070002@sun.com>

Matheos Worku wrote:
>> This is probably the interesting part:
>> Mar 26 13:25:49 hest kernel: [25335.587191] niu 0000:84:00.0: niu: 
>> eth4: bits (40000000) of register RXDMA_CFIG1 would not clear, 
>> val[c0000000]
> Jesper,
> 
> One of the RX  ring DMAs  is failing to reset. I guess whatever is 
> hanging the TX side is affecting the RX side as well. Can you do lspci 
> on the function  and its siblings?

Like this(please guide me if that wasn't the correct lspci output):

k# lspci -vvv -s 84:00
84:00.0 Ethernet controller: Sun Microsystems Computer Corp. 
Multithreaded 10 Gigabit Ethernet Network Controller (rev 01)
         Subsystem: Sun Microsystems Computer Corp. Unknown device 0000
         Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- 
ParErr- Stepping- SERR- FastB2B-
         Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
         Latency: 0, Cache Line Size: 64 bytes
         Interrupt: pin A routed to IRQ 43
         Region 0: Memory at fd000000 (64-bit, non-prefetchable) [size=16M]
         Region 2: Memory at fe9f8000 (64-bit, non-prefetchable) [size=32K]
         Region 4: Memory at fe9f0000 (64-bit, non-prefetchable) [size=32K]
         Expansion ROM at fe800000 [disabled] [size=1M]
         Capabilities: [40] Power Management version 2
                 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                 Status: D0 PME-Enable- DSel=0 DScale=0 PME-
         Capabilities: [50] Message Signalled Interrupts: Mask+ 64bit+ 
Queue=0/5 Enable-
                 Address: 0000000000000000  Data: 0000
                 Masking: 00000000  Pending: 00000000
         Capabilities: [70] MSI-X: Enable+ Mask- TabSize=32
                 Vector table: BAR=2 offset=00000000
                 PBA: BAR=2 offset=00004000
         Capabilities: [80] Express Endpoint IRQ 0
                 Device: Supported: MaxPayload 1024 bytes, PhantFunc 0, 
ExtTag-
                 Device: Latency L0s <4us, L1 <8us
                 Device: AtnBtn- AtnInd- PwrInd-
                 Device: Errors: Correctable+ Non-Fatal+ Fatal+ Unsupported+
                 Device: RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop-
                 Device: MaxPayload 128 bytes, MaxReadReq 128 bytes
                 Link: Supported Speed 2.5Gb/s, Width x8, ASPM L0s, Port 1
                 Link: Latency L0s <512ns, L1 <64us
                 Link: ASPM Disabled RCB 128 bytes CommClk- ExtSynch-
                 Link: Speed 2.5Gb/s, Width x8
         Capabilities: [94] Vendor Specific Information
         Capabilities: [9c] Vendor Specific Information

84:00.1 Ethernet controller: Sun Microsystems Computer Corp. 
Multithreaded 10 Gigabit Ethernet Network Controller (rev 01)
         Subsystem: Sun Microsystems Computer Corp. Unknown device 0000
         Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- 
ParErr- Stepping- SERR- FastB2B-
         Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
         Latency: 0, Cache Line Size: 64 bytes
         Interrupt: pin B routed to IRQ 42
         Region 0: Memory at fc000000 (64-bit, non-prefetchable) [size=16M]
         Region 2: Memory at fe9e8000 (64-bit, non-prefetchable) [size=32K]
         Region 4: Memory at fe9e0000 (64-bit, non-prefetchable) [size=32K]
         Expansion ROM at fe700000 [disabled] [size=1M]
         Capabilities: [40] Power Management version 2
                 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                 Status: D0 PME-Enable- DSel=0 DScale=0 PME-
         Capabilities: [50] Message Signalled Interrupts: Mask+ 64bit+ 
Queue=0/5 Enable-
                 Address: 0000000000000000  Data: 0000
                 Masking: 00000000  Pending: 00000000
         Capabilities: [70] MSI-X: Enable- Mask- TabSize=32
                 Vector table: BAR=2 offset=00000000
                 PBA: BAR=2 offset=00004000
         Capabilities: [80] Express Endpoint IRQ 0
                 Device: Supported: MaxPayload 1024 bytes, PhantFunc 0, 
ExtTag-
                 Device: Latency L0s <4us, L1 <8us
                 Device: AtnBtn- AtnInd- PwrInd-
                 Device: Errors: Correctable+ Non-Fatal+ Fatal+ Unsupported+
                 Device: RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop-
                 Device: MaxPayload 128 bytes, MaxReadReq 128 bytes
                 Link: Supported Speed 2.5Gb/s, Width x8, ASPM L0s, Port 1
                 Link: Latency L0s <512ns, L1 <64us
                 Link: ASPM Disabled RCB 128 bytes CommClk- ExtSynch-
                 Link: Speed 2.5Gb/s, Width x8
         Capabilities: [94] Vendor Specific Information
         Capabilities: [9c] Vendor Specific Information

84:00.2 Ethernet controller: Sun Microsystems Computer Corp. 
Multithreaded 10 Gigabit Ethernet Network Controller (rev 01)
         Subsystem: Sun Microsystems Computer Corp. Unknown device 0000
         Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- 
ParErr- Stepping- SERR- FastB2B-
         Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
         Interrupt: pin C routed to IRQ 41
         Region 0: Memory at fb000000 (64-bit, non-prefetchable) [size=16M]
         Region 2: Memory at fe9d8000 (64-bit, non-prefetchable) [size=32K]
         Region 4: Memory at fe9d0000 (64-bit, non-prefetchable) [size=32K]
         Expansion ROM at fe600000 [disabled] [size=1M]
         Capabilities: [40] Power Management version 2
                 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                 Status: D0 PME-Enable- DSel=0 DScale=0 PME-
         Capabilities: [50] Message Signalled Interrupts: Mask+ 64bit+ 
Queue=0/5 Enable-
                 Address: 0000000000000000  Data: 0000
                 Masking: 00000000  Pending: 00000000
         Capabilities: [70] MSI-X: Enable- Mask- TabSize=32
                 Vector table: BAR=2 offset=00000000
                 PBA: BAR=2 offset=00004000
         Capabilities: [80] Express Endpoint IRQ 0
                 Device: Supported: MaxPayload 1024 bytes, PhantFunc 0, 
ExtTag-
                 Device: Latency L0s <4us, L1 <8us
                 Device: AtnBtn- AtnInd- PwrInd-
                 Device: Errors: Correctable- Non-Fatal+ Fatal+ Unsupported-
                 Device: RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
                 Device: MaxPayload 128 bytes, MaxReadReq 128 bytes
                 Link: Supported Speed 2.5Gb/s, Width x8, ASPM L0s, Port 1
                 Link: Latency L0s <512ns, L1 <64us
                 Link: ASPM Disabled RCB 128 bytes CommClk- ExtSynch-
                 Link: Speed 2.5Gb/s, Width x8
         Capabilities: [94] Vendor Specific Information
         Capabilities: [9c] Vendor Specific Information

84:00.3 Ethernet controller: Sun Microsystems Computer Corp. 
Multithreaded 10 Gigabit Ethernet Network Controller (rev 01)
         Subsystem: Sun Microsystems Computer Corp. Unknown device 0000
         Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- 
ParErr- Stepping- SERR- FastB2B-
         Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
         Interrupt: pin D routed to IRQ 40
         Region 0: Memory at fa000000 (64-bit, non-prefetchable) [size=16M]
         Region 2: Memory at fe9c8000 (64-bit, non-prefetchable) [size=32K]
         Region 4: Memory at fe9c0000 (64-bit, non-prefetchable) [size=32K]
         Expansion ROM at fe500000 [disabled] [size=1M]
         Capabilities: [40] Power Management version 2
                 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                 Status: D0 PME-Enable- DSel=0 DScale=0 PME-
         Capabilities: [50] Message Signalled Interrupts: Mask+ 64bit+ 
Queue=0/5 Enable-
                 Address: 0000000000000000  Data: 0000
                 Masking: 00000000  Pending: 00000000
         Capabilities: [70] MSI-X: Enable- Mask- TabSize=32
                 Vector table: BAR=2 offset=00000000
                 PBA: BAR=2 offset=00004000
         Capabilities: [80] Express Endpoint IRQ 0
                 Device: Supported: MaxPayload 1024 bytes, PhantFunc 0, 
ExtTag-
                 Device: Latency L0s <4us, L1 <8us
                 Device: AtnBtn- AtnInd- PwrInd-
                 Device: Errors: Correctable- Non-Fatal+ Fatal+ Unsupported-
                 Device: RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
                 Device: MaxPayload 128 bytes, MaxReadReq 128 bytes
                 Link: Supported Speed 2.5Gb/s, Width x8, ASPM L0s, Port 1
                 Link: Latency L0s <512ns, L1 <64us
                 Link: ASPM Disabled RCB 128 bytes CommClk- ExtSynch-
                 Link: Speed 2.5Gb/s, Width x8
         Capabilities: [94] Vendor Specific Information
         Capabilities: [9c] Vendor Specific Information

-- 
Jesper

  reply	other threads:[~2009-03-28  6:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-26 12:44 niu driver - Transmit timed out - 2.6.29 Jesper Krogh
2009-03-27 19:31 ` Jesper Krogh
2009-03-28  0:42   ` Matheos Worku
2009-03-28  6:05     ` Jesper Krogh [this message]
2009-03-28  6:18       ` Matheos Worku
2009-03-28  7:25         ` Jesper Krogh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49CDBE42.8030708@krogh.cc \
    --to=jesper@krogh.cc \
    --cc=Matheos.Worku@Sun.COM \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).