[Bug 222659] Add quirk UQ_MSC_NO_PREVENT_ALLOW to SMI USB DISK 3000
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Sep 28 07:48:54 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222659
Bug ID: 222659
Summary: Add quirk UQ_MSC_NO_PREVENT_ALLOW to SMI USB DISK 3000
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: usb
Assignee: freebsd-usb at FreeBSD.org
Reporter: rfraile at rfraile.eu
Plugin the following usb storage device (usbconfig report):
ugen0.2: <USB DISK SMI Corporation> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps)
pwr=ON (100mA)
bLength = 0x0012
bDescriptorType = 0x0001
bcdUSB = 0x0200
bDeviceClass = 0x0000 <Probed by interface class>
bDeviceSubClass = 0x0000
bDeviceProtocol = 0x0000
bMaxPacketSize0 = 0x0040
idVendor = 0x090c
idProduct = 0x1000
bcdDevice = 0x3000
iManufacturer = 0x0001 <SMI Corporation>
iProduct = 0x0002 <USB DISK>
iSerialNumber = 0x0003 <2010121200000149>
bNumConfigurations = 0x0001
Produces the following errors:
(da0:umass-sim0:0:0:0): Retrying command
(da0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 ee ff fe 00 00 01 00
(da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
(da0:umass-sim0:0:0:0): Retrying command
(da0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 ee ff fe 00 00 01 00
(da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
(da0:umass-sim0:0:0:0): Error 5, Retries exhausted
Which makes it impossible to mount and use it.
After adding the following lines to the loader.conf file, the problem was
fixed:
usb_quirk_load="YES"
hw.usb.quirk.0="0x090c 0x1000 0 0xffff UQ_MSC_NO_PREVENT_ALLOW"
And the dmesg log don't have any issue registered:
uhub0: 2 ports with 2 removable, self powered
ugen0.2: <SMI Corporation> at usbus0
umass0: <SMI Corporation USB DISK, class 0/0, rev 2.00/30.00, addr 2> on usbus0
umass0: SCSI over Bulk-Only; quirks = 0xc000
umass0:2:0: Attached to scbus2
da0 at umass-sim0 bus 0 scbus2 target 0 lun 0
da0: <SMI USB DISK 3000> Removable Direct Access SCSI device
da0: Serial Number 2010121200000149
da0: 1.000MB/s transfers
da0: 7648MB (15663104 512 byte sectors)
da0: quirks=0x3<NO_SYNC_CACHE,NO_6_BYTE>
Thanks,
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-usb
mailing list