Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Aug 2009 10:55:07 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        hselasky@c2i.net
Cc:        freebsd-usb@freebsd.org
Subject:   Re: Performance issues
Message-ID:  <20090809.105507.-646227496.imp@bsdimp.com>
In-Reply-To: <200908091840.55000.hselasky@c2i.net>
References:  <20090809.102341.2106235641.imp@bsdimp.com> <200908091840.55000.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <200908091840.55000.hselasky@c2i.net>
            Hans Petter Selasky <hselasky@c2i.net> writes:
: 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.

Ummm.  No.  Adding a traceback print to a function that's called 60
times a second in steady state doesn't seem like a viable option.

: 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.

This kernel predates the newbus lock change.

: USB uses uppercase "WDRAIN". Is your printout lowercase "wdrain" ?

Yes.

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090809.105507.-646227496.imp>