From nobody@FreeBSD.org  Mon Jul 23 02:03:03 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 0737637B407
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 23 Jul 2001 02:03:03 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.4/8.11.4) id f6N932Y79113;
	Mon, 23 Jul 2001 02:03:02 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200107230903.f6N932Y79113@freefall.freebsd.org>
Date: Mon, 23 Jul 2001 02:03:02 -0700 (PDT)
From: Roman Pavlik <rp@gnupg.cz>
To: freebsd-gnats-submit@FreeBSD.org
Subject: mount of NIKON Coolpix 995 via umass driver
X-Send-Pr-Version: www-1.0

>Number:         29160
>Category:       kern
>Synopsis:       mount of NIKON Coolpix 995 via umass driver
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 23 02:10:00 PDT 2001
>Closed-Date:    Sun Dec 2 16:53:28 PST 2001
>Last-Modified:  Sun Dec 02 16:56:57 PST 2001
>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:
State-Changed-From-To: open->closed 
State-Changed-By: iedowse 
State-Changed-When: Sun Dec 2 16:53:28 PST 2001 
State-Changed-Why:  

An equivalent change has already been committed to both -current 
and -stable a few weeks ago. Thanks anyway! 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=29160 
>Unformatted:
