USB3 xhci_hcd bug, ubuntu 14.04


#1

Using ubuntu 14.04
kernel 3.13.0-61

When I connect the device to a USB3 port and start the program, I get these kernel errors:

kernel: [ 8028.550607] xhci_hcd 0000:00:14.0: WARN Event TRB for slot 4 ep 4 with no TDs queued?

This message is repeated about a thousand times per second, causing my HD to fill up with log files (/var/log/syslog & /var/log/messages) , which after a few hours crashed my laptop, and almost made it impossible to restart (reboot took about 20minutes).

Workaround: don't use an USB-3 port.


Improvements/Wishes for the patcher
#2

I did not get the kernel error, however i had the same exact problem: usb3+axoloti+ubuntu14.04 resulted in filling the var/log folder with error logs (more than 5 GB)


#3

only USB3?

I'll have a look on my mac... but I'm running vmware so may not be occurring.

a quick google, shows this is not an uncommon error, and its not really device specific
(i.e. man different devices have it, different causes) , it may be you want to try some of the solutions recommended, and then report back if you find one that works.

(it looks unlikely that its axoloti thats the root cause, more likely ubuntu config/libusb or similar)


#4

ok, as expected, I don't get the issue when running ubuntu under vmware...
so unfortunately nothing I can do to progress this... someone with a non virtual setup is going to have to take a look.


#5

true, some printers seem to cause the same issue. However, a warning when connecting to USB might be useful. I spend a whole day trying to fix issues that resulted from the disk being full.

( xhci_hcd is for powermanagement, I tried to turn it off for USB using powertop, but it doesn't seem to help. )


#6

but how does Axoloti know this is occurring? as far as I can tell its invisible to the device/software... and its not reasonable to start monitoring system files 'just in case'.

if someone has a way we can prevent this, or we know when its occurring then I'm sure something can be done...

for the moment, all I think I can do is add a 'warning' in the installation and faq guides, to check logs... but id prefer to do this, once we have a solution (over and above use a USB2 port)... also it would be nice to have some 'parameters' around this, as we don't know if its all USB3 ports on linux, or just on Ubuntu...


#7

I can confirm this issue. It is weird, because endpoint 4 ("ep 4") is not in use.
I will look tomorrow with a Beagle USB protocol analyzer, see if I can relate that to anything.


#8

Happening here too (Debian stretch amd64). Unfortunately, it looks like all my USB ports are xhci... :cry: