Re: XHCI short transfer warning for a USB 2.0 device

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

 



On Thu, Jan 14, 2010 at 01:36:09PM -0800, Greg KH wrote:
> Hi Sarah,
> 
> Sorry to ask this in the middle of LCA, but Kurt ran across this and it
> might be nice to get resolved soon before others hit it as well.
> 
> As Kurt reports in the Novell bugzilla:
> 	https://bugzilla.novell.com/show_bug.cgi?id=570362
> using the 2.6.32 kernel, he gets a pretty constant stream of the
> warning:
> 	xhci_hcd 0000:0f:00.0: WARN: short transfer on control ep
> when plugging in a USB 2.0 device into a 3.0 controller.
> 
> In looking at the code, it looks like this message is coming from the
> hardware itself, is that correct?

Yes, the message is simply stating something the hardware reported.

> If so, this doesn't seem like anything that a user could do anything
> about, and it doesn't seem to cause any problems, so could we lower it
> to a "debug" message instead?

Yes, it's not really a warning level message now.  In the beginning of
development, it was a warning level message because it meant the
prototype devices were broken. :)  Now it just means the device sent a
short packet, which it's allowed to do.  I'll try to create a patch, but
I'm not sure I'll have time due to LCA.

I also have a patch that also turns off some xHCI verbose debugging that
leaks through when CONFIG_USB_DEBUG is turned on, but
CONFIG_USB_HCD_XHCI_DEBUGGING is turned off.  I'll see if I can dig that
out of my tree.

Sarah Sharp
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux