From owner-freebsd-usb@FreeBSD.ORG Tue Aug 14 15:01:17 2007 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11CE016A418 for ; Tue, 14 Aug 2007 15:01:17 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe02.swip.net [212.247.154.33]) by mx1.freebsd.org (Postfix) with ESMTP id A4F1313C46A for ; Tue, 14 Aug 2007 15:01:16 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [194.248.135.20] (account mc467741@c2i.net HELO laptop.lan) by mailfe02.swip.net (CommuniGate Pro SMTP 5.1.10) with ESMTPA id 579611014; Tue, 14 Aug 2007 17:01:14 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org, Khairil Yusof Date: Tue, 14 Aug 2007 17:01:24 +0200 User-Agent: KMail/1.9.7 References: <200708140300.l7E30EAf011416@freefall.freebsd.org> In-Reply-To: <200708140300.l7E30EAf011416@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200708141701.25433.hselasky@c2i.net> Cc: Subject: Re: usb/105186: USB 2.0/ehci on FreeBSD 6.2-PRE/AMD64 crashes box X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2007 15:01:17 -0000 On Tuesday 14 August 2007, Khairil Yusof wrote: > The following reply was made to PR usb/105186; it has been noted by GNATS. > > From: Khairil Yusof > To: bug-followup@FreeBSD.org, ohartman@zedat.fu-berlin.de > Cc: > Subject: Re: usb/105186: USB 2.0/ehci on FreeBSD 6.2-PRE/AMD64 crashes box > Date: Tue, 14 Aug 2007 10:20:36 +0800 > > I tried it with the new usb driver. More concerned with stability. > > > RELEASE 6.2 AMD64 > > - stock ehci driver, it will just reboot. > - stock ohci driver, more stable, but eventually under heavy IO > it will crash and reboot. > - usb4bsd ohci driver + atausb, stable, no errors. > - usb4bsd ehci driver + umass, it will hang > - usb4bsd ehci driver + atausb, it will hang, but recover after > g_vfs > timeout > > The following are the results of usb4bsd ehci driver + atausb > when it > hangs: Hi, You can turn on more debugging in "umass" by: sysctl hw.usb.umass.debug=-1 With /usr/src/sys/dev/ata/ata-usb.c: Change the following variable manually to "5". static const int atausbdebug = 0; Then recompile the atausb module or kernel. When it hangs the debug output is of interest. --HPS