Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jan 2002 04:55:59 -0800 (PST)
From:      Kensaku MASUDA <greg@greg.rim.or.jp>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/34204: memory device, But can not use
Message-ID:  <200201231255.g0NCtxh50450@freefall.freebsd.org>

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

>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




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