Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Aug 2017 10:10:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 221852] usb: Add UQ_MSC_NO_INQUIRY quirk for external "Intenso Memory" disk
Message-ID:  <bug-221852-8@https.bugs.freebsd.org/bugzilla/>

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

            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@FreeBSD.org
          Reporter: fk@fabiankeil.de
             Flags: mfc-stable11?

Created attachment 185806
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D185806&action=
=3Dedit
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 =3D 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 Er=
ror
08:36:36 t520 kernel: (probe0:umass-sim0:0:0:0): SCSI status: Check Conditi=
on
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@t520 ~ $sudo usbconfig -u 1 -a 4 dump_device_desc
ugen1.4: <Intenso External USB 3.0> at usbus1, cfg=3D0 md=3DHOST spd=3DHIGH=
 (480Mbps)
pwr=3DON (2mA)

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

Obtained from: ElectroBSD

--=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-221852-8>