[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#751408: linux-3.2: xhci_hcd: "ERR: no room for command on command ring"



Source: linux
Version: 3.2.57-3
Severity: important

Hi,

On some laptops such as HP's ZBook 15 that only have USB 3 ports, I
can reproducibly make the kernel ignore usb devices, in which case
syslog reads as follows:

ERROR no room on ep ring
ERR: No room for command on command ring
device not accepting address 5, error -12
couldn't allocate port 6 usb_device

So far I have reproduced it by plugging a USB 2.0 device on any of the
ports, by doing it several times (plugging & unplugging) the kernel
reaches the state where plugging again any device leads to the above
error.

Searching for the error message on $subject it shows several reports
of the same problem.

This problem can no longer be reproduced with a  kernel backported
from jessie/sid.

So, searching a bit on the git log leads to the following commits:

"xhci: Reset reserved command ring TRBs on cleanup. " - likely to fix
the no room for command bug
https://github.com/torvalds/linux/commit/33b2831ac870d50cc8e01c317b07fb1e69c13fe1

"xHCI: add aborting command ring function" - unlikely to be it, but
maybe a fix for other bugs
https://github.com/torvalds/linux/commit/b92cc66c047ff7cf587b318fe377061a353c120f

"xHCI: dynamic ring expansion" - likely to fix other bugs, and maybe
help on this one
https://github.com/torvalds/linux/commit/8dfec6140fc617b932cf9a09ba46d0ee3f3a7d87

I intend to test those, but sending the report in advance.

Cheers,
-- 
Raphael Geissert - Debian Developer
www.debian.org - get.debian.net


Reply to: