usb/121474: QUIRK: SAMSUNG HM250JI in LaCie usb harddisk
Ben Stuyts
ben at altesco.nl
Fri Mar 7 19:30:04 UTC 2008
>Number: 121474
>Category: usb
>Synopsis: QUIRK: SAMSUNG HM250JI in LaCie usb harddisk
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-usb
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Mar 07 19:30:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Ben Stuyts
>Release: 7.0-Stable
>Organization:
Altus-Escon-Company BV
>Environment:
FreeBSD mars.altus-escon.com 7.0-STABLE FreeBSD 7.0-STABLE #28: Fri Mar 7 20:02:14 CET 2008 root at mars.altus-escon.com:/usr/obj/usr/src/sys/MARS amd64
>Description:
Connecting an external USB drive (LaCie 250 GB "designed by Porsche") gives lots of SYNCHRONIZE CACHE errors. After each error, the system is unresponsive for 5-10s. Problem is repeatable on two recent i386 and amd64 7.0-Stable systems.
On connect:
Feb 22 20:59:29 mars root: Unknown USB device: vendor 0x059f product 0x0c41 bus uhub3
Feb 22 20:59:29 mars kernel: umass1: <LaCie LaCie Hard Drive USB, class 0/0, rev 2.00/0.00, addr 3> on uhub3
Feb 22 20:59:29 mars kernel: da1 at umass-sim1 bus 1 target 0 lun 0
Feb 22 20:59:29 mars kernel: da1: <SAMSUNG HM250JI > Fixed Direct Access SCSI-2 device
Feb 22 20:59:29 mars kernel: da1: 40.000MB/s transfers
Feb 22 20:59:29 mars kernel: da1: 238475MB (488397168 512 byte sectors: 255H 63S/T 30401C)
One of the errors:
Feb 22 21:27:41 mars kernel: (da1:umass-sim1:1:0:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0
Feb 22 21:27:41 mars kernel: (da1:umass-sim1:1:0:0): CAM Status: SCSI Status Error
Feb 22 21:27:41 mars kernel: (da1:umass-sim1:1:0:0): SCSI Status: Check Condition
Feb 22 21:27:41 mars kernel: (da1:umass-sim1:1:0:0): ILLEGAL REQUEST asc:20,0
Feb 22 21:27:41 mars kernel: (da1:umass-sim1:1:0:0): Invalid command operation code
Feb 22 21:27:41 mars kernel: (da1:umass-sim1:1:0:0): Unretryable error
usbdevs -v:
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00
port 1 powered
port 2 powered
Controller /dev/usb1:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00
port 1 powered
port 2 powered
Controller /dev/usb2:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00
port 1 powered
port 2 powered
Controller /dev/usb3:
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), Intel(0x0000), rev 1.00
port 1 addr 3: high speed, power 2 mA, config 1, LaCie Hard Drive USB(0x0c41), LaCie(0x059f), rev 0.00
>How-To-Repeat:
Connect this drive, put a ZFS filesystem on it, and try to put some data on it.
>Fix:
Index: scsi_da.c
===================================================================
RCS file: /home/ncvs/src/sys/cam/scsi/scsi_da.c,v
retrieving revision 1.224.2.1
diff -u -r1.224.2.1 scsi_da.c
--- scsi_da.c 26 Feb 2008 09:37:09 -0000 1.224.2.1
+++ scsi_da.c 7 Mar 2008 18:59:36 -0000
@@ -535,6 +535,14 @@
{T_DIRECT, SIP_MEDIA_REMOVABLE, "ChipsBnk", "USB*",
"*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE
},
+ {
+ /*
+ * LaCie external 250GB Hard drive des by Porsche
+ * PR: xxxxxx
+ */
+ {T_DIRECT, SIP_MEDIA_FIXED, "SAMSUNG", "HM250JI", "*"},
+ /*quirks*/ DA_Q_NO_SYNC_CACHE
+ },
};
static disk_strategy_t dastrategy;
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-usb
mailing list