USB Broken by OpenSUSE 11

Hi!

So I’ve recently installed 11. Although I used 10.3 before, this is a clean install on a new HDD (all other H/W is the same). Under 10.3, I had no problem with USB but with 11 there are some major problems:

  • USB Mass storage is not working. Not only the devices won’t automount but they do not have entries in /dev so that I can mount them myself. I tried with several USB memory keys but it seems that they do not get any power (two of my devices have a LED which turns on when connected and flashes when transferring data, the light does not light up at all).

  • My USB keyboard was loosing keystrokes if I typed at more than one key per second. This got extremely annoying so I took out an old PS/2 keyboard to continue.

Any ideas how to fix this? What the problem is? If not, could I somehow download and install the related drivers/modules/etc from 10.3 to get USB working?

Things I know already:

  • My USB controler/ports are detected. They are enumarated in /var/log/boot.msg.
  • The LiveCD has the same problem as my installation.

Thanks in advance,

  • Itai

Are you sure on that?

I have over 2 terrabytes of data on USB devices, and while they are not properly auto hotplug mounted by 11.0, they can be easily manually mounted.

Plug a USB device in, give it a minute, and then type:
su -c 'fdisk -l’
(thats a small “L”, and enter root password when prompted)
Does your external drive show up there?

Thanks for the reply but no it does not work.

The command you suggested shows all my IDE drives but no
the USB.

As I said in , the drives do not seem to be powered at all.
It did work perfectly, plus automount in 10.3.

  • Itai

I’ve successfully done this with 5 different USB devices. How certain are you that your hardware is not bad?

I’m 100% certain. All 4 USB devices I tested work on my laptop which runs WinXP and worked on 10.3 a few days ago.

I’m still open to ideas as what is happening differently in 11 compared to 10.3. BTW, I also tried the LiveCD just to see if it wasn’t related to the config I choose. Another hint is that my USB keyboard was not working properly either so I reverted to a PS/2 one, so there is something generally wrong with USB support in 11 on my machine.

  • Itai

Could it be your PC hardware (as opposed to the USB devices)?

I’ve just tested my external usb devices with 11.0 again. They work even better, after applying the fix:
cd /sbin
sudo ln -s mount.ntfs-3g mount.ntfs
I get auto hotplug mounting of NTFS formatted drives, with Read/Write permissions as a regular user. And this is under openSUSE-11.0. No more manual mounting commands.

IMHO you need to check your PC’s USB I/O device compatibility with openSUSE.

IMHO you need to check your PC’s USB I/O device compatibility with openSUSE.

Thanks again for the reply. I don’t doubt it works on your system but ALL my devices worked on my system with SUSE 10.3 and no longer work with 11. If I don’t find a solution, I’ll have put back 10.3 but that means I won’t be able to find what the problem is, that is why I’m trying to get to the bottom of this first.

I honestly expected everything that worked with 10.3 to still work with 11, otherwise it is a deal breaker for me. However, I never checked the compatibility, not that I would know how to :frowning: What I do know is that my USB chipsets/hubs/ports are enumerated in the boot.msg which is in /var/log.

  • Itai

As someone else suggested, I reinstalled 10.3 to check. My USB
works perfectly with 10.3 and there are no error messages in
dmesg wrt to USB. With 11, dmesg shows that the kernel registered
a “USB Disconnect” and that the devices do not accept addresses.

Any help would be appreciated,

  • Itai

I also have problems with USB and OpenSuse11:

my memory stick is not noticed until i start lsusb. lsusb will hang for a while and then show the stick.

Same with my WLAN USB stick.

I have a board with AMD chip set and an Radeon 3600 graphics card, so i installed the AMD/ATI driver from the repository. I believe that USB worked before installing that driver but i am not sure. I hadn’t the time to investigate the problem further.

OpenSuse 10.3 works well.

Lars

I’ve got the same problem with the keyboard and mouse. My wireless USB keyboard often misses key strokes (really annoying) and my wirless USB mouse somethings has a mad fit.

It worked fine until I did a fresh install of SUSE 11. Under 10.3 i had no problems.

Its worth noting that I have a USB 500GB disk that works ok.

I’m having a similar problem with USB mounting on Opensuse 11. I have a digital camera Canon Powershot SD1100. It would mount fine on Opensuse 10.2.

Now if I use DigiKam it works fine but for some reason it won’t setup a mount point. Here’s what I do know…

  1. Using “lsusb” I find that the camera is detected
  2. Using “lshal -m” I find again that hald sees the device and connects

Yet no mount point gets established. I recently changed my root password so I was wondering if there is a permissions issue with my non-root user account but I don’t know how to troubleshoot that.

has anyone logged the bug ??

http://en.opensuse.org/Submitting_Bug_Reports


DenverD (Linux Counter 282315)
A Texan in Denmark

Anyone made any progress on this issue?

I have a new install of OpenSUSE 11.0 on the same hardware I had 10.3 working fine. USB devices appear in /var/adm/messages but do not mount.

I searched for a matching bug in bugzilla but could find one. As I am new, I was hoping someone else would have taken it further:)

i have an idea: let us all wait and see if it gets fixed without anyone
entering the bug report… :frowning:

i don’t have the problem, so don’t wait for me to submit it :wink:


DenverD (Linux Counter 282315)
A Texan in Denmark

This is exactly what happens to me. There are all sorts of USB-related messages and logs saying that all the HW was found but nothing mounts. My USB keyboard also went haywire. I’m sort-of glad to hear that I’m not the only one with the problem.

Unfortunately I had to get some work done :wink: and reverted to 10.3 and replaced my USB keyboard with a PS/2 one. I thought I would try again once the rush here is over.

  • Itai

The Novel bug system keeps telling me it sent an email message to the correct address and I never get it… This is the 3rd time I try to file this bug and the bug-reporting system is buggy!

  • Itai

The bug is entered as Bug #411825. See:
https://bugzilla.novell.com/show_bug.cgi?id=411825

  • Itai

Hello,

I have just added a comment to Bug ID=411825. A USB hard disk keeps spinning up and down without connecting. The error message is

usb-storage: waiting for device to settle before scanning
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usb 1-4: USB disconnect, address 4
scsi 6:0:0:0: Device offlined - not ready after error recovery

The disk works with Fedora 7 (kernel 2.6.21) on several different machines however on OpenSUSE 11 it doesn’t work neither with the default 2.6.25.5 nor with the new 2.6.25.11.

As suggested on some forums I tried to disable ehci_hcd
this gives the following messages:

usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
usb 3-2: New USB device found, idVendor=05e3, idProduct=0702
usb 3-2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
usb 3-2: Product: USB TO IDE
usb 3-2: reset full speed USB device using uhci_hcd and address 2
usb 3-2: device descriptor read/64, error -110

I encounter the same problem. It seems to be related to the EHCI driver (ehci_hcd). I encountered this trouble with the 2.6.25.16-0.1-default (as provided on the update server) and with 2.6.26.5-default which I compiled on my own.

What I found out is the following:.

  1. If the problem occurs then only for USB-2.0 (i.e. high speed) devices. But it seems all USB-2.0 storage devices are affected (any hard disk, external DVD writer, memory card – doesn’t matter).

  2. Once you plugin such a device it takes quite a while until it is accesible and mounted. So maybe you just have to wait long enough until you can use it, BUT: It is mounted as “full speed” and not “high speed”, so it’s operating much slower than it could do.

  3. The reason for this delay seems to be the following: The ehci_hcd tries really hard to assign addresses to the high speed device and fails: Typical output of “dmesg” on my machine look like this:


Sep 18 14:34:44 faramir kernel: usb 6-1: new high speed USB device using ehci_hcd and address 3
Sep 18 14:34:59 faramir kernel: usb 6-1: device descriptor read/64, error -110
Sep 18 14:34:59 faramir kernel: usb 6-1: device descriptor read/64, error -110
Sep 18 14:35:15 faramir kernel: usb 6-1: new high speed USB device using ehci_hcd and address 4
Sep 18 14:35:30 faramir kernel: usb 6-1: device descriptor read/64, error -110
Sep 18 14:35:45 faramir kernel: usb 6-1: device descriptor read/64, error -110
Sep 18 14:35:45 faramir kernel: usb 6-1: new high speed USB device using ehci_hcd and address 5
Sep 18 14:35:56 faramir kernel: usb 6-1: device not accepting address 5, error -110
Sep 18 14:35:56 faramir kernel: usb 6-1: new high speed USB device using ehci_hcd and address 6
Sep 18 14:36:06 faramir kernel: usb 6-1: device not accepting address 6, error -110
Sep 18 14:36:06 faramir kernel: hub 6-0:1.0: unable to enumerate USB device on port 1


  1. So the ehci_hcd driver gives up after several attempts of assigning addresses. Due to backwards compatibility, the EHCI controller passes the device on to some of the OHCI (i.e. full speed, USB 1.1) controllers. The corresponding kernel module ohci_hcd manages to handle the device:

Sep 18 14:36:07 faramir kernel: usb 1-1: new full speed USB device using ohci_hcd and address 2
Sep 18 14:36:07 faramir kernel: usb 1-1: not running at top speed; connect to a high speed hub
Sep 18 14:36:07 faramir kernel: usb 1-1: configuration #1 chosen from 1 choice
Sep 18 14:36:07 faramir kernel: usb 1-1: New USB device found, idVendor=1058, idProduct=0702
Sep 18 14:36:07 faramir kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Sep 18 14:36:07 faramir kernel: usb 1-1: Product: External HDD
Sep 18 14:36:07 faramir kernel: usb 1-1: Manufacturer: Western Digital


OK, “not running at top speed” is an understatement. This hard disk can do about 30 MB/s in high speed mode, and now it is slowed down to about 950 kB/s !!! As for the external DVD writer, this is really embarassing. You wouldn’t want to burn DVDs at about 1 MB/s, would you? :frowning:
The hint “connect to high speed hub” is really funny, because this is exactly what I did >:-(.

  1. This bug is known for other distros, too: See e.g.
    https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/88746
    So this issue seems to be related to the kernel in general and not to a specific distribution.

  2. As can be read in the forum mentioned above, several USB 2.0 controllers are affected: nVidia, SiS and (as it is with my machine) ATI S600. With other controllers, ehci_hcd seems to work flawlessly.

  3. The most annoying aspect is that no trouble occurred with previous kernel versions.

I hope this will be fixed really soon.

It would be a shame for Linux if so many people using it were unable to use such a widespread feature like USB-2.0.

Hello out there,

I discovered that all my troubles with USB 2.0 storage devices in OpenSUSE 11.0 disappear as soon as I use the original kernel again.
By this I mean the one shipped with the installation DVD.

Now my devices register without difficulties, they are mounted within seconds and with the correct high speed again.

It seems that the problem is somewhere in the updated kernel (2.6.25.16-0.1) and later versions.

So try it and tell us if it works for you, too.