Date: Wed, 20 Feb 2019 19:37:20 +0000 From: bugzilla-noreply@freebsd.org To: usb@FreeBSD.org Subject: [Bug 235897] quirky Sandisk SDCZ48-032G when using XHCI Message-ID: <bug-235897-19105@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235897 Bug ID: 235897 Summary: quirky Sandisk SDCZ48-032G when using XHCI Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: usb Assignee: usb@FreeBSD.org Reporter: vidwer+fbsdbugs@gmail.com Created attachment 202201 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D202201&action= =3Dedit draft patch for quirk found in SanDisk Ultra SDCZ48-032G Running 13-CURRENT, r344363 on amd64. dmesg: ugen1.3: <SanDisk Ultra> at usbus1 umass0 on uhub4 umass0: <SanDisk Ultra, class 0/0, rev 3.00/1.00, addr 2> on usbus1 umass0: SCSI over Bulk-Only; quirks =3D 0xc100 umass0:2:0: Attached to scbus2 (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00 (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error (probe0:umass-sim0:0:0:0): Retrying command, 3 more tries remain (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00 (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error (probe0:umass-sim0:0:0:0): Retrying command, 2 more tries remain da0 at umass-sim0 bus 0 scbus2 target 0 lun 0 da0: <SanDisk Ultra 1.00> Removable Direct Access SPC-4 SCSI device da0: Serial Number <redacted> da0: 400.000MB/s transfers da0: 29328MB (60063744 512 byte sectors) da0: quirks=3D0x2<NO_6_BYTE> usbconfig -d ugen1.3 dump_all_desc: ugen1.3: <SanDisk Ultra> at usbus1, cfg=3D0 md=3DHOST spd=3DSUPER (5.0Gbps) pwr=3DON (224mA) bLength =3D 0x0012 bDescriptorType =3D 0x0001 bcdUSB =3D 0x0300 bDeviceClass =3D 0x0000 <Probed by interface class> bDeviceSubClass =3D 0x0000 bDeviceProtocol =3D 0x0000 bMaxPacketSize0 =3D 0x0009 idVendor =3D 0x0781 idProduct =3D 0x5581 bcdDevice =3D 0x0100 iManufacturer =3D 0x0001 <SanDisk> iProduct =3D 0x0002 <Ultra> iSerialNumber =3D 0x0003 <redacted> bNumConfigurations =3D 0x0001 Configuration index 0 bLength =3D 0x0009 bDescriptorType =3D 0x0002 wTotalLength =3D 0x002c bNumInterfaces =3D 0x0001 bConfigurationValue =3D 0x0001 iConfiguration =3D 0x0000 <no string> bmAttributes =3D 0x0080 bMaxPower =3D 0x0070 Interface 0 bLength =3D 0x0009 bDescriptorType =3D 0x0004 bInterfaceNumber =3D 0x0000 bAlternateSetting =3D 0x0000 bNumEndpoints =3D 0x0002 bInterfaceClass =3D 0x0008 <Mass storage> bInterfaceSubClass =3D 0x0006 bInterfaceProtocol =3D 0x0050 iInterface =3D 0x0000 <no string> Endpoint 0 bLength =3D 0x0007 bDescriptorType =3D 0x0005 bEndpointAddress =3D 0x0081 <IN> bmAttributes =3D 0x0002 <BULK> wMaxPacketSize =3D 0x0400 bInterval =3D 0x0000 bRefresh =3D 0x0000 bSynchAddress =3D 0x0000 Additional Descriptor bLength =3D 0x06 bDescriptorType =3D 0x30 bDescriptorSubType =3D 0x01 RAW dump: 0x00 | 0x06, 0x30, 0x01, 0x00, 0x00, 0x00 Endpoint 1 bLength =3D 0x0007 bDescriptorType =3D 0x0005 bEndpointAddress =3D 0x0002 <OUT> bmAttributes =3D 0x0002 <BULK> wMaxPacketSize =3D 0x0400 bInterval =3D 0x0000 bRefresh =3D 0x0000 bSynchAddress =3D 0x0000 Additional Descriptor bLength =3D 0x06 bDescriptorType =3D 0x30 bDescriptorSubType =3D 0x0f RAW dump: 0x00 | 0x06, 0x30, 0x0f, 0x00, 0x00, 0x00 Proposed, yet unimproving the CCB stall, diff: see attached diff. I reasoned that scsi_da.c might benefit from "*" in the version field ("1.00"), however that won't clear the stall either. --=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-235897-19105>