[Karmic] USB device not recognized or automounted at boot-up
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
Undecided
|
Unassigned | ||
Bug Description
Binary package hint: linux-image-
Hi,
When booting into Karmic my Blutooth USB dongle and USB to PS2 keyboard adapter are not recognized until I unplug them and plug them back in. In my dmesg (see attachment for the full version) I get error messages like:
[ 3.028029] usb 7-1: new full speed USB device using uhci_hcd and address 2
[ 3.148023] usb 7-1: device descriptor read/64, error -71
[ 3.372524] usb 7-1: device descriptor read/64, error -71
[ 3.588019] usb 7-1: new full speed USB device using uhci_hcd and address 3
[ 3.708018] usb 7-1: device descriptor read/64, error -71
[ 3.936027] usb 7-1: device descriptor read/64, error -71
[ 4.153513] usb 7-1: new full speed USB device using uhci_hcd and address 4
[ 4.564074] usb 7-1: device not accepting address 4, error -71
[ 4.676023] usb 7-1: new full speed USB device using uhci_hcd and address 5
[ 5.088023] usb 7-1: device not accepting address 5, error -71
[ 5.088042] hub 7-0:1.0: unable to enumerate USB device on port 1
My USB mouse and USB sound card are correctly identified on boot-up. Everything works fine in 9.04 so this seems like a regression.
Here is my lsusb after replugging the devices in:
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 007: ID 046d:c216 Logitech, Inc. Dual Action Gamepad
Bus 001 Device 006: ID 08bb:2704 Texas Instruments Japan
Bus 001 Device 005: ID 06b4:1c70
Bus 001 Device 003: ID 0424:a700 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 058f:6362 Alcor Micro Corp. Hi-Speed 21-in-1 Flash Card Reader/Writer (Internal/External)
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 003: ID 0e8f:0020 GreenAsia Inc.
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 034: ID 0c10:0000
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 003: ID 0461:4d15 Primax Electronics, Ltd Dell Optical Mouse
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
And full dmesg is attached.
Let me know if I can test anything out.
Thanks.
ProblemType: Bug
Architecture: i386
Date: Wed Oct 7 01:02:57 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /sbin/upstart-
Package: upstart 0.6.3-7
ProcEnviron: PATH=(custom, no user)
ProcVersionSign
SourcePackage: upstart
Uname: Linux 2.6.31-11-generic i686
summary: |
- USB device descriptor read/64, error -71 + USB device not recognized or automounted at boot-up |
summary: |
- USB device not recognized or automounted at boot-up + [Karmic] USB device not recognized or automounted at boot-up |
Hi,
I tracked down the issue with "git bisect" to this commit:
Quote: input/input. c b/drivers/ input/input. c input/input. c input/input. c handle( struct input_handle *handle) tail_rcu( &handle- >d_node, &dev->h_list); &dev->mutex) ;
diff --git a/drivers/
index 913392f..a79c833 100644 (file)
--- a/drivers/
+++ b/drivers/
@@ -1551,7 +1551,6 @@ int input_register_
return error;
list_add_
mutex_unlock(
- synchronize_rcu();
/*
* Since we are supposed to be called from ->connect()
If I put "synchronize_ rcu();" back into drivers/ input/input. c and recompile the kernel then it works for me.
I'm currently working with the kernel developers so they can get a high quality fix. It seems that this synchronize_rcu() is a catch all and some other part of the system is missing the call. While reverting the above patch works it is not optimal because it slows down boot-up.
It seems that there are quite a few people on the forums having issues with USB devices not being recognized.
Thanks.