Re: USB "raced timeout" errors on boot (2.4.11)

Johannes Erdfelt (johannes@erdfelt.com)
Wed, 10 Oct 2001 23:52:32 -0400


On Wed, Oct 10, 2001, Colin Bayer <vogon_jeltz@users.sourceforge.net> 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;
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/