2001-10-11 03:42:58

by Colin Bayer

[permalink] [raw]
Subject: USB "raced timeout" errors on boot (2.4.11)

Whenever I boot with my brand-new 2.4.11 kernel, I get the following
series of errors (this snippet's from /var/log/messages):

Oct 9 18:28:13 fortytwo kernel: uhci.c: USB UHCI at I/O 0xef80, IRQ 10
Oct 9 18:28:13 fortytwo kernel: usb.c: new USB bus registered, assigned
bus number 1
Oct 9 18:28:13 fortytwo kernel: usb: raced timeout, pipe 0x80000000
status 0 time left 0
Oct 9 18:28:13 fortytwo kernel: usb: raced timeout, pipe 0x80000180
status 0 time left 0
Oct 9 18:28:13 fortytwo last message repeated 3 times
Oct 9 18:28:13 fortytwo kernel: usb: raced timeout, pipe 0x80000100
status 0 time left 0
Oct 9 18:28:13 fortytwo kernel: hub.c: USB hub found
Oct 9 18:28:13 fortytwo kernel: usb: raced timeout, pipe 0x80000180
status 0 time left 0
Oct 9 18:28:13 fortytwo kernel: hub.c: 2 ports detected
Oct 9 18:28:13 fortytwo kernel: usb: raced timeout, pipe 0x80000180
status 0 time left 0
Oct 9 18:28:13 fortytwo kernel: usb: raced timeout, pipe 0x80000100
status 0 time left 0
Oct 9 18:28:13 fortytwo kernel: usb: raced timeout, pipe 0x80000180
status 0 time left 0
Oct 9 18:28:13 fortytwo kernel: usb: raced timeout, pipe 0x80000100
status 0 time left 0

... and so on. My USB devices seem to work just fine, but the errors
are kind of annoying (and add about 10 seconds to my boot time).

My USB bus is hooked up like this:
back of computer
`- my keyboard
`-my mouse

lspci -vvv:

00:1f.2 USB Controller: Intel Corporation 82801AA USB (rev 02) (prog-if
00 [UHCI])
Subsystem: Intel Corporation 82801AA USB
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium
>TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin D routed to IRQ 10
Region 4: I/O ports at ef80 [size=32]

dmesg:

input0: USB HID v1.00 Mouse [Microsoft Microsoft IntelliMouse? Explorer]
on usb1:3.0

(and my keyboard is a Microsoft Internet Keyboard Pro). Oh, don't boo
me... I'm using Linux, am I not? :)

-- Colin

(P.S. Please CC me any replies to this message.)


2001-10-11 03:49:29

by Johannes Erdfelt

[permalink] [raw]
Subject: Re: USB "raced timeout" errors on boot (2.4.11)

On Wed, Oct 10, 2001, Colin Bayer <[email protected]> wrote:
> Whenever I boot with my brand-new 2.4.11 kernel, I get the following
> series of errors (this snippet's from /var/log/messages):

This patch fixed the problem.

JE

diff --minimal -Nru a/drivers/usb/uhci.c b/drivers/usb/uhci.c
--- a/drivers/usb/uhci.c Wed Oct 10 07:32:38 2001
+++ b/drivers/usb/uhci.c Wed Oct 10 07:32:38 2001
@@ -1594,9 +1594,7 @@
}

uhci_unlink_generic(uhci, urb);
- uhci_destroy_urb_priv(urb);
-
- usb_dec_dev_use(urb->dev);
+ uhci_call_completion(urb);

return ret;
}

2001-10-11 03:51:59

by Greg KH

[permalink] [raw]
Subject: Re: USB "raced timeout" errors on boot (2.4.11)

On Wed, Oct 10, 2001 at 08:42:11PM -0700, Colin Bayer wrote:
> Whenever I boot with my brand-new 2.4.11 kernel, I get the following
> series of errors (this snippet's from /var/log/messages):

Please search the archives before posting :)

http://marc.theaimsgroup.com/?l=linux-kernel&m=100275934931831&w=2

greg k-h