Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Mar 2003 08:00:22 +1100 (EST)
From:      Mark Andrews <marka@isc.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/48931: LEXAR DIGITAL FILM cannot be accessed
Message-ID:  <200303042100.h24L0MOv012105@drugs.dv.isc.org>

next in thread | raw e-mail | index | archive | help

>Number:         48931
>Category:       kern
>Synopsis:       LEXAR DIGITAL FILM cannot be accessed
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 04 13:10:06 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Mark Andrews
>Release:        FreeBSD 4.8-RC i386
>Organization:
ISC
>Environment:
System: FreeBSD drugs.dv.isc.org 4.8-RC FreeBSD 4.8-RC #4: Tue Mar 4 12:59:01 EST 2003 marka@drugs.dv.isc.org:/usr/obj/usr/src/sys/DRUGS i386


>Description:
	
	Dell ship 16MB usb memory stick that probes at the usb and scsi levels
	as:

Mar  4 13:38:37 drugs /kernel: umass0: LEXR PLUG DRIVE LEXR PLUG DRIVE, rev 1.10/0.01, addr 2

Mar  4 13:38:37 drugs /kernel: da0 at umass-sim0 bus 0 target 0 lun 0
Mar  4 13:38:37 drugs /kernel: da0: <LEXAR DIGITAL FILM /W1.> Removable Direct Access SCSI-2 device 
Mar  4 13:38:37 drugs /kernel: da0: 650KB/s transfers
Mar  4 13:38:37 drugs /kernel: da0: 15MB (31232 512 byte sectors: 64H 32S/T 15C)

	This is not readable without setting quirks.

>How-To-Repeat:
	
	Obtain said stick and attempt to read from /dev/da0.

>Fix:

Index: cam/scsi/scsi_da.c
===================================================================
RCS file: /home/ncvs/src/sys/cam/scsi/scsi_da.c,v
retrieving revision 1.42.2.30
diff -u -r1.42.2.30 scsi_da.c
--- cam/scsi/scsi_da.c	2002/12/20 15:20:25	1.42.2.30
+++ cam/scsi/scsi_da.c	2003/03/04 20:52:08
@@ -399,6 +399,13 @@
 		 */
 		{T_DIRECT, SIP_MEDIA_REMOVABLE, "HP", "USB CAMERA", "*"},
 		/*quirks*/ DA_Q_NO_6_BYTE
+	},
+	{
+		/*
+		 * Dell memory stick.
+		 */
+		{T_DIRECT, SIP_MEDIA_REMOVABLE, "LEXAR", "DIGITAL FILM", "*"},
+		/*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE
 	}
 };
 

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303042100.h24L0MOv012105>