tg3 driver freezes network randomly

Bug #234738 reported by Jouni Karlsson
This bug report is a duplicate of:  Bug #294092: tg3 transmit timeout. Edit Remove
40
This bug affects 5 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Binary package hint: linux-image-2.6.24-17-generic

Ubuntu 8.04
Package: linux-image-2.6.24-17-generic

The network randomly freezes with in-kernel tg3 driver. Sometimes it can be fixed by reloading the tg3 driver by "rmmod tg3 && modprobe tg3", otherwise its reboot time. Kernel is loaded with default boot parameters (ie. no noapic/nolapic/noacpi etc.)

relevant dmesg snip:
[ 1946.559331] tg3: tg3_abort_hw timed out for eth0, TX_MODE_ENABLE will not clear MAC_TX_MODE=ffffffff
[ 1947.361422] tg3: eth0: No firmware running.
[ 1951.487984] BUG: soft lockup - CPU#0 stuck for 11s! [ifconfig:9162]
[ 1951.487990]
[ 1951.487993] Pid: 9162, comm: ifconfig Tainted: P (2.6.24-17-generic #1)
[ 1951.487997] EIP: 0060:[<c021a1a7>] EFLAGS: 00200297 CPU: 0
[ 1951.488004] EIP is at delay_tsc+0x27/0x50
[ 1951.488006] EAX: f603deb3 EBX: 0000038a ECX: 00000000 EDX: 0000038a
[ 1951.488009] ESI: f603deaa EDI: ee573e18 EBP: f603b98d ESP: ee573dcc
[ 1951.488011] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[ 1951.488013] CR0: 8005003b CR2: 0805b1e0 CR3: 330ac000 CR4: 00000690
[ 1951.488018] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[ 1951.488021] DR6: ffff0ff0 DR7: 00000400
[ 1951.488054] [<c021a146>] __delay+0x6/0x10
[ 1951.488062] [<f888d245>] tg3_readphy+0x65/0x100 [tg3]
[ 1951.488095] [<f888e8e7>] tg3_setup_copper_phy+0x187/0xb80 [tg3]
[ 1951.488115] [<c01cbee8>] remove_proc_entry+0x118/0x180
[ 1951.488157] [<f888f505>] tg3_setup_phy+0x225/0xed0 [tg3]
[ 1951.488177] [<c029bae3>] pci_read+0x33/0x40
[ 1951.488203] [<c02216fe>] pci_bus_read_config_word+0x6e/0x90
[ 1951.488240] [<f8890a1c>] tg3_set_power_state+0x4bc/0x920 [tg3]
[ 1951.488290] [<f889b062>] tg3_close+0x102/0x120 [tg3]
[ 1951.488318] [<c02a991c>] dev_close+0x3c/0x60
[ 1951.488326] [<c02a9771>] dev_change_flags+0x81/0x190
[ 1951.488337] [<c02a7db4>] __dev_get_by_name+0x74/0x90
[ 1951.488355] [<c02f44e5>] devinet_ioctl+0x505/0x6a0
[ 1951.488373] [<c02aa8a2>] dev_ioctl+0x292/0x500
[ 1951.488462] [<c029c6df>] sock_ioctl+0xcf/0x220
[ 1951.488475] [<c029c610>] sock_ioctl+0x0/0x220
[ 1951.488489] [<c019dfab>] do_ioctl+0x2b/0x90
[ 1951.488514] [<c019e23e>] vfs_ioctl+0x22e/0x2b0
[ 1951.488540] [<c019e316>] sys_ioctl+0x56/0x70
[ 1951.488560] [<c01043c2>] sysenter_past_esp+0x6b/0xa9
[ 1951.488630] =======================
[ 1952.590441] tg3: eth0: Link is down.

full lspci -vvv:
00:00.0 Host bridge: ATI Technologies Inc RS480 Host Bridge (rev 10)
 Subsystem: Hewlett-Packard Company Unknown device 3009
 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
 Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
 Latency: 64
 Region 3: Memory at <ignored> (64-bit, non-prefetchable)

00:01.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge (prog-if 00 [Normal decode])
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
 Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
 Latency: 99
 Bus: primary=00, secondary=01, subordinate=01, sec-latency=68
 I/O behind bridge: 0000c000-0000cfff
 Memory behind bridge: fda00000-fdafffff
 Prefetchable memory behind bridge: 00000000c8000000-00000000d7ffffff
 Secondary status: 66MHz+ FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
 BridgeCtl: Parity- SERR+ NoISA- VGA+ MAbort- >Reset- FastB2B-
 Capabilities: [44] HyperTransport: MSI Mapping
 Capabilities: [b0] Subsystem: ATI Technologies Inc RS480 PCI Bridge

00:05.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge (prog-if 00 [Normal decode])
 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: 32 bytes
 Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
 I/O behind bridge: 0000d000-0000dfff
 Memory behind bridge: fde00000-fdefffff
 Prefetchable memory behind bridge: 00000000fdb00000-00000000fdbfffff
 Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
 BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
 Capabilities: [50] Power Management version 3
  Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
  Status: D0 PME-Enable- DSel=0 DScale=0 PME-
 Capabilities: [58] Express Root Port (Slot-) IRQ 0
  Device: Supported: MaxPayload 128 bytes, PhantFunc 0, ExtTag+
  Device: Latency L0s <64ns, L1 <1us
  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 x1, ASPM L0s L1, Port 2
  Link: Latency L0s <64ns, L1 <1us
  Link: ASPM Disabled RCB 64 bytes CommClk- ExtSynch-
  Link: Speed 2.5Gb/s, Width x1
  Root: Correctable- Non-Fatal- Fatal- PME-
 Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
  Address: 00000000 Data: 0000
 Capabilities: [b0] Subsystem: ATI Technologies Inc Unknown device 5950
 Capabilities: [b8] HyperTransport: MSI Mapping

00:12.0 IDE interface: ATI Technologies Inc IXP SB400 Serial ATA Controller (prog-if 8f [Master SecP SecO PriP PriO])
 Subsystem: Hewlett-Packard Company Unknown device 3009
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
 Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
 Latency: 64, Cache Line Size: 32 bytes
 Interrupt: pin A routed to IRQ 19
 Region 0: I/O ports at fc00 [size=8]
 Region 1: I/O ports at f800 [size=4]
 Region 2: I/O ports at f400 [size=8]
 Region 3: I/O ports at f000 [size=4]
 Region 4: I/O ports at ec00 [size=16]
 Region 5: Memory at fe02f000 (32-bit, non-prefetchable) [size=512]
 [virtual] Expansion ROM at d8000000 [disabled] [size=512K]
 Capabilities: [60] Power Management version 2
  Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
  Status: D0 PME-Enable- DSel=0 DScale=2 PME-
 Capabilities: [50] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
  Address: 00000000 Data: 0000

00:13.0 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (prog-if 10 [OHCI])
 Subsystem: Hewlett-Packard Company Unknown device 3009
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
 Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
 Latency: 64, Cache Line Size: 64 bytes
 Interrupt: pin A routed to IRQ 17
 Region 0: Memory at fe02e000 (32-bit, non-prefetchable) [size=4K]
 Capabilities: [d0] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
  Address: 00000000 Data: 0000

00:13.1 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (prog-if 10 [OHCI])
 Subsystem: Hewlett-Packard Company Unknown device 3009
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
 Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
 Latency: 64, Cache Line Size: 64 bytes
 Interrupt: pin A routed to IRQ 17
 Region 0: Memory at fe02d000 (32-bit, non-prefetchable) [size=4K]
 Capabilities: [d0] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
  Address: 00000000 Data: 0000

00:13.2 USB Controller: ATI Technologies Inc IXP SB400 USB2 Host Controller (prog-if 20 [EHCI])
 Subsystem: Hewlett-Packard Company Unknown device 3009
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
 Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
 Latency: 64, Cache Line Size: 64 bytes
 Interrupt: pin A routed to IRQ 17
 Region 0: Memory at fe02c000 (32-bit, non-prefetchable) [size=4K]
 Capabilities: [dc] 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-
  Bridge: PM- B3+
 Capabilities: [d0] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
  Address: 00000000 Data: 0000

00:14.0 SMBus: ATI Technologies Inc IXP SB400 SMBus Controller (rev 11)
 Subsystem: Hewlett-Packard Company Unknown device 3009
 Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
 Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
 Region 0: I/O ports at 0500 [size=16]
 Region 1: Memory at fe02b000 (32-bit, non-prefetchable) [size=1K]
 Capabilities: [b0] HyperTransport: MSI Mapping

00:14.1 IDE interface: ATI Technologies Inc IXP SB400 IDE Controller (prog-if 82 [Master PriP])
 Subsystem: Hewlett-Packard Company Unknown device 3009
 Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
 Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
 Latency: 64
 Interrupt: pin A routed to IRQ 20
 Region 0: I/O ports at 01f0 [size=8]
 Region 1: I/O ports at 03f4 [size=1]
 Region 2: I/O ports at 0170 [size=8]
 Region 3: I/O ports at 0374 [size=1]
 Region 4: I/O ports at e400 [size=16]
 Capabilities: [70] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
  Address: 00000000 Data: 0000

00:14.3 ISA bridge: ATI Technologies Inc IXP SB400 PCI-ISA Bridge
 Subsystem: Hewlett-Packard Company Unknown device 3009
 Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
 Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
 Latency: 0

00:14.4 PCI bridge: ATI Technologies Inc IXP SB400 PCI-PCI Bridge (prog-if 01 [Subtractive decode])
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
 Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
 Latency: 64
 Bus: primary=00, secondary=03, subordinate=03, sec-latency=64
 I/O behind bridge: 0000b000-0000bfff
 Memory behind bridge: fdd00000-fddfffff
 Prefetchable memory behind bridge: fdc00000-fdcfffff
 Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
 BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-

00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
 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-
 Capabilities: [80] HyperTransport: Host or Secondary Interface
  !!! Possibly incomplete decoding
  Command: WarmRst+ DblEnd-
  Link Control: CFlE- CST- CFE- <LkFail- Init+ EOC- TXO- <CRCErr=0
  Link Config: MLWI=16bit MLWO=16bit LWI=16bit LWO=16bit
  Revision ID: 1.02

00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
 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-

00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
 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-

00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
 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-

01:05.0 VGA compatible controller: ATI Technologies Inc RS480 [Radeon Xpress 200G Series] (prog-if 00 [VGA controller])
 Subsystem: Hewlett-Packard Company Unknown device 3009
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
 Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
 Latency: 255 (2000ns min), Cache Line Size: 32 bytes
 Interrupt: pin A routed to IRQ 16
 Region 0: Memory at d0000000 (32-bit, prefetchable) [size=128M]
 Region 1: I/O ports at cc00 [size=256]
 Region 2: Memory at fdaf0000 (32-bit, non-prefetchable) [size=64K]
 [virtual] Expansion ROM at fda00000 [disabled] [size=128K]
 Capabilities: [50] 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-

01:05.1 Display controller: ATI Technologies Inc Unknown device 5854
 Subsystem: Hewlett-Packard Company Unknown device 3008
 Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
 Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
 Region 0: Memory at c8000000 (32-bit, prefetchable) [disabled] [size=128M]
 Region 1: Memory at fdae0000 (32-bit, non-prefetchable) [disabled] [size=64K]
 Capabilities: [50] 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-

02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751 Gigabit Ethernet PCI Express (rev 20)
 Subsystem: Hewlett-Packard Company Unknown device 3009
 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: 32 bytes
 Interrupt: pin A routed to IRQ 16
 Region 0: Memory at fdef0000 (64-bit, non-prefetchable) [size=64K]
 Expansion ROM at <ignored> [disabled]
 Capabilities: [48] Power Management version 2
  Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold+)
  Status: D0 PME-Enable- DSel=0 DScale=1 PME-
 Capabilities: [50] Vital Product Data
 Capabilities: [58] Message Signalled Interrupts: Mask- 64bit+ Queue=0/3 Enable-
  Address: 0000020000280000 Data: 8000
 Capabilities: [d0] Express Endpoint IRQ 0
  Device: Supported: MaxPayload 128 bytes, PhantFunc 0, ExtTag+
  Device: Latency L0s <4us, L1 unlimited
  Device: AtnBtn- AtnInd- PwrInd-
  Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported-
  Device: RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
  Device: MaxPayload 128 bytes, MaxReadReq 4096 bytes
  Link: Supported Speed 2.5Gb/s, Width x1, ASPM L0s L1, Port 0
  Link: Latency L0s <4us, L1 <64us
  Link: ASPM Disabled RCB 64 bytes CommClk- ExtSynch-
  Link: Speed 2.5Gb/s, Width x1

03:0a.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 61) (prog-if 00 [UHCI])
 Subsystem: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
 Latency: 64, Cache Line Size: 32 bytes
 Interrupt: pin A routed to IRQ 22
 Region 4: I/O ports at bc00 [size=32]
 Capabilities: [80] Power Management version 2
  Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
  Status: D0 PME-Enable- DSel=0 DScale=0 PME-

03:0a.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 61) (prog-if 00 [UHCI])
 Subsystem: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
 Latency: 64, Cache Line Size: 32 bytes
 Interrupt: pin B routed to IRQ 21
 Region 4: I/O ports at b800 [size=32]
 Capabilities: [80] Power Management version 2
  Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
  Status: D0 PME-Enable- DSel=0 DScale=0 PME-

03:0a.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 63) (prog-if 20 [EHCI])
 Subsystem: VIA Technologies, Inc. USB 2.0
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
 Latency: 64, Cache Line Size: 64 bytes
 Interrupt: pin C routed to IRQ 18
 Region 0: Memory at fddff000 (32-bit, non-prefetchable) [size=256]
 Capabilities: [80] Power Management version 2
  Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
  Status: D0 PME-Enable- DSel=0 DScale=0 PME-

03:0b.0 Multimedia audio controller: Creative Labs SB Audigy (rev 03)
 Subsystem: Creative Labs SB0090 Audigy Player/OEM
 Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
 Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
 Latency: 64 (500ns min, 5000ns max)
 Interrupt: pin A routed to IRQ 18
 Region 0: I/O ports at b400 [size=32]
 Capabilities: [dc] 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-

03:0b.1 Input device controller: Creative Labs SB Audigy Game Port (rev 03)
 Subsystem: Creative Labs SB Audigy MIDI/Game Port
 Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
 Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
 Latency: 64
 Region 0: I/O ports at b000 [size=8]
 Capabilities: [dc] 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-

03:0b.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port (prog-if 10 [OHCI])
 Subsystem: Creative Labs SB Audigy FireWire Port
 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
 Latency: 64 (500ns min, 1000ns max), Cache Line Size: 32 bytes
 Interrupt: pin B routed to IRQ 21
 Region 0: Memory at fddfe000 (32-bit, non-prefetchable) [size=2K]
 Region 1: Memory at fddf8000 (32-bit, non-prefetchable) [size=16K]
 Capabilities: [44] 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+

Tags: cft-2.6.27
Revision history for this message
Mark Smulders (ms-tbwb) wrote :
Download full text (4.0 KiB)

I can confirm this issue ; Ubuntu 8.04 with the default latest updates (kernel 2.6.24-17-generic)
Happened twice so far at seemingly random moments. Suddenly no network connectivity whatsoever. rmmod && modprobe seems to remedy the problem.

DMESG:
[ 7169.894256] tg3: tg3_abort_hw timed out for eth0, TX_MODE_ENABLE will not clear MAC_TX_MODE=ffffffff
[ 7171.623397] tg3: eth0: No firmware running.
[ 7180.250854] BUG: soft lockup - CPU#1 stuck for 11s! [rmmod:18573]
[ 7180.250863]
[ 7180.250866] Pid: 18573, comm: rmmod Tainted: P (2.6.24-17-generic #1)
[ 7180.250869] EIP: 0060:[<c021a1a7>] EFLAGS: 00200283 CPU: 1
[ 7180.250874] EIP is at delay_tsc+0x27/0x50
[ 7180.250877] EAX: 95f05cec EBX: 00000adf ECX: 00000000 EDX: 00000adf
[ 7180.250879] ESI: 95f05c9c EDI: ee553e30 EBP: 95f04040 ESP: ee553de4
[ 7180.250883] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[ 7180.250885] CR0: 8005003b CR2: b7f4c550 CR3: 1bc46000 CR4: 00000690
[ 7180.250888] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[ 7180.250890] DR6: ffff0ff0 DR7: 00000400
[ 7180.250921] [<c021a146>] __delay+0x6/0x10
[ 7180.250929] [<f88d3245>] tg3_readphy+0x65/0x100 [tg3]
[ 7180.250947] [<f88d48f5>] tg3_setup_copper_phy+0x195/0xb80 [tg3]
[ 7180.250969] [<f88d5505>] tg3_setup_phy+0x225/0xed0 [tg3]
[ 7180.250982] [<c029bae3>] pci_read+0x33/0x40
[ 7180.250995] [<c02216fe>] pci_bus_read_config_word+0x6e/0x90
[ 7180.251010] [<f88d6a1c>] tg3_set_power_state+0x4bc/0x920 [tg3]
[ 7180.251031] [<f88e1062>] tg3_close+0x102/0x120 [tg3]
[ 7180.251045] [<c02a991c>] dev_close+0x3c/0x60
[ 7180.251053] [<c02a99bc>] rollback_registered+0x7c/0x140
[ 7180.251062] [<c0214392>] __next_cpu+0x12/0x20
[ 7180.251069] [<c02a9a88>] unregister_netdevice+0x8/0x50
[ 7180.251078] [<c02a9adf>] unregister_netdev+0xf/0x20
[ 7180.251087] [<f88deedc>] tg3_remove_one+0x2c/0x80 [tg3]
[ 7180.251102] [<c0227196>] pci_device_remove+0x16/0x40
[ 7180.251109] [<c0282344>] __device_release_driver+0x64/0xa0
[ 7180.251121] [<c028289b>] driver_detach+0xcb/0xd0
[ 7180.251133] [<c0281e93>] bus_remove_driver+0x73/0xa0
[ 7180.251143] [<c022726e>] pci_unregister_driver+0xe/0x70
[ 7180.251153] [<c01521a2>] sys_delete_module+0x112/0x190
[ 7180.251163] [<c031ddbf>] do_page_fault+0x13f/0x730
[ 7180.251173] [<c01804a0>] do_munmap+0x180/0x1f0
[ 7180.251191] [<c01043c2>] sysenter_past_esp+0x6b/0xa9
[ 7180.251205] [<c0310000>] unix_dgram_recvmsg+0x110/0x2d0
[ 7180.251218] =======================

LSPCI:
09:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5752 Gigabit Ethernet PCI Express (rev 02)
        Subsystem: Dell Unknown device 01cc
        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
        Interrupt: pin A routed to IRQ 219
        Region 0: Memory at efcf0000 (64-bit, non-prefetchable) [size=64K]
        Expansion ROM at <ignored> [disabled]
        Capabilities: [48] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold+)
                Status: D0 PME-Enab...

Read more...

Mark Smulders (ms-tbwb)
Changed in linux:
status: New → Confirmed
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
Ralph Janke (txwikinger) wrote :

The Intrepid Ibex 8.10 Beta release was most recently announced - http://www.ubuntu.com/testing/intrepid/beta . It contains the 2.6.27 Ubuntu kernel. It would be great if you could test and verify if this is still an issue. The status is being set to Incomplete until we receive further feedback. Thanks.

Changed in linux:
status: Confirmed → Incomplete
Revision history for this message
Lowell Alleman (lowell-alleman) wrote :
Download full text (7.7 KiB)

I'm running into this issue as well with the latest 8.04 kernel upgrade, 2.6.24-21-generic. I have experience this failure twice after upgrading from 2.6.24-19 to 2.6.24-21 over the weekend. (I'm not sure if this is a coincidence or related to the 2.6.24-21 upgrade.)

In between these to failures I removed the t3g module and reloaded it, and ran "
sudo /etc/init.d/networking restart", which restored network access for a few minutes before it failed again. I have rebooted and select the 2.6.24-19-generic kernel image and have not seen this problem again so far.

I am not ready to upgrade to 8.10 at this point, and am hoping that since that 8.04 is a LTS release, more effort would be given to resolve the problem in the current release (e.g. providing a backported a fix if one is found)

dmesg output:

[240695.024343] NETDEV WATCHDOG: eth0: transmit timed out
[240695.024354] tg3: eth0: transmit timed out, resetting
[240695.024363] tg3: DEBUG: MAC_TX_STATUS[ffffffff] MAC_RX_STATUS[ffffffff]
[240695.024382] tg3: DEBUG: RDMAC_STATUS[ffffffff] WDMAC_STATUS[ffffffff]
[240695.126949] tg3: tg3_stop_block timed out, ofs=2c00 enable_bit=2
[240695.226292] tg3: tg3_stop_block timed out, ofs=2000 enable_bit=2
[240695.325629] tg3: tg3_stop_block timed out, ofs=2400 enable_bit=2
[240695.424983] tg3: tg3_stop_block timed out, ofs=2800 enable_bit=2
[240695.524324] tg3: tg3_stop_block timed out, ofs=3000 enable_bit=2
[240695.623661] tg3: tg3_stop_block timed out, ofs=1400 enable_bit=2
[240695.723001] tg3: tg3_stop_block timed out, ofs=1800 enable_bit=2
[240695.822337] tg3: tg3_stop_block timed out, ofs=c00 enable_bit=2
[240695.921674] tg3: tg3_stop_block timed out, ofs=4800 enable_bit=2
[240696.021016] tg3: tg3_stop_block timed out, ofs=1000 enable_bit=2
[240696.120348] tg3: tg3_stop_block timed out, ofs=1c00 enable_bit=2
[240696.219732] tg3: tg3_abort_hw timed out for eth0, TX_MODE_ENABLE will not clear MAC_TX_MODE=ffffffff
[240696.319071] tg3: tg3_stop_block timed out, ofs=3c00 enable_bit=2
[240696.418407] tg3: tg3_stop_block timed out, ofs=4c00 enable_bit=2
[240697.862486] tg3: eth0: No firmware running.
[240699.054871] tg3: tg3_abort_hw timed out for eth0, TX_MODE_ENABLE will not clear MAC_TX_MODE=ffffffff
[240706.797411] BUG: soft lockup - CPU#0 stuck for 11s! [events/0:6]
[240706.797416]
[240706.797421] Pid: 6, comm: events/0 Tainted: P (2.6.24-21-generic #1)
[240706.797426] EIP: 0060:[<c021a0f7>] EFLAGS: 00000283 CPU: 0
[240706.797435] EIP is at delay_tsc+0x27/0x50
[240706.797439] EAX: abd19282 EBX: 0000da7e ECX: 00000000 EDX: 0000da7e
[240706.797443] ESI: abd19279 EDI: f7c73ec8 EBP: abd185c5 ESP: f7c73e7c
[240706.797448] DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
[240706.797452] CR0: 8005003b CR2: 97ab6000 CR3: 37f1e000 CR4: 00000690
[240706.797457] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[240706.797461] DR6: ffff0ff0 DR7: 00000400
[240706.797511] [<c021a096>] __delay+0x6/0x10
[240706.797522] [<f88b2245>] tg3_readphy+0x65/0x100 [tg3]
[240706.797569] [<f88b38f5>] tg3_setup_copper_phy+0x195/0xb80 [tg3]
[240706.797609] [<c0118855>] smp_apic_timer_interrupt+0x55/0x80
[240706.797663] [<f88b4505>] tg3_setup_phy+0x225/0xed0 [...

Read more...

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Before any fix can be considered for a Stable Release Update for Hardy - https://wiki.ubuntu.com/StableReleaseUpdates it needs to be confirmed as fixed in the actively developed kernel. If you could test and confirm this is still an issue with the latest pre-release of Jaunty that would be greatly appreciated - http://cdimage.ubuntu.com/releases/jaunty/alpha-2/ . Thanks.

Revision history for this message
Robstarusa (rob-naseca) wrote :

I have had BCM5752 (rev 02) issues with LACP + cisco switches & the newest driver at http://www.broadcom.com/support/ethernet_nic/netxtreme_desktop.php fixes it.

Might this not fix other problems as well?

Rob

Revision history for this message
Jouni Karlsson (nakkel) wrote :
Download full text (4.9 KiB)

Here I was hoping that this was gone, but now its back with a vengeance. Happened twice this week but before that no problems at all since originally reporting this. Now running 8.10 and on 64bit build.

uname -a :
Linux xxxxxx 2.6.27-11-generic #1 SMP Fri Jan 23 13:58:13 UTC 2009 x86_64 GNU/Linux

Hardware is the same as in original report.

Some dmesg junk:
[125675.804054] ------------[ cut here ]------------
[125675.804070] WARNING: at /build/buildd/linux-2.6.27/net/sched/sch_generic.c:219 dev_watchdog+0x272/0x280()
[125675.804075] NETDEV WATCHDOG: eth0 (tg3): transmit timed out
[125675.804081] Modules linked in: cbc aes_x86_64 aes_generic ecb crypto_blkcipher ecryptfs af_packet binfmt_misc bridge stp bnep rfcomm sco l2cap bluetooth vboxnetflt vboxdrv ppdev ipv6 powernow_k8 cpufreq_conservative cpufreq_ondemand cpufreq_userspace cpufreq_powersave cpufreq_stats freq_table video output pci_slot container sbs sbshc wmi battery iptable_filter ip_tables x_tables ac sbp2 parport_pc lp parport loop joydev snd_emu10k1_synth snd_emux_synth snd_seq_virmidi snd_seq_midi_emul snd_emu10k1 snd_ac97_codec ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm snd_page_alloc snd_util_mem snd_hwdep snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event evdev psmouse snd_seq emu10k1_gp serio_raw gameport snd_timer snd_seq_device snd soundcore k8temp gspca_zc3xx gspca_main compat_ioctl32 videodev v4l1_compat usbhid hid nvidia(P) button i2c_piix4 i2c_core shpchp pci_hotplug ext3 jbd mbcache sr_mod cdrom sd_mod crc_t10dif sg ata_generic pata_acpi ohci1394 sata_sil pata_atiixp ehci_hcd ieee1394 ohci_hcd libata scsi_mod dock usbcore tg3 libphy thermal processor fan fbcon tileblit font bitblit softcursor fuse
[125675.804312] Pid: 0, comm: swapper Tainted: P 2.6.27-11-generic #1
[125675.804318]
[125675.804319] Call Trace:
[125675.804325] <IRQ> [<ffffffff8024e92c>] warn_slowpath+0xbc/0xf0
[125675.804344] [<ffffffff8023de0e>] ? __wake_up+0x4e/0x70
[125675.804794] [<ffffffffa056b9fc>] ? _nv004726rm+0x1f/0x27 [nvidia]
[125675.805142] [<ffffffffa053372d>] ? _nv009854rm+0x3f/0x54 [nvidia]
[125675.805153] [<ffffffff80502f15>] ? account_scheduler_latency+0x15/0x3c0
[125675.805501] [<ffffffffa056b9fc>] ? _nv004726rm+0x1f/0x27 [nvidia]
[125675.805845] [<ffffffffa056b9fc>] ? _nv004726rm+0x1f/0x27 [nvidia]
[125675.806185] [<ffffffffa053372d>] ? _nv009854rm+0x3f/0x54 [nvidia]
[125675.806196] [<ffffffff8023fd19>] ? enqueue_entity+0xd9/0x260
[125675.806206] [<ffffffff80274004>] ? timer_stats_update_stats+0x24/0x370
[125675.806214] [<ffffffff803a936a>] ? strlcpy+0x4a/0x60
[125675.806223] [<ffffffff8047c952>] dev_watchdog+0x272/0x280
[125675.806230] [<ffffffff8047c6e0>] ? dev_watchdog+0x0/0x280
[125675.806238] [<ffffffff8025a029>] run_timer_softirq+0x179/0x260
[125675.806246] [<ffffffff802717c4>] ? clockevents_program_event+0x54/0xa0
[125675.806255] [<ffffffff80254d9c>] __do_softirq+0x8c/0x100
[125675.806263] [<ffffffff8021417c>] call_softirq+0x1c/0x30
[125675.806270] [<ffffffff80215875>] do_softirq+0x65/0xa0
[125675.806278] [<ffffffff80254b05>] irq_exit+0x95/0xa0
[125675.806287] [<ffffffff80226929>] smp_apic_timer_interrupt+0x89/0xc0
[125675.8062...

Read more...

Revision history for this message
Luca Sironi (luca-sironi) wrote :

I've got the same problem of Jouni Karlsson

intrepid and 64bit

Linux obelix 2.6.27-11-generic #1 SMP Thu Jan 29 19:28:32 UTC 2009 x86_64 GNU/Linux

There's no way to have a stable network with the default kernel ant tg3 driver.
The hw is a hp 6715s so i load the kernel as suggested with the option noapic.

Is there something i could try to let your catch the defect?

best regards

Revision history for this message
Mark Smulders (ms-tbwb) wrote :

It seems to be stable on 32bit. I haven't seen the crashes for a long time now.

Cheers

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.