NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/44277: OHCI hangs on HP MicroServer



>Number:         44277
>Category:       kern
>Synopsis:       If OHCI is enabled, an HP MicroServer hangs during autoconf
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 24 13:20:00 +0000 2010
>Originator:     Stephen Borrill
>Release:        NetBSD 5.99.41
>Organization:
>Environment:
        
        
System: NetBSD 5.99.41 (MONOLITHIC) #6: Mon Dec 20 15:52:16 GMT 2010 
root%builder.internal.precedence.co.uk@localhost:/usr/obj/current/i386/sys/arch/i386/compile/MONOLITHIC
Architecture: i386
Machine: i386
>Description:
On an HP MicroServer with both NetBSD 5.1_STABLE and 5.99.41, a standard
kernel hangs during autoconf. I've highlighted where it hangs in the dmesg
below with "********* HANGS HERE ************".

Disabling ohci leads to a successful boot. Disabling ACPI and/or SMP has no
benefit.

I enabled ohci_debug and the last two lines were:
ohci_rhsc: sc=0xcb7d8000 xfer=0xc1ed6400 hstatus=0x00000000
ohci_rhsc: change=0x00

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010
    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 5.99.41 (MONOLITHIC) #6: Mon Dec 20 15:52:16 GMT 2010
        
root%builder.internal.precedence.co.uk@localhost:/usr/obj/current/i386/sys/arch/i386/compile/MONOLITHIC
total memory = 895 MB
avail memory = 867 MB
timecounter: Timecounters tick every 10.000 msec
userconf: configure system autoconfiguration:
uc> disable ohci
[245] ohci* disabled
[246] ohci* disabled
uc> quit
Continuing...
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
HP ProLiant Micro Server (   )
mainbus0 (root)
cpu0 at mainbus0 apid 0: AMD 686-class, 1297MHz, id 0x100f63
cpu1 at mainbus0 apid 1: AMD 686-class, 1297MHz, id 0x100f63
ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 21, 24 pins
acpi0 at mainbus0: Intel ACPICA 20100528
acpi0: X/RSDT: OemId <HP    ,ProLiant,20100728>, AslId <HP  ,00000097>
ACPI: Enabled 3 new runtime GPEs, added 0 new wakeup GPEs
acpi0: SCI interrupting at int 9
timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
P001 (ACPI Object Type 'Processor' [0x0c]) at acpi0 not configured
P002 (ACPI Object Type 'Processor' [0x0c]) at acpi0 not configured
P003 (ACPI Object Type 'Processor' [0x0c]) at acpi0 not configured
P004 (ACPI Object Type 'Processor' [0x0c]) at acpi0 not configured
BROD (PNP0C02) at acpi0 not configured
attimer1 at acpi0 (TMR, PNP0100): io 0x40-0x43 irq 0
pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
midi0 at pcppi1: PC speaker
sysbeep0 at pcppi1
npx1 at acpi0 (COPR, PNP0C04): io 0xf0-0xff irq 13
npx1: reported by CPUID; using exception 16
hpet0 at acpi0 (HPET, PNP0103): mem 0xfed00000-0xfed003ff
timecounter: Timecounter "hpet0" frequency 14318180 Hz quality 2000
OMSC (PNP0C02) at acpi0 not configured
RMSC (PNP0C02) at acpi0 not configured
PCIE (PNP0C02) at acpi0 not configured
RMEM (PNP0C01) at acpi0 not configured
acpibut0 at acpi0 (PWRB, PNP0C0C-170): ACPI Power Button
apm0 at acpi0: Power Management spec V1.2
attimer1: attached to pcppi1
ipmi: bus_space_map(..., 0, 2, 0, 0xc0d699e0) failed
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: vendor 0x1022 product 0x9601 (rev. 0x00)
ppb0 at pci0 dev 1 function 0: vendor 0x103c product 0x9602 (rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 5 function 0: vendor 0x1002 product 0x9712 (rev. 0x00)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
drm at vga1 not configured
ppb1 at pci0 dev 6 function 0: vendor 0x1022 product 0x9606 (rev. 0x00)
ppb1: unsupported PCI Express version
pci2 at ppb1 bus 2
pci2: memory space enabled, rd/line, wr/inv ok
bge0 at pci2 dev 0 function 0: Broadcom BCM5723 Gigabit Ethernet
bge0: interrupting at ioapic0 pin 18
adjust device control 0x192000 -> 0x195000
bge0: ASIC BCM5784 A1 (0x5784100), Ethernet address d4:85:64:c8:68:d0
bge0: setting short Tx thresholds
brgphy0 at bge0 phy 1: BCM5784 10/100/1000baseT PHY, rev. 4
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
ahcisata0 at pci0 dev 17 function 0: vendor 0x1002 product 0x4391
ahcisata0: interrupting at ioapic0 pin 19
ahcisata0: AHCI revision 1.2, 4 ports, 32 command slots, features 0xf722e000
atabus0 at ahcisata0 channel 0
atabus1 at ahcisata0 channel 1
atabus2 at ahcisata0 channel 2
atabus3 at ahcisata0 channel 3
vendor 0x1002 product 0x4397 (USB serial bus, interface 0x10) at pci0 dev 18 
function 0 not configured
ehci0 at pci0 dev 18 function 2: vendor 0x1002 product 0x4396 (rev. 0x00)
ehci0: interrupting at ioapic0 pin 17
ehci0: dropped intr workaround enabled
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
ehci0: wrong number of companions (1 != 0)
usb0 at ehci0: USB revision 2.0
vendor 0x1002 product 0x4397 (USB serial bus, interface 0x10) at pci0 dev 19 
function 0 not configured
ehci1 at pci0 dev 19 function 2: vendor 0x1002 product 0x4396 (rev. 0x00)
ehci1: interrupting at ioapic0 pin 17
ehci1: dropped intr workaround enabled
ehci1: BIOS has given up ownership
ehci1: EHCI version 1.0
ehci1: wrong number of companions (1 != 0)
usb1 at ehci1: USB revision 2.0
piixpm0 at pci0 dev 20 function 0
piixpm0: vendor 0x1002 product 0x4385 (rev. 0x41)
piixpm0: SMBus disabled
ixpide0 at pci0 dev 20 function 1: ATI Technologies IXP IDE Controller (rev. 
0x40)
ixpide0: bus-master DMA support present
ixpide0: primary channel configured to compatibility mode
ixpide0: primary channel interrupting at ioapic0 pin 14
atabus4 at ixpide0 channel 0
ixpide0: secondary channel configured to compatibility mode
ixpide0: secondary channel interrupting at ioapic0 pin 15
atabus5 at ixpide0 channel 1
pcib0 at pci0 dev 20 function 3: vendor 0x1002 product 0x439d (rev. 0x40)
ppb2 at pci0 dev 20 function 4: vendor 0x1002 product 0x4384 (rev. 0x40)
pci3 at ppb2 bus 3
pci3: i/o space enabled
vendor 0x1002 product 0x4397 (USB serial bus, interface 0x10) at pci0 dev 22 
function 0 not configured
ehci2 at pci0 dev 22 function 2: vendor 0x1002 product 0x4396 (rev. 0x00)
ehci2: interrupting at ioapic0 pin 17
ehci2: dropped intr workaround enabled
ehci2: BIOS has given up ownership
ehci2: EHCI version 1.0
ehci2: wrong number of companions (1 != 0)
usb2 at ehci2: USB revision 2.0
pchb1 at pci0 dev 24 function 0: vendor 0x1022 product 0x1200 (rev. 0x00)
pchb2 at pci0 dev 24 function 1: vendor 0x1022 product 0x1201 (rev. 0x00)
pchb3 at pci0 dev 24 function 2: vendor 0x1022 product 0x1202 (rev. 0x00)
amdtemp0 at pci0 dev 24 function 3: AMD CPU Temperature Sensors (Family10h / 
Family11h)
pchb4 at pci0 dev 24 function 4: vendor 0x1022 product 0x1204 (rev. 0x00)
isa0 at pcib0
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
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "TSC" frequency 1297894220 Hz quality 3000
uhub0 at usb0: vendor 0x1002 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub0: 5 ports with 5 removable, self powered
uhub1 at usb1: vendor 0x1002 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 5 ports with 5 removable, self powered
uhub2 at usb2: vendor 0x1002 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 4 ports with 4 removable, self powered
ahcisata0 port 0: device present, speed: 3.0Gb/s
ahcisata0 port 2: device present, speed: 3.0Gb/s
ahcisata0 port 3: device present, speed: 3.0Gb/s
********* HANGS HERE ************
wd0 at atabus0 drive 0: <VB0160EAVEQ>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 149 GB, 310101 cyl, 16 head, 63 sec, 512 bytes/sect x 312581808 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100) 
(using DMA)
wd1 at atabus2 drive 0: <WDC WD20EARS-00MVWB0>
wd1: drive supports 16-sector PIO transfers, LBA48 addressing
wd1: 1863 GB, 3876021 cyl, 16 head, 63 sec, 512 bytes/sect x 3907029168 sectors
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd1(ahcisata0:2:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) 
(using DMA)
wd2 at atabus3 drive 0: <WDC WD20EARS-00MVWB0>
wd2: drive supports 16-sector PIO transfers, LBA48 addressing
wd2: 1863 GB, 3876021 cyl, 16 head, 63 sec, 512 bytes/sect x 3907029168 sectors
wd2: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd2(ahcisata0:3:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) 
(using DMA)
umass0 at uhub0 port 3 configuration 1 interface 0
umass0: vendor 0x07ab Freecom Databar, rev 2.00/1.00, addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 1 lun per target
sd0 at scsibus0 target 0 lun 0: <, Freecom Databar, 5.00> disk removable
sd0: fabricating a geometry
sd0: 30528 MB, 30528 cyl, 64 head, 32 sec, 512 bytes/sect x 62521344 sectors
sd0: fabricating a geometry
Kernelized RAIDframe activated
pad0: outputs: 44100Hz, 16-bit, stereo
audio0 at pad0: half duplex, playback, capture
boot device: sd0
root on sd0a dumps on sd0b
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)
        
>How-To-Repeat:
Boot NetBSD on an HP MicroServer
        
>Fix:
Workaround is disable ohci either with userconf (boot -c) or by building
a custom kernel.

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index