Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Nov 2011 14:14:47 -0500
From:      "Shah, Vishal" <Vishal.Shah@netapp.com>
To:        "Hans Petter Selasky" <hselasky@c2i.net>, <freebsd-usb@freebsd.org>
Cc:        "Ranaweera, Samantha" <Samantha.Ranaweera@netapp.com>
Subject:   RE: usb_alloc_device: Failure selecting configuration index 0:USB_ERR_TIMEOUT, port 1, addr 2 (ignored)
Message-ID:  <86FB7D63AF95574BB762C0C3E1F269150F9AC183@RTPMVEXC1-PRD.hq.netapp.com>
In-Reply-To: <201111100929.07536.hselasky@c2i.net>
References:  <86FB7D63AF95574BB762C0C3E1F269150F8F50A5@RTPMVEXC1-PRD.hq.netapp.com> <201111100929.07536.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 :)=20

Thanks,
Vishal

-----Original Message-----
From: Hans Petter Selasky [mailto:hselasky@c2i.net]=20
Sent: Thursday, November 10, 2011 12:29 AM
To: freebsd-usb@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=20
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86FB7D63AF95574BB762C0C3E1F269150F9AC183>