From owner-freebsd-bugs Mon Oct 1 20:10:10 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 8753637B40B for ; Mon, 1 Oct 2001 20:10:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f923A1h95562; Mon, 1 Oct 2001 20:10:01 -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 E95E337B407 for ; Mon, 1 Oct 2001 20:07:09 -0700 (PDT) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f92379T95403; Mon, 1 Oct 2001 20:07:09 -0700 (PDT) (envelope-from nobody) Message-Id: <200110020307.f92379T95403@freefall.freebsd.org> Date: Mon, 1 Oct 2001 20:07:09 -0700 (PDT) From: Michael Hoisie To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/30980: Nikon Coolpic 995 is supported incorrectly 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: 30980 >Category: kern >Synopsis: Nikon Coolpic 995 is supported incorrectly >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Oct 01 20:10:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Michael Hoisie >Release: 4.4-release >Organization: Los Alamos High School >Environment: FreeBSD localhost.localdomain 4.4-STABLE FreeBSD 4.4-STABLE #8: Sun Sep 30 20:26:07 MDT 2001 async@localhost.localdomain:/usr/obj/usr/src/sys/PHIRELORD_D i386 >Description: Without patching /usr/src/sys/cam/scsi/scsi_da.c, trying to mount the camera (mount_msdos /dev/da0s1 /cam) gives errors. This is because the kernel sends incorrect read commands to the camera. Adding two lines of code to /usr/src/sys/cam/scsi/scsi_da.c fixes the problem. >How-To-Repeat: plug in a nikon coolpix 995 to the usb port and try to mount it. >Fix: add the following to /usr/src/sys/cam/scsi/scsi_da.c (line 240): { {T_DIRECT, SIP_MEDIA_REMOVABLE, "NIKON", "NIKON DSC E995", "*"}, /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE }, >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message