Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jul 2001 02:03:02 -0700 (PDT)
From:      Roman Pavlik <rp@gnupg.cz>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/29160: mount of NIKON Coolpix 995 via umass driver
Message-ID:  <200107230903.f6N932Y79113@freefall.freebsd.org>

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

>Number:         29160
>Category:       kern
>Synopsis:       mount of NIKON Coolpix 995 via umass driver
>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:   Mon Jul 23 02:10:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Roman Pavlik
>Release:        FreeBSD 4.3-RELEASE
>Organization:
>Environment:
FreeBSD tosha.in.skynet.cz 4.3-RELEASE FreeBSD 4.3-RELEASE #11: Mon Jul 23 10:26:39 CEST 2001     root@tosha.in.skynet.cz:/usr/src/sys/compile/TOSHA  i386

>Description:
Nikon Coolpix 995 digital camera do not like READ(6) command. The
mount command fail and the following error messages appear:
Jul 17 08:46:32 tosha /kernel: (da0:umass-sim0:0:0:0): READ(06). CDB: 8 0 0 0 1 
0 
Jul 17 08:46:32 tosha /kernel: (da0:umass-sim0:0:0:0): ILLEGAL REQUEST asc:20,0
Jul 17 08:46:32 tosha /kernel: (da0:umass-sim0:0:0:0): Invalid command operation
 code
Jul 17 08:46:32 tosha /kernel: da0: reading primary partition table: error readi
ng fsbn 0

>How-To-Repeat:

>Fix:
The problem is solved by the following patch:
*** /usr/src/sys/cam/scsi/scsi_da.c.orig        Wed Apr 18 05:48:53 2001
--- /usr/src/sys/cam/scsi/scsi_da.c     Mon Jul 23 10:24:00 2001
***************
*** 244,249 ****
--- 244,257 ----
                {T_DIRECT, SIP_MEDIA_REMOVABLE, "Sony", "Sony DSC", "*"},
                /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE
        },
+         {
+                      /*
+                      * Nikon digital camera Coolpix 995 
+                      * do not support READ_6 commands, only READ_10. 
+                      * Reported by <rp@gnupg.cz>
+                      */
+                      {T_DIRECT, SIP_MEDIA_REMOVABLE, "NIKON", "NIKON DSC E995"
, "*"},
+                      /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE
+         },
        {
                {T_OPTICAL, SIP_MEDIA_REMOVABLE, "FUJITSU", "MCF3064AP", "*"},
                /*quirks*/ DA_Q_NO_6_BYTE

>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?200107230903.f6N932Y79113>