USB memory stick and MP3 player mounting.

USB memory stick and MP3 player mounting.

Post by Colin Wall » Sat, 23 Jul 2005 16:00:29



I have a USB memory stick and a Cowon G3 MP3 player. I could not get the
former to mount reliably and the latter would not mount at all. This is on
a home built box running SuSE 9.3 pro with a generic kernel. Both devices
work on a Dell machine with the same release of SuSE, which would lead me
to believe it is my hardware that is at fault.

I have installed a powered USB hub, as a result of which the memory stick
now mounts every time. The MP3 player still refuses to mount. I can see it
in /proc/bus/usb/devices. However all I get in /var/log/messages are lines
like:

Jul 21 20:12:46 murorum kernel: Initializing USB Mass Storage driver...
Jul 21 20:12:46 murorum kernel: scsi0 : SCSI emulation for USB Mass Storage
devi
ces
Jul 21 20:12:46 murorum kernel: usbcore: registered new driver usb-storage
Jul 21 20:12:46 murorum kernel: USB Mass Storage support registered.
Jul 21 20:12:46 murorum kernel: usb-storage: device found at 5
Jul 21 20:12:46 murorum kernel: usb-storage: waiting for device to settle
before scanning

And then a whole series of lines like the following, with increasing
addresses.

Jul 21 20:14:34 murorum kernel: usb 4-4.1: device descriptor read/64, error
-71
Jul 21 20:14:39 murorum kernel: usb 4-4.1: device descriptor read/64, error
-71
Jul 21 20:14:39 murorum kernel: usb 4-4.1: reset high speed USB device using
ehci_hcd and address 5
Jul 21 20:14:44 murorum kernel: usb 4-4.1: device not accepting address 5,
error -71
Jul 21 20:14:44 murorum kernel: usb 4-4.1: reset high speed USB device using
ehci_hcd and address 5
Jul 21 20:14:50 murorum kernel: usb 4-4.1: device not accepting address 5,
error -71
Jul 21 20:14:50 murorum kernel: scsi: Device offlined - not ready after
error recovery: host 0 channel 0 id 0 lun 0

As anyone any idea of how to fix this?

--
Colin Walls

Remove the pink meat to mail me

 
 
 

USB memory stick and MP3 player mounting.

Post by Grant Edward » Sat, 23 Jul 2005 23:08:50



Quote:> And then a whole series of lines like the following, with increasing
> addresses.

> Jul 21 20:14:34 murorum kernel: usb 4-4.1: device descriptor read/64, error
> -71
> Jul 21 20:14:39 murorum kernel: usb 4-4.1: device descriptor read/64, error
> -71
> Jul 21 20:14:39 murorum kernel: usb 4-4.1: reset high speed USB device using
> ehci_hcd and address 5
> Jul 21 20:14:44 murorum kernel: usb 4-4.1: device not accepting address 5,
> error -71
> Jul 21 20:14:44 murorum kernel: usb 4-4.1: reset high speed USB device using
> ehci_hcd and address 5
> Jul 21 20:14:50 murorum kernel: usb 4-4.1: device not accepting address 5,
> error -71
> Jul 21 20:14:50 murorum kernel: scsi: Device offlined - not ready after
> error recovery: host 0 channel 0 id 0 lun 0

> As anyone any idea of how to fix this?

[it would be nice if you didn't wrap log messages]

In my experience this is caused by the new ehci controller
driver.  Some USB devices aren't 100% complient with the
standard.  IIRC the issue is that they can't accept a second
command while a prior command is pending (or something like
that).  The older uhci controller driver tolerated that
behavior, but whoever wrote the ehci driver decided that
enforcing strict compliance with the standards was a good idea.
So, there are a bunch of USB pen-drives and MP3 players out
there that work with the older uhci driver but not the ehci
driver.

I worked around the problem in Mandrake 10.x by removing the
ehci module and using the uhci module instead.

--
Grant Edwards                   grante             Yow!  Did you move a lot
                                  at               of KOREAN STEAK KNIVES this
                               visi.com            trip, Dingy?

 
 
 

USB memory stick and MP3 player mounting.

Post by Colin Wall » Sun, 24 Jul 2005 05:13:07



> [it would be nice if you didn't wrap log messages]

Sorry, didn't realise I had.

Quote:> In my experience this is caused by the new ehci controller
> driver.  Some USB devices aren't 100% complient with the
> standard.  IIRC the issue is that they can't accept a second
> command while a prior command is pending (or something like
> that).  The older uhci controller driver tolerated that
> behavior, but whoever wrote the ehci driver decided that
> enforcing strict compliance with the standards was a good idea.
> So, there are a bunch of USB pen-drives and MP3 players out
> there that work with the older uhci driver but not the ehci
> driver.

Given that I can mount the MP3 player on a Dell box using the same OS
release would imply that it is the USB controller on my machine that is at
fault, rather than the device itself.

Quote:> I worked around the problem in Mandrake 10.x by removing the
> ehci module and using the uhci module instead.

I have tried this, I still get the likes of

usb 2-2.1: new full speed USB device using uhci_hcd and address 4
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning

then

usb 2-2.1: reset full speed USB device using uhci_hcd and address 4
usb 2-2.1: device not accepting address 4, error -71
Device offlined -not ready after error recovery: host 0 channel 0 id 0 lun 0
usb-storage: device scan complete

--
Colin Walls

Remove the pink meat to mail me

 
 
 

USB memory stick and MP3 player mounting.

Post by Kaon » Mon, 25 Jul 2005 01:23:21


A workaround for myself:
Try to plug my USB in and out of the USB 'socket'. Sometimes it gives a
correct message, sometimes it doesn't.

In the worst case, try to have some file read/write under windows. It
works for me.

This looks stupid. Huh?