kern/53005: USB IntelligentStick SCSI DA quirk

Bruce Nourish bjan at kode187.net
Fri Jun 6 22:50:12 PDT 2003


>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 at 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 at 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:


More information about the freebsd-bugs mailing list