NetBSD Problem Report #42803

From reed@reedmedia.net  Fri Feb 12 16:26:30 2010
Return-Path: <reed@reedmedia.net>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id E126E63B896
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 12 Feb 2010 16:26:30 +0000 (UTC)
Message-Id: <29536-1265991989@reedmedia.net>
Date: Fri, 12 Feb 2010 10:26:29 -0600
From: reed@reedmedia.net
Reply-To: reed@reedmedia.net
To: gnats-bugs@gnats.NetBSD.org
Subject: uhub7: port 4 reset failed
X-Send-Pr-Version: 3.95

>Number:         42803
>Category:       kern
>Synopsis:       uhub7: port 4 reset failed
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 12 16:30:00 +0000 2010
>Last-Modified:  Tue Mar 23 18:20:02 +0000 2010
>Originator:     reed@reedmedia.net
>Release:        NetBSD 5.0_STABLE
>Organization:
  Jeremy C. Reed
>Environment:


NetBSD 5.0_STABLE (REEDUSB) #0: Thu Feb 11 21:52:43 CST 2010  reed@tx.reedmedia.net:/usr/src-5/sys/arch/amd64/compile/obj/REEDUSB amd64
Architecture: x86_64
Machine: amd64
>Description:
dmesg is flooded with:
uhub7: port 4 reset failed
uhub7: port 3 reset failed
uhub7: port 4 reset failed

Sometimes my USB devices (builtin or plugged in) stop working.

See the dmesg below from seconds after booting. It has
USBVERBOSE and USD_DEBUG set -- otherwise it is GENERIC.
I also did "write usbdebug 0xffffffff"

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009
    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.0_STABLE (REEDUSB) #0: Thu Feb 11 21:52:43 CST 2010
	reed@tx.reedmedia.net:/usr/src-5/sys/arch/amd64/compile/obj/REEDUSB
total memory = 2940 MB
avail memory = 2834 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
SMBIOS rev. 2.4 @ 0xe8130 (35 entries)
TOSHIBA Satellite Pro L350 (PSLD9U-008007)
mainbus0 (root)
cpu0 at mainbus0 apid 0: Intel 686-class, 2261MHz, id 0x10676
cpu1 at mainbus0 apid 1: Intel 686-class, 2261MHz, id 0x10676
ioapic0 at mainbus0 apid 4: pa 0xfec00000, version 20, 24 pins
acpi0 at mainbus0: Intel ACPICA 20080321
acpi0: X/RSDT: OemId <TOSINV,TOSINV00,00000001>, AslId <    ,01000013>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
ACPI-Fast 24-bit timer
acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button
acpilid0 at acpi0 (LID0, PNP0C0D): ACPI Lid Switch
acpiacad0 at acpi0 (ADP0, ACPI0003): ACPI AC Adapter
acpibat0 at acpi0 (BAT0, PNP0C0A-1): ACPI Battery (Control Method)
hpet0 at acpi0 (HPET, PNP0103): mem 0xfed00000-0xfed003ff irq 0,8
timecounter: Timecounter "hpet0" frequency 14318179 Hz quality 2000
attimer1 at acpi0 (TIMR, PNP0100): io 0x40-0x43,0x50-0x53
pckbc1 at acpi0 (KBC, PNP0303) (kbd port): io 0x60,0x64 irq 1
pckbc2 at acpi0 (MOUE, SYN1913) (aux port): irq 12
acpiec0 at acpi0 (EC0, PNP0C09): io 0x62,0x66
FAN (PNP0C0B) at acpi0 not configured
acpitz0 at acpi0 (THRM): active cooling level 0: 70.0C critical 114.0C passive 66.0C
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: vendor 0x8086 product 0x2a40 (rev. 0x07)
agp0 at pchb0: detected 131068k stolen memory
agp0: aperture at 0xc0000000, size 0x10000000
vga0 at pci0 dev 2 function 0: vendor 0x8086 product 0x2a42 (rev. 0x07)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
drm at vga0 not configured
vendor 0x8086 product 0x2a43 (miscellaneous display, revision 0x07) at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 26 function 0: vendor 0x8086 product 0x2937 (rev. 0x03)
uhci0: interrupting at ioapic0 pin 16
usbd_match
usb0 at uhci0: USB revision 1.0
uhci1 at pci0 dev 26 function 1: vendor 0x8086 product 0x2938 (rev. 0x03)
uhci1: interrupting at ioapic0 pin 21
usbd_match
usb1 at uhci1: USB revision 1.0
ehci0 at pci0 dev 26 function 7: vendor 0x8086 product 0x293c (rev. 0x03)
ehci0: interrupting at ioapic0 pin 19
ehci0: BIOS refuses to give up ownership, using force
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1
usbd_match
usb2 at ehci0: USB revision 2.0
azalia0 at pci0 dev 27 function 0: Generic High Definition Audio Controller
azalia0: interrupting at ioapic0 pin 22
azalia0: host: 0x8086/0x293e (rev. 3), HDA rev. 1.0
ppb0 at pci0 dev 28 function 0: vendor 0x8086 product 0x2940 (rev. 0x03)
pci1 at ppb0 bus 2
pci1: i/o space, memory space enabled
re0 at pci1 dev 0 function 0: RealTek 8100E/8101E/8102E/8102EL PCIe 10/100BaseTX (rev. 0x02)
re0: interrupting at ioapic0 pin 16
re0: Ethernet address 00:1e:33:7c:2d:bd
re0: using 256 tx descriptors
rlphy0 at re0 phy 7: RTL8201L 10/100 media interface, rev. 1
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ppb1 at pci0 dev 28 function 1: vendor 0x8086 product 0x2942 (rev. 0x03)
pci2 at ppb1 bus 3
pci2: i/o space, memory space enabled
vendor 0x8086 product 0x4232 (miscellaneous network) at pci2 dev 0 function 0 not configured
ppb2 at pci0 dev 28 function 4: vendor 0x8086 product 0x2948 (rev. 0x03)
ppb2: disabling notification events
pci3 at ppb2 bus 6
pci3: no spaces enabled!
uhci2 at pci0 dev 29 function 0: vendor 0x8086 product 0x2934 (rev. 0x03)
uhci2: interrupting at ioapic0 pin 23
usbd_match
usb3 at uhci2: USB revision 1.0
uhci3 at pci0 dev 29 function 1: vendor 0x8086 product 0x2935 (rev. 0x03)
uhci3: interrupting at ioapic0 pin 19
usbd_match
usb4 at uhci3: USB revision 1.0
uhci4 at pci0 dev 29 function 2: vendor 0x8086 product 0x2936 (rev. 0x03)
uhci4: interrupting at ioapic0 pin 16
usbd_match
usb5 at uhci4: USB revision 1.0
uhci5 at pci0 dev 29 function 3: vendor 0x8086 product 0x2939 (rev. 0x03)
uhci5: interrupting at ioapic0 pin 18
usbd_match
usb6 at uhci5: USB revision 1.0
ehci1 at pci0 dev 29 function 7: vendor 0x8086 product 0x293a (rev. 0x03)
ehci1: interrupting at ioapic0 pin 23
ehci1: BIOS refuses to give up ownership, using force
ehci1: EHCI version 1.0
ehci1: companion controllers, 2 ports each: uhci2 uhci3 uhci4 uhci5
usbd_match
usb7 at ehci1: USB revision 2.0
ppb3 at pci0 dev 30 function 0: vendor 0x8086 product 0x2448 (rev. 0x93)
pci4 at ppb3 bus 4
pci4: i/o space, memory space enabled
pcib0 at pci0 dev 31 function 0
pcib0: vendor 0x8086 product 0x2919 (rev. 0x03)
ahcisata0 at pci0 dev 31 function 2: vendor 0x8086 product 0x2929
ahcisata0: interrupting at ioapic0 pin 19
ahcisata0: AHCI revision 1.2, 4 ports, 32 command slots, features 0xf722e0e0
atabus0 at ahcisata0 channel 0
atabus1 at ahcisata0 channel 1
atabus2 at ahcisata0 channel 4
atabus3 at ahcisata0 channel 5
ichsmb0 at pci0 dev 31 function 3: vendor 0x8086 product 0x2930 (rev. 0x03)
ichsmb0: interrupting at ioapic0 pin 18
iic0 at ichsmb0: I2C bus
isa0 at pcib0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker (CPU-intensive output)
sysbeep0 at pcppi0
attimer1: attached to pcppi0
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
acpiacad0: AC adapter online.
acpibat0: battery info: , Li-ion, PA3536U-1BRS 2472
usbd_doattach
usbd_new_device bus=0xffff80004ac53008 port=0 depth=0 speed=2
usbd_new_device: adding unit addr=1, rev=100, class=9, subclass=0, protocol=0, maxpacket=64, len=18, speed=2
usbd_doattach
usbd_new_device bus=0xffff80004ac9d008 port=0 depth=0 speed=2
usbd_new_device: adding unit addr=1, rev=100, class=9, subclass=0, protocol=0, maxpacket=64, len=18, speed=2
usbd_doattach
usbd_new_device bus=0xffff80004ace8008 port=0 depth=0 speed=3
usbd_new_device: adding unit addr=1, rev=200, class=9, subclass=0, protocol=1, maxpacket=64, len=18, speed=3
azalia0: codec[0]: Realtek ALC268 (rev. 0.3), HDA rev. 1.0
azalia0: codec[1]: 0x11c1/0x1040 (rev. 2.0), HDA rev. 1.0
azalia0: codec[1]: No support for modem function groups
azalia0: codec[1] has no audio function groups
audio0 at azalia0: full duplex, playback, capture, independent
usbd_doattach
usbd_new_device bus=0xffff80004ad5f008 port=0 depth=0 speed=2
usbd_new_device: adding unit addr=1, rev=100, class=9, subclass=0, protocol=0, maxpacket=64, len=18, speed=2
usbd_doattach
usbd_new_device bus=0xffff80004adaa008 port=0 depth=0 speed=2
usbd_new_device: adding unit addr=1, rev=100, class=9, subclass=0, protocol=0, maxpacket=64, len=18, speed=2
usbd_doattach
usbd_new_device bus=0xffff80004adf5008 port=0 depth=0 speed=2
usbd_new_device: adding unit addr=1, rev=100, class=9, subclass=0, protocol=0, maxpacket=64, len=18, speed=2
usbd_doattach
usbd_new_device bus=0xffff80004ae41008 port=0 depth=0 speed=2
usbd_new_device: adding unit addr=1, rev=100, class=9, subclass=0, protocol=0, maxpacket=64, len=18, speed=2
usbd_doattach
usbd_new_device bus=0xffff80004ad58050 port=0 depth=0 speed=3
usbd_new_device: adding unit addr=1, rev=200, class=9, subclass=0, protocol=1, maxpacket=64, len=18, speed=3
usbd_new_device: new dev (addr 1), dev=0xffff800005c26700, parent=0xffff80004ac529a0
uhub0 at usb0: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
usbd_set_config_index: (addr 1) cno=1 attr=0xc0, selfpowered=1, power=0
usbd_set_config_index: set config 1
uhub0: 2 ports with 2 removable, self powered
usbd_new_device: new dev (addr 1), dev=0xffff800005c26500, parent=0xffff80004ac52ba0
uhub1 at usb1: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
usbd_set_config_index: (addr 1) cno=1 attr=0xc0, selfpowered=1, power=0
usbd_set_config_index: set config 1
uhub1: 2 ports with 2 removable, self powered
usbd_new_device: new dev (addr 1), dev=0xffff800005c26300, parent=0xffff80004ac9ea28
uhub2 at usb2: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
usbd_set_config_index: (addr 1) cno=1 attr=0xc0, selfpowered=1, power=0
usbd_set_config_index: set config 1
uhub2: 4 ports with 4 removable, self powered
usbd_new_device: new dev (addr 1), dev=0xffff800005c2fd00, parent=0xffff80004ad5e248
uhub3 at usb3: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
usbd_set_config_index: (addr 1) cno=1 attr=0xc0, selfpowered=1, power=0
usbd_set_config_index: set config 1
uhub3: 2 ports with 2 removable, self powered
usbd_new_device: new dev (addr 1), dev=0xffff800005c2fb00, parent=0xffff80004adaba28
uhub4 at usb4: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
usbd_set_config_index: (addr 1) cno=1 attr=0xc0, selfpowered=1, power=0
usbd_set_config_index: set config 1
uhub4: 2 ports with 2 removable, self powered
usbd_new_device: new dev (addr 1), dev=0xffff800005c2f900, parent=0xffff80004adabc28
uhub5 at usb5: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
usbd_set_config_index: (addr 1) cno=1 attr=0xc0, selfpowered=1, power=0
usbd_set_config_index: set config 1
uhub5: 2 ports with 2 removable, self powered
usbd_new_device: new dev (addr 1), dev=0xffff800005c2f700, parent=0xffff80004ae42a28
uhub6 at usb6: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
usbd_set_config_index: (addr 1) cno=1 attr=0xc0, selfpowered=1, power=0
usbd_set_config_index: set config 1
uhub6: 2 ports with 2 removable, self powered
usbd_new_device: new dev (addr 1), dev=0xffff800005c2f500, parent=0xffff80004ae42c28
uhub7 at usb7: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
usbd_set_config_index: (addr 1) cno=1 attr=0xc0, selfpowered=1, power=0
usbd_set_config_index: set config 1
uhub7: 8 ports with 8 removable, self powered
ahcisata0 port 0: device present, speed: 1.5Gb/s
ahcisata0 port 5: device present, speed: 1.5Gb/s
usb_event_thread: start
usb_task_thread: start taskq usbtask-hc
usb_task_thread: start taskq usbtask-dr
usb_event_thread: start
usb_event_thread: start
usb_event_thread: start
usb_event_thread: start
usb_event_thread: start
usb_event_thread: start
usb_event_thread: start
wd0 at atabus0 drive 0: <TOSHIBA MK2552GSX>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 232 GB, 484521 cyl, 16 head, 63 sec, 512 bytes/sect x 488397168 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)
ahcisata0 port 1: PHY offline
ahcisata0 port 4: PHY offline
atapibus0 at atabus3: 1 targets
cd0 at atapibus0 drive 0: <MATSHITADVD-RAM UJ880AS, UF83  289387, 1.50> cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(ahcisata0:5:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33) (using DMA)
usbd_new_device bus=0xffff80004ad58050 port=1 depth=1 speed=3
usbd_new_device: adding unit addr=2, rev=200, class=0, subclass=0, protocol=0, maxpacket=64, len=18, speed=3
usbd_new_device: new dev (addr 2), dev=0xffff800005c88400, parent=0xffff80004b79e208
usbd_probe_and_attach: trying device specific drivers
ral0 at uhub7 port 1
ral0: Cisco-Linksys Wireless-G USB Network Adapter, rev 2.00/0.04, addr 2
usbd_set_config_index: (addr 1) cno=2 attr=0x80, selfpowered=0, power=300
usbd_set_config_index: set config 1
ral0: MAC/BBP RT2570 (rev 0x03), RF RT2526
ral0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ral0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
usbd_new_device bus=0xffff80004ace8008 port=2 depth=1 speed=3
usbd_new_device: adding unit addr=2, rev=200, class=239, subclass=2, protocol=1, maxpacket=64, len=18, speed=3
usbd_new_device: new dev (addr 2), dev=0xffff800005c88300, parent=0xffff80004a745d00
usbd_probe_and_attach: trying device specific drivers
usbd_probe_and_attach: no device specific driver found
usbd_probe_and_attach: looping over 1 configurations
usbd_set_config_index: (addr 1) cno=2 attr=0x80, selfpowered=0, power=98
usbd_set_config_index: set config 1
uvideo0 at uhub2 port 2 configuration 1 interface 0: Chicony Electronics Co., Ltd. CNF7051, rev 2.00/8.34, addr 2
video0 at uvideo0: Chicony Electronics Co., Ltd. CNF7051, rev 2.00/8.34, addr 2
usbd_new_device bus=0xffff80004ad58050 port=2 depth=1 speed=3
usbd_new_device: adding unit addr=3, rev=200, class=0, subclass=0, protocol=0, maxpacket=64, len=18, speed=3
usbd_new_device: new dev (addr 3), dev=0xffff800005c8c900, parent=0xffff80004b79e208
usbd_probe_and_attach: trying device specific drivers
usbd_probe_and_attach: no device specific driver found
usbd_probe_and_attach: looping over 1 configurations
usbd_set_config_index: (addr 1) cno=3 attr=0xc0, selfpowered=1, power=2
usbd_set_config_index: set config 1
ulpt0 at uhub7 port 2 configuration 1 interface 0
ulpt0: Brother HL-5150D, rev 2.00/1.00, addr 3, iclass 7/1
ulpt0: using bi-directional mode
uhub7: port 4 reset failed
uhub7: port 4 reset failed
Kernelized RAIDframe activated
pad0: outputs: 44100Hz, 16-bit, stereo
audio1 at pad0: half duplex, playback, capture
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
uhub7: port 4 reset failed
uhub7: port 4 reset failed
uhub7: port 4 reset failed
uhub7: port 3 reset failed
uhub7: port 4 reset failed
uhub7: port 4 reset failed
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)
uhub7: port 4 reset failed
uhub7: port 4 reset failed
uhub7: port 4 reset failed
uhub7: port 4 reset failed
uhub7: port 4 reset failed
uhub7: port 4 reset failed
uhub7: port 4 reset failed
uhub7: port 4 reset failed
uhub7: port 4 reset failed
uhub7: port 4 reset failed
uhub7: port 4 reset failed
uhub7: port 4 reset failed
uhub7: port 4 reset failed
uhub7: port 4 reset failed
uhub7: port 4 reset failed
uhub7: port 4 reset failed
uhub7: port 4 reset failed
uhub7: port 4 reset failed
uhub7: port 3 reset failed
uhub7: port 4 reset failed
>How-To-Repeat:

>Fix:


>Audit-Trail:
From: "Jeremy C. Reed" <reed@reedmedia.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/42803: uhub7: port 4 reset failed
Date: Tue, 23 Mar 2010 13:18:33 -0500 (CDT)

 > uhub7: port 3 reset failed
 > uhub7: port 4 reset failed

 I wonder if my laptop's USB is physically broken.

 I think it has always had this problem but infrequent, but now the 
 problem is near continuous and often anything using USB is unusable.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.