P/N: WDBKXH5000ABK-01 Western Digital My Passport USB portable hard drive not mountable and /dev/da0s1 is not present. Dmesg after attaching the HD is: ugen7.2: <Western Digital> at usbus7 umass0: <MSC Bulk-Only Transport> on usbus7 umass0: SCSI over Bulk-Only; quirks = 0x4001 umass0:9:0:-1: Attached to scbus9 (probe0:umass-sim0:0:0:1): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim0:0:0:1): CAM status: CCB request completed with an error (probe0:umass-sim0:0:0:1): Retrying command (probe0:umass-sim0:0:0:1): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim0:0:0:1): CAM status: CCB request completed with an error (probe0:umass-sim0:0:0:1): Retrying command (probe0:umass-sim0:0:0:1): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim0:0:0:1): CAM status: CCB request completed with an error (probe0:umass-sim0:0:0:1): Retrying command (probe0:umass-sim0:0:0:1): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim0:0:0:1): CAM status: CCB request completed with an error (probe0:umass-sim0:0:0:1): Retrying command (da0:umass-sim0:0:0:0): got CAM status 0x44 (da0:umass-sim0:0:0:0): fatal error, failed to attach to device (da0:umass-sim0:0:0:0): lost device - 0 outstanding, 4 refs (da0:umass-sim0:0:0:0): removing device entry Fix: Attached patches make the HD work like normal and dmesg upon connecting the drive with patches is: ugen7.2: <Western Digital> at usbus7 umass0: <MSC Bulk-Only Transport> on usbus7 umass0: SCSI over Bulk-Only; quirks = 0x4000 umass0:9:0:-1: Attached to scbus9 da0 at umass-sim0 bus 0 scbus9 target 0 lun 0 da0: <WD My Passport 0748 1019> Fixed Direct Access SCSI-6 device da0: 40.000MB/s transfers da0: 476908MB (976707584 512 byte sectors: 255H 63S/T 60797C) ses0 at umass-sim0 bus 0 scbus9 target 0 lun 1 ses0: <WD SES Device 1019> Fixed Enclosure Services SCSI-6 device ses0: 40.000MB/s transfers ses0: SCSI-3 ENC Device GEOM_LABEL[1]: MSDOSFS: da0: no FAT volume detected. GEOM_LABEL[1]: MSDOSFS: da0s1: FAT32 volume detected. GEOM_LABEL[1]: Label for provider da0s1 is msdosfs/NO_NAME. Patch attached with submission follows: How-To-Repeat: Try to plug Hd in. Issues are appended to dmesg and won't be mountable.
Responsible Changed From-To: freebsd-bugs->freebsd-usb reclassify.
Author: hselasky Date: Tue May 21 06:13:38 2013 New Revision: 250848 URL: http://svnweb.freebsd.org/changeset/base/250848 Log: Add new USB quirk. MFC after: 1 week PR: usb/178771 Modified: head/sys/dev/usb/quirk/usb_quirk.c head/sys/dev/usb/usbdevs Modified: head/sys/dev/usb/quirk/usb_quirk.c ============================================================================== --- head/sys/dev/usb/quirk/usb_quirk.c Tue May 21 06:10:26 2013 (r250847) +++ head/sys/dev/usb/quirk/usb_quirk.c Tue May 21 06:13:38 2013 (r250848) @@ -427,6 +427,7 @@ static struct usb_quirk_entry usb_quirks UQ_MSC_FORCE_PROTO_SCSI, UQ_MSC_NO_INQUIRY_EVPD, UQ_MSC_NO_SYNC_CACHE), USB_QUIRK(WESTERN, MYPASSWORD, 0x0000, 0xffff, UQ_MSC_FORCE_SHORT_INQ), + USB_QUIRK(WESTERN, MYPASSPORT, 0x0000, 0xffff, UQ_MSC_NO_SYNC_CACHE), USB_QUIRK(WINMAXGROUP, FLASH64MC, 0x0000, 0xffff, UQ_MSC_FORCE_WIRE_BBB, UQ_MSC_FORCE_PROTO_SCSI, UQ_MSC_NO_INQUIRY), USB_QUIRK(YANO, FW800HD, 0x0000, 0xffff, UQ_MSC_FORCE_WIRE_BBB, Modified: head/sys/dev/usb/usbdevs ============================================================================== --- head/sys/dev/usb/usbdevs Tue May 21 06:10:26 2013 (r250847) +++ head/sys/dev/usb/usbdevs Tue May 21 06:13:38 2013 (r250848) @@ -4219,6 +4219,7 @@ product WESTERN EXTHDD 0x0400 External product WESTERN HUB 0x0500 USB HUB product WESTERN MYBOOK 0x0901 MyBook External HDD product WESTERN MYPASSWORD 0x0704 MyPassword External HDD +product WESTERN MYPASSPORT 0x0748 MyPassport External HDD /* WeTelecom products */ product WETELECOM WM_D200 0x6801 WM-D200 _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
----- Forwarded message from Velcro Leaf <velcroleaf@rocketmail.com> ----- Date: Tue, 28 May 2013 19:34:26 -0700 (PDT) From: Velcro Leaf <velcroleaf@rocketmail.com> To: "linimon@FreeBSD.org" <linimon@FreeBSD.org>, "freebsd-bugs@FreeBSD.org" <freebsd-bugs@FreeBSD.org>, "freebsd-usb@FreeBSD.org" <freebsd-usb@FreeBSD.org> Subject: Re: usb/178771: [usbdevs] [patch] Western Digital My Passport HD X-Mailer: YahooMailWebService/0.8.144.546 > Responsible-Changed-From-To: freebsd-bugs->freebsd-usb > Responsible-Changed-By: linimon > Responsible-Changed-When: Sun May 19 08:22:01 UTC 2013 > Responsible-Changed-Why: > reclassify. > > http://www.freebsd.org/cgi/query-pr.cgi?pr=178771 This looks like it might fix my issue: http://www.freebsd.org/cgi/query-pr.cgi?pr=177895 Two newbie questions (links to a FAQ or general admonishment for not knowing what I'm doing welcome): 1. How do I apply this patch on a 9.1-RELEASE-p3 system for testing? I'll report back my findings. 2. If the patch does the trick, when will it get bundled into the next RELEASE version? Will it come out with the next patch level or does the minor version number need to increment first? Thanks! ----- End forwarded message -----
FYI, I came across a WD My Passport USB drive that has a different product ID, yet requires the same UQ_MSC_NO_SYNC_CACHE quirk: $ usbconfig dump_device_quirks | fgrep -i 0x07a8 VID=0x1058 PID=0x07a8 REVLO=0x1033 REVHI=0x1033 QUIRK=UQ_MSC_NO_SYNC_CACHE $ dmesg | tail -11 umass0: <Western Digital My Passport 07A8, class 0/0, rev 2.10/10.33, addr 5> on usbus4 umass0: SCSI over Bulk-Only; quirks = 0x4000 umass0:2:0:-1: Attached to scbus2 da0 at umass-sim0 bus 0 scbus2 target 0 lun 0 da0: <WD My Passport 07A8 1033> Fixed Direct Access SCSI-6 device da0: 40.000MB/s transfers da0: 953837MB (1953458176 512 byte sectors: 255H 63S/T 121597C) ses0 at umass-sim0 bus 0 scbus2 target 0 lun 1 ses0: <WD SES Device 1033> Fixed Enclosure Services SCSI-6 device ses0: 40.000MB/s transfers ses0: SCSI-3 ENC Device $ usbconfig -d 4.5 dump_device_desc ugen4.5: <My Passport 07A8 Western Digital> at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (100mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0210 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x1058 idProduct = 0x07a8 bcdDevice = 0x1033 iManufacturer = 0x0001 <Western Digital> iProduct = 0x0002 <My Passport 07A8> iSerialNumber = 0x0003 <57583331453932575A373338> bNumConfigurations = 0x0001 $ camcontrol inquiry da0 pass2: <WD My Passport 07A8 1033> Fixed Direct Access SCSI-6 device pass2: Serial Number 57583331453932575A373338 pass2: 40.000MB/s transfers The part number printed on the case is WDBBEP0010BBK-03. Please augment the patch to accommodate this model as well. Thanks. -- Greg Rivers
See also usb/180617
*** This bug has been marked as a duplicate of bug 180617 ***
Quirk has been added to 11-current. Please let me know if it doesn't work still. --HPS
A commit references this bug: Author: hselasky Date: Fri Dec 26 11:17:00 UTC 2014 New revision: 276241 URL: https://svnweb.freebsd.org/changeset/base/276241 Log: MFC r259675, r262128, r262129, r275605, r276239 and r276240: Add more USB quirks. PR: 178771 PR: 180617 PR: 195372 Changes: _U stable/10/ stable/10/sys/dev/usb/quirk/usb_quirk.c stable/10/sys/dev/usb/usbdevs
A commit references this bug: Author: hselasky Date: Fri Dec 26 11:25:57 UTC 2014 New revision: 276242 URL: https://svnweb.freebsd.org/changeset/base/276242 Log: MFC r262128, r262129, r275605, r276239 and r276240: Add more USB quirks. PR: 178771 PR: 180617 PR: 195372 Changes: _U stable/9/sys/ _U stable/9/sys/dev/ stable/9/sys/dev/usb/quirk/usb_quirk.c stable/9/sys/dev/usb/usbdevs