Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 May 2011 01:25:48 -0700
From:      Julian Elischer <julian@freebsd.org>
To:        "Daniel O'Connor" <doconnor@gsoft.com.au>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: USB driver locking
Message-ID:  <4DDCBD0C.2060002@freebsd.org>
In-Reply-To: <AA46858A-C518-48DA-8CFE-58256849287D@gsoft.com.au>
References:  <91D613ED-CA0F-41BF-AD53-2FD42529DCF8@gsoft.com.au>	<201105250933.13255.hselasky@c2i.net>	<99FAD844-DDC8-4C3D-8117-0887CB893728@gsoft.com.au>	<201105250951.53498.hselasky@c2i.net> <AA46858A-C518-48DA-8CFE-58256849287D@gsoft.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On 5/25/11 12:54 AM, Daniel O'Connor wrote:
> On 25/05/2011, at 9:51, Hans Petter Selasky wrote:
>>>> current. There is also a new utility called usbdump, which can be used to
>>>> figure out what is going on.
>>> I am running 9-current (in production for my sins..)
>>>
>>> usbdump is useful but consumes too much CPU at my data rate :(
>> You probably need an USB analyzer to figure out the real problem. Have you
>> tried to start usbdump only once the problem happens?
> I'll try and cook something up to run it when the problem happens.
hans and Daniel,
I suggest you put some KTR points into the driver and trace some 
crucial information using that.
it is capable of keeping up with very fast stuff with small disturbance.
Just the basic info.. you get 5 x 64 bit arguments.  (or is it 6?)
which is enough space for quite a bit of stuff to be logged.

> --
> Daniel O'Connor software and network engineer
> for Genesis Software - http://www.gsoft.com.au
> "The nice thing about standards is that there
> are so many of them to choose from."
>    -- Andrew Tanenbaum
> GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
>
>
>
>
>
>
> _______________________________________________
> freebsd-usb@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-usb
> To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org"
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DDCBD0C.2060002>