Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Aug 2014 12:38:46 -0700
From:      Sean Bruno <sbruno@ignoranthack.me>
To:        sbruno@freebsd.org
Cc:        freebsd-usb <freebsd-usb@freebsd.org>
Subject:   Re: Random issues with xhci
Message-ID:  <1406921926.5206.6.camel@bruno>
In-Reply-To: <1406912580.5206.3.camel@bruno>
References:  <1406822044.1364.1.camel@bruno>  <53DA6AA2.9020701@selasky.org> <1406912580.5206.3.camel@bruno>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2014-08-01 at 10:03 -0700, Sean Bruno wrote:
> On Thu, 2014-07-31 at 18:11 +0200, Hans Petter Selasky wrote:
> > Best way to debug is to log all USB traffic:
> > 
> > usbdump -i usbusX -s 65536 -w usblog.pcap
> > 
> > Then try to see if there are any USB errors happening before the XHCI 
> > controller resets.
> > 
> > Thank you!
> > 
> > --HPS
> 
> 
> Hrm ... seems to most reliably happen on host startup and not really
> able to reproduce after multiuser.
> 
> I see stuff like this:
> 
> usbd_setup_device_desc: getting device descriptor at addr 2 failed,
> USB_ERR_IOERROR
> usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_IOERROR,
> ignored)
> usbd_setup_device_desc: getting device descriptor at addr 2 failed,
> USB_ERR_IOERROR
> ugen1.2: <Belkin> at usbus1
> cd0 at ahcich4 bus 0 scbus4 target 0 lun 0
> cd0: <SONY DVD RW DRU-800A KY06> Removable CD-ROM SCSI-0 device 
> cd0: 150.000MB/s transfers (SATA 1.x, UDMA4, ATAPI 12bytes, PIO
> 8192bytes)
> cd0: Attempt to query device size failed: NOT READY, Medium not present
> Trying to mount root from zfs:zroot []...
> usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_IOERROR,
> ignored)
> usbd_setup_device_desc: getting device descriptor at addr 2 failed,
> USB_ERR_IOERROR
> ugen1.3: <Prolific Technology Inc.> at usbus1
> usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_IOERROR,
> ignored)
> usbd_setup_device_desc: getting device descriptor at addr 2 failed,
> USB_ERR_IOERROR
> usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_IOERROR,
> ignored)
> usbd_setup_device_desc: getting device descriptor at addr 2 failed,
> USB_ERR_IOERROR
> ugen3.2: <Unknown> at usbus3 (disconnected)
> uhub_reattach_port: could not allocate new device
> ums0: <Logitech USB Receiver, class 0/0, rev 2.00/24.00, addr 1> on
> usbus0
> ums0: 16 buttons and [XYZT] coordinates ID=2
> uhid0: <Logitech USB Receiver, class 0/0, rev 2.00/24.00, addr 1> on
> usbus0
> uaudio0: <vendor 0x046d product 0x08c5, class 0/0, rev 2.00/0.05, addr
> 2> on usbus2
> uaudio0: No playback.
> uaudio0: Record: 16000 Hz, 1 ch, 16-bit S-LE PCM format, 2x8ms buffer.
> uaudio0: No MIDI sequencer.
> pcm6: <USB audio> on uaudio0
> uaudio0: No HID volume keys found.
> uhid1: <Belkin Belkin UPS, class 0/0, rev 1.10/0.01, addr 2> on usbus1


Hrm ... poking around the internet now.  I'm seeing evidence of oddities
from other users.

http://ehc.ac/p/libusbx/mailman/message/29979450/

http://www.spinics.net/lists/linux-usb/msg67316.html
^^ something about a "short packet bug" is referenced here.

sean




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1406921926.5206.6.camel>