Subject: port-alpha/17135: ES40 gets swamped by interrupts when USB is enabled
To: None <gnats-bugs@gnats.netbsd.org>
From: None <dogcow@redback.com>
List: netbsd-bugs
Date: 06/01/2002 17:32:48
>Number:         17135
>Category:       port-alpha
>Synopsis:       ES40 gets swamped by interrupts when USB is enabled
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    port-alpha-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 01 17:33:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Tom Spindler
>Release:        NetBSD 1.5ZC
>Organization:
	
>Environment:
	
	
System: NetBSD white-elephant 1.5ZC NetBSD 1.5ZC (WHITEY) #3: Tue May 21 15:47:06 PDT 2002 notroot@white-elephant:/var/src/sys/arch/alpha/compile/WHITEY alpha
Architecture: alpha
Machine: alpha
>Description:
With GENERIC (or any other kernel with USB enabled), interrupts take up
roughly 80-90% of the CPU. on my ES40. To wit:

May  1 22:18:39 white-elephant /netbsd: stray isa irq 10
May  1 22:18:39 white-elephant last message repeated 42 times
May  1 22:18:39 white-elephant /netbsd: 3>stray isa irq 10
May  1 22:18:39 white-elephant /netbsd: stray isa irq 10
May  1 22:18:39 white-elephant last message repeated 406 times
May  1 22:18:39 white-elephant /netbsd: 
May  1 22:18:39 white-elephant /netbsd: 3>stray isa irq 10
May  1 22:18:39 white-elephant /netbsd: stray isa irq 10
May  1 22:18:39 white-elephant last message repeated 406 times
May  1 22:18:39 white-elephant /netbsd: 
May  1 22:18:39 white-elephant /netbsd: 3>stray isa irq 10
May  1 22:18:39 white-elephant /netbsd: stray isa irq 10
May  1 22:18:39 white-elephant last message repeated 406 times
May  1 22:18:39 white-elephant /netbsd: 
May  1 22:18:40 white-elephant /netbsd: 3>stray isa irq 10
May  1 22:18:40 white-elephant /netbsd: stray isa irq 10
May  1 22:18:40 white-elephant last message repeated 406 times

Here's the output from dmesg:
 
[ using 276856 bytes of netbsd ELF symbol table ]
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.5ZC (WHITEY) #3: Tue May 21 15:47:06 PDT 2002
    notroot@white-elephant:/var/src/sys/arch/alpha/compile/WHITEY
Compaq AlphaServer ES40, 500MHz, s/n NI94006438
8192 byte page size, 2 processors.
total memory = 2048 MB
(6720 KB reserved for PROM, 2041 MB used by NetBSD)
avail memory = 1897 MB
using 13078 buffers containing 102 MB of memory
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), 21264-4
cpu0: Architecture extensions: 303<PAT,MVI,FIX,BWX>
cpu1 at mainbus0: ID 1, 21264-4
cpu1: processor off-line; multiprocessor support not present in kernel
tsc0 at mainbus0: 21272 Core Logic Chipset, Cchip rev 0
tsc0: 8 Dchips, 2 memory buses of 32 bytes
tsc0: arrays present: 2048MB (split), 0MB, 0MB, 0MB, Dchip 0 rev 1
tsp0 at tsc0
pci0 at tsp0 bus 0
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
vga0 at pci0 dev 1 function 0: Texas Instruments TVP4020 Permedia 2 (rev. 0x01)
wsdisplay0 at vga0 (kbdmux ignored): console (80x25, vt100 emulation)
siop0 at pci0 dev 3 function 0: Symbios Logic 53c875 (ultra-wide scsi)
siop0: using on-board RAM
siop0: interrupting at dec 6600 irq 16
scsibus0 at siop0: 16 targets, 8 luns per target
sio0 at pci0 dev 7 function 0: Acer Labs M1543 PCI-ISA Bridge (rev. 0xc3)
pciide0 at pci0 dev 15 function 0: Acer Labs M5229 UDMA IDE Controller (rev. 0xc1)
pciide0: bus-master DMA support present
pciide0: primary channel configured to compatibility mode
atapibus0 at pciide0 channel 0: 2 targets
cd0 at atapibus0 drive 0: <COMPAQ  CDR-8435, , 0013> type 5 cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2
pciide0: primary channel interrupting at isa irq 14
cd0(pciide0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
pciide0: secondary channel configured to compatibility mode
pciide0: disabling secondary channel (no drives)
Acer Labs M5237 USB Host Controller (USB serial bus, interface 0x10, revision 0x03) at pci0 dev 19 function 0 not configured
isa0 at sio0
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 (mux ignored): console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
isabeep0 at pcppi0
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
mcclock0 at isa0 port 0x70-0x71: mc146818 or compatible
tsp1 at tsc0
pci1 at tsp1 bus 0
pci1: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
siop1 at pci1 dev 1 function 0: Symbios Logic 53c895 (ultra2-wide scsi)
siop1: using on-board RAM
siop1: interrupting at dec 6600 irq 24
scsibus1 at siop1: 16 targets, 8 luns per target
tlp0 at pci1 dev 6 function 0: DECchip 21143 Ethernet, pass 3.0
tlp0: interrupting at dec 6600 irq 44
tlp0: DEC DE500-BA, Ethernet address 08:00:2b:c4:59:ce
tlp0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
scsibus0: waiting 2 seconds for devices to settle...
scsibus1: waiting 2 seconds for devices to settle...
sd0 at scsibus1 target 0 lun 0: <DEC, RZ2ED-LS (C) DEC, 0306> SCSI2 0/direct fixed
sd0: 17365 MB, 7001 cyl, 20 head, 254 sec, 512 bytes/sect x 35565080 sectors
sd0: sync (25.0ns offset 15), 16-bit (80.000MB/s) transfers, tagged queueing
sd1 at scsibus1 target 1 lun 0: <DEC, RZ2ED-LS (C) DEC, 0306> SCSI2 0/direct fixed
sd1: 17365 MB, 7001 cyl, 20 head, 254 sec, 512 bytes/sect x 35565080 sectors
sd1: sync (25.0ns offset 15), 16-bit (80.000MB/s) transfers, tagged queueing
root on sd0a dumps on sd0b
root file system type: ffs
	
>How-To-Repeat:
Boot GENERIC. Watch syslog go nuts. Watch system craaaawwwwlllll.
	
>Fix:
	
comment out ohci/uhci, reboot.
>Release-Note:
>Audit-Trail:
>Unformatted: