USB Mass Storage Devices not mounting, device not accepting address, error -32

Bug #195762 reported by Kristian Jones
10
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Bug Details
--------------------
USB 2.0 mass storage devices are not mounting on insertion. In particular when inserting a Kingston USB 2.0 4GB Memory Stick (or other Mass Storage Devices). Other USB peripherals such as mice work as expected.

Possible solutions tried
-------------------------------
The problem is not with the cables (its a usb key) and I have tried both the front usb ports and those on the motherboard.

I have tried noacpi and pciacpi=off kernel options both yield the same result.

I have also tried re-booting but still no joy.

Performing "modprobe -r ehci_hcd" will force the devices to be detected by ohci but this is not a fix, it is a work around as the devices can then only be accessed at USB 1/1.1 speeds not USB 2 speeds as they should be.

The solutions offered below do not help :
https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.15/+bug/54273
http://www.linux-usb.org/FAQ.html#ts6

LOG Details
---------------
I've copied the following from the system log.
Feb 26 12:32:35 anubis kernel: [ 786.562727] usb 3-6: new high speed USB device using ehci_hcd and address 24
Feb 26 12:32:35 anubis kernel: [ 786.970432] usb 3-6: device not accepting address 24, error -32
Feb 26 12:32:35 anubis kernel: [ 787.082386] usb 3-6: new high speed USB device using ehci_hcd and address 25
Feb 26 12:32:35 anubis kernel: [ 787.490104] usb 3-6: device not accepting address 25, error -32

Note: The error is -32 not -71 or -110 as stated in other bug reports:
https://lists.ubuntu.com/archives/kernel-bugs/2007-December/030996.html
https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.15/+bug/54273
http://www.linux-usb.org/FAQ.html#ts6

System Details
-------------------------
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=7.10
DISTRIB_CODENAME=gutsy
DISTRIB_DESCRIPTION="Ubuntu 7.10"

CPU: AMD Athlon 2000XP
Mobo: ASROCK K78SX (firmware 2.60 - latest)

"uname -a" output : Linux anubis 2.6.22-14-386 #1 Tue Feb 12 07:12:19 UTC 2008 i686 GNU/Linux

Regards
Kris

Tags: ehci ohci usb
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi Kristian,

I see you are running a Gutsy 7.10 release. The Hardy Heron Alpha series is currently under development and contains an updated version of the kernel. It would be helpful if you could test the latest Hardy Alpha release: http://www.ubuntu.com/testing . You should be able to then test the new kernel via the LiveCD. If you can, please verify if this bug still exists or not and report back your results.

Also, bug 88746 might be interesting for you to read. Although it is a long thread, https://bugs.edge.launchpad.net/ubuntu/+source/linux/+bug/88746/comments/228 is from a member of our kernel team. Thanks.

Thanks.

Changed in linux:
status: New → Incomplete
Revision history for this message
AlunJ (alunjames) wrote :

Same problem here with mounting an IPOD.

Possible solutions tried
-------------------------------
Performing "modprobe -r ehci_hcd" works, but again at USB 1 speeds.

Changing USB ports works temporarily until the IPOD is unmounted and unplugged, if reinserted to same USB port the problem reoccurs. To get around this I have to switch between 2 USB ports on my hub each time I wish to plug in the IPOD.

LOG Details
---------------
[11173.025527] usb 7-6.7: new low speed USB device using ehci_hcd and address 4
[11173.105405] usb 7-6.7: device descriptor read/64, error -32
[11173.289130] usb 7-6.7: device descriptor read/64, error -32
[11173.464858] usb 7-6.7: new low speed USB device using ehci_hcd and address 5
[11173.544732] usb 7-6.7: device descriptor read/64, error -32
[11173.728453] usb 7-6.7: device descriptor read/64, error -32
[11173.904183] usb 7-6.7: new low speed USB device using ehci_hcd and address 6
[11174.315426] usb 7-6.7: device not accepting address 6, error -32
[11174.387444] usb 7-6.7: new low speed USB device using ehci_hcd and address 7
[11174.798680] usb 7-6.7: device not accepting address 7, error -32

System Details
-------------------------
7.10 64bit.

CPU: Intel Core2Duo
Mobo: Gigabyte GA965P-S3 v1.0 (Bios F12)

"uname -a" output : Linux alun-desktop 2.6.22-14-generic #1 SMP Tue Feb 12 02:46:46 UTC 2008 x86_64 GNU/Linux

I shall try the Hardy alpha Live CD and report back if the problem still exists.

Revision history for this message
AlunJ (alunjames) wrote :

Unfortunately this is still happening with Hardy Alpha 6 64bit :(

[ 1009.378956] usb 7-6.7: new low speed USB device using ehci_hcd and address 4
[ 1009.494778] usb 7-6.7: device descriptor read/64, error -32
[ 1009.710447] usb 7-6.7: device descriptor read/64, error -32
[ 1009.886053] usb 7-6.7: new low speed USB device using ehci_hcd and address 5
[ 1009.997881] usb 7-6.7: device descriptor read/64, error -32
[ 1010.213551] usb 7-6.7: device descriptor read/64, error -32
[ 1010.389282] usb 7-6.7: new low speed USB device using ehci_hcd and address 6
[ 1010.804542] usb 7-6.7: device not accepting address 6, error -32
[ 1010.876534] usb 7-6.7: new low speed USB device using ehci_hcd and address 7
[ 1011.291748] usb 7-6.7: device not accepting address 7, error -32

when I plug in my ipod.

Revision history for this message
AlunJ (alunjames) wrote :

Adding to my comments above:

I found that this problem only occurs when using my Belkin 7port USB hub, if I connect via my motherboard USB ports the IPOD will connect successfully each time.

Another problem has arisen with Hardy however, in that ejecting the IPOD using the desktop icon results in an error

"Unable to mount media.
There is probably no media in the drive."

and the IPOD remains "connected" until I pull the cable out.

Revision history for this message
jarvitron (aaron-m-walker+launchpad) wrote :

I can confirm that I am having this same problem with a Sandisk SANSA CLIP MP3 player, on Hardy Heron a6, on my Dell Inspiron 6400 laptop, this happens regardless of port I attempt to plug into.

If I modprobe -r ehci_hcd, it mounts without issue at USB1 speed.

After plugging in device, this is the DMESG output.

[ 1639.625681] usb 5-3: USB disconnect, address 2
[ 1657.414585] usb 5-3: new high speed USB device using ehci_hcd and address 4
[ 1657.523642] ehci_hcd 0000:00:1d.7: port 3 reset error -110
[ 1657.523658] hub 5-0:1.0: hub_port_status failed (err = -32)

Here is my /proc/version
Linux version 2.6.24-12-generic (buildd@palmer) (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu4)) #1 SMP Wed Mar 12 23:01:54 UTC 2008

And here are the relevant lines of my lspci for the USB controller

00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)

Revision history for this message
AlunJ (alunjames) wrote :

Incase it helps:

alun@alun-desktop:~$ lspci | grep USB
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Contoller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 02)

Revision history for this message
jarvitron (aaron-m-walker+launchpad) wrote :

I should also state that if I have the device plugged in at startup, I can access it, and then unmount it without problems. It's only if I attempt to plug it in after the system has already started.

Revision history for this message
Kristian Jones (kristian-jones-hotmail) wrote :

Thanks the suggestion of Hardy.

I could not live without USB so I performed the following

1. Disabled USB 2 in the BIOS set up
2. As Ubuntu no-longer sees any usb2 devices, all usb keys and external drives worked correctly but at usb1.1 speeds.
3. I installed a USB2.0 PCI Card as I have a 500Gb hard disk and accessing at 1.1 speeds didn't cut it. This meant I had 6 ports running at USB2 and the 4 ports on my mobo running at 1.1.
4. Some weeks later when Leann replied I tried the alpha mentioned after re-enabling usb2 in the bios. All USB ports operated at full speed.
5. Coincidently I gave gutsy another go and it appears that all ports are now working again so as to the problem I really don't know what went wrong or why its fixed itself

Kris

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi Kris,

From your feedback it seems this is resolved against Hardy and Gutsy. Since you are the original bug report I'm going to go ahead and mark this fix released. For those who are still experiencing an issue please open a new bug report as you are experiencing a slightly different issue. It is helpful to the development teams if bug reports target a specific issue against a specific set of hardware. Also, in your new report please be sure to include the information outlined here: https://wiki.ubuntu.com/KernelTeamBugPolicies . Thanks.

Changed in linux:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.