Date: Tue, 28 Jul 2009 23:40:30 +0200 From: "Ronald Klop" <ronald@echteman.nl> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Cc: ronald@echteman.nl Subject: usb/137226: [patch] quirk for Philips extern USB disk Message-ID: <1248817230.68597@sjakie.klop.ws> Resent-Message-ID: <200907282200.n6SM0B18067817@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 137226 >Category: usb >Synopsis: [patch] quirk for Philips extern USB disk >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jul 28 22:00:10 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Ronald Klop >Release: FreeBSD 7.2-STABLE amd64 >Organization: >Environment: System: FreeBSD 7.2-STABLE #2: Sat Jul 11 13:18:09 CEST 2009 root@sjakie.klop.ws:/usr/obj/usr/src/sys/GENERIC >Description: My disk doesn't work with ZFS, because I get 'operation not supported'. See below. A person on the mailinglist suggested me to add a quirk and since than my usb disk is happily running ZFS. Jul 8 03:01:39 sjakie kernel: (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE(10). CDB: 35 0 0 0 0 0 0 0 0 0 Jul 8 03:01:39 sjakie kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error Jul 8 03:01:39 sjakie kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check Condition Jul 8 03:01:39 sjakie kernel: (da0:umass-sim0:0:0:0): ILLEGAL REQUEST asc:20,0 Jul 8 03:01:39 sjakie kernel: (da0:umass-sim0:0:0:0): Invalid command operation code Jul 8 03:01:39 sjakie kernel: (da0:umass-sim0:0:0:0): Unretryable error Jul 8 03:01:39 sjakie root: ZFS: vdev I/O failure, zpool=extern path=/dev/da0 offset=11391598592 size=65536 error=5 Jul 8 03:01:39 sjakie root: ZFS: vdev I/O failure, zpool=extern path=/dev/da0 offset=70877380608 size=65536 error=5 Jul 8 03:02:10 sjakie kernel: (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE(10). CDB: 35 0 0 0 0 0 0 0 0 0 Jul 8 03:02:10 sjakie kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error Jul 8 03:02:10 sjakie kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check Condition Jul 8 03:02:10 sjakie kernel: (da0:umass-sim0:0:0:0): ILLEGAL REQUEST asc:20,0 Jul 8 03:02:10 sjakie kernel: (da0:umass-sim0:0:0:0): Invalid command operation code Jul 8 03:02:10 sjakie kernel: (da0:umass-sim0:0:0:0): Unretryable error Jul 8 03:02:10 sjakie kernel: (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE(10). CDB: 35 0 0 0 0 0 0 0 0 0 Jul 8 03:02:10 sjakie kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error Jul 8 03:02:10 sjakie kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check Condition Jul 8 03:02:10 sjakie kernel: (da0:umass-sim0:0:0:0): ILLEGAL REQUEST asc:20,0 Jul 8 03:02:10 sjakie kernel: (da0:umass-sim0:0:0:0): Invalid command operation code Jul 8 03:02:10 sjakie kernel: (da0:umass-sim0:0:0:0): Unretryable error >How-To-Repeat: >Fix: --- philips-usb-umass.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # patch-sys-dev-usb-umass.c # patch-sys-dev-usb-usbdevs # echo x - patch-sys-dev-usb-umass.c sed 's/^X//' >patch-sys-dev-usb-umass.c << 'dd1f6f9840f8034573a5988aee8d2593' X--- /usr/src/sys/dev/usb/umass.c.orig 2009-07-10 08:55:30.000000000 +0200 X+++ /usr/src/sys/dev/usb/umass.c 2009-07-11 10:59:36.929295627 +0200 X@@ -659,6 +659,10 @@ X UMASS_PROTO_UFI, X NO_QUIRKS X }, X+ { USB_VENDOR_PHILIPS, USB_PRODUCT_PHILIPS_SPE3030CC, RID_WILDCARD, X+ UMASS_PROTO_SCSI | UMASS_PROTO_BBB, X+ NO_SYNCHRONIZE_CACHE X+ }, X { USB_VENDOR_PLEXTOR, USB_PRODUCT_PLEXTOR_40_12_40U, RID_WILDCARD, X UMASS_PROTO_SCSI | UMASS_PROTO_BBB, X NO_TEST_UNIT_READY dd1f6f9840f8034573a5988aee8d2593 echo x - patch-sys-dev-usb-usbdevs sed 's/^X//' >patch-sys-dev-usb-usbdevs << 'f7a7d33f51c9b8ba3ec9f71867b7028f' X--- /usr/src/sys/dev/usb/usbdevs.orig 2009-07-10 08:55:30.000000000 +0200 X+++ /usr/src/sys/dev/usb/usbdevs 2009-07-11 12:29:16.171197768 +0200 X@@ -1958,6 +1957,7 @@ X product PHILIPS PCA646VC 0x0303 PCA646VC PC Camera X product PHILIPS PCVC680K 0x0308 PCVC680K Vesta Pro PC Camera X product PHILIPS DSS150 0x0471 DSS 150 Digital Speaker System X+product PHILIPS SPE3030CC 0x083a USB 2.0 External Disk X product PHILIPS SNU5600 0x1236 SNU5600 X product PHILIPS UM10016 0x1552 ISP 1581 Hi-Speed USB MPEG2 Encoder Reference Kit X product PHILIPS DIVAUSB 0x1801 DIVA USB mp3 player f7a7d33f51c9b8ba3ec9f71867b7028f exit --- philips-usb-umass.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1248817230.68597>