Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Oct 2001 05:19:20 -0700 (PDT)
From:      Bryan Liesner <bleez@bellatlantic.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/31250: Cannot mount an Olympus D-370 camera as a umass device
Message-ID:  <200110131219.f9DCJKe02942@freefall.freebsd.org>

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

>Number:         31250
>Category:       kern
>Synopsis:       Cannot mount an Olympus D-370 camera as a umass device
>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:   Sat Oct 13 05:20:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Bryan Liesner
>Release:        4.4-stable
>Organization:
>Environment:
FreeBSD gravy.kishka.net 4.4-STABLE FreeBSD 4.4-STABLE #0: Sat Oct 13 07:43:42 EDT 2001     bryan@gravy.kishka.net:/usr/src/sys/compile/GRAVY  i386

>Description:
This applies to an Olympus D-370 digital camera with storage class usb.

After compiling a kernel with scbus, da, pass, and umass support, mount_msdos /dev/da0s1 /mnt gives the following result:
Oct 13 07:50:18 gravy /kernel: (da0:umass-sim0:0:0:0): READ(06). CDB: 8 0 0 0 1
Oct 13 07:50:18 gravy /kernel: (da0:umass-sim0:0:0:0): ILLEGAL REQUEST asc:20,0
Oct 13 07:50:18 gravy /kernel: (da0:umass-sim0:0:0:0): Invalid command operation
Oct 13 07:50:18 gravy /kernel: da0: reading primary partition table: error reading fsbn 0
~



>How-To-Repeat:
Try to mount the camera as described above
>Fix:
Apply this patch:

--- /usr/src/sys/cam/scsi/scsi_da.c Mon Sep 24 11:23:55 2001
+++ scsi_da.c   Sat Oct 13 07:29:06 2001
@@ -243,12 +243,20 @@
         * do not support READ_6 commands, only READ_10.
         */
        {T_DIRECT, SIP_MEDIA_REMOVABLE, "Sony", "Sony DSC", "*"},
        /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE
    },
    {
+       /*
+        * Olympus D series cameras do not support READ_6
+        * commands
+        */
+       {T_DIRECT, SIP_MEDIA_REMOVABLE, "OLYMPUS", "D*", "*"},
+       /*quirks*/ DA_Q_NO_6_BYTE
+   },
+   {
        {T_OPTICAL, SIP_MEDIA_REMOVABLE, "FUJITSU", "MCF3064AP", "*"},
        /*quirks*/ DA_Q_NO_6_BYTE
    }
 };

 static d_open_t    daopen;


>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?200110131219.f9DCJKe02942>