Comment 69 for bug 1191603

Revision history for this message
Paul Tagliamonte (paultag) wrote : Re: [Bug 1191603] Re: raring-updates: regression: 3.8.0-24.35 causes sporadic failure of USB audio devices

I'll test this out tonight, thanks!

On Thu, Aug 1, 2013 at 2:58 PM, Alan Stern <email address hidden> wrote:
> If it's xHCI then there's nothing I can do. If it's EHCI then the
> attached patch ought to help. For debugging purpose it writes a warning
> message to the kernel log whenever an underrun occurs, but it prevents
> the underrun from causing a failure.
>
> It turns out there are two bugs in the snd-usb-audio driver, either of
> which may be affecting you. There's a patch for one of the bugs at
> <http://marc.info/?l=linux-usb&m=137288343602140&w=2>, but there's no
> fix for the other bug (not enough URBs submitted).
>
> ** Attachment added: "Accept URB submissions during underruns, with a warning"
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1191603/+attachment/3757297/+files/ehci-iso-accept
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1191603
>
> Title:
> raring-updates: regression: 3.8.0-24.35 causes sporadic failure of USB
> audio devices
>
> Status in “linux” package in Ubuntu:
> Triaged
>
> Bug description:
> The 3.8.0-24.35 kernel update in raring introduced sporadic failure of
> USB audio devices. The symptoms are that the device suddenly stops
> working and you get the following dmesg output:
>
> [ 7532.838274] cannot submit urb (err = -18)
> [ 7532.838283] cannot submit urb (err = -18)
> [ 7532.838291] cannot submit urb (err = -18)
> [ 7532.842224] delay: estimated 288, actual 96
> [ 7532.922160] delay: estimated 432, actual 96
>
> This bug has been introduced by the following commits (UHCI: implement new semantics for URB_ISO_ASAP, OHCI: implement new semantics for URB_ISO_ASAP):
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=c44b225077bb1fb25ed5cd5c4f226897b91bedd4
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=6a41b4d3fe8cd4cc95181516fc6fba7b1747a27c
>
> A fix has been released (USB: fix latency in uhci-hcd and ohci-hcd):
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=e1944017839d7dfbf7329fac4bdec8b4050edf5e
>
> The fix hasn't been backported to 3.8 yet, but as this bug was
> introduced to raring by pulling upstream kernel changes, it would be
> nice to backport the fix to raring as soon as possible.
>
> For further reference:
> http://markmail.org/message/gt554vejrjkutsfw#query:+page:1+mid:gt554vejrjkutsfw+state:results
> https://bbs.archlinux.org/viewtopic.php?id=163891
> http://comments.gmane.org/gmane.linux.usb.general/85343
> http://lists.opensuse.org/opensuse-bugs/2013-05/msg01617.html
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1191603/+subscriptions

--
All programmers are playwrights, and all computers are lousy actors.

#define sizeof(x) rand()
:wq