[LAD] snd-usb-audio dying on jackd xruns

Rods Bobavich rodnisms at gmail.com
Wed Feb 2 19:08:53 UTC 2011


I was looking at the wrong urb.c file. The correct one is
linux-kernel/sound/usb/urb.c

Actually the KERN_ERR is on 138 for my version triggers as line 146...

On line 460 is the second KERN_ERR.

This is all in a function called retire_capture_urb()

It appears that there is a commented continue that would drastically change
the for-loop this one is in. I wonder... Could this be the offending line?

If I'm reading the code correctly it appears to be some sort of locking
mechanism check while retiring the urb from use to make sure it is retired
when it is no longer active. Without the continue the urb will still be
retired. Perhaps this is causing something unstable?

Clemens might know more about this. I'm not that familiar with kernel code.

...Rods ;-)


On Wed, Feb 2, 2011 at 11:53, Gabriel Beddingfield <gabrbedd at gmail.com>wrote:

> This link is for a vanilla 2.6.37 kernel.  Is this the kernel you're
> running?  It was only just recently released.
>
> Also, gotta check that you're looking at the right urb.c and pcm.c
> files.  IIRC, there's more than one.
>
> -gabriel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-dev/attachments/20110202/9bf54750/attachment.html>


More information about the Linux-audio-dev mailing list