Subject: kern/32446: ohci panic
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <Reinoud@13thmonkey.org, Zandijk@13thmonkey.org>
List: netbsd-bugs
Date: 01/03/2006 14:25:00
>Number:         32446
>Category:       kern
>Synopsis:       ohci panic
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 03 14:25:00 +0000 2006
>Originator:     Reinoud Zandijk
>Release:        NetBSD 3.99.15
>Organization:
NetBSD
	
>Environment:
	
	
System: NetBSD heethoofdje.kasbah 3.99.15 NetBSD 3.99.15 (GENERIC.MPACPI) #1: Sun Jan  1 18:01:28 CET 2006  imago@heethoofdje.kasbah:/home/imago/GENERIC.MPACPI i386
Architecture: i386
Machine: i386 (ASUS Pundit-R)

dmesg:

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
    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 3.99.15 (GENERIC.MPACPI) #1: Sun Jan  1 18:01:28 CET 2006
        imago@heethoofdje.kasbah:/home/imago/GENERIC.MPACPI
total memory = 478 MB
avail memory = 461 MB
BIOS32 rev. 0 found at 0xf0010
mainbus0 (root)
pci_addr_fixup: 000:20:0 0x1002 0x4353 new address 0x1e000000
pci_addr_fixup: 002:12:0 0x1524 0x1411 new address 0x1e001000
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel (686-class), 3192.62 MHz, id 0xf33
cpu0: features bfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features bfebfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX>
cpu0: features bfebfbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
cpu0: features2 41d<SSE3,MONITOR,DS-CPL,CID>
cpu0: "Intel(R) Pentium(R) 4 CPU 3.20GHz"
cpu0: I-cache 12K uOp cache 8-way
cpu0: L2 cache 1 MB 64B/line 8-way
cpu0: ITLB 4K/4M: 64 entries
cpu0: DTLB 4K/4M: 64 entries
cpu0: using thermal monitor 1
cpu0: calibrating local timer
cpu0: apic clock running at 199 MHz
cpu0: 32 page colors
cpu1 at mainbus0: apid 1 (application processor)
cpu1: starting
cpu1: Intel (686-class), 3192.55 MHz, id 0xf33
cpu1: features bfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu1: features bfebfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX>
cpu1: features bfebfbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
cpu1: features2 41d<SSE3,MONITOR,DS-CPL,CID>
cpu1: "Intel(R) Pentium(R) 4 CPU 3.20GHz"
cpu1: I-cache 12K uOp cache 8-way
cpu1: L2 cache 1 MB 64B/line 8-way
cpu1: ITLB 4K/4M: 64 entries
cpu1: DTLB 4K/4M: 64 entries
cpu1: using thermal monitor 1
ioapic0 at mainbus0 apid 2 (I/O APIC)
ioapic0: pa 0xfec00000, version 11, 24 pins
ioapic0: misconfigured as apic 0
ioapic0: remapped to apic 2
acpi0 at mainbus0
acpi0: using Intel ACPI CA subsystem version 20050408
acpi0: X/RSDT: OemId <A M I ,OEMXSDT ,10000422>, AslId <MSFT,00000097>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
PNP0A03 [PCI Bus] at acpi0 not configured
PNP0000 [AT Interrupt Controller] at acpi0 not configured
PNP0200 [AT DMA Controller] at acpi0 not configured
attimer1 at acpi0 (PNP0100): AT Timer
attimer1: io 0x40-0x43 irq 0
PNP0B00 [AT Real-Time Clock] at acpi0 not configured
pcppi1 at acpi0 (PNP0800)
pcppi1: io 0x61
midi0 at pcppi1: PC speaker
sysbeep0 at pcppi1
npx0 at acpi0 (PNP0C04)
npx0: io 0xf0-0xff irq 13
npx0: using exception 16
lpt0 at acpi0 (PNP0401)
lpt0: io 0x378-0x37f,0x778-0x77f irq 7 drq 3
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not 
configured
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not 
configured
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not 
configured
com0 at acpi0 (PNP0501-1)
com0: io 0x3f8-0x3ff irq 4
com0: ns16550a, working fifo
pckbc0 at acpi0 (PNP0F03): aux port
pckbc0: irq 12
pckbc1 at acpi0 (PNP0303): kbd port
pckbc1: io 0x60,0x64 irq 1
PNP0C01 [System Board] at acpi0 not configured
acpibut0 at acpi0 (PNP0C0C-170): ACPI Power Button
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
pcppi1: attached to attimer1
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc1 (aux slot)
pckbc1: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: ATI Technologies RS300 Host Bridge (rev. 0x02)
agp at pchb0 not configured
ppb0 at pci0 dev 1 function 0: ATI Technologies RS300 AGP Interface (rev. 
0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga0 at pci1 dev 5 function 0: ATI Technologies Radeon 9100 IGP (rev. 0x00)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
ohci0 at pci0 dev 19 function 0: ATI Technologies SB200 USB Host Controller 
(rev. 0x01)
ohci0: interrupting at ioapic0 pin 19 (irq 10)
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: ATI Technologie OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1 at pci0 dev 19 function 1: ATI Technologies SB200 USB Host Controller 
(rev. 0x01)
ohci1: interrupting at ioapic0 pin 19 (irq 10)
ohci1: OHCI version 1.0, legacy support
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: ATI Technologie OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
ehci0 at pci0 dev 19 function 2: ATI Technologies SB200 USB2 Host 
Controller (rev. 0x01)
ehci0: interrupting at ioapic0 pin 19 (irq 10)
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
ehci0: companion controllers, 3 ports each: ohci0 ohci1
usb2 at ehci0: USB revision 2.0
uhub2 at usb2
uhub2: ATI Technologies EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 6 ports with 6 removable, self powered
ATI Technologies SB200 SMBus Controller (SMBus serial bus, revision 0x18) 
at pci0 dev 20 function 0 not configured
ixpide0 at pci0 dev 20 function 1
ixpide0: ATI Technologies IXP IDE Controller (rev. 0x00)
ixpide0: bus-master DMA support present
ixpide0: primary channel configured to compatibility mode
ixpide0: primary channel interrupting at ioapic0 pin 14 (irq 14)
atabus0 at ixpide0 channel 0
ixpide0: secondary channel configured to compatibility mode
ixpide0: secondary channel interrupting at ioapic0 pin 15 (irq 15)
atabus1 at ixpide0 channel 1
pcib0 at pci0 dev 20 function 3
pcib0: ATI Technologies SB200 PCI-ISA Bridge (rev. 0x00)
ppb1 at pci0 dev 20 function 4: ATI Technologies SB200 PCI-PCI Bridge (rev. 
0x00)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
ex0 at pci2 dev 8 function 0: 3Com 3c920B-EMB-WNM Integrated Fast Ethernet 
(rev. 0x40)
ex0: interrupting at ioapic0 pin 18 (irq 3)
ex0: MAC address 00:11:2f:52:44:7c
ukphy0 at ex0 phy 1: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000004, model 0x0020, rev. 1
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fwohci0 at pci2 dev 10 function 0: VIA Technologies VT6306 IEEE 1394 Host 
Controller (rev. 0x80)
fwohci0: interrupting at ioapic0 pin 18 (irq 3)
fwohci0: OHCI version 1.10 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:e0:18:00:00:8c:83:d8
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
ieee1394if0 at fwohci0: IEEE1394 bus
fwip0 at ieee1394if0: IP over IEEE1394
fwohci0: Initiate bus reset
cbb0 at pci2 dev 12 function 0: ENE Technology CB710 CardBus Controller 
(rev. 0x02)
cbb0: using ioapic for interrupt
ENE Technology MCR510 PCI Memory Card Reader Controller (flash memory) at 
pci2 dev 12 function 1 not configured
cbb0: interrupting at ioapic0 pin 16 (irq 11)
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 3
pcmcia0 at cardslot0
auixp0 at pci0 dev 20 function 5: ATI Technologies IXP AC'97 Audio 
Controller (rev. 0x00)
auixp0: interrupting at ioapic0 pin 17 (irq 5)
auixp0: soft resetting aclink
isa0 at pcib0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
isapnp0: no ISA Plug 'n Play devices found
ioapic0: enabling
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
ieee1394if0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
ieee1394if0: bus manager 0 (me)
auixp0: ac97: Analog Devices AD1888 codec; headphone, 20 bit DAC, no 3D 
stereo
auixp0: ac97: ext id 3c7<AMAP,LDAC,SDAC,CDAC,SPDIF,DRA,VRA>
audio0 at auixp0: full duplex, mmap, independent
Kernelized RAIDframe activated
atapibus0 at atabus0: 2 targets
cd0 at atapibus0 drive 0: <_NEC DVD_RW ND-3500AG, , 2.16> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
wd0 at atabus0 drive 1: <WDC WD1200JB-00EVA0>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 111 GB, 232581 cyl, 16 head, 63 sec, 512 bytes/sect x 234441648 
sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
cd0(ixpide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
wd0(ixpide0:0:1): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using 
DMA)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
cpu1: CPU 1 running
ulpt0 at uhub1 port 3 configuration 1 interface 0
ulpt0: Kyocera Mita Kyocera Mita FS-1010, rev 1.01/0.00, addr 2, iclass 7/1
ulpt0: using bi-directional mode
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)

no DIAGNOSTIC, no DEBUG, no LOCKDEBUG only KMEMSTATS. Bog standard kernel 
source otherwise. I could try out an ultra-clean GENERIC.MPACPI kernel or a 
GENERIC kernel.

>Description:
When printing a document to an USB laser printer i get the following panic:
....
ulpt0 at uhub1 port 3 configuration 1 interface 0
ulpt0: Kyocera Mita Kyocera Mita FS-1010, rev 1.01/0.00, addr 2, iclass 7/1
ulpt0: using bi-directional mode
ulpt0: offline
panic: ohci_softintr: addr 0x019ce6e0 not found

Now i dont know if that was due to the sudden `offline' or that some lines 
were lost in the crash.

>How-To-Repeat:
Print to an USB printer (400+Kb file) using CUPS.

>Fix:
Connect using a parallel cable.

>Unformatted: