From owner-freebsd-bugs Mon Jul 23 2:10:16 2001 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 15A7E37B406 for ; Mon, 23 Jul 2001 02:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f6N9A0b83059; Mon, 23 Jul 2001 02:10:00 -0700 (PDT) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 0737637B407 for ; 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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/29160: mount of NIKON Coolpix 995 via umass driver 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: 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 + */ + {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