From owner-freebsd-bugs Tue Aug 7 21:20: 7 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9AE6C37B405 for ; Tue, 7 Aug 2001 21:20:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f784K0f32145; Tue, 7 Aug 2001 21:20:00 -0700 (PDT) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1820D37B401 for ; Tue, 7 Aug 2001 21:15:24 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f784FO631724; Tue, 7 Aug 2001 21:15:24 -0700 (PDT) (envelope-from nobody) Message-Id: <200108080415.f784FO631724@freefall.freebsd.org> Date: Tue, 7 Aug 2001 21:15:24 -0700 (PDT) From: "Eugene M. Kim" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/29530: KingByte USB Pen Drive doesn't work with FreeBSD Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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