From neil.obrien@dsl.pipex.com  Thu Mar 20 14:28:17 2003
Return-Path: <neil.obrien@dsl.pipex.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 0939637B401
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 20 Mar 2003 14:28:17 -0800 (PST)
Received: from 81-86-75-59.dsl.pipex.com (81-86-75-59.dsl.pipex.com [81.86.75.59])
	by mx1.FreeBSD.org (Postfix) with ESMTP id EFD4843F75
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 20 Mar 2003 14:28:15 -0800 (PST)
	(envelope-from neil.obrien@dsl.pipex.com)
Received: by optiplex.home (Postfix, from userid 1001)
	id 9B07570A; Thu, 20 Mar 2003 21:06:51 +0000 (GMT)
Message-Id: <20030320210651.9B07570A@optiplex.home>
Date: Thu, 20 Mar 2003 21:06:51 +0000 (GMT)
From: Neil O'Brien <neil.obrien@dsl.pipex.com>
Reply-To: Neil O'Brien <neil.obrien@dsl.pipex.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Using Alcatel SpeedTouch results in "usb0: host controller process error","usb0: host controller halted"
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         50149
>Category:       kern
>Synopsis:       Using Alcatel SpeedTouch results in "usb0: host controller process error","usb0: host controller halted"
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-usb
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 20 14:30:13 PST 2003
>Closed-Date:    Wed Mar 23 09:45:43 GMT 2005
>Last-Modified:  Wed Mar 23 09:45:43 GMT 2005
>Originator:     Neil O'Brien <neil.obrien@dsl.pipex.com>
>Release:        FreeBSD 4.7-RELEASE i386
>Organization:
>Environment:
System: FreeBSD optiplex.home 4.7-RELEASE FreeBSD 4.7-RELEASE #1: Wed Feb 26 08:05:31 GMT 2003 root@optiplex.home:/usr/src/sys/compile/OPTIPLEX i386

Kernel config as http://www.apuq79.dsl.pipex.com/OPTIPLEX
Dmesg showing problem: http://www.apuq79.dsl.pipex.com/dmesg.usb0

The only USB devices in use are Alcatel SpeedTouch USB modem and Logitech MX300.

The modem software is modem_run version 1.1, and pppoa2 version 1.1, with PPP Version 3.1 - Oct  9 2002.  The system also runs a firewall and gateway service but I do not believe these programs to have any effect on this problem.

>Description:
After booting the system, ppp connects to the internet as expected.  The system functions perfectly for a time that appears to be random, but had been as low as a few seconds and as long as eight days, before the USB devices cease to function.  The console displays the following messages:

usb0: host controller process error
usb0: host controller halted
usb0: host controller halted
...
(the "usb0: host controller halted" message is repeated until the system is rebooted)

The problem appears to occur more frequently when users are logged into the system than when the system is functioning as a gateway but no users are logged in.  It has been speculated that this is due to an increased load on the USB subsystem when local users are logged in as network (gateway) users do not often download large files but local users do.
>How-To-Repeat:
There is apparently no specific "trigger" event although the problem ocurrs regularly.
>Fix:
Unknown.  Rebooting temporarily restores functionality.

A patch that re-enables the USB sybsystem to alleviate rebooting, but which does not address the root cause, is available at http://www.mail-archive.com/speedtouch@ml.free.fr/msg03140.html
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->joe 
Responsible-Changed-By: kris 
Responsible-Changed-When: Thu Jul 17 17:33:53 PDT 2003 
Responsible-Changed-Why:  
Assign to USB maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=50149 
State-Changed-From-To: open->feedback 
State-Changed-By: joe 
State-Changed-When: Sat Nov 8 04:16:27 PST 2003 
State-Changed-Why:  
I've found that the patch at http://www.josef-k.net/freebsd/ has 
fixed this problems in the places that I've come across it.  Please 
can you try it and let me know. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=50149 
State-Changed-From-To: closed->analyzed 
State-Changed-By: joe 
State-Changed-When: Mon Nov 10 01:49:58 PST 2003 
State-Changed-Why:  
The submitter has migrated to -current and the problem has gone away.
The patch I suggested to him is basically the -current USB stack backported
to -stable and so I have every confidence that the problem will go away
in -stable once this code is committed.

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

http://www.freebsd.org/cgi/query-pr.cgi?pr=50149 
State-Changed-From-To: analyzed->feedback 
State-Changed-By: iedowse 
State-Changed-When: Wed Mar 23 02:14:12 GMT 2005 
State-Changed-Why:  

Does this problem still occur with more recent releases? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=50149 
State-Changed-From-To: feedback->closed 
State-Changed-By: iedowse 
State-Changed-When: Wed Mar 23 09:44:05 GMT 2005 
State-Changed-Why:  

Submitter says that he has not seen this problem since upgrading 
to a 5.x release - thanks! 

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