From root@kutulu.org  Tue Nov 19 13:51:51 2002
Return-Path: <root@kutulu.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 621AC37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 19 Nov 2002 13:51:51 -0800 (PST)
Received: from basement.kutulu.org (pcp01881232pcs.longhl01.md.comcast.net [68.32.161.3])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 0F7D843E88
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 19 Nov 2002 13:51:47 -0800 (PST)
	(envelope-from root@kutulu.org)
Received: by basement.kutulu.org (Postfix, from userid 0)
	id 2B92CA92F; Tue, 19 Nov 2002 16:51:45 -0500 (EST)
Message-Id: <20021119215145.2B92CA92F@basement.kutulu.org>
Date: Tue, 19 Nov 2002 16:51:45 -0500 (EST)
From: Mike Edenfield <kutulu@kutulu.org>
Reply-To: Mike Edenfield <kutulu@kutulu.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: I/O errors & panic using HP315 digital camera.
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         45494
>Category:       kern
>Synopsis:       I/O errors & panic using HP315 digital camera.
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 19 14:00:05 PST 2002
>Closed-Date:    Sat Nov 23 14:48:49 PST 2002
>Last-Modified:  Sat Nov 23 14:48:49 PST 2002
>Originator:     Mike Edenfield
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD basement.kutulu.org 5.0-CURRENT FreeBSD 5.0-CURRENT #4: Mon Nov 18 12:49:45 EST 2002 root@basement.kutulu.org:/usr/obj/usr/src/sys/GATEWAY i386

>Description:

The kernel doesn't appear to recognize the HP315 digital camera correctly.  This causes it not to correctly pick up the 
quirks, and generates several different issues:

* Numerous BBB IOERRORS errors when attaching or detaching the camera.
* None of the partitions on the flash card are recognized.
* Panic when detaching the camera.
 
>How-To-Repeat:

>Fix:

Nate Lawson provided this patch which fixed most of the issues with the camera.  (I still have occasional problems with a 
panic during the 'syncing disks...' process at reboot if the camera has been attached/detached but it's not consistant, and 
only during a reboot.)

--- scsi_da.c.old       Thu Oct 17 14:04:41 2002
+++ scsi_da.c   Tue Nov 19 16:31:01 2002
@@ -416,7 +416,7 @@
                 * HP 315 Digital Camera
                 * PR: kern/41010
                 */
-               {T_DIRECT, SIP_MEDIA_REMOVABLE, "HP", "USB Camera*", "*"},
+               {T_DIRECT, SIP_MEDIA_REMOVABLE, "HP", "USB CAMERA*", "*"},
                /*quirks*/ DA_Q_NO_6_BYTE
        }
 };
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: njl 
State-Changed-When: Sat Nov 23 14:47:31 PST 2002 
State-Changed-Why:  
Modified patch was committed on 11/23 which fixes the problem and is more 
specific in the quirk than the previous one. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=45494 
>Unformatted:
