Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jan 2015 13:20:42 +1030
From:      Shane Ambler <FreeBSD@ShaneWare.Biz>
To:        FreeBSD stable <freebsd-stable@FreeBSD.org>
Subject:   Odd USB failure
Message-ID:  <54CAF182.3010405@ShaneWare.Biz>

next in thread | raw e-mail | index | archive | help
I have an odd USB failure happening at the moment. This is only failing
today so may not repeat after the next restart. I restarted 16 hours
ago after a power failure, this would be first usage after power out.

I have some USB memsticks that I have been using regularly, one is a
memorex 8GB and one is a no-name 8GB (I have two of these sticks that
fail the same).

Earlier I inserted the no-name stick and it failed to work showing
errors in the console. I can insert the memorex into the same port and
it works. I can also insert the failing stick into an empty USB3 port
at the back and it worked fine, but still fails back in the front port
(this is a port on the front of the case to an internal connector)

I also have an Alesis QX49 midi keyboard physically connected to a usb
port but is currently switched off at the device, turning it on didn't
alter the stick showing up.

I stopped hald and tried the stick without any change. I run hald only
to get the wacom bamboo working.

Any other data can be provided on request.

Motherboard is an ASUS P8H61-M LE/USB3 - dmesg at
http://shaneware.biz/freebsddebugdata/boot.dmesg

FreeBSD leader.local 10.1-STABLE FreeBSD 10.1-STABLE #1 r277318: Tue Jan 
20 01:57:21 ACDT 2015     root@leader.local:/usr/obj/usr/src/sys/GENERIC 
  amd64

usbconfig doesn't show the device -

%  usbconfig
ugen0.1: <EHCI root HUB Intel> at usbus0, cfg=0 md=HOST spd=HIGH 
(480Mbps) pwr=SAVE (0mA)
ugen1.1: <XHCI root HUB 0x1b21> at usbus1, cfg=0 md=HOST spd=SUPER 
(5.0Gbps) pwr=SAVE (0mA)
ugen2.1: <EHCI root HUB Intel> at usbus2, cfg=0 md=HOST spd=HIGH 
(480Mbps) pwr=SAVE (0mA)
ugen0.2: <product 0x0024 vendor 0x8087> at usbus0, cfg=0 md=HOST 
spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen2.2: <product 0x0024 vendor 0x8087> at usbus2, cfg=0 md=HOST 
spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen2.3: <USB 2.0 Hub vendor 0x1a40> at usbus2, cfg=0 md=HOST spd=HIGH 
(480Mbps) pwr=SAVE (100mA)
ugen2.4: <USB-PS2 Optical Mouse Logitech> at usbus2, cfg=0 md=HOST 
spd=LOW (1.5Mbps) pwr=ON (98mA)
ugen2.5: <CTH-470 Wacom Co.,Ltd.> at usbus2, cfg=0 md=HOST spd=FULL 
(12Mbps) pwr=ON (498mA)
ugen2.6: <USB Keyboard vendor 0x05af> at usbus2, cfg=0 md=HOST spd=LOW 
(1.5Mbps) pwr=ON (100mA)


Some relevant log data -

Jan 30 04:29:49 leader kernel: usb_alloc_device: set address 3 failed 
(USB_ERR_IOERROR, ignored)
Jan 30 04:29:51 leader kernel: usbd_setup_device_desc: getting device 
descriptor at addr 3 failed, USB_ERR_IOERROR
Jan 30 04:29:52 leader kernel: usbd_req_re_enumerate: addr=3, set 
address failed! (USB_ERR_IOERROR, ignored)
Jan 30 04:29:53 leader kernel: usbd_setup_device_desc: getting device 
descriptor at addr 3 failed, USB_ERR_IOERROR
Jan 30 04:29:54 leader kernel: usbd_req_re_enumerate: addr=3, set 
address failed! (USB_ERR_IOERROR, ignored)
Jan 30 04:29:56 leader kernel: usbd_setup_device_desc: getting device 
descriptor at addr 3 failed, USB_ERR_IOERROR
Jan 30 04:29:56 leader kernel: usbd_req_re_enumerate: addr=3, set 
address failed! (USB_ERR_IOERROR, ignored)
Jan 30 04:29:58 leader kernel: usbd_setup_device_desc: getting device 
descriptor at addr 3 failed, USB_ERR_IOERROR
Jan 30 04:29:58 leader kernel: usbd_req_re_enumerate: addr=3, set 
address failed! (USB_ERR_IOERROR, ignored)
Jan 30 04:30:00 leader kernel: usbd_setup_device_desc: getting device 
descriptor at addr 3 failed, USB_ERR_IOERROR
Jan 30 04:30:00 leader kernel: ugen0.3: <Unknown> at usbus0 (disconnected)
Jan 30 04:30:00 leader kernel: uhub_reattach_port: could not allocate 
new device

Jan 30 04:30:02 leader kernel: ugen0.3: <Memorex> at usbus0
Jan 30 04:30:02 leader kernel: umass0: <Memorex Mini, class 0/0, rev 
2.00/1.00, addr 3> on usbus0
Jan 30 04:30:02 leader kernel: umass0:  SCSI over Bulk-Only; quirks = 0x4100
Jan 30 04:30:02 leader kernel: umass0:5:0:-1: Attached to scbus5
Jan 30 04:30:02 leader kernel: da0 at umass-sim0 bus 0 scbus5 target 0 lun 0
Jan 30 04:30:02 leader kernel: da0: <Memorex Mini PMAP> Removable Direct 
Access SCSI-0 device
Jan 30 04:30:02 leader kernel: da0: Serial Number 07AC1803A7073FAB
Jan 30 04:30:02 leader kernel: da0: 40.000MB/s transfers
Jan 30 04:30:02 leader kernel: da0: 7429MB (15215808 512 byte sectors: 
255H 63S/T 947C)
Jan 30 04:30:02 leader kernel: da0: quirks=0x2<NO_6_BYTE>
Jan 30 04:30:26 leader kernel: ugen0.3: <Memorex> at usbus0 (disconnected)
Jan 30 04:30:26 leader kernel: umass0: at uhub3, port 3, addr 3 
(disconnected)
Jan 30 04:30:26 leader kernel: da0 at umass-sim0 bus 0 scbus5 target 0 lun 0
Jan 30 04:30:26 leader kernel: da0: <Memorex Mini PMAP> s/n 
07AC1803A7073FAB detached
Jan 30 04:30:26 leader kernel: (da0:umass-sim0:0:0:0): Periph destroyed


The failing device in a USB3 port -

% usbconfig
ugen0.1: <EHCI root HUB Intel> at usbus0, cfg=0 md=HOST spd=HIGH 
(480Mbps) pwr=SAVE (0mA)
ugen1.1: <XHCI root HUB 0x1b21> at usbus1, cfg=0 md=HOST spd=SUPER 
(5.0Gbps) pwr=SAVE (0mA)
ugen2.1: <EHCI root HUB Intel> at usbus2, cfg=0 md=HOST spd=HIGH 
(480Mbps) pwr=SAVE (0mA)
ugen0.2: <product 0x0024 vendor 0x8087> at usbus0, cfg=0 md=HOST 
spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen2.2: <product 0x0024 vendor 0x8087> at usbus2, cfg=0 md=HOST 
spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen2.3: <USB 2.0 Hub vendor 0x1a40> at usbus2, cfg=0 md=HOST spd=HIGH 
(480Mbps) pwr=SAVE (100mA)
ugen2.4: <USB-PS2 Optical Mouse Logitech> at usbus2, cfg=0 md=HOST 
spd=LOW (1.5Mbps) pwr=ON (98mA)
ugen2.5: <CTH-470 Wacom Co.,Ltd.> at usbus2, cfg=0 md=HOST spd=FULL 
(12Mbps) pwr=ON (498mA)
ugen2.6: <USB Keyboard vendor 0x05af> at usbus2, cfg=0 md=HOST spd=LOW 
(1.5Mbps) pwr=ON (100mA)
ugen1.2: <Mass Storage Generic> at usbus1, cfg=0 md=HOST spd=HIGH 
(480Mbps) pwr=ON (200mA)

log messages -

Jan 30 04:43:25 leader kernel: ugen1.2: <Generic> at usbus1
Jan 30 04:43:25 leader kernel: umass0: <Generic Mass Storage, class 0/0, 
rev 2.00/1.02, addr 1> on usbus1
Jan 30 04:43:25 leader kernel: umass0:  SCSI over Bulk-Only; quirks = 0x4101
Jan 30 04:43:25 leader kernel: umass0:5:0:-1: Attached to scbus5
Jan 30 04:43:25 leader kernel: da0 at umass-sim0 bus 0 scbus5 target 0 lun 0
Jan 30 04:43:25 leader kernel: da0: <Generic Flash Disk 8.07> Removable 
Direct Access SCSI-4 device
Jan 30 04:43:25 leader kernel: da0: Serial Number F1D18AF1
Jan 30 04:43:25 leader kernel: da0: 40.000MB/s transfers
Jan 30 04:43:25 leader kernel: da0: 8001MB (16386048 512 byte sectors: 
255H 63S/T 1019C)
Jan 30 04:43:25 leader kernel: da0: quirks=0x2<NO_6_BYTE>
Jan 30 05:04:36 leader kernel: ugen1.2: <Generic> at usbus1 (disconnected)
Jan 30 05:04:36 leader kernel: umass0: at uhub1, port 4, addr 1 
(disconnected)
Jan 30 05:04:36 leader kernel: da0 at umass-sim0 bus 0 scbus5 target 0 lun 0
Jan 30 05:04:36 leader kernel: da0: <Generic Flash Disk 8.07> s/n 
F1D18AF1 detached
Jan 30 05:04:36 leader kernel: (da0:umass-sim0:0:0:0): Periph destroyed


-- 
FreeBSD - the place to B...Software Developing

Shane Ambler




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