From owner-freebsd-bugs Wed Jan 23 5: 0:12 2002 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 3703337B41B for ; Wed, 23 Jan 2002 05:00:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0ND01J52470; Wed, 23 Jan 2002 05:00:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 171CE37B416 for ; Wed, 23 Jan 2002 04:55:59 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0NCtxh50450; Wed, 23 Jan 2002 04:55:59 -0800 (PST) (envelope-from nobody) Message-Id: <200201231255.g0NCtxh50450@freefall.freebsd.org> Date: Wed, 23 Jan 2002 04:55:59 -0800 (PST) From: Kensaku MASUDA To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/34204: memory device, But can not use 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: 34204 >Category: kern >Synopsis: memory device, But can not use >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jan 23 05:00:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Kensaku MASUDA >Release: Detect USB 4.5-RC >Organization: >Environment: FreeBSD uzume.greg.rim.or.jp 4.5-RC FreeBSD 4.5-RC #3: Wed Jan 23 21:30:03 JST 2002 greg@uzume.greg.rim.or.jp:/export/src/system-4-stable/src/sys/compile/uzume.greg.rim.or.jp i386 >Description: /kernel: umass0: M-Systems DiskOnKey, rev 1.00/2.00, addr 4 /kernel: da0: 650KB/s transfers /kernel: da0: 31MB (63648 512 byte sectors: 64H 32S/T 31C) /kernel: da0: reading primary partition table: error reading fsbn 0 /kernel: (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 >How-To-Repeat: connect the device and mount anywhere. Ex) # mount -t msdos /dev/da0 /mnt >Fix: --- scsi_da.c.orig Wed Jan 23 21:25:04 2002 +++ scsi_da.c Wed Jan 23 21:29:57 2002 @@ -225,6 +225,11 @@ /* Below a list of quirks for USB devices supported by umass. */ { + /* IBM/IO-DATA/etc USB Flash memory */ + {T_DIRECT, SIP_MEDIA_REMOVABLE, "M-Sys", "DiskOnKey", "*"}, + /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE + }, + { /* * This USB floppy drive uses the UFI command set. This * command set is a derivative of the ATAPI command set and >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message