From u.lilleeng@c2i.net  Sun Jan 25 09:13:48 2004
Return-Path: <u.lilleeng@c2i.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 0E81116A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 25 Jan 2004 09:13:48 -0800 (PST)
Received: from fep02-svc.swip.net (fep02.swip.net [130.244.199.130])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 39D2A43D41
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 25 Jan 2004 09:13:44 -0800 (PST)
	(envelope-from u.lilleeng@c2i.net)
Received: from c2i.net ([193.216.42.30]) by fep02-svc.swip.net with ESMTP
          id <20040125171341.SFZY27113.fep02-svc.swip.net@c2i.net>
          for <FreeBSD-gnats-submit@freebsd.org>;
          Sun, 25 Jan 2004 18:13:41 +0100
Received: from c2i.net (localhost.faugli [127.0.0.1])
	by c2i.net (Postfix) with ESMTP id EA595B92F
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 25 Jan 2004 18:14:28 +0100 (CET)
Received: (from u.lilleeng@localhost)
	by c2i.net (8.12.10/8.12.9/Submit) id i0PHESDO024074;
	Sun, 25 Jan 2004 18:14:28 +0100 (CET)
Message-Id: <200401251714.i0PHESDO024074@c2i.net>
Date: Sun, 25 Jan 2004 18:14:28 +0100 (CET)
From: Ulf Lilleengen <lulf@kerneled.com>
Reply-To: Ulf Lilleengen <lulf@kerneled.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Umass reset of device failiure
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         61891
>Category:       kern
>Synopsis:       Umass reset of device failiure
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 25 09:20:17 PST 2004
>Closed-Date:    Mon Aug 30 12:17:07 GMT 2004
>Last-Modified:  Mon Aug 30 12:17:07 GMT 2004
>Originator:     Ulf Lilleengen
>Release:        FreeBSD 5.2-RELEASE i386
>Organization:
none
>Environment:
System: FreeBSD lulflap.faugli 5.2-RELEASE FreeBSD 5.2-RELEASE #9: Tue Jan 13 21:10:22 CET 2004 lulf@lulflap.faugli:/usr/obj/usr/src/sys/LULFLAP i386

Whitebox CL 50 (Centrino, Pentium M 1500 MHz, 512 MB RAM, 60 GB 5400 RPM, MP3 player: Apacer Audio Steno 300BP)
>Description:
My mp3-player, Apacer Audio Steno BP300 gets BBB reset failiure, BBB bulk-in clear stall failiure and BBB bulk-out clear stall failiure (STALLED). dmesg of usb initialisation follows. It gives up after a number of tries.
>How-To-Repeat:
	Try using an Apacer Audio Steno BP300 with FreeBSD 5.2-RELEASE.
>Fix:

	

--- umass_dmesg.txt begins here ---
uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0x1200-0x121f irq 10 at device 29.0 on pci0
usb0: <Intel 82801DB (ICH4) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ums0: Microsoft Microsoft 3-Button Mouse with IntelliEye(TM), rev 1.10/3.00, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.
uhci1: <Intel 82801DB (ICH4) USB controller USB-B> port 0x1600-0x161f irq 11 at device 29.1 on pci0
usb1: <Intel 82801DB (ICH4) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
umass0: MP3 Player ASBP300 Player, rev 1.10/0.01, addr 2
umass0: Get Max Lun not supported (STALLED)
umass0:0:0:-1: Attached to scbus0
uhci2: <Intel 82801DB (ICH4) USB controller USB-C> port 0x1700-0x171f irq 11 at device 29.2 on pci0
usb2: <Intel 82801DB (ICH4) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
GEOM: create disk da0 dp=0xc4820050
GEOM: new disk da0
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <SigmaTel ASBP300 Player 0001> Removable Direct Access SCSI-4 device 
da0: Serial Number                     
da0: 1.000MB/s transfers
da0: 123MB (251904 512 byte sectors: 64H 32S/T 123C)
[0] f:80 typ:6 s(CHS):0/1/16 e(CHS):499/15/32 s:47 l:251857
[1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
[2] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
[3] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
GEOM: Configure da0s1, start 24064 length 128950784 end 128974847
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x10, scsi status == 0x0
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
(da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
(da0:umass-sim0:0:0:0): Retrying Command
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
(da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
(da0:umass-sim0:0:0:0): Retrying Command
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
(da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
(da0:umass-sim0:0:0:0): Retrying Command
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
(da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
(da0:umass-sim0:0:0:0): Retrying Command
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
(da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
(da0:umass-sim0:0:0:0): error 5
(da0:umass-sim0:0:0:0): Retries Exausted
Opened disk da0 -> 5
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
(da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
(da0:umass-sim0:0:0:0): Retrying Command
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
(da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
(da0:umass-sim0:0:0:0): Retrying Command
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
(da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
(da0:umass-sim0:0:0:0): Retrying Command
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
(da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
(da0:umass-sim0:0:0:0): Retrying Command
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
(da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
(da0:umass-sim0:0:0:0): error 5
(da0:umass-sim0:0:0:0): Retries Exausted
Opened disk da0 -> 5
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
(da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
(da0:umass-sim0:0:0:0): Retrying Command
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
(da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
(da0:umass-sim0:0:0:0): Retrying Command
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
(da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
(da0:umass-sim0:0:0:0): Retrying Command
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
(da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
(da0:umass-sim0:0:0:0): Retrying Command
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
(da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
(da0:umass-sim0:0:0:0): error 5
(da0:umass-sim0:0:0:0): Retries Exausted
Opened disk da0 -> 5
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
(da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
(da0:umass-sim0:0:0:0): Retrying Command
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
(da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
(da0:umass-sim0:0:0:0): Retrying Command
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
(da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
(da0:umass-sim0:0:0:0): Retrying Command
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
(da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
(da0:umass-sim0:0:0:0): Retrying Command
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
(da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
(da0:umass-sim0:0:0:0): error 5
(da0:umass-sim0:0:0:0): Retries Exausted
Opened disk da0 -> 5
--- umass_dmesg.txt ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: arved 
State-Changed-When: Sat Aug 28 18:20:13 GMT 2004 
State-Changed-Why:  
It looks like the device needs a quirk. 
Please read  
http://www.root.org/~nate/freebsd/quirks.html and try to find 
the right quirk. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=61891 
State-Changed-From-To: feedback->closed 
State-Changed-By: arved 
State-Changed-When: Mon Aug 30 12:16:32 GMT 2004 
State-Changed-Why:  
Submitter's email bounces: 

<lulf@kerneled.com>: host eforward4.name-services.com[64.74.96.246] said: 550 
5.7.1 Invalid recipient lulf@kerneled.com 


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