Subject: port-i386/13130: System locks up on fxp0 activity
To: None <gnats-bugs@gnats.netbsd.org>
From: The Grey Wolf <greywolf@starwolf.com>
List: netbsd-bugs
Date: 06/06/2001 16:51:32
>Number:         13130
>Category:       port-i386
>Synopsis:       fxp0 SCB timeouts seem to eventually lock system solid
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 06 16:50:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Greywolf
>Release:        current of 20 May 2001
>Organization:
n. 1.  The act of organizing.

				--*greywolf;
--
"Hello, I've just upgraded my OS to Windows 2000..."
"Yes...?"
"Well, my computer doesn't work now."
"Yes, you just said that a second ago."
>Environment:
System: NetBSD starjumper 1.5V NetBSD 1.5V (STARJUMPER) #3: Sun May 20 15:05:32 PDT 2001 greywolf@starjumper:/export/src/sys/arch/i386/compile/STARJUMPER i386
Architecture: i386
Machine: i386
fxp0: attaches to 
>Description:
	Once every 24 hours or so, after some instances of
	"fxp0: WARNING: SCB timed out!"
	and
	"fxp0: device timeout"
	the machine locks solid, to the point that ddb does not
	even kick in.  There is no panic, no reboot, no nothing.
>How-To-Repeat:
Here's my boot log.  Feel free to ask for more info; I'll give what I can.

*** /var/run/dmesg.boot
NetBSD 1.5V (STARJUMPER) #3: Sun May 20 15:05:32 PDT 2001
    greywolf@starjumper:/export/src/sys/arch/i386/compile/STARJUMPER
cpu0: Intel Pentium III (Coppermine) (686-class), 664.54 MHz
cpu0: I-cache 16 KB 32b/line 4-way, D-cache 16 KB 32b/line 2-way
cpu0: L2 cache 256 KB 32b/line 8-way
cpu0: features 383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features 383f9ff<PGE,MCA,CMOV,FGPAT,PSE36,MMX,FXSR,XMM>
total memory = 127 MB
avail memory = 115 MB
using 1655 buffers containing 6620 KB of memory
BIOS32 rev. 0 found at 0xfda74
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82815 Hub (rev. 0x02)
ppb0 at pci0 dev 1 function 0: Intel 82815 AGP (rev. 0x02)
pci1 at ppb0 bus 2
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: ATI Technologies Mach64 GZ (rev. 0x7a)
wsdisplay0 at vga1: console (80x25, vt100 emulation)
ppb1 at pci0 dev 30 function 0: Intel 82801BA Hub-to-PCI Bridge (rev. 0x02)
pci2 at ppb1 bus 1
pci2: i/o space, memory space enabled
fxp0 at pci2 dev 8 function 0: Intel i82562 Ethernet, rev 1
fxp0: interrupting at irq 11
fxp0: Ethernet address 00:03:47:43:5c:b3, 10/100 Mb/s
ukphy0 at fxp0 phy 1: Generic IEEE 802.3u media interface
ukphy0: OUI 0x005500, model 0x0033, rev. 0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
eap0 at pci2 dev 9 function 0: Ensoniq AudioPCI 97 CT5880C (rev. 0x02)
eap0: interrupting at irq 11
eap0: TriTech TR28023 codec; no 3D stereo
audio0 at eap0: full duplex, mmap, independent
midi0 at eap0: AudioPCI MIDI UART
pcib0 at pci0 dev 31 function 0
pcib0: Intel 82801BA LPC Interface Bridge (rev. 0x02)
pciide0 at pci0 dev 31 function 1: Intel 82801BA IDE Controller (ICH2) (rev. 0x02)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
wd0 at pciide0 channel 0 drive 0: <Maxtor 51536H2>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 14655 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 30015216 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd1 at pciide0 channel 0 drive 1: <WDC WD102BA>
wd1: drive supports 16-sector PIO transfers, LBA addressing
wd1: 9779 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 20028960 sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data transfers)
wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 4 (Ultra/66) (using DMA data transfers)
pciide0: secondary channel wired to compatibility mode
atapibus0 at pciide0 channel 1: 2 targets
cd0 at atapibus0 drive 0: <ATAPI 52X CDROM, , VER-1.4> type 5 cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
pciide0: secondary channel interrupting at irq 15
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
Intel 82801BA USB Controller (USB serial bus, revision 0x02) at pci0 dev 31 function 2 not configured
Intel 82801BA SMBus Controller (SMBus serial bus, revision 0x02) at pci0 dev 31 function 3 not configured
Intel 82801BA USB Controller (USB serial bus, revision 0x02) at pci0 dev 31 function 4 not configured
auich0 at pci0 dev 31 function 5: i82801BA (ICH2) AC-97 Audio
auich0: interrupting at irq 9
auich0: unknown (0xffffffff) codec; headphone, Analog Devices Phat Stereo
audio1 at auich0: full duplex, mmap, independent
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
lpt0 at isa0 port 0x378-0x37b irq 7
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
apm0 at mainbus0: Power Management spec V1.2
biomask e565 netmask ed65 ttymask fde7
IPsec: Initialized Security Association Processing.
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
wsdisplay0: screen 5 added (80x25, vt100 emulation)
wsdisplay0: screen 6 added (80x25, vt100 emulation)
wsdisplay0: screen 7 added (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0

>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted: