← Back to team overview

kernel-packages team mailing list archive

[Bug 1191603] Re: raring-updates: regression: 3.8.0-24.35 causes sporadic failure of USB audio devices

 

The debugging output indicates that interrupts were disabled for
something like 9 ms, which means the problem is caused by some other
part of the kernel, not by ohci-hcd.

To debug farther, use the ftrace facility.  Complete instructions are in
Documentation/trace/ftrace.txt, if you're interested.  For our purposes
here, you should start the irqsoff tracer just before running a test:

   cd /sys/kernel/debug/tracing
   echo 0 > options/function-trace
   echo irqsoff > current_tracer
   echo 1 > tracing_on
   echo 0 > tracing_max_latency
   ... run the test ...
   echo 0 > tracing_on
   cat trace

The contents of the "trace" file are what we need to see.  You can do
this with the regular ohci-hcd driver; the diagnostic patch isn't
necessary.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
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