From ripley@server.nostromo.in-berlin.de  Mon Jun 24 13:55:08 2002
Return-Path: <ripley@server.nostromo.in-berlin.de>
Received: from hirsch.in-berlin.de (hirsch.in-berlin.de [192.109.42.6])
	by hub.freebsd.org (Postfix) with ESMTP id 2BAF937B401
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 24 Jun 2002 13:55:07 -0700 (PDT)
Received: from hirsch.in-berlin.de (localhost [127.0.0.1])
	by hirsch.in-berlin.de (8.12.1/8.12.1/Debian -2) with ESMTP id g5OKt1pq005240
	(version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT)
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 24 Jun 2002 22:55:02 +0200
Received: (from uucp@localhost)
	by hirsch.in-berlin.de (8.12.1/8.12.1/Debian -2) with UUCP id g5OKt11I005234
	for FreeBSD-gnats-submit@freebsd.org; Mon, 24 Jun 2002 22:55:01 +0200
Received: (from ripley@localhost)
	by server.nostromo.in-berlin.de (8.9.3/8.9.3) id WAA87813;
	Mon, 24 Jun 2002 22:50:56 +0200 (CEST)
	(envelope-from ripley)
Message-Id: <200206242050.WAA87813@server.nostromo.in-berlin.de>
Date: Mon, 24 Jun 2002 22:50:56 +0200 (CEST)
From: "H. Eckert" <ripley@nostromo.in-berlin.de>
Reply-To: ripley@nostromo.in-berlin.de
To: FreeBSD-gnats-submit@freebsd.org
Subject: 4.6R install panics with umass0 device connected
X-Send-Pr-Version: 3.2

>Number:         39805
>Category:       kern
>Synopsis:       4.6R install panics with umass0 device connected
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-usb
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 24 14:00:05 PDT 2002
>Closed-Date:    Wed Mar 23 01:54:11 GMT 2005
>Last-Modified:  Wed Mar 23 01:54:11 GMT 2005
>Originator:     H. Eckert
>Release:        FreeBSD 4.6-RELEASE
>Organization:
Individual Network Berlin e.V.
>Environment:

ASUS A7N266-C mainboard with AMD Athlon XP 2000+, Dazzle 6in1 internally
connected multimedia drive for Compact Flash, Smart Media, etc. storage
cards.
The device reports as follows:
umass0: SCM Microsystems Inc. TARGA 6in1 reader, rev. 1.10/5.07. addr 2

>Description:

With lots of delay after the ATAPI CD drives, the umass0 driver reports
umass0: Invalid CSW: tag 0 should be 13.
Sysinstall shows "Probing devices, please wait" and the kernel panics with

panic: integer divide fault


>How-To-Repeat:

Insert 4.6 CD in my machine and boot it.

>Fix:

Physically disconnect the drive or disable USB in BIOS.  Probably
inserting a CF or similar card into the drive could work too,
but unfortunatly I don't have any for the time being.  

>Release-Note:
>Audit-Trail:

From: ripley@nostromo.in-berlin.de
To: freebsd-gnats-submit@FreeBSD.org
Cc: ripley@nostromo.in-berlin.de
Subject: Re: kern/39805: 4.6R install panics with umass0 device conne
Date: Thu, 4 Jul 2002 12:16:57 +0200

 Further investigation indicates the umass0 driver is allergic to the device.
 I can look up the virtual scsi bus with camcontrol but any access to
 the device (like "fdisk da0" with medium inserted) results in a panic.
 
 It seems there are two issues at hand:
 1.) The device is not accessed properly (presumably it should just be
 like any other generic mass storage USB drive)
 2.) The driver's reaction on error conditions is faulty.
 
 
State-Changed-From-To: open->feedback 
State-Changed-By: kris 
State-Changed-When: Mon Jul 14 03:31:57 PDT 2003 
State-Changed-Why:  
Does this problem persist in recent releases?  If so, 
please obtain a debugging traceback as explained in 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html 

http://www.freebsd.org/cgi/query-pr.cgi?pr=39805 
Responsible-Changed-From-To: freebsd-bugs->joe 
Responsible-Changed-By: kris 
Responsible-Changed-When: Thu Jul 17 17:50:13 PDT 2003 
Responsible-Changed-Why:  
Assign to USB maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=39805 
Responsible-Changed-From-To: joe->freebsd-usb 
Responsible-Changed-By: joe 
Responsible-Changed-When: Wed Nov 10 10:57:03 GMT 2004 
Responsible-Changed-Why:  
Hand this over to the usb mailling list. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=39805 
State-Changed-From-To: feedback->closed 
State-Changed-By: iedowse 
State-Changed-When: Wed Mar 23 01:53:43 GMT 2005 
State-Changed-Why:  

Feedback timed out. 

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