USB devices failing on ubuntu 8.04 (SiS 735 chipset)

Asked by Jeroen on 2008-08-06

I can't use my usb flash stick or my usb hard drive.
I used to get the following errors on a default installation:
Could not read device descriptor error -32
USB: device not accepting address 2. Error -110
Somewhere in the proces I also got error -72 I think.

After reading forums and adjusting config files and changing bios settings I got the following errors:
Currently I get the following dmesg | tail after boot:
[ 3773.197588] hub 3-0:1.0: USB hub found
[ 3773.197599] hub 3-0:1.0: 4 ports detected
[ 3789.796479] usb 3-1: new high speed USB device using ehci_hcd and address 2
[ 3789.796516] ehci_hcd 0000:00:13.2: fatal error
[ 3789.796531] ehci_hcd 0000:00:13.2: HC died; cleaning up
[ 3789.797236] hub 3-0:1.0: cannot reset port 1 (err = -19)
[ 3789.797242] hub 3-0:1.0: cannot disable port 1 (err = -19)
[ 3789.797256] hub 3-0:1.0: cannot reset port 1 (err = -19)
[ 3789.797259] hub 3-0:1.0: cannot disable port 1 (err = -19)
[ 3789.797262] hub 3-0:1.0: cannot reset port 1 (err = -19)
[ 3789.797265] hub 3-0:1.0: cannot disable port 1 (err = -19)
[ 3789.797268] hub 3-0:1.0: cannot reset port 1 (err = -19)
[ 3789.797270] hub 3-0:1.0: cannot disable port 1 (err = -19)
[ 3789.797273] hub 3-0:1.0: cannot disable port 1 (err = -19)

Somewhere lateron when I inserted my usb stick:
[ 3015.320303] usb 5-1: new high speed USB device using ehci_hcd and address 76
[ 3015.728180] usb 5-1: device not accepting address 76, error -71

or

[ 3800.634528] usb 5-1: new high speed USB device using ehci_hcd and address 2
[ 3800.634559] ehci_hcd 0000:00:13.2: fatal error
[ 3800.634572] ehci_hcd 0000:00:13.2: HC died; cleaning up
[ 3801.042397] usb 5-1: device not accepting address 2, error -108
[ 3801.042414] hub 5-0:1.0: cannot disable port 1 (err = -19)
[ 3801.042434] hub 5-0:1.0: cannot reset port 1 (err = -19)
[ 3801.042437] hub 5-0:1.0: cannot disable port 1 (err = -19)
[ 3801.042441] hub 5-0:1.0: cannot reset port 1 (err = -19)
[ 3801.042443] hub 5-0:1.0: cannot disable port 1 (err = -19)
[ 3801.042447] hub 5-0:1.0: cannot reset port 1 (err = -19)
[ 3801.042449] hub 5-0:1.0: cannot disable port 1 (err = -19)
[ 3801.042452] hub 5-0:1.0: cannot disable port 1 (err = -19)
[ 3801.282338] usb 3-1: new full speed USB device using uhci_hcd and address 2

Current Configuration:
 BIOS settings:
  All usb support is enabled(dos,thumbdrive)

 /etc/modprobe.d/options:
  options usbcore autosuspend=-1

 /sys/module/usbcore/parameters/old_scheme_first = N

 GRUB :
  title Ubuntu 8.04.1, kernel 2.6.24-19-generic
  root (hd0,0)
  kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=d6d32ea0-325e-4972-ab0a-0d9c533a09b5 ro quiet noapic pci=noacpi acpi=off irqpoll
  initrd /boot/initrd.img-2.6.24-19-generic
  quiet

 # /etc/fstab: static file system information.
 #
 # <file system> <mount point> <type> <options> <dump> <pass>
 proc /proc proc defaults 0 0
 # /dev/sda1
 UUID=d6d32ea0-325e-4972-ab0a-0d9c533a09b5 / ext3 relatime,errors=remount-ro 0 1
 # /dev/sda5
 UUID=06a74b7c-133a-4403-85d2-4f3febffe3c0 none swap sw 0 0
 /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
 /dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
 usbfs /proc/bus/usb usbfs auto 0 0

I have the following software installed:
 autofs
 pmount
 usbmount
 gnome-volume-manager

I also tried the following commands:
 sudo dpkg-reconfigure linux-image-2.6.24-19-generic

 sudo su
 rmmod uhci_hcd
 rmmod usbhid
 ERROR: Module usbhid does not exist in /proc/modules
 modprobe usbhid
 rmmod ehci_hcd
 modprobe ehci_hcd

 sudo fdisk -l

  Schijf /dev/sda: 41.1 GB, 41110142976 bytes
  255 koppen, 63 sectoren/spoor, 4998 cilinders
  Eenheid = cilinders van 16065 * 512 = 8225280 bytes
  Schijf-ID: 0x058666c9

   Apparaat Opstart Begin Einde Blokken ID Systeem
  /dev/sda1 * 1 4787 38451546 83 Linux
  /dev/sda2 4788 4998 1694857+ 5 Uitgebreid
  /dev/sda5 4788 4998 1694826 82 Linux wisselgeheugen

 lspci -v|grep HCI

  00:02.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 07) (prog-if 10 [OHCI])
  00:02.3 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 07) (prog-if 10 [OHCI])
  00:13.0 USB Controller: VIA Technologies, Inc. Unknown device 3030 (rev 50) (prog-if 00 [UHCI])
  00:13.1 USB Controller: VIA Technologies, Inc. Unknown device 3030 (rev 50) (prog-if 00 [UHCI])
  00:13.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 51) (prog-if 20 [EHCI])
 lsmod | grep -i 'usb'
  usbcore 146028 6 ehci_hcd,uhci_hcd,ohci_hcd

 find /lib/modules/`uname --kernel-release` -iname '*usb*storage.ko' -or -iname '*scsi*mod*.ko'
  /lib/modules/2.6.24-19-generic/kernel/drivers/scsi/scsi_mod.ko
  /lib/modules/2.6.24-19-generic/kernel/drivers/usb/storage/usb-storage.ko

 sudo rmmod usd_storage
  ERROR: Module usd_storage does not exist in /proc/modules

 cat /proc/interrupts
           CPU0
  0: 2061086 XT-PIC-XT timer
  1: 4887 XT-PIC-XT i8042
  2: 0 XT-PIC-XT cascade
  3: 1 XT-PIC-XT
  4: 1 XT-PIC-XT
  5: 15808628 XT-PIC-XT ohci_hcd:usb2, eth0
  6: 5 XT-PIC-XT floppy
  7: 0 XT-PIC-XT parport0
  8: 3 XT-PIC-XT rtc
 10: 295841 XT-PIC-XT ohci_hcd:usb1, ehci_hcd:usb5, SiS SI7012
 11: 100000 XT-PIC-XT uhci_hcd:usb3, nvidia
 12: 369109 XT-PIC-XT i8042
 14: 62420 XT-PIC-XT libata
 15: 73205 XT-PIC-XT libata
NMI: 0 Non-maskable interrupts
LOC: 0 Local timer interrupts
RES: 0 Rescheduling interrupts
CAL: 0 function call interrupts
TLB: 0 TLB shootdowns
TRM: 0 Thermal event interrupts
SPU: 0 Spurious interrupts
ERR: 0
MIS: 0

ubuntu 8.04 live cd boot:
 dmesg:
   331.744634] usb 3-1: new high speed USB device using ehci_hcd and address 2
  [ 331.744668] ehci_hcd 0000:00:13.2: fatal error
  [ 331.744682] ehci_hcd 0000:00:13.2: HC died; cleaning up
  [ 331.745258] hub 3-0:1.0: cannot reset port 1 (err = -19)
  [ 331.745263] hub 3-0:1.0: cannot disable port 1 (err = -19)
  [ 331.745275] hub 3-0:1.0: cannot reset port 1 (err = -19)
  [ 331.745278] hub 3-0:1.0: cannot disable port 1 (err = -19)
  [ 331.745281] hub 3-0:1.0: cannot reset port 1 (err = -19)
  [ 331.745284] hub 3-0:1.0: cannot disable port 1 (err = -19)
  [ 331.745288] hub 3-0:1.0: cannot reset port 1 (err = -19)
  [ 331.745290] hub 3-0:1.0: cannot disable port 1 (err = -19)
  [ 331.745293] hub 3-0:1.0: cannot disable port 1 (err = -19)
  [ 331.745296] hub 3-0:1.0: hub_port_status failed (err = -19)
  [ 331.745298] hub 3-0:1.0: hub_port_status failed (err = -19)
  [ 331.745301] hub 3-0:1.0: hub_port_status failed (err = -19)
 cat /proc/interrupts
      CPU0
    0: 45794 XT-PIC-XT timer
    1: 721 XT-PIC-XT i8042
    2: 0 XT-PIC-XT cascade
    3: 1 XT-PIC-XT
    4: 1 XT-PIC-XT
    5: 383 XT-PIC-XT ohci_hcd:usb2, eth0
    6: 21 XT-PIC-XT floppy
    7: 2 XT-PIC-XT parport0
    8: 3 XT-PIC-XT rtc
    9: 1 XT-PIC-XT acpi
   10: 485 XT-PIC-XT ohci_hcd:usb1, ehci_hcd:usb3, SiS SI7012
   11: 100000 XT-PIC-XT uhci_hcd:usb4, uhci_hcd:usb5
   12: 17288 XT-PIC-XT i8042
   14: 665 XT-PIC-XT libata
   15: 5680 XT-PIC-XT libata
  NMI: 0 Non-maskable interrupts
  LOC: 0 Local timer interrupts
  RES: 0 Rescheduling interrupts
  CAL: 0 function call interrupts
  TLB: 0 TLB shootdowns
  TRM: 0 Thermal event interrupts
  SPU: 0 Spurious interrupts
  ERR: 0
  MIS: 0

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
2008-08-06
Last reply:
2008-08-23
Johannes Pilkahn (j-pilkahn) said : #1

I think this is related to a bug in the modules ohci_hcd (USB1,0) and ehci_hcd (USB2.0). Try disbling USB1.0 by running 'sudo modprobe -r ohci_hcd'.

Should this solve the problem, run 'sudo echo "blacklist ehci_hcd" > /etc/modprobe.d/blacklist-ehci' to make it permanent.

Johannes Pilkahn (j-pilkahn) said : #2

Sorry, my permanent version would disable 2.0.

Ignore the permanent part above and run 'sudo echo "blacklist ohci_hcd" > /etc/modprobe.d/blacklist-ohci' instead.

Jeroen (c0p3rn1c) said : #3

The problem still remains, but thanks for your help so far!
dmesg:
[ 753.826597] ohci_hcd 0000:00:02.3: remove, state 1
[ 753.826619] usb usb2: USB disconnect, address 1
[ 753.826987] ohci_hcd 0000:00:02.3: USB bus 2 deregistered
[ 753.827061] ohci_hcd 0000:00:02.2: remove, state 1
[ 753.827073] usb usb1: USB disconnect, address 1
[ 753.827485] ohci_hcd 0000:00:02.2: USB bus 1 deregistered
[ 763.274631] usb 3-1: new full speed USB device using uhci_hcd and address 9
[ 763.694398] usb 3-1: device not accepting address 9, error -71
[ 763.806424] usb 3-1: new full speed USB device using uhci_hcd and address 10
[ 764.226245] usb 3-1: device not accepting address 10, error -71
[ 764.338302] usb 3-1: new full speed USB device using uhci_hcd and address 11
[ 782.933004] usb 3-1: new full speed USB device using uhci_hcd and address 12
[ 783.352751] usb 3-1: device not accepting address 12, error -71
[ 783.464703] usb 3-1: new full speed USB device using uhci_hcd and address 13
[ 783.884719] usb 3-1: device not accepting address 13, error -71
[ 783.996636] usb 3-1: new full speed USB device using uhci_hcd and address 14
[ 799.116252] usb 3-1: device descriptor read/64, error -110
[ 814.343892] usb 3-1: device descriptor read/64, error -110

Johannes Pilkahn (j-pilkahn) said : #4

Okay it's using uhci>hcd. I missed this, sorry. Disable ehci_hcd also.

Run
sudo modprobe -r ehci_hcd

Note this only disables the module for the current session. If you reboot it will have no effect anymore. If you have rebooted since disabling ohci_hcd, run
sudo modprobe -r ehci_hcd && sudo modprobe -r ohci_hcd

Just to make sure no module is running that could conflict with uhci_hcd

I am bit confused, since I scrolled up and noticed that initially (seed dmesg | tail) it was trying to load via ehci_hcd.
Just to confirm: You did notice the typo in my first post and did not run the first "permanent" version? If you did, execute none of the above, but reenable ehci. Ask if you don't know how to do that.

Jeroen (c0p3rn1c) said : #5

lsusb freezes, is this normal?
dmesg:
[ 195.647926] ehci_hcd 0000:00:13.2: remove, state 1
[ 195.648356] usb usb5: USB disconnect, address 1
[ 195.651572] ehci_hcd 0000:00:13.2: USB bus 5 deregistered
[ 195.686732] ohci_hcd 0000:00:02.3: remove, state 1
[ 195.687272] usb usb2: USB disconnect, address 1
[ 195.687794] ohci_hcd 0000:00:02.3: USB bus 2 deregistered
[ 195.688061] ohci_hcd 0000:00:02.2: remove, state 1
[ 195.688232] usb usb1: USB disconnect, address 1
[ 195.688686] ohci_hcd 0000:00:02.2: USB bus 1 deregistered
[ 202.788859] usb 3-1: new full speed USB device using uhci_hcd and address 2

Also I did not see any new disks:
sudo fdisk -l

Schijf /dev/sda: 41.1 GB, 41110142976 bytes
255 koppen, 63 sectoren/spoor, 4998 cilinders
Eenheid = cilinders van 16065 * 512 = 8225280 bytes
Schijf-ID: 0x058666c9

 Apparaat Opstart Begin Einde Blokken ID Systeem
/dev/sda1 * 1 4787 38451546 83 Linux
/dev/sda2 4788 4998 1694857+ 5 Uitgebreid
/dev/sda5 4788 4998 1694826 82 Linux wisselgeheugen

Johannes Pilkahn (j-pilkahn) said : #6

Quoting Jeroen: lsusb freezes, is this normal?

No. Shouldn't.

Quoting Jeroen: [ 202.788859] usb 3-1: new full speed USB device using uhci_hcd and address 2

We have gotten rid of these errors, though?

usb 3-1: device not accepting address 13, error -71
usb 3-1: device descriptor read/64, error -110

If with both modules disabled, nothing gets better, as sorry as I may be, I don't know what further to try.

Someone else, respond, please!

Launchpad Janitor (janitor) said : #7

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.