lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Mon, 19 May 2014 09:08:19 +0000
From:	David Laight <David.Laight@...LAB.COM>
To:	'Parag Warudkar' <parag.lkml@...il.com>,
	"mathias.nyman@...el.com" <mathias.nyman@...el.com>
CC:	"gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>,
	"linux-usb@...r.kernel.org" <linux-usb@...r.kernel.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: xhci dmesg flood on short packet

From: Of Parag Warudkar
> I see a continuous flood of below messages on plugging in/using my USB
> token. (The comp code wasn't in the original message - I added it.) From
> what I can tell the device continues to work as expected.
> 
> Should the warning be disabled for COMP_SHORT_TX like it is for COMP_STOP
> and COMP_STOP_INVAL?
> 
> Parag
> 
> [104692.771649] xhci_hcd 0000:00:14.0: WARN Event TRB comp code 13 for
> slot 2 ep 10 with no TDs queued?

A completion event with nothing queued looks like something horrid.
I'd do some further analysis to find which TRB have been queued and
the completion (or other) events that removed them.

IIRC the COMP_SHORT_TX completion usually means that the received USB packet
is shorter than the buffer (it is really a short RX!).
This is completely normal for many devices.
There is a slight fubar with some host controllers that fail to report
it exactly as per the standard - but that gives a different message.

	David

> [104692.777279] xhci_hcd 0000:00:14.0: WARN Event TRB comp code 13 for
> slot 2 ep 10 with no TDs queued?
> [104692.793894] xhci_hcd 0000:00:14.0: WARN Event TRB comp code 13 for
> slot 2 ep 10 with no TDs queued?
> [104692.813033] xhci_hcd 0000:00:14.0: WARN Event TRB comp code 13 for
> slot 2 ep 10 with no TDs queued?
> [104692.823476] xhci_hcd 0000:00:14.0: WARN Event TRB comp code 13 for
> slot 2 ep 10 with no TDs queued?
> --
> To unsubscribe from this list: send the line "unsubscribe linux-usb" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ