usb_alloc_device: Failure selecting configuration index 0:USB_ERR_TIMEOUT, port 1, addr 2 (ignored)

Shah, Vishal Vishal.Shah at netapp.com
Thu Nov 10 19:14:51 UTC 2011


Hi HPS,

Thanks for replying. We never saw this issue with previous versions of
Freebsd (FreeBSD 6.x & FreeBSD 7.x) booted on the same hardware system.
But with FreeBSD 8 we can reproduce it in 3-4 hours. Does this make case
1 more likely?
Should below quirks resolve the issue in either case? I will give it a
try anyway :) 

Thanks,
Vishal

-----Original Message-----
From: Hans Petter Selasky [mailto:hselasky at c2i.net] 
Sent: Thursday, November 10, 2011 12:29 AM
To: freebsd-usb at freebsd.org
Cc: Shah, Vishal; Ranaweera, Samantha
Subject: Re: usb_alloc_device: Failure selecting configuration index
0:USB_ERR_TIMEOUT, port 1, addr 2 (ignored)

On Thursday 10 November 2011 05:08:30 Shah, Vishal wrote:
> usb_alloc_device: Failure selecting configuration index 
> 0:USB_ERR_TIMEOUT, port 1, addr 2 (ignored)\r\r\n

Hi,

The set config message is sent on the control endpoint. The set config
message doesn't have any data stage, so the USB stack is waiting for the
status stage callback. Either that is caused by:

1) Lost interrupt on EHCI

or

2) Device never sends the status stage (needs a bus analyzer for this).

Quirks you can set in /boot/loader.conf:

hw.usb.ehci.lostintrbug: 0
hw.usb.ehci.iaadbug: 0

--HPS


More information about the freebsd-usb mailing list