Bug#286028: installation-reports: loading tg3 module for Broadcom NIC causes total freeze of system
Package: installation-reports
Version: pre-rc2
Severity: important
(Could be submitted also for Package: kernel?)
Debian-installer-version: pre-rc2 (Sep 30, 2004) from cdimage.debian.org
uname -a: Linux rakoczi 2.4.28 #1 Sun Dec 12 23:10:30 CET 2004 i686 GNU/Linux
Date: Sun Nov 21 23:03:11 CET 2004
Method: sarge-i386-netinst.iso on CD, booting linux, linux26, expert, expert26
Machine: Home assembled PC with quite recent hardware
Processor: AMD Athlon XP 1900+ stepping 02
Memory: 512MB
Root Device: IDE: /dev/hdc3
Output of lspci -vv:
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400/KT600 AGP] Host Bridge
Subsystem: ABIT Computer Corp.: Unknown device 1404
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: 8
Region 0: Memory at e8000000 (32-bit, prefetchable) [size=64M]
Capabilities: <available only to root>
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8235 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: 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 0000f000-00000fff
Memory behind bridge: ec000000-edffffff
Prefetchable memory behind bridge: e0000000-e7ffffff
BridgeCtl: Parity- SERR- NoISA+ VGA+ MAbort- >Reset- FastB2B-
Capabilities: <available only to root>
0000:00:06.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5703 Gigabit Ethernet
Subsystem: Broadcom Corporation NetXtreme BCM5703 Gigabit Ethernet
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: 32 (16000ns min), Cache Line Size: 0x08 (32 bytes)
Interrupt: pin A routed to IRQ 17
Region 0: Memory at ef000000 (64-bit, non-prefetchable) [size=64K]
Capabilities: <available only to root>
0000:00:0d.0 Ethernet controller: VIA Technologies, Inc. VT6105 [Rhine-III] (rev 8b)
Subsystem: VIA Technologies, Inc.: Unknown device 0106
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: 32 (750ns min, 2000ns max), Cache Line Size: 0x08 (32 bytes)
Interrupt: pin A routed to IRQ 19
Region 0: I/O ports at c000 [size=256]
Region 1: Memory at ef012000 (32-bit, non-prefetchable) [size=256]
Capabilities: <available only to root>
0000:00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80) (prog-if 00 [UHCI])
Subsystem: ABIT Computer Corp.: Unknown device 1404
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: 32, Cache Line Size: 0x08 (32 bytes)
Interrupt: pin A routed to IRQ 21
Region 4: I/O ports at c400 [size=32]
Capabilities: <available only to root>
0000:00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80) (prog-if 00 [UHCI])
Subsystem: ABIT Computer Corp.: Unknown device 1404
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: 32, Cache Line Size: 0x08 (32 bytes)
Interrupt: pin B routed to IRQ 21
Region 4: I/O ports at c800 [size=32]
Capabilities: <available only to root>
0000:00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80) (prog-if 00 [UHCI])
Subsystem: ABIT Computer Corp.: Unknown device 1404
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: 32, Cache Line Size: 0x08 (32 bytes)
Interrupt: pin C routed to IRQ 21
Region 4: I/O ports at cc00 [size=32]
Capabilities: <available only to root>
0000:00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82) (prog-if 20 [EHCI])
Subsystem: ABIT Computer Corp.: Unknown device 1404
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: 32, Cache Line Size: 0x08 (32 bytes)
Interrupt: pin D routed to IRQ 19
Region 0: Memory at ef010000 (32-bit, non-prefetchable) [size=256]
Capabilities: <available only to root>
0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
Subsystem: VIA Technologies, Inc. VT8235 ISA Bridge
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
Capabilities: <available only to root>
0000:00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) (prog-if 8a [Master SecP PriP])
Subsystem: ABIT Computer Corp.: Unknown device 1404
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: 32
Interrupt: pin A routed to IRQ 22
Region 4: I/O ports at d000 [size=16]
Capabilities: <available only to root>
0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 50)
Subsystem: ABIT Computer Corp.: Unknown device 1404
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-
Interrupt: pin C routed to IRQ 22
Region 0: I/O ports at d400 [size=256]
Capabilities: <available only to root>
0000:01:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX 440 AGP 8x] (rev a2) (prog-if 00 [VGA])
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: 32 (1250ns min, 250ns max)
Interrupt: pin A routed to IRQ 16
Region 0: Memory at ec000000 (32-bit, non-prefetchable) [size=16M]
Region 1: Memory at e0000000 (32-bit, prefetchable) [size=128M]
Expansion ROM at <unassigned> [disabled] [size=128K]
Capabilities: <available only to root>
Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it
Initial boot worked: [O]
Configure network HW: [E]
Config network: [ ]
Detect CD: [O]
Load installer modules: [E]
Detect hard drives: [ ]
Partition hard drives: [ ]
Create file systems: [ ]
Mount partitions: [ ]
Install base system: [ ]
Install boot loader: [ ]
Reboot: [ ]
Comments/Problems:
Loading tg3 module for intergrated onboard Broadcom Corporation NetXtreme
BCM5703 Gigabit Ethernet controller causes total freeze of the system. I
have to use the power button to get going again.
Originally, this was not an install problem; I used a working sarge
installation (custom kernel 2.4.26) for months without problem. Since
early November (some days after a Windows XP re-installation), all of a
sudden, the system has started to freeze mysteriously at boot. I tracked
this down to the tg3 module. When the module is loaded, the system freezes
immediately. I tried kernels with tg3 both compiled in and compiled as a
module; when tg3 is compiled in, the kernel freezes during boot. I tried
for custom kernels all 2.4.26, 2.4.27, 2.4.28 with the same result.
Then I tryed the pre-rc2 sarge-i386-netinst.iso from CD. I got the same
freeze booting all linux, expert, linux26, expert26 at loading tg3 module
(that is, for kernel 2.6 as well).
I tried also booting with kernel parameters noapic and nolapic, but it did
not help, I got the same freeze.
There is no such problem at all under Windows XP with this NIC.
The IRQs in Linux depend on whether noapic/nolapic are used or not, with
apic enabled they agree with the Windows IRQs.
The most frightening symptom is that instead of loading tg3, also
$ cat /proc/bus/pci/00/06.0
and
$ less /proc/bus/pci/00/06.0
freeze the system. (This is the slot of Broadcom BCM5703.)
There is many report out there concerning Broadcom BCM570x NICs anf tg3
driver, the most similar ones might be:
http://www.ussg.iu.edu/hypermail/linux/kernel/0406.3/0085.html
and
http://lists.debian.org/debian-kernel/2004/10/msg00373.html
I have not tried the auxiliary bcm5700 driver yet.
Now, a temporary solution is pluging in an additional NIC which works
correctly with via-rhine module. (See 00:0d.0 in lspci output, but this
was not plugged in when the freeze problem started.)
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.28
Locale: LANG=hu_HU, LC_CTYPE=hu_HU
Reply to: