public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* tg3: Occassional death on 3.3
@ 2012-04-18  0:22 Ilia Mirkin
  2012-04-18  0:55 ` Matt Carlson
  0 siblings, 1 reply; 4+ messages in thread
From: Ilia Mirkin @ 2012-04-18  0:22 UTC (permalink / raw)
  To: Matt Carlson, Michael Chan, netdev

[-- Attachment #1: Type: text/plain, Size: 2395 bytes --]

Hello,

I'm observing an issue where it appears that tg3 gets wedged into a
bad state every so often, and never recovers. Doing a sequence of

ifconfig eth0 down
rmmod broadcom
rmmod tg3

modprobe broadcom
modprobe tg3

Makes everything work again. The card I have:

03:00.0 Ethernet controller [0200]: Broadcom Corporation NetLink
BCM57788 Gigabit Ethernet PCIe [14e4:1691] (rev 01)
        Subsystem: Dell XPS 8300 [1028:04aa]
        Flags: bus master, fast devsel, latency 0, IRQ 45
        Memory at fb100000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: [48] Power Management version 3
        Capabilities: [60] Vendor Specific Information: Len=6c <?>
        Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [cc] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [13c] Virtual Channel
        Capabilities: [160] Device Serial Number [the mac address]
        Capabilities: [16c] Power Budgeting <?>
        Kernel driver in use: tg3
        Kernel modules: tg3

I'm attaching the log for the full data dump, since my mailer will
wrap it horribly otherwise, but the interesting lines are:

[2234380.228971] tg3 0000:03:00.0: eth0: transmit timed out, resetting
... some kind of data dump ...
[2234382.216682] tg3 0000:03:00.0: eth0: 0: Host status block
[00000001:00000080:(0000:01ef:0000):(01ef:00b2)]
[2234382.216685] tg3 0000:03:00.0: eth0: 0: NAPI info
[00000080:00000080:(00cb:00b2:01ff):01ef:(00b7:0000:0000:0000)]
[2234382.319550] tg3 0000:03:00.0: tg3_stop_block timed out, ofs=1400
enable_bit=2
[2234382.421931] tg3 0000:03:00.0: tg3_stop_block timed out, ofs=c00
enable_bit=2
[2234382.427199] tg3 0000:03:00.0: eth0: Link is down
[2234382.438168] tg3 0000:03:00.0: eth0: Link is down

Any further attempts to use the NIC, like ifconfig down/up result in a
similar error log sequence happening. Also, while it's happening, the
computer feels extremely laggy for a short period of time (~1s),
leading me to believe it's doing an uninterruptible sleep of some kind
going on.

This has happened twice, and at least the second time, there was no
unusual traffic on the network. It's linked at 100M, and was probably
doing 10K/s at most when the error happened. If this is insufficient
information, please let me know what I should collect next time this
might happen.

Thanks,

  -ilia

[-- Attachment #2: tg3-dump.log --]
[-- Type: application/octet-stream, Size: 23773 bytes --]

[2234380.228971] tg3 0000:03:00.0: eth0: transmit timed out, resetting
[2234382.216235] tg3 0000:03:00.0: eth0: 0x00000000: 0x169114e4, 0x00100406, 0x02000001, 0x00000010
[2234382.216238] tg3 0000:03:00.0: eth0: 0x00000010: 0xfb100004, 0x00000000, 0x00000000, 0x00000000
[2234382.216241] tg3 0000:03:00.0: eth0: 0x00000020: 0x00000000, 0x00000000, 0x00000000, 0x04aa1028
[2234382.216243] tg3 0000:03:00.0: eth0: 0x00000030: 0x00000000, 0x00000048, 0x00000000, 0x00000103
[2234382.216246] tg3 0000:03:00.0: eth0: 0x00000040: 0x00000000, 0x00000000, 0xc0036001, 0x08002008
[2234382.216248] tg3 0000:03:00.0: eth0: 0x00000050: 0x0081cc05, 0xfeeff00c, 0x00000000, 0x000041a1
[2234382.216251] tg3 0000:03:00.0: eth0: 0x00000060: 0x006c5009, 0x91921271, 0xf0010298, 0x76180000
[2234382.216260] tg3 0000:03:00.0: eth0: 0x00000070: 0x000010f2, 0x00000000, 0x00000000, 0x00000000
[2234382.216263] tg3 0000:03:00.0: eth0: 0x00000080: 0x169114e4, 0x800000f8, 0x00000000, 0x00000000
[2234382.216265] tg3 0000:03:00.0: eth0: 0x000000b0: 0x00000000, 0x00000000, 0x00000000, 0x57780001
[2234382.216268] tg3 0000:03:00.0: eth0: 0x000000c0: 0x00000000, 0x00000000, 0x0000000e, 0x00020010
[2234382.216270] tg3 0000:03:00.0: eth0: 0x000000d0: 0x05908fa0, 0x00102000, 0x0006cc11, 0x10110040
[2234382.216273] tg3 0000:03:00.0: eth0: 0x000000f0: 0x0000001f, 0x00000000, 0x00000000, 0x00000000
[2234382.216275] tg3 0000:03:00.0: eth0: 0x00000100: 0x13c10001, 0x00100000, 0x00000000, 0x00062031
[2234382.216278] tg3 0000:03:00.0: eth0: 0x00000110: 0x00000000, 0x00002000, 0x000000b4, 0x40000001
[2234382.216280] tg3 0000:03:00.0: eth0: 0x00000120: 0x0000000f, 0xfb100400, 0x00000080, 0x00000000
[2234382.216283] tg3 0000:03:00.0: eth0: 0x00000130: 0x00000000, 0x00000000, 0x00000000, 0x16010002
[2234382.216285] tg3 0000:03:00.0: eth0: 0x00000150: 0x80000001, 0x00000000, 0x00000000, 0x00000000
[2234382.216288] tg3 0000:03:00.0: eth0: 0x00000160: 0x16c10003, 0xfe9a0512, 0xd4bed9ff, 0x00010004
[2234382.216290] tg3 0000:03:00.0: eth0: 0x00000170: 0x00000000, 0x00078116, 0x00000001, 0x00000000
[2234382.216293] tg3 0000:03:00.0: eth0: 0x00000180: 0x00000000, 0x00000000, 0x00000000, 0xffffffff
[2234382.216295] tg3 0000:03:00.0: eth0: 0x00000200: 0x00000000, 0x76000000, 0x00000000, 0x00000000
[2234382.216298] tg3 0000:03:00.0: eth0: 0x00000260: 0x00000000, 0x00000000, 0x00000000, 0x000000ad
[2234382.216300] tg3 0000:03:00.0: eth0: 0x00000280: 0x00000000, 0x000001e5, 0x00000000, 0x00000000
[2234382.216303] tg3 0000:03:00.0: eth0: 0x00000300: 0x00000000, 0x000000cb, 0x00000000, 0x000000cb
[2234382.216305] tg3 0000:03:00.0: eth0: 0x00000310: 0x00000000, 0x000000cb, 0x00000000, 0x000000cb
[2234382.216307] tg3 0000:03:00.0: eth0: 0x00000320: 0x00000000, 0x000000cb, 0x00000000, 0x000000cb
[2234382.216310] tg3 0000:03:00.0: eth0: 0x00000330: 0x00000000, 0x000000cb, 0x00000000, 0x000000cb
[2234382.216312] tg3 0000:03:00.0: eth0: 0x00000340: 0x00000000, 0x000000cb, 0x00000000, 0x000000cb
[2234382.216314] tg3 0000:03:00.0: eth0: 0x00000350: 0x00000000, 0x000000cb, 0x00000000, 0x000000cb
[2234382.216317] tg3 0000:03:00.0: eth0: 0x00000360: 0x00000000, 0x000000cb, 0x00000000, 0x000000cb
[2234382.216319] tg3 0000:03:00.0: eth0: 0x00000370: 0x00000000, 0x000000cb, 0x00000000, 0x000000cb
[2234382.216321] tg3 0000:03:00.0: eth0: 0x00000380: 0x00000000, 0x000000cb, 0x00000000, 0x000000cb
[2234382.216323] tg3 0000:03:00.0: eth0: 0x00000390: 0x00000000, 0x000000cb, 0x00000000, 0x000000cb
[2234382.216326] tg3 0000:03:00.0: eth0: 0x000003a0: 0x00000000, 0x000000cb, 0x00000000, 0x000000cb
[2234382.216328] tg3 0000:03:00.0: eth0: 0x000003b0: 0x00000000, 0x000000cb, 0x00000000, 0x000000cb
[2234382.216330] tg3 0000:03:00.0: eth0: 0x000003c0: 0x00000000, 0x000000cb, 0x00000000, 0x000000cb
[2234382.216333] tg3 0000:03:00.0: eth0: 0x000003d0: 0x00000000, 0x000000cb, 0x00000000, 0x000000cb
[2234382.216335] tg3 0000:03:00.0: eth0: 0x000003e0: 0x00000000, 0x000000cb, 0x00000000, 0x000000cb
[2234382.216338] tg3 0000:03:00.0: eth0: 0x000003f0: 0x00000000, 0x000000cb, 0x00000000, 0x000000cb
[2234382.216340] tg3 0000:03:00.0: eth0: 0x00000400: 0x00e04804, 0x00400000, 0x00000000, 0x00000900
[2234382.216342] tg3 0000:03:00.0: eth0: 0x00000410: 0x0000d4be, 0xd99a0512, 0x0000d4be, 0xd99a0512
[2234382.216344] tg3 0000:03:00.0: eth0: 0x00000420: 0x0000d4be, 0xd99a0512, 0x0000d4be, 0xd99a0512
[2234382.216346] tg3 0000:03:00.0: eth0: 0x00000430: 0x00000000, 0x00000000, 0x00000269, 0x000005f2
[2234382.216348] tg3 0000:03:00.0: eth0: 0x00000440: 0x00000000, 0x00000000, 0x00000000, 0x08240de1
[2234382.216349] tg3 0000:03:00.0: eth0: 0x00000450: 0x00000001, 0x00008000, 0x00000000, 0x00000112
[2234382.216351] tg3 0000:03:00.0: eth0: 0x00000460: 0x00000008, 0x00002620, 0x01000006, 0x00000000
[2234382.216353] tg3 0000:03:00.0: eth0: 0x00000470: 0x80000000, 0x00000000, 0x00080000, 0x40000000
[2234382.216355] tg3 0000:03:00.0: eth0: 0x00000480: 0x42000000, 0x7fffffff, 0x06000004, 0x7fffffff
[2234382.216357] tg3 0000:03:00.0: eth0: 0x00000500: 0x00000008, 0x00000002, 0x00000000, 0x00000000
[2234382.216359] tg3 0000:03:00.0: eth0: 0x00000590: 0x00901000, 0x00000000, 0x00000000, 0x00000000
[2234382.216360] tg3 0000:03:00.0: eth0: 0x00000600: 0xffffffff, 0x00f80091, 0x00000000, 0x00001f04
[2234382.216362] tg3 0000:03:00.0: eth0: 0x00000610: 0xffffffff, 0x00000000, 0x07c00004, 0x070c0000
[2234382.216364] tg3 0000:03:00.0: eth0: 0x00000620: 0x00000040, 0x00000000, 0x00000000, 0x00000000
[2234382.216366] tg3 0000:03:00.0: eth0: 0x00000800: 0x00000000, 0xffffffff, 0x00000000, 0x00000000
[2234382.216367] tg3 0000:03:00.0: eth0: 0x00000810: 0x00000000, 0xffffffff, 0x00000000, 0x00000000
[2234382.216369] tg3 0000:03:00.0: eth0: 0x00000820: 0x00000000, 0x00000000, 0xffffffff, 0x00000000
[2234382.216371] tg3 0000:03:00.0: eth0: 0x00000830: 0x00000000, 0xffffffff, 0xffffffff, 0xffffffff
[2234382.216373] tg3 0000:03:00.0: eth0: 0x00000840: 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff
[2234382.216375] tg3 0000:03:00.0: eth0: 0x00000850: 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff
[2234382.216376] tg3 0000:03:00.0: eth0: 0x00000860: 0xffffffff, 0xffffffff, 0xffffffff, 0x00000000
[2234382.216378] tg3 0000:03:00.0: eth0: 0x00000880: 0x0000050d, 0x394a6407, 0x00000000, 0x00000003
[2234382.216380] tg3 0000:03:00.0: eth0: 0x00000890: 0x00000000, 0x00000004, 0x00000000, 0x00000000
[2234382.216382] tg3 0000:03:00.0: eth0: 0x000008f0: 0x00000001, 0x00000000, 0x00000000, 0x00000000
[2234382.216383] tg3 0000:03:00.0: eth0: 0x00000c00: 0x0000000a, 0x00000000, 0x00000003, 0x00000001
[2234382.216385] tg3 0000:03:00.0: eth0: 0x00000c10: 0x00000000, 0x00000007, 0x10000000, 0x06460000
[2234382.216387] tg3 0000:03:00.0: eth0: 0x00000c80: 0x00922543, 0x00000000, 0x00000000, 0x00000000
[2234382.216389] tg3 0000:03:00.0: eth0: 0x00000ce0: 0x0915707a, 0x00000001, 0x00000646, 0x00040008
[2234382.216391] tg3 0000:03:00.0: eth0: 0x00000cf0: 0x00000000, 0x00000033, 0x95380000, 0x00000000
[2234382.216392] tg3 0000:03:00.0: eth0: 0x00001000: 0x00000002, 0x00000000, 0xa0000d34, 0x00000000
[2234382.216394] tg3 0000:03:00.0: eth0: 0x00001010: 0x00b20b20, 0x00001d34, 0x00000000, 0x00000000
[2234382.216396] tg3 0000:03:00.0: eth0: 0x00001400: 0x00000006, 0x00000000, 0x00000000, 0x00000000
[2234382.216398] tg3 0000:03:00.0: eth0: 0x00001440: 0x000000b4, 0x000000b4, 0x000000b4, 0x000000b4
[2234382.216400] tg3 0000:03:00.0: eth0: 0x00001450: 0x000000b4, 0x000000b4, 0x000000b4, 0x000000b4
[2234382.216401] tg3 0000:03:00.0: eth0: 0x00001460: 0x000000b4, 0x000000b4, 0x000000b4, 0x000000b4
[2234382.216403] tg3 0000:03:00.0: eth0: 0x00001470: 0x000000b4, 0x000000b4, 0x000000b4, 0x000000b4
[2234382.216405] tg3 0000:03:00.0: eth0: 0x00001480: 0x00000004, 0x00000000, 0x00000000, 0x00000000
[2234382.216407] tg3 0000:03:00.0: eth0: 0x00001800: 0x00000016, 0x00000000, 0x000000cb, 0x00000000
[2234382.216408] tg3 0000:03:00.0: eth0: 0x00001840: 0x00000000, 0x00000000, 0x00000200, 0x00000010
[2234382.216410] tg3 0000:03:00.0: eth0: 0x00001850: 0x091b4c30, 0x00000001, 0x00004030, 0x00cb00cb
[2234382.216412] tg3 0000:03:00.0: eth0: 0x00001860: 0x08000000, 0x00000000, 0x00000000, 0x00000000
[2234382.216414] tg3 0000:03:00.0: eth0: 0x00001c00: 0x00000002, 0x00000000, 0x00000000, 0x00000000
[2234382.216416] tg3 0000:03:00.0: eth0: 0x00002000: 0x00000002, 0x00000000, 0x00000000, 0x00000000
[2234382.216417] tg3 0000:03:00.0: eth0: 0x00002010: 0x00000181, 0x00000001, 0x007bfffd, 0x00000000
[2234382.216419] tg3 0000:03:00.0: eth0: 0x00002100: 0x000c723a, 0x000c723a, 0x00000000, 0x00000000
[2234382.216421] tg3 0000:03:00.0: eth0: 0x00002110: 0x000c723a, 0x000c723a, 0x00000000, 0x00000000
[2234382.216423] tg3 0000:03:00.0: eth0: 0x00002120: 0x000c723a, 0x000c723a, 0x00000000, 0x00000000
[2234382.216425] tg3 0000:03:00.0: eth0: 0x00002130: 0x000c723a, 0x000c723a, 0x00000000, 0x00000000
[2234382.216426] tg3 0000:03:00.0: eth0: 0x00002140: 0x000c723a, 0x000c723a, 0x00000000, 0x00000000
[2234382.216428] tg3 0000:03:00.0: eth0: 0x00002150: 0x000c723a, 0x000c723a, 0x00000000, 0x00000000
[2234382.216430] tg3 0000:03:00.0: eth0: 0x00002160: 0x000c723a, 0x000c723a, 0x00000000, 0x00000000
[2234382.216431] tg3 0000:03:00.0: eth0: 0x00002170: 0x000c723a, 0x000c723a, 0x00000000, 0x00000000
[2234382.216433] tg3 0000:03:00.0: eth0: 0x00002180: 0x000c723a, 0x000c723a, 0x00000000, 0x00000000
[2234382.216435] tg3 0000:03:00.0: eth0: 0x00002190: 0x000c723a, 0x000c723a, 0x00000000, 0x00000000
[2234382.216437] tg3 0000:03:00.0: eth0: 0x000021a0: 0x000c723a, 0x000c723a, 0x00000000, 0x00000000
[2234382.216438] tg3 0000:03:00.0: eth0: 0x000021b0: 0x000c723a, 0x000c723a, 0x00000000, 0x00000000
[2234382.216440] tg3 0000:03:00.0: eth0: 0x000021c0: 0x000c723a, 0x000c723a, 0x00000000, 0x00000000
[2234382.216442] tg3 0000:03:00.0: eth0: 0x000021d0: 0x000c723a, 0x000c723a, 0x00000000, 0x00000000
[2234382.216443] tg3 0000:03:00.0: eth0: 0x000021e0: 0x000c723a, 0x000c723a, 0x00000000, 0x00000000
[2234382.216445] tg3 0000:03:00.0: eth0: 0x000021f0: 0x000c723a, 0x000c723a, 0x00000000, 0x00000000
[2234382.216447] tg3 0000:03:00.0: eth0: 0x00002200: 0x014d7110, 0x00000000, 0x00000000, 0x00000000
[2234382.216449] tg3 0000:03:00.0: eth0: 0x00002400: 0x00000012, 0x00000000, 0x00000000, 0x00000000
[2234382.216451] tg3 0000:03:00.0: eth0: 0x00002450: 0x00000004, 0x88534000, 0x02000000, 0x00006000
[2234382.216452] tg3 0000:03:00.0: eth0: 0x00002470: 0x00000000, 0x000001e5, 0x00000000, 0x00000000
[2234382.216454] tg3 0000:03:00.0: eth0: 0x000024c0: 0x08000001, 0x00000000, 0x00000000, 0x00000000
[2234382.216456] tg3 0000:03:00.0: eth0: 0x00002800: 0x00000006, 0x00000000, 0x00000000, 0x00000000
[2234382.216458] tg3 0000:03:00.0: eth0: 0x00002c00: 0x00000006, 0x00000000, 0x00000000, 0x00000020
[2234382.216459] tg3 0000:03:00.0: eth0: 0x00002c10: 0x00000000, 0x00000000, 0x00000010, 0x00000000
[2234382.216461] tg3 0000:03:00.0: eth0: 0x00002c20: 0x00000001, 0x00000000, 0x00000000, 0x00000000
[2234382.216463] tg3 0000:03:00.0: eth0: 0x00003000: 0x00000006, 0x00000000, 0x00000000, 0x00000020
[2234382.216465] tg3 0000:03:00.0: eth0: 0x00003600: 0xe0236600, 0x00170000, 0x00110000, 0x00000000
[2234382.216467] tg3 0000:03:00.0: eth0: 0x00003610: 0x00170000, 0x00130000, 0x00150000, 0x00000000
[2234382.216469] tg3 0000:03:00.0: eth0: 0x00003620: 0x00000000, 0x00000000, 0x00000000, 0x00082080
[2234382.216470] tg3 0000:03:00.0: eth0: 0x00003630: 0x00110000, 0x30000000, 0x00001000, 0x00000000
[2234382.216472] tg3 0000:03:00.0: eth0: 0x00003640: 0x00000000, 0x00000000, 0x00000020, 0x0000004b
[2234382.216474] tg3 0000:03:00.0: eth0: 0x00003650: 0x00000171, 0x00000bff, 0x57780001, 0x00000000
[2234382.216476] tg3 0000:03:00.0: eth0: 0x00003660: 0x00000000, 0x00000000, 0x000000af, 0x00000000
[2234382.216477] tg3 0000:03:00.0: eth0: 0x00003670: 0x0000002a, 0xfefffff7, 0x00000000, 0x00000000
[2234382.216479] tg3 0000:03:00.0: eth0: 0x000036a0: 0x00000000, 0x42000000, 0x00000000, 0x00000041
[2234382.216481] tg3 0000:03:00.0: eth0: 0x00003c00: 0x00000302, 0x00000000, 0x00000014, 0x00000048
[2234382.216483] tg3 0000:03:00.0: eth0: 0x00003c10: 0x00000005, 0x00000035, 0x00000000, 0x00000000
[2234382.216484] tg3 0000:03:00.0: eth0: 0x00003c20: 0x00000005, 0x00000005, 0x00000000, 0x00000000
[2234382.216486] tg3 0000:03:00.0: eth0: 0x00003c30: 0x00000000, 0x00000000, 0x00000001, 0x854fb000
[2234382.216488] tg3 0000:03:00.0: eth0: 0x00003c40: 0x00000000, 0x00000b00, 0x00000000, 0x00000000
[2234382.216490] tg3 0000:03:00.0: eth0: 0x00003c50: 0x00000000, 0x000001e9, 0x00000000, 0x00000000
[2234382.216491] tg3 0000:03:00.0: eth0: 0x00003c80: 0x000001e9, 0x00000000, 0x00000000, 0x00000000
[2234382.216493] tg3 0000:03:00.0: eth0: 0x00003cc0: 0x000000b2, 0x00000000, 0x00000000, 0x00000000
[2234382.216495] tg3 0000:03:00.0: eth0: 0x00004000: 0x00000002, 0x00000000, 0x0003c702, 0x00017d9c
[2234382.216497] tg3 0000:03:00.0: eth0: 0x00004010: 0x00434620, 0x00247012, 0x00800440, 0x00848042
[2234382.216499] tg3 0000:03:00.0: eth0: 0x00004020: 0x00000000, 0x00000000, 0x00000010, 0x00000000
[2234382.216500] tg3 0000:03:00.0: eth0: 0x00004030: 0x00000010, 0x00000030, 0x00000000, 0x00000000
[2234382.216502] tg3 0000:03:00.0: eth0: 0x00004040: 0x00000000, 0x00000000, 0x01086420, 0x00000000
[2234382.216504] tg3 0000:03:00.0: eth0: 0x00004050: 0x00000000, 0x00000000, 0x00244010, 0x00428002
[2234382.216506] tg3 0000:03:00.0: eth0: 0x00004060: 0x00435000, 0x00000000, 0x00000000, 0x00000000
[2234382.216508] tg3 0000:03:00.0: eth0: 0x00004400: 0x00000006, 0x00000000, 0x00010000, 0x00004000
[2234382.216510] tg3 0000:03:00.0: eth0: 0x00004410: 0x00000000, 0x00000010, 0x00000060, 0x00000000
[2234382.216511] tg3 0000:03:00.0: eth0: 0x00004420: 0x0000003d, 0x00000000, 0x00000000, 0x00000000
[2234382.216513] tg3 0000:03:00.0: eth0: 0x00004440: 0x00000000, 0x00000000, 0x00000000, 0x0340d036
[2234382.216515] tg3 0000:03:00.0: eth0: 0x00004450: 0x0001027f, 0x00480049, 0x00000000, 0x00000000
[2234382.216517] tg3 0000:03:00.0: eth0: 0x00004800: 0x18033bfe, 0x00000000, 0x00000000, 0x00000020
[2234382.216518] tg3 0000:03:00.0: eth0: 0x00004810: 0x00000000, 0x00000004, 0x020003cc, 0x00000000
[2234382.216520] tg3 0000:03:00.0: eth0: 0x00004820: 0x00000035, 0x00000000, 0xf02c0000, 0x88534400
[2234382.216522] tg3 0000:03:00.0: eth0: 0x00004830: 0x00000000, 0x000000ba, 0x000000ba, 0x00000000
[2234382.216524] tg3 0000:03:00.0: eth0: 0x00004840: 0x00000074, 0x009b9474, 0x000e2200, 0x350ee6ac
[2234382.216526] tg3 0000:03:00.0: eth0: 0x00004850: 0x02c3b235, 0xb729000e, 0x28342834, 0x00000000
[2234382.216527] tg3 0000:03:00.0: eth0: 0x00004860: 0x01000035, 0x00000000, 0x00000000, 0x00000000
[2234382.216529] tg3 0000:03:00.0: eth0: 0x00004900: 0x00028207, 0x50200e08, 0x00000000, 0x00000000
[2234382.216531] tg3 0000:03:00.0: eth0: 0x00004910: 0x00000018, 0x00000000, 0x00000000, 0x00000000
[2234382.216533] tg3 0000:03:00.0: eth0: 0x00004c00: 0x200003fe, 0x00000000, 0x00000000, 0x00000000
[2234382.216534] tg3 0000:03:00.0: eth0: 0x00004c10: 0x00000000, 0x00000000, 0x00000006, 0x00000000
[2234382.216536] tg3 0000:03:00.0: eth0: 0x00004c20: 0x00000000, 0x00000000, 0x00000000, 0x00000006
[2234382.216538] tg3 0000:03:00.0: eth0: 0x00004c30: 0x00000000, 0x00000000, 0x00000065, 0x00000065
[2234382.216540] tg3 0000:03:00.0: eth0: 0x00004c40: 0x00000000, 0x854fb000, 0x00010020, 0x00000020
[2234382.216541] tg3 0000:03:00.0: eth0: 0x00004c50: 0x07ffffe8, 0x07a7d1ff, 0x00000000, 0xf4a97a7a
[2234382.216543] tg3 0000:03:00.0: eth0: 0x00005000: 0x00009800, 0x80000000, 0x00000000, 0x00000000
[2234382.216545] tg3 0000:03:00.0: eth0: 0x00005010: 0x00000000, 0x00000000, 0x00000000, 0x40002cb0
[2234382.216547] tg3 0000:03:00.0: eth0: 0x00005020: 0x16220003, 0x00000000, 0x00000000, 0x40000020
[2234382.216549] tg3 0000:03:00.0: eth0: 0x00005030: 0x00000000, 0x00000051, 0x00000000, 0x00000000
[2234382.216550] tg3 0000:03:00.0: eth0: 0x00005040: 0x00000000, 0x00000000, 0x40002ca8, 0x00000000
[2234382.216552] tg3 0000:03:00.0: eth0: 0x00005080: 0x00009800, 0x80008000, 0x00000000, 0x00000000
[2234382.216554] tg3 0000:03:00.0: eth0: 0x00005090: 0x00000000, 0x00000000, 0x00000000, 0x40002cb0
[2234382.216556] tg3 0000:03:00.0: eth0: 0x000050a0: 0x24020001, 0x00000000, 0x00000000, 0x40000020
[2234382.216557] tg3 0000:03:00.0: eth0: 0x000050b0: 0x00000000, 0x00000051, 0x00000000, 0x00000000
[2234382.216559] tg3 0000:03:00.0: eth0: 0x000050c0: 0x00000000, 0x00000000, 0x40002ca8, 0x00000000
[2234382.216561] tg3 0000:03:00.0: eth0: 0x00005100: 0x00009800, 0x80008000, 0x00000000, 0x00000000
[2234382.216563] tg3 0000:03:00.0: eth0: 0x00005110: 0x00000000, 0x00000000, 0x00000000, 0x40003688
[2234382.216564] tg3 0000:03:00.0: eth0: 0x00005120: 0x03e00008, 0x00000000, 0x00000000, 0x40000020
[2234382.216566] tg3 0000:03:00.0: eth0: 0x00005130: 0x00000000, 0x00000051, 0x00000000, 0x00000000
[2234382.216568] tg3 0000:03:00.0: eth0: 0x00005140: 0x00000000, 0x00000000, 0x40002ca8, 0x00000000
[2234382.216570] tg3 0000:03:00.0: eth0: 0x00005180: 0x00009800, 0x80000000, 0x00000000, 0x00000000
[2234382.216571] tg3 0000:03:00.0: eth0: 0x00005190: 0x00000000, 0x00000000, 0x00000000, 0x400036a0
[2234382.216573] tg3 0000:03:00.0: eth0: 0x000051a0: 0x00000000, 0x00000000, 0x00000000, 0x40000020
[2234382.216575] tg3 0000:03:00.0: eth0: 0x000051b0: 0x00000000, 0x00000051, 0x00000000, 0x00000000
[2234382.216577] tg3 0000:03:00.0: eth0: 0x000051c0: 0x00000000, 0x00000000, 0x40002e28, 0x00000000
[2234382.216578] tg3 0000:03:00.0: eth0: 0x00005200: 0x00000000, 0x00000000, 0x00000000, 0xa1020000
[2234382.216580] tg3 0000:03:00.0: eth0: 0x00005220: 0x00000000, 0xa1020000, 0x00000000, 0x00000000
[2234382.216582] tg3 0000:03:00.0: eth0: 0x00005240: 0x00000000, 0x00000000, 0x00000000, 0xc0000000
[2234382.216583] tg3 0000:03:00.0: eth0: 0x00005260: 0x00000000, 0x00000000, 0x00000000, 0xa1020000
[2234382.216585] tg3 0000:03:00.0: eth0: 0x00005270: 0x00000000, 0x00000000, 0x00000000, 0x08005fe8
[2234382.216587] tg3 0000:03:00.0: eth0: 0x00005280: 0x00009800, 0x80008000, 0x00000000, 0x00000000
[2234382.216589] tg3 0000:03:00.0: eth0: 0x00005290: 0x00000000, 0x00000000, 0x00000000, 0x40001d38
[2234382.216590] tg3 0000:03:00.0: eth0: 0x000052a0: 0x00008021, 0x00000000, 0x00000000, 0x40000020
[2234382.216592] tg3 0000:03:00.0: eth0: 0x000052b0: 0x00000000, 0x00000051, 0x00000000, 0x00000000
[2234382.216594] tg3 0000:03:00.0: eth0: 0x000052c0: 0x00000000, 0x00000000, 0x40002cc4, 0x00000000
[2234382.216596] tg3 0000:03:00.0: eth0: 0x00005300: 0x00009800, 0x80008000, 0x00000000, 0x00000000
[2234382.216597] tg3 0000:03:00.0: eth0: 0x00005310: 0x00000000, 0x00000000, 0x00000000, 0x40002cd4
[2234382.216599] tg3 0000:03:00.0: eth0: 0x00005320: 0x24100001, 0x00000000, 0x00000000, 0x40000020
[2234382.216601] tg3 0000:03:00.0: eth0: 0x00005330: 0x00000000, 0x00000051, 0x00000000, 0x00000000
[2234382.216603] tg3 0000:03:00.0: eth0: 0x00005340: 0x00000000, 0x00000000, 0x40003696, 0x00000000
[2234382.216604] tg3 0000:03:00.0: eth0: 0x00005380: 0x00009800, 0x80008000, 0x00000000, 0x00000000
[2234382.216606] tg3 0000:03:00.0: eth0: 0x00005390: 0x00000000, 0x00000000, 0x00000000, 0x4000354c
[2234382.216608] tg3 0000:03:00.0: eth0: 0x000053a0: 0x16000003, 0x00000000, 0x00000000, 0x40000020
[2234382.216610] tg3 0000:03:00.0: eth0: 0x000053b0: 0x00000000, 0x00000051, 0x00000000, 0x00000000
[2234382.216611] tg3 0000:03:00.0: eth0: 0x000053c0: 0x00000000, 0x00000000, 0x40003696, 0x00000000
[2234382.216613] tg3 0000:03:00.0: eth0: 0x00005600: 0x169114e4, 0x00100406, 0x02000001, 0x00000010
[2234382.216615] tg3 0000:03:00.0: eth0: 0x00005610: 0xfb100004, 0x00000000, 0x00000000, 0x00000000
[2234382.216617] tg3 0000:03:00.0: eth0: 0x00005620: 0x00000000, 0x00000000, 0x00000000, 0x04aa1028
[2234382.216618] tg3 0000:03:00.0: eth0: 0x00005630: 0x00000000, 0x00000048, 0x00000000, 0x00000103
[2234382.216620] tg3 0000:03:00.0: eth0: 0x00005640: 0x00000000, 0x00000000, 0xc0036001, 0x08002008
[2234382.216622] tg3 0000:03:00.0: eth0: 0x00005650: 0x0081cc05, 0xfeeff00c, 0x00000000, 0x000041a1
[2234382.216624] tg3 0000:03:00.0: eth0: 0x00005660: 0x006c5009, 0x91921271, 0xf0010298, 0x76180000
[2234382.216626] tg3 0000:03:00.0: eth0: 0x00005670: 0x000010f2, 0x00000000, 0x00000000, 0x00000000
[2234382.216627] tg3 0000:03:00.0: eth0: 0x00005680: 0x40000008, 0x40000008, 0x00000000, 0x00000000
[2234382.216629] tg3 0000:03:00.0: eth0: 0x000056b0: 0x00000000, 0x00000000, 0x00000000, 0x57780001
[2234382.216631] tg3 0000:03:00.0: eth0: 0x000056c0: 0x00000000, 0x00000000, 0x0000000e, 0x00020010
[2234382.216633] tg3 0000:03:00.0: eth0: 0x000056d0: 0x05908fa0, 0x00102000, 0x0006cc11, 0x10110040
[2234382.216634] tg3 0000:03:00.0: eth0: 0x000056f0: 0x0000001f, 0x00000000, 0x00000000, 0x00000000
[2234382.216636] tg3 0000:03:00.0: eth0: 0x00005700: 0x13c10001, 0x00100000, 0x00000000, 0x00062031
[2234382.216638] tg3 0000:03:00.0: eth0: 0x00005710: 0x00000000, 0x00002000, 0x000000b4, 0x40000001
[2234382.216640] tg3 0000:03:00.0: eth0: 0x00005720: 0x0000000f, 0xfb100400, 0x00000080, 0x00000000
[2234382.216641] tg3 0000:03:00.0: eth0: 0x00005730: 0x00000000, 0x00000000, 0x00000000, 0x16010002
[2234382.216643] tg3 0000:03:00.0: eth0: 0x00005750: 0x80000001, 0x00000000, 0x00000000, 0x00000000
[2234382.216645] tg3 0000:03:00.0: eth0: 0x00005760: 0x16c10003, 0xfe9a0512, 0xd4bed9ff, 0x00010004
[2234382.216647] tg3 0000:03:00.0: eth0: 0x00005770: 0x00000000, 0x00078116, 0x00000001, 0x00000000
[2234382.216648] tg3 0000:03:00.0: eth0: 0x00005780: 0x00000000, 0x00000000, 0x00000000, 0xffffffff
[2234382.216650] tg3 0000:03:00.0: eth0: 0x00005800: 0x00000000, 0x7b000000, 0x00000000, 0x00000000
[2234382.216652] tg3 0000:03:00.0: eth0: 0x00005860: 0x00000000, 0x00000000, 0x00000000, 0x000000b2
[2234382.216654] tg3 0000:03:00.0: eth0: 0x00005880: 0x00000000, 0x000001ea, 0x00000000, 0x00000000
[2234382.216655] tg3 0000:03:00.0: eth0: 0x00005900: 0x00000000, 0x000000cb, 0x00000000, 0x00000000
[2234382.216657] tg3 0000:03:00.0: eth0: 0x00005980: 0x00000000, 0x000000cb, 0x00000000, 0x00000000
[2234382.216659] tg3 0000:03:00.0: eth0: 0x00005a00: 0x00012001, 0x00000000, 0x00010000, 0x00000000
[2234382.216661] tg3 0000:03:00.0: eth0: 0x00006000: 0x00000002, 0x00000000, 0x00000000, 0x00000000
[2234382.216663] tg3 0000:03:00.0: eth0: 0x00006800: 0x04130034, 0x20085082, 0x01009219, 0x6a8b4f40
[2234382.216665] tg3 0000:03:00.0: eth0: 0x00006810: 0xa1020000, 0xffffffff, 0x00000000, 0x00000000
[2234382.216667] tg3 0000:03:00.0: eth0: 0x000068a0: 0x00000000, 0x20010001, 0x00000000, 0x00000000
[2234382.216668] tg3 0000:03:00.0: eth0: 0x000068b0: 0x00040000, 0x00000000, 0x00000000, 0x00000000
[2234382.216670] tg3 0000:03:00.0: eth0: 0x00006c20: 0x00000000, 0x00200000, 0x00000000, 0x00000000
[2234382.216672] tg3 0000:03:00.0: eth0: 0x00007000: 0x08000188, 0x00000000, 0x00000000, 0x00000000
[2234382.216674] tg3 0000:03:00.0: eth0: 0x00007010: 0xffffffff, 0x00008200, 0x000500db, 0x03000a00
[2234382.216676] tg3 0000:03:00.0: eth0: 0x00007020: 0x00000000, 0x00000000, 0x00000406, 0x10004000
[2234382.216677] tg3 0000:03:00.0: eth0: 0x00007030: 0x00020000, 0x00000004, 0x001f0010, 0x00000000
[2234382.216679] tg3 0000:03:00.0: eth0: 0x00007500: 0x00000000, 0x00000000, 0x0000008b, 0x00000240
[2234382.216682] tg3 0000:03:00.0: eth0: 0: Host status block [00000001:00000080:(0000:01ef:0000):(01ef:00b2)]
[2234382.216685] tg3 0000:03:00.0: eth0: 0: NAPI info [00000080:00000080:(00cb:00b2:01ff):01ef:(00b7:0000:0000:0000)]
[2234382.319550] tg3 0000:03:00.0: tg3_stop_block timed out, ofs=1400 enable_bit=2
[2234382.421931] tg3 0000:03:00.0: tg3_stop_block timed out, ofs=c00 enable_bit=2
[2234382.427199] tg3 0000:03:00.0: eth0: Link is down
[2234382.438168] tg3 0000:03:00.0: eth0: Link is down

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

* Re: tg3: Occassional death on 3.3
  2012-04-18  0:22 tg3: Occassional death on 3.3 Ilia Mirkin
@ 2012-04-18  0:55 ` Matt Carlson
  2012-04-18 17:19   ` Matt Carlson
  0 siblings, 1 reply; 4+ messages in thread
From: Matt Carlson @ 2012-04-18  0:55 UTC (permalink / raw)
  To: Ilia Mirkin; +Cc: Matt Carlson, Michael Chan, netdev

On Tue, Apr 17, 2012 at 08:22:31PM -0400, Ilia Mirkin wrote:
> Hello,
> 
> I'm observing an issue where it appears that tg3 gets wedged into a
> bad state every so often, and never recovers. Doing a sequence of
> 
> ifconfig eth0 down
> rmmod broadcom
> rmmod tg3
> 
> modprobe broadcom
> modprobe tg3
> 
> Makes everything work again. The card I have:
> 
> 03:00.0 Ethernet controller [0200]: Broadcom Corporation NetLink
> BCM57788 Gigabit Ethernet PCIe [14e4:1691] (rev 01)
>         Subsystem: Dell XPS 8300 [1028:04aa]
>         Flags: bus master, fast devsel, latency 0, IRQ 45
>         Memory at fb100000 (64-bit, non-prefetchable) [size=64K]
>         Capabilities: [48] Power Management version 3
>         Capabilities: [60] Vendor Specific Information: Len=6c <?>
>         Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
>         Capabilities: [cc] Express Endpoint, MSI 00
>         Capabilities: [100] Advanced Error Reporting
>         Capabilities: [13c] Virtual Channel
>         Capabilities: [160] Device Serial Number [the mac address]
>         Capabilities: [16c] Power Budgeting <?>
>         Kernel driver in use: tg3
>         Kernel modules: tg3
> 
> I'm attaching the log for the full data dump, since my mailer will
> wrap it horribly otherwise, but the interesting lines are:
> 
> [2234380.228971] tg3 0000:03:00.0: eth0: transmit timed out, resetting
> ... some kind of data dump ...
> [2234382.216682] tg3 0000:03:00.0: eth0: 0: Host status block
> [00000001:00000080:(0000:01ef:0000):(01ef:00b2)]
> [2234382.216685] tg3 0000:03:00.0: eth0: 0: NAPI info
> [00000080:00000080:(00cb:00b2:01ff):01ef:(00b7:0000:0000:0000)]
> [2234382.319550] tg3 0000:03:00.0: tg3_stop_block timed out, ofs=1400
> enable_bit=2
> [2234382.421931] tg3 0000:03:00.0: tg3_stop_block timed out, ofs=c00
> enable_bit=2
> [2234382.427199] tg3 0000:03:00.0: eth0: Link is down
> [2234382.438168] tg3 0000:03:00.0: eth0: Link is down
> 
> Any further attempts to use the NIC, like ifconfig down/up result in a
> similar error log sequence happening. Also, while it's happening, the
> computer feels extremely laggy for a short period of time (~1s),
> leading me to believe it's doing an uninterruptible sleep of some kind
> going on.
> 
> This has happened twice, and at least the second time, there was no
> unusual traffic on the network. It's linked at 100M, and was probably
> doing 10K/s at most when the error happened. If this is insufficient
> information, please let me know what I should collect next time this
> might happen.
> 
> Thanks,

Thanks for the report Ilia.  I'm guessing the lag is coming from the
driver as it logs the register dump to the syslog.

The register dump shows that interrupts are enabled, but the tag value in
the interrupt mailbox register doesn't match the value in the status block
or the driver's private tag value.  I'll see where that leads me.

Stay tuned.

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

* Re: tg3: Occassional death on 3.3
  2012-04-18  0:55 ` Matt Carlson
@ 2012-04-18 17:19   ` Matt Carlson
  2012-04-18 17:30     ` Ilia Mirkin
  0 siblings, 1 reply; 4+ messages in thread
From: Matt Carlson @ 2012-04-18 17:19 UTC (permalink / raw)
  To: Matt Carlson; +Cc: Ilia Mirkin, Michael Chan, netdev

On Tue, Apr 17, 2012 at 05:55:11PM -0700, Matt Carlson wrote:
> On Tue, Apr 17, 2012 at 08:22:31PM -0400, Ilia Mirkin wrote:
> > Hello,
> > 
> > I'm observing an issue where it appears that tg3 gets wedged into a
> > bad state every so often, and never recovers. Doing a sequence of
> > 
> > ifconfig eth0 down
> > rmmod broadcom
> > rmmod tg3
> > 
> > modprobe broadcom
> > modprobe tg3
> > 
> > Makes everything work again. The card I have:
> > 
> > 03:00.0 Ethernet controller [0200]: Broadcom Corporation NetLink
> > BCM57788 Gigabit Ethernet PCIe [14e4:1691] (rev 01)
> >         Subsystem: Dell XPS 8300 [1028:04aa]
> >         Flags: bus master, fast devsel, latency 0, IRQ 45
> >         Memory at fb100000 (64-bit, non-prefetchable) [size=64K]
> >         Capabilities: [48] Power Management version 3
> >         Capabilities: [60] Vendor Specific Information: Len=6c <?>
> >         Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
> >         Capabilities: [cc] Express Endpoint, MSI 00
> >         Capabilities: [100] Advanced Error Reporting
> >         Capabilities: [13c] Virtual Channel
> >         Capabilities: [160] Device Serial Number [the mac address]
> >         Capabilities: [16c] Power Budgeting <?>
> >         Kernel driver in use: tg3
> >         Kernel modules: tg3
> > 
> > I'm attaching the log for the full data dump, since my mailer will
> > wrap it horribly otherwise, but the interesting lines are:
> > 
> > [2234380.228971] tg3 0000:03:00.0: eth0: transmit timed out, resetting
> > ... some kind of data dump ...
> > [2234382.216682] tg3 0000:03:00.0: eth0: 0: Host status block
> > [00000001:00000080:(0000:01ef:0000):(01ef:00b2)]
> > [2234382.216685] tg3 0000:03:00.0: eth0: 0: NAPI info
> > [00000080:00000080:(00cb:00b2:01ff):01ef:(00b7:0000:0000:0000)]
> > [2234382.319550] tg3 0000:03:00.0: tg3_stop_block timed out, ofs=1400
> > enable_bit=2
> > [2234382.421931] tg3 0000:03:00.0: tg3_stop_block timed out, ofs=c00
> > enable_bit=2
> > [2234382.427199] tg3 0000:03:00.0: eth0: Link is down
> > [2234382.438168] tg3 0000:03:00.0: eth0: Link is down
> > 
> > Any further attempts to use the NIC, like ifconfig down/up result in a
> > similar error log sequence happening. Also, while it's happening, the
> > computer feels extremely laggy for a short period of time (~1s),
> > leading me to believe it's doing an uninterruptible sleep of some kind
> > going on.
> > 
> > This has happened twice, and at least the second time, there was no
> > unusual traffic on the network. It's linked at 100M, and was probably
> > doing 10K/s at most when the error happened. If this is insufficient
> > information, please let me know what I should collect next time this
> > might happen.
> > 
> > Thanks,
> 
> Thanks for the report Ilia.  I'm guessing the lag is coming from the
> driver as it logs the register dump to the syslog.
> 
> The register dump shows that interrupts are enabled, but the tag value in
> the interrupt mailbox register doesn't match the value in the status block
> or the driver's private tag value.  I'll see where that leads me.

O.K.  The interrupt mailbox issue I mentioned above can happen when in
one-shot MSI mode, but it still smells strange.  If the tag stored in
the device structure matches the tag value in the status block, there
should be no more work to do.  In that case, the driver writes the new
tag to the interrupt mailbox register.

You may be encountering some type of hardware problem.  PCIe register
0x104 is the Uncorrectable Error Status register.  This register shows
that the "Unsupported Request Error Status" bit is set.  This definitely
shouldn't happen.

Do you know if there are any firmware updates available for your system?

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

* Re: tg3: Occassional death on 3.3
  2012-04-18 17:19   ` Matt Carlson
@ 2012-04-18 17:30     ` Ilia Mirkin
  0 siblings, 0 replies; 4+ messages in thread
From: Ilia Mirkin @ 2012-04-18 17:30 UTC (permalink / raw)
  To: Matt Carlson; +Cc: Michael Chan, netdev

On Wed, Apr 18, 2012 at 1:19 PM, Matt Carlson <mcarlson@broadcom.com> wrote:
> On Tue, Apr 17, 2012 at 05:55:11PM -0700, Matt Carlson wrote:
>> On Tue, Apr 17, 2012 at 08:22:31PM -0400, Ilia Mirkin wrote:
>> > Hello,
>> >
>> > I'm observing an issue where it appears that tg3 gets wedged into a
>> > bad state every so often, and never recovers. Doing a sequence of
>> >
>> > ifconfig eth0 down
>> > rmmod broadcom
>> > rmmod tg3
>> >
>> > modprobe broadcom
>> > modprobe tg3
>> >
>> > Makes everything work again. The card I have:
>> >
>> > 03:00.0 Ethernet controller [0200]: Broadcom Corporation NetLink
>> > BCM57788 Gigabit Ethernet PCIe [14e4:1691] (rev 01)
>> >         Subsystem: Dell XPS 8300 [1028:04aa]
>> >         Flags: bus master, fast devsel, latency 0, IRQ 45
>> >         Memory at fb100000 (64-bit, non-prefetchable) [size=64K]
>> >         Capabilities: [48] Power Management version 3
>> >         Capabilities: [60] Vendor Specific Information: Len=6c <?>
>> >         Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
>> >         Capabilities: [cc] Express Endpoint, MSI 00
>> >         Capabilities: [100] Advanced Error Reporting
>> >         Capabilities: [13c] Virtual Channel
>> >         Capabilities: [160] Device Serial Number [the mac address]
>> >         Capabilities: [16c] Power Budgeting <?>
>> >         Kernel driver in use: tg3
>> >         Kernel modules: tg3
>> >
>> > I'm attaching the log for the full data dump, since my mailer will
>> > wrap it horribly otherwise, but the interesting lines are:
>> >
>> > [2234380.228971] tg3 0000:03:00.0: eth0: transmit timed out, resetting
>> > ... some kind of data dump ...
>> > [2234382.216682] tg3 0000:03:00.0: eth0: 0: Host status block
>> > [00000001:00000080:(0000:01ef:0000):(01ef:00b2)]
>> > [2234382.216685] tg3 0000:03:00.0: eth0: 0: NAPI info
>> > [00000080:00000080:(00cb:00b2:01ff):01ef:(00b7:0000:0000:0000)]
>> > [2234382.319550] tg3 0000:03:00.0: tg3_stop_block timed out, ofs=1400
>> > enable_bit=2
>> > [2234382.421931] tg3 0000:03:00.0: tg3_stop_block timed out, ofs=c00
>> > enable_bit=2
>> > [2234382.427199] tg3 0000:03:00.0: eth0: Link is down
>> > [2234382.438168] tg3 0000:03:00.0: eth0: Link is down
>> >
>> > Any further attempts to use the NIC, like ifconfig down/up result in a
>> > similar error log sequence happening. Also, while it's happening, the
>> > computer feels extremely laggy for a short period of time (~1s),
>> > leading me to believe it's doing an uninterruptible sleep of some kind
>> > going on.
>> >
>> > This has happened twice, and at least the second time, there was no
>> > unusual traffic on the network. It's linked at 100M, and was probably
>> > doing 10K/s at most when the error happened. If this is insufficient
>> > information, please let me know what I should collect next time this
>> > might happen.
>> >
>> > Thanks,
>>
>> Thanks for the report Ilia.  I'm guessing the lag is coming from the
>> driver as it logs the register dump to the syslog.
>>
>> The register dump shows that interrupts are enabled, but the tag value in
>> the interrupt mailbox register doesn't match the value in the status block
>> or the driver's private tag value.  I'll see where that leads me.
>
> O.K.  The interrupt mailbox issue I mentioned above can happen when in
> one-shot MSI mode, but it still smells strange.  If the tag stored in
> the device structure matches the tag value in the status block, there
> should be no more work to do.  In that case, the driver writes the new
> tag to the interrupt mailbox register.
>
> You may be encountering some type of hardware problem.  PCIe register
> 0x104 is the Uncorrectable Error Status register.  This register shows
> that the "Unsupported Request Error Status" bit is set.  This definitely
> shouldn't happen.
>
> Do you know if there are any firmware updates available for your system?
>

I just checked on Dell's website, and I'm pretty sure I have the
latest BIOS. I'll double-check later, but the website says version
A06, as does my dmidecode. So unless they have multiple releases with
the same version number... :) In case it's of interest, the system is
a i7-2600 CPU, 18G of RAM (memtested).

Are there some PCI(e) debug options I should be turning on to perhaps
get a better picture of what's going on?

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

end of thread, other threads:[~2012-04-18 17:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-18  0:22 tg3: Occassional death on 3.3 Ilia Mirkin
2012-04-18  0:55 ` Matt Carlson
2012-04-18 17:19   ` Matt Carlson
2012-04-18 17:30     ` Ilia Mirkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox