Message ID | 1342503329.2626.30.camel@edumazet-glaptop |
---|---|
State | RFC, archived |
Delegated to: | David Miller |
Headers | show |
On Tue, 2012-07-17 at 07:35 +0200, Eric Dumazet wrote: > [ 266.248330] tg3 0000:09:00.0: eth0: 0x00004800: 0x080303fe, > 0x00000010, 0x00000000, 0x00000020 RDMAC_STATUS (0x4804) is showing 0x10 which is parity error. >[ 266.247878] tg3 0000:09:00.0: eth0: 0x00000000: 0x167314e4, >0x40100506, 0x02000002, 0x00000010 PCI Status (0x06) is also showing SERR (0x4000) Assuming your chip is not a bad chip, I'll have to look around for a 5755M and see if I can duplicate the problem. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Mon, 2012-07-16 at 23:56 -0700, Michael Chan wrote: > On Tue, 2012-07-17 at 07:35 +0200, Eric Dumazet wrote: > > [ 266.248330] tg3 0000:09:00.0: eth0: 0x00004800: 0x080303fe, > > 0x00000010, 0x00000000, 0x00000020 > > RDMAC_STATUS (0x4804) is showing 0x10 which is parity error. > > >[ 266.247878] tg3 0000:09:00.0: eth0: 0x00000000: 0x167314e4, > >0x40100506, 0x02000002, 0x00000010 > > PCI Status (0x06) is also showing SERR (0x4000) > > Assuming your chip is not a bad chip, I'll have to look around for a > 5755M and see if I can duplicate the problem. Hi Eric, I found the same 5755m NIC as yours but I couldn't duplicate any problems. I ran netperf in a loop and it was running fine. Here's my device and it should be identical to yours: tg3.c:v3.123 (March 21, 2012) tg3 0000:20:00.0: eth0: Tigon3 [partno(BCM95755m) rev a002] (PCI Express) MAC address 00:10:18:00:00:00 tg3 0000:20:00.0: eth0: attached PHY is 5755 (10/100/1000Base-T Ethernet) (WireSpeed[1], EEE[0]) tg3 0000:20:00.0: eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1] tg3 0000:20:00.0: eth0: dma_rwctrl[76180000] dma_mask[64-bit] -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Mon, 2012-07-23 at 17:13 -0700, Michael Chan wrote: > On Mon, 2012-07-16 at 23:56 -0700, Michael Chan wrote: > > On Tue, 2012-07-17 at 07:35 +0200, Eric Dumazet wrote: > > > [ 266.248330] tg3 0000:09:00.0: eth0: 0x00004800: 0x080303fe, > > > 0x00000010, 0x00000000, 0x00000020 > > > > RDMAC_STATUS (0x4804) is showing 0x10 which is parity error. > > > > >[ 266.247878] tg3 0000:09:00.0: eth0: 0x00000000: 0x167314e4, > > >0x40100506, 0x02000002, 0x00000010 > > > > PCI Status (0x06) is also showing SERR (0x4000) > > > > Assuming your chip is not a bad chip, I'll have to look around for a > > 5755M and see if I can duplicate the problem. > > Hi Eric, I found the same 5755m NIC as yours but I couldn't duplicate > any problems. I ran netperf in a loop and it was running fine. > > Here's my device and it should be identical to yours: > > tg3.c:v3.123 (March 21, 2012) > tg3 0000:20:00.0: eth0: Tigon3 [partno(BCM95755m) rev a002] (PCI Express) MAC address 00:10:18:00:00:00 > tg3 0000:20:00.0: eth0: attached PHY is 5755 (10/100/1000Base-T Ethernet) (WireSpeed[1], EEE[0]) > tg3 0000:20:00.0: eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1] > tg3 0000:20:00.0: eth0: dma_rwctrl[76180000] dma_mask[64-bit] OK, thanks for testing ! Then I assume the hardware has some defect, maybe too high temperature... -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/net/ethernet/broadcom/tg3.c b/drivers/net/ethernet/broadcom/tg3.c index ac9091f..91ff1f2 100644 --- a/drivers/net/ethernet/broadcom/tg3.c +++ b/drivers/net/ethernet/broadcom/tg3.c @@ -6283,8 +6283,12 @@ static void tg3_process_error(struct tg3 *tp) real_error = true; } - if (tr32(RDMAC_STATUS) || tr32(WDMAC_STATUS)) { - netdev_err(tp->dev, "DMA Status error. Resetting chip.\n"); + if (tr32(RDMAC_STATUS)) { + netdev_err(tp->dev, "RDMA Status error. Resetting chip.\n"); + real_error = true; + } + if (tr32(WDMAC_STATUS)) { + netdev_err(tp->dev, "WDMA Status error. Resetting chip.\n"); real_error = true; }