From owner-freebsd-usb@FreeBSD.ORG Sun Aug 9 16:40:53 2009 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 80CAE106566B for ; Sun, 9 Aug 2009 16:40:53 +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 190498FC19 for ; Sun, 9 Aug 2009 16:40:52 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=hlIU1J3LQChSjWV/CGRL5g==:17 a=hSDX1EG_3K7NmYaF37gA:9 a=qDBUnqhk9ghoLTTD4b8A:7 a=w0pp6RHJOMcATHwMDw4e1tGlCUgA:4 Received: from [193.217.167.6] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe02.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 1302558546; Sun, 09 Aug 2009 18:40:51 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sun, 9 Aug 2009 18:40:53 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA2; KDE/4.2.4; i386; ; ) References: <20090809.102341.2106235641.imp@bsdimp.com> In-Reply-To: <20090809.102341.2106235641.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200908091840.55000.hselasky@c2i.net> Cc: Subject: Re: Performance issues 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: Sun, 09 Aug 2009 16:40:53 -0000 On Sunday 09 August 2009 18:23:41 M. Warner Losh wrote: > Any ideas how to track this down? Hi, USB is only draining from "usbd_transfer_drain()" in /sys/dev/usb/usb_transfer.c . You could add a print including the backtrace and see if that function gets called when it freezes. Else I would try to compile a fresh kernel from USB P4. There are some patches there in relation to the recent newbus lock change, that might help. USB uses uppercase "WDRAIN". Is your printout lowercase "wdrain" ? --HPS