From julian@elischer.org  Thu May  5 04:56:28 2005
Return-Path: <julian@elischer.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 94FC216A4D0; Thu,  5 May 2005 04:56:28 +0000 (GMT)
Received: from delight.idiom.com (delight.idiom.com [216.240.32.16])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 2E71343DAA; Thu,  5 May 2005 04:56:28 +0000 (GMT)
	(envelope-from julian@elischer.org)
Received: from idiom.com (idiom.com [216.240.32.1])
	by delight.idiom.com (Postfix) with ESMTP id A00281F554D;
	Wed,  4 May 2005 20:59:47 -0700 (PDT)
Received: from [192.168.2.3] (home.elischer.org [216.240.48.38])
	by idiom.com (8.12.11/8.12.11) with ESMTP id j453xjTA043648;
	Wed, 4 May 2005 20:59:47 -0700 (PDT)
	(envelope-from julian@elischer.org)
Message-Id: <42799A31.5040409@elischer.org>
Date: Wed, 04 May 2005 20:59:45 -0700
From: Julian Elischer <julian@elischer.org>
To: Helge Oldach <usbcrash@oldach.net>
Cc: FreeBSD-gnats-submit@freebsd.org,
	Julian Elischer <julian@freebsd.org>
In-Reply-To: <200505042226.j44MQq2n004793@sep.oldach.net>
Subject: Re: recent USB MFCs cause panics
References: <200505042226.j44MQq2n004793@sep.oldach.net>

>Number:         80638
>Category:       i386
>Synopsis:       Re: recent USB MFCs cause panics
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 05 05:00:15 GMT 2005
>Closed-Date:    Fri May 06 16:30:18 GMT 2005
>Last-Modified:  Fri May 06 16:30:18 GMT 2005
>Originator:     
>Release:        
>Organization:
>Environment:
>Description:
 Helge Oldach wrote:
 >>Submitter-Id:	current-users
 >>Originator:	Helge Oldach
 >>Organization:	
 >>Confidential:	no 
 >>Synopsis:	recent USB MFCs cause panics
 >>Severity:	critical 
 >>Priority:	high 
 >>Category:	i386
 >>Class:		sw-bug 
 >>Release:	FreeBSD 4.11-STABLE i386
 >>Environment:
 > 
 > System: FreeBSD localhost 4.11-STABLE FreeBSD 4.11-STABLE #2135: Wed May 4 23:23:16 CEST 2005 toor@localhost:/usr/obj/usr/src/sys/GENERIC i386
 > 
 > 
 > 	
 > 
 >>Description:
 > 
 > 
 > I rebuilt my machine today and thus incorporated the USB changes that
 > have been MFC'd some days ago by julian@. Now I observe duplicated dmesg
 > entries for all newly attached USB devices, e.g.
 > 
 > umass0: USB Solid state disk, rev 1.10/1.00, addr 4
 > umass0: USB Solid state disk, rev 1.10/1.00, addr 4
 
 I believe the duplicate messages are not a problem.
 just cosmetic..
 
 > 
 > Worse, the machine crashes when I remove USB sticks (tried various
 > models, all behave the same), saying
 
 I will try this tonight..
 
 > 
 > 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
 > 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
 > umass0: at uhub1 port 2 (addr 4) disconnected
 > umass0: detached
 > 
 > 
 > Fatal trap 12:: BBB reset failed, STALLED
 >  page fault while in kernel mode
 > fault virtual address   = 0x3c
 > fault code              = supervisor read, page not present
 > instruction pointer     = 0x8:0xc016dbfe
 > stack pointer           = 0x10:0xd159af08
 > frame pointer           = 0x10:0xd159af08
 > code segment            = base 0x0, limit 0xfffff, type 0x1b
 >                         = DPL 0, pres 1, def32 1, gran 1
 > processor eflags        = interrupt enabled, resume, IOPL = 0
 > current process         = 3 (usb0)
 > interrupt mask          = none
 > trap number             = 12
 > panic: page fault
 > 
 > : BBB bulk-in clear stall failed, STALLED
 > 
 > I did already apply yesterday's change to uhub.c (1.21.2.11).
 > 
 > My previous kernel was built on 29th April and works fine. This already
 > includes the ehci, uhci and ohci changes that were done on 26th April.
 > So this problem must be related to the USB changes on 30th April.
 > 
 > 
 >>How-To-Repeat:
 > 
 > 	
 > 
 >>Fix:
 > 
 > 
 > 	
 > 
 
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Fri May 6 16:28:45 GMT 2005 
State-Changed-Why:  
Misfiled followup to i386/80628; content migrated. 


Responsible-Changed-From-To: gnats-admin->freebsd-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Fri May 6 16:28:45 GMT 2005 
Responsible-Changed-Why:  

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