Date: Sat, 07 Jun 2003 05:50:12 -0000 From: "Bruce Nourish" <bjan@kode187.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/53005: USB IntelligentStick SCSI DA quirk Message-ID: <200306070541.h575fSBA018035@rs2.luxsci.com> Resent-Message-ID: <200306070550.h575oAZi070478@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 53005
>Category: kern
>Synopsis: USB IntelligentStick SCSI DA quirk
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Jun 06 22:50:10 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Bruce Nourish
>Release: FreeBSD 4.8-RELEASE i386
>Organization:
>Environment:
System: FreeBSD euler.kode187.net 4.8-RELEASE FreeBSD 4.8-RELEASE #5: Fri Jun 6 11:35:24 MST 2003 root@euler.kode187.net:/usr/obj/usr/src/sys/THINKER i386
Stock FreeBSD 4.8.
>Description:
The USB IntelligentStick pen drive, marketed by Power Quotient
International, Inc, needs a quirks entry in /usr/src/sys/cam/scsi/scsi_da.c.
>How-To-Repeat:
Insert pen drive. Type fdisk /dev/da0. Observe console.
>Fix:
Patch follows, hope it is okay - I'm new to FreeBSD and I'm not quite sure
what to diff against - current or 4.8. I diffed against 4.8.
--- scsi_da.c.orig Fri Jun 6 14:56:04 2003
+++ scsi_da.c Fri Jun 6 14:56:49 2003
@@ -440,6 +440,16 @@
*/
{T_DIRECT, SIP_MEDIA_REMOVABLE, "SanDisk", "ImageMate*", "*"},
/*quirks*/ DA_Q_NO_6_BYTE
+ },
+ {
+ /*
+ * USB IntelligentStick, Power Quotient International, Inc.
+ * Tested by Bruce Nourish <bjan@kode187.net>
+ * Drive does not like cache sync or 6 byte commands.
+ */
+ {T_DIRECT, SIP_MEDIA_REMOVABLE, "USB Card",
+ "IntelligentStick", "*"},
+ /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE
}
};
>Release-Note:
>Audit-Trail:
>Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306070541.h575fSBA018035>
