Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Aug 2001 21:15:24 -0700 (PDT)
From:      "Eugene M. Kim" <gene@nttmcl.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/29530: KingByte USB Pen Drive doesn't work with FreeBSD
Message-ID:  <200108080415.f784FO631724@freefall.freebsd.org>

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

>Number:         29530
>Category:       kern
>Synopsis:       KingByte USB Pen Drive doesn't work with FreeBSD
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 07 21:20:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Eugene M. Kim
>Release:        4-STABLE (based on 4.3-RELEASE)
>Organization:
NTT Multimedia Communications Laboratories, Inc.
>Environment:
Any FreeBSD machine with KingByte USB Pen Drive (http://www.kingbyte.com/products/pendrive.htm) installed.

FreeBSD daal.astralblue.net 4.3-STABLE FreeBSD 4.3-STABLE #2: Wed Aug  8 05:58:25 KST 2001     root@daal.astralblue.net:/home/root/build/usr/obj/usr/src/sys/PL-DAAL-4  i386
>Description:
Any program that tries to read/write data from/to KingByte Pen Drives will hang in a non-killable state.  This is because Pen Drives, like some other flash-based drives, don't support 6-byte SCSI READ commands.
>How-To-Repeat:
Access the Pen Drive using programs like dd(1) as in: dd if=/dev/da0 of=/dev/null count=1
>Fix:
Add the following quirk entry to src/sys/cam/scsi/scsi_da.c:

	{
		/*
		 * KingByte Pen Drives
		 * do not support READ_6 commands, only READ_10. 
		 */
		{T_DIRECT, SIP_MEDIA_REMOVABLE, "NO BRAND", "PEN DRIVE", "*"},
		/*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?200108080415.f784FO631724>