Skip to contentSkip to conversation

USB "raced timeout" errors on boot (2.4.11)

DISCUSSION Colin Bayer 3 participants 3 messages Oct 11, 2001 USB

lore
Share & tools
lore
#0 lore raw

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

Quoted 1 line

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.)

#1 lore raw
Quoted 2 lines · Colin Bayer

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

drivers/usb/uhci.c +1 -3
diff --minimal -Nru a/drivers/usb/uhci.c b/drivers/usb/uhci.c
@@ -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;
 }