[Bug 221852] usb: Add UQ_MSC_NO_INQUIRY quirk for external "Intenso Memory" disk

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Aug 27 10:10:37 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221852

            Bug ID: 221852
           Summary: usb: Add UQ_MSC_NO_INQUIRY quirk for external "Intenso
                    Memory" disk
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: fk at fabiankeil.de
             Flags: mfc-stable11?

Created attachment 185806
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=185806&action=edit
usb: Add UQ_MSC_NO_INQUIRY quirk for external "Intenso Memory" disk

The attached patch adds the UQ_MSC_NO_INQUIRY quirk for a certain external
"Intenso Memory" disk.

Without the quirk the disk disappears shortly after beeing detected:

08:36:35 t520 kernel: ugen1.4: <Intenso External USB 3.0> at usbus1
08:36:36 t520 kernel: umass0 on uhub3
08:36:36 t520 kernel: umass0: <Intenso External USB 3.0, class 0/0, rev
2.10/3.07, addr 4> on usbus1
08:36:36 t520 kernel: umass0:  SCSI over Bulk-Only; quirks = 0x0100
08:36:36 t520 kernel: umass0:5:0: Attached to scbus5
08:36:36 t520 kernel: (probe0:umass-sim0:0:0:0): REPORT LUNS. CDB: a0 00 00 00
00 00 00 00 00 10 00 00
08:36:36 t520 kernel: (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error
08:36:36 t520 kernel: (probe0:umass-sim0:0:0:0): SCSI status: Check Condition
08:36:36 t520 kernel: (probe0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST
asc:20,0 (Invalid command operation code)
08:36:36 t520 kernel: (probe0:umass-sim0:0:0:0): Error 22, Unretryable error
08:37:49 t520 kernel: (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 01 83 00 fc
00
08:37:49 t520 kernel: (probe0:umass-sim0:0:0:0): CAM status: CCB request
completed with an error
08:37:49 t520 kernel: (probe0:umass-sim0:0:0:0): Retrying command
08:37:54 t520 kernel: (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 01 83 00 fc
00
08:37:54 t520 kernel: (probe0:umass-sim0:0:0:0): CAM status: CCB request
completed with an error
08:37:54 t520 kernel: (probe0:umass-sim0:0:0:0): Retrying command
08:38:00 t520 kernel: (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 01 83 00 fc
00
08:38:00 t520 kernel: (probe0:umass-sim0:0:0:0): CAM status: CCB request
completed with an error
08:38:00 t520 kernel: (probe0:umass-sim0:0:0:0): Retrying command
08:38:05 t520 kernel: (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 01 83 00 fc
00
08:38:05 t520 kernel: (probe0:umass-sim0:0:0:0): CAM status: CCB request
completed with an error
08:38:05 t520 kernel: (probe0:umass-sim0:0:0:0): Retrying command
08:38:11 t520 kernel: (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 01 83 00 fc
00
08:38:11 t520 kernel: (probe0:umass-sim0:0:0:0): CAM status: CCB request
completed with an error
08:38:11 t520 kernel: (probe0:umass-sim0:0:0:0): Error 5, Retries exhausted
08:38:44 t520 kernel: (da0:umass-sim0:0:0:0): got CAM status 0x44
08:38:44 t520 kernel: (da0:umass-sim0:0:0:0): fatal error, failed to attach to
device
08:38:44 t520 kernel: g_access(918): provider da0 has error 6 set
08:38:44 t520 last message repeated 2 times

fk at t520 ~ $sudo usbconfig -u 1 -a 4 dump_device_desc
ugen1.4: <Intenso External USB 3.0> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps)
pwr=ON (2mA)

  bLength = 0x0012
  bDescriptorType = 0x0001
  bcdUSB = 0x0210
  bDeviceClass = 0x0000  <Probed by interface class>
  bDeviceSubClass = 0x0000
  bDeviceProtocol = 0x0000
  bMaxPacketSize0 = 0x0040
  idVendor = 0x2109
  idProduct = 0x0701
  bcdDevice = 0x0307
  iManufacturer = 0x0001  <Intenso>
  iProduct = 0x0002  <External USB 3.0>
  iSerialNumber = 0x0003  <20130519000569>
  bNumConfigurations = 0x0001

Obtained from: ElectroBSD

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


More information about the freebsd-bugs mailing list