Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Sep 2017 07:48:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-usb@FreeBSD.org
Subject:   [Bug 222659] Add quirk UQ_MSC_NO_PREVENT_ALLOW to SMI USB DISK 3000
Message-ID:  <bug-222659-17@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222659

            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@FreeBSD.org
          Reporter: rfraile@rfraile.eu

Plugin the following usb storage device (usbconfig report):

ugen0.2: <USB DISK SMI Corporation> at usbus0, cfg=3D0 md=3DHOST spd=3DFULL=
 (12Mbps)
pwr=3DON (100mA)

  bLength =3D 0x0012=20
  bDescriptorType =3D 0x0001=20
  bcdUSB =3D 0x0200=20
  bDeviceClass =3D 0x0000  <Probed by interface class>
  bDeviceSubClass =3D 0x0000=20
  bDeviceProtocol =3D 0x0000=20
  bMaxPacketSize0 =3D 0x0040=20
  idVendor =3D 0x090c=20
  idProduct =3D 0x1000=20
  bcdDevice =3D 0x3000=20
  iManufacturer =3D 0x0001  <SMI Corporation>
  iProduct =3D 0x0002  <USB DISK>
  iSerialNumber =3D 0x0003  <2010121200000149>
  bNumConfigurations =3D 0x0001=20


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=3D"YES"
hw.usb.quirk.0=3D"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 us=
bus0
umass0:  SCSI over Bulk-Only; quirks =3D 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=3D0x3<NO_SYNC_CACHE,NO_6_BYTE>


Thanks,

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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