On 9/30/2014 5:03 AM, Mark Knibbs wrote:
Great. I hope someone else is motivated to reproduce the issue. It will
take a long time for me to bisect due to my slow computer.
Hi Mark,
I tried to reproduce this issue. I connected a USB key under a
full-speed hub.
sg_rbuf returns error which I am not familiar with.
allen@allen-ivb:~$ lsusb -t
[...snip...]
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/3p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M
|__ Port 4: Dev 11, If 0, Class=Hub, Driver=hub/3p, 12M
|__ Port 1: Dev 12, If 0, Class=Human Interface Device,
Driver=usbhid, 12M
|__ Port 1: Dev 12, If 1, Class=Human Interface Device,
Driver=usbhid, 12M
|__ Port 3: Dev 15, If 0, Class=Mass Storage,
Driver=usb-storage, 12M
allen@allen-ivb:~$ sudo dd if=/dev/zero of=/dev/sdb bs=4k count=1k
1024+0 records in
1024+0 records out
4194304 bytes (4.2 MB) copied, 4.32676 s, 969 kB/s
allen@allen-ivb:~$ sudo sg_rbuf --buffer=524288 -q -t -v /dev/sg2
Read buffer cdb: 3c 03 00 00 00 00 00 00 04 00
READ BUFFER descriptor error: SCSI status: Check Condition
Fixed format, current; Sense key: Illegal Request
Additional sense: Invalid command operation code
Thanks,
-baolu
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html