Subject: kern/34705: USB problems on ICH6, ICH7 and ICH8
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <ctribo@dtcc.edu>
List: netbsd-bugs
Date: 10/03/2006 19:30:00
>Number:         34705
>Category:       kern
>Synopsis:       USB problems on ICH6, ICH7 and ICH8
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 03 19:30:00 +0000 2006
>Originator:     Chris Tribo
>Release:        4.99.3
>Organization:
DTCC
>Environment:
NetBSD 4.99.3 (INSTALL) #0: Mon Oct  2 17:50:30 EDT 2006
	root@atlantis.dtcc.edu:/usr/obj/sys/arch/i386/compile/INSTALL
>Description:
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 4.99.3 (INSTALL) #0: Mon Oct  2 17:50:30 EDT 2006
	root@atlantis.dtcc.edu:/usr/obj/sys/arch/i386/compile/INSTALL
total memory = 2034 MB
avail memory = 1990 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
timecounter: selected timecounter "i8254" frequency 1193182 Hz quality 100
Calibrating TSC clock ... TSC clock: 2392330770 Hz
BIOS32 rev. 0 found at 0xffe90
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium Pro, II or III (686-class), 2392.39 MHz, id 0x6f6
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 e3bd<SSE3,MONITOR,DS-CPL,VMX,EST,TM2,xTPR>
cpu0: "Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz"
cpu0: I-cache 32 KB 64B/line 8-way, D-cache 32 KB 64B/line 8-way
cpu0: using thermal monitor 1
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pci0: can't establish powerhook
pchb0 at pci0 dev 0 function 0
pchb0: vendor 0x8086 product 0x2990 (rev. 0x02)
vga1 at pci0 dev 2 function 0: vendor 0x8086 product 0x2992 (rev. 0x02)
vga1: WARNING: ignoring 64-bit BAR @ 0x18
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
vendor 0x8086 product 0x2993 (miscellaneous display, revision 0x02) at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 26 function 0: vendor 0x8086 product 0x2834 (rev. 0x02)
uhci0: interrupting at irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 26 function 1: vendor 0x8086 product 0x2835 (rev. 0x02)
uhci1: interrupting at irq 10
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 26 function 7: vendor 0x8086 product 0x283a (rev. 0x02)
ehci0: interrupting at irq 9
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1
usb2 at ehci0: USB revision 2.0
uhub2 at usb2
uhub2: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 4 ports with 4 removable, self powered
vendor 0x8086 product 0x284b (multimedia subclass 0x03, revision 0x02) at pci0 dev 27 function 0 not configured
ppb0 at pci0 dev 28 function 0: vendor 0x8086 product 0x283f (rev. 0x02)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
pci1: can't establish powerhook
ppb1 at pci0 dev 28 function 4: vendor 0x8086 product 0x2847 (rev. 0x02)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
pci2: can't establish powerhook
vendor 0x14e4 product 0x167a (ethernet network, revision 0x02) at pci2 dev 0 function 0 not configured
uhci2 at pci0 dev 29 function 0: vendor 0x8086 product 0x2830 (rev. 0x02)
uhci2: interrupting at irq 5
usb3 at uhci2: USB revision 1.0
uhub3 at usb3
uhub3: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 29 function 1: vendor 0x8086 product 0x2831 (rev. 0x02)
uhci3: interrupting at irq 10
usb4 at uhci3: USB revision 1.0
uhub4 at usb4
uhub4: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub4: 2 ports with 2 removable, self powered
uhci4 at pci0 dev 29 function 2: vendor 0x8086 product 0x2832 (rev. 0x02)
uhci4: interrupting at irq 3
usb5 at uhci4: USB revision 1.0
uhub5 at usb5
uhub5: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub5: 2 ports with 2 removable, self powered
ehci1 at pci0 dev 29 function 7: vendor 0x8086 product 0x2836 (rev. 0x02)
ehci1: interrupting at irq 5
ehci1: BIOS has given up ownership
ehci1: EHCI version 1.0
ehci1: companion controllers, 2 ports each: uhci2 uhci3 uhci4
usb6 at ehci1: USB revision 2.0
uhub6 at usb6
uhub6: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub6: 6 ports with 6 removable, self powered
ppb2 at pci0 dev 30 function 0: vendor 0x8086 product 0x244e (rev. 0xf2)
pci3 at ppb2 bus 3
pci3: i/o space, memory space enabled
pci3: can't establish powerhook
pcib0 at pci0 dev 31 function 0
pcib0: vendor 0x8086 product 0x2810 (rev. 0x02)
piixide0 at pci0 dev 31 function 2
piixide0: Intel 82801H Serial ATA Controller (ICH8) (rev. 0x02)
piixide0: bus-master DMA support present
piixide0: primary channel configured to native-PCI mode
piixide0: using irq 9 for native-PCI interrupt
atabus0 at piixide0 channel 0
piixide0: secondary channel configured to native-PCI mode
atabus1 at piixide0 channel 1
vendor 0x8086 product 0x283e (SMBus serial bus, revision 0x02) at pci0 dev 31 function 3 not configured
piixide1 at pci0 dev 31 function 5
piixide1: Intel 82801H Serial ATA Controller (ICH8) (rev. 0x02)
piixide1: bus-master DMA support present
piixide1: primary channel wired to native-PCI mode
piixide1: using irq 9 for native-PCI interrupt
atabus2 at piixide1 channel 0
piixide1: secondary channel wired to native-PCI mode
atabus3 at piixide1 channel 1
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: 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
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff
npx0: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
isapnp0: no ISA Plug 'n Play devices found
timecounter: Timecounter "TSC" frequency 2392330770 Hz quality 800
timecounter: selected timecounter "TSC" frequency 2392330770 Hz quality 800
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
Kernelized RAIDframe activated
md0: internal 5000 KB image area
umass0 at uhub2 port 3 configuration 1 interface 0
umass0: LEXAR MEDIA JUMPDRIVE, rev 2.00/30.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: <LEXAR, JUMPDRIVE, 1000> disk removable
sd0: 495 MB, 984 cyl, 16 head, 63 sec, 512 bytes/sect x 1014784 sectors
uhci1: host controller halted
uhidev0 at uhub4 port 1 configuration 1 interface 0
uhidev0: Dell Dell USB Keyboard, rev 1.10/3.01, addr 2, iclass 3/1
ukbd0 at uhidev0
uhub1: port 2 reset failed
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
wd0 at atabus0 drive 0: <ST3160812AS>
wd0: quirks 2<FORCE_LBA48>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 149 GB, 310019 cyl, 16 head, 63 sec, 512 bytes/sect x 312500000 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <_NEC DVD+/-RW ND-3650A, , 105C> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(piixide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
boot device: fd0
root on md0a dumps on md0b
root file system type: ffs
warning: no /dev/console

>How-To-Repeat:
boot an APIC or non-APIC, ACPI or non-ACPI kernel on ICH6, 7, or 8.

Sometimes everything works, sometimes you get uhci host controller halted errors, sometimes all usb ports are dead (all 8 of them), no plugging or unplugging is detected
>Fix:
Unknown