Author Topic: USB Problem  (Read 1171 times)

Offline chama98

  • New Friend
  • *
  • Posts: 8
USB Problem
« on: September 15, 2010, 08:20:58 AM »
I'm having problem with my PCLinux 2010.7 installation on my pc at work. It takes to much time to boot up.
I've been watching at logs and I think that the problem is related with usb.
This is part of the output of /var/log/messages :
Code: [Select]
Sep 15 10:56:24 localhost klogd: ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Sep 15 10:56:24 localhost klogd: Warning! ehci_hcd should always be loaded before uhci_hcd and ohci_hcd, not after
Sep 15 10:56:24 localhost klogd: ehci_hcd 0000:00:1d.7: PCI INT A -> GSI 23 (level, low) -> IRQ 23
Sep 15 10:56:24 localhost klogd: ehci_hcd 0000:00:1d.7: EHCI Host Controller
Sep 15 10:56:24 localhost klogd: ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 5
Sep 15 10:56:24 localhost klogd: ehci_hcd 0000:00:1d.7: using broken periodic workaround
Sep 15 10:56:24 localhost klogd: ehci_hcd 0000:00:1d.7: debug port 1
Sep 15 10:56:24 localhost klogd: ehci_hcd 0000:00:1d.7: irq 23, io mem 0xf9ffbc00
Sep 15 10:56:24 localhost klogd: ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00
Sep 15 10:56:24 localhost klogd: usb usb5: New USB device found, idVendor=1d6b, idProduct=0002
Sep 15 10:56:24 localhost klogd: usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Sep 15 10:56:24 localhost klogd: usb usb5: Product: EHCI Host Controller
Sep 15 10:56:24 localhost klogd: usb usb5: Manufacturer: Linux 2.6.33.7-pclos3.bfs ehci_hcd
Sep 15 10:56:24 localhost klogd: usb usb5: SerialNumber: 0000:00:1d.7
Sep 15 10:56:24 localhost klogd: hub 5-0:1.0: USB hub found
Sep 15 10:56:24 localhost klogd: hub 5-0:1.0: 8 ports detected
Sep 15 10:56:24 localhost klogd: fuse init (API version 7.13)
Sep 15 10:56:24 localhost klogd: ieee1394: raw1394: /dev/raw1394 device initialized
Sep 15 10:56:24 localhost klogd: nvidia: module license 'NVIDIA' taints kernel.
Sep 15 10:56:24 localhost klogd: Disabling lock debugging due to kernel taint
Sep 15 10:56:24 localhost klogd: usb 5-8: new high speed USB device using ehci_hcd and address 3
Sep 15 10:56:24 localhost klogd: nvidia 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Sep 15 10:56:24 localhost klogd: vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=io+mem
Sep 15 10:56:24 localhost klogd: NVRM: loading NVIDIA UNIX x86 Kernel Module  256.53  Fri Aug 27 21:03:42 PDT 2010
Sep 15 10:56:24 localhost klogd: vboxguest: VirtualBox Guest PCI device not found.
Sep 15 10:56:24 localhost klogd: Adding 2466432k swap on /dev/sda5.  Priority:-1 extents:1 across:2466432k
Sep 15 10:56:38 localhost klogd: usb 5-8: device descriptor read/64, error -110
Sep 15 10:56:53 localhost klogd: usb 5-8: device descriptor read/64, error -110
Sep 15 10:56:53 localhost klogd: usb 5-8: new high speed USB device using ehci_hcd and address 4
Sep 15 10:57:08 localhost klogd: usb 5-8: device descriptor read/64, error -110
Sep 15 10:57:23 localhost klogd: usb 5-8: device descriptor read/64, error -110
Sep 15 10:57:24 localhost klogd: usb 5-8: new high speed USB device using ehci_hcd and address 5
Sep 15 10:57:34 localhost klogd: usb 5-8: device not accepting address 5, error -110
Sep 15 10:57:34 localhost klogd: usb 5-8: new high speed USB device using ehci_hcd and address 6
Sep 15 10:57:44 localhost klogd: usb 5-8: device not accepting address 6, error -110
Sep 15 10:57:44 localhost klogd: hub 5-0:1.0: unable to enumerate USB device on port 8

Can someone tell me what I have to do to solve this?
« Last Edit: September 15, 2010, 08:40:29 AM by chama98 »

Offline rubentje1991

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2110
  • Rubenus Parvus MCMXCI
Re: USB Problem
« Reply #1 on: September 15, 2010, 12:27:52 PM »
What do the boot messages simply say...?

If you press [Esc] on booting up the pc (when the bull is appearing)
=> see where it hangs......

And report it here! (maybe it IS usb, but you didn't mention I think  ::) )

Offline chama98

  • New Friend
  • *
  • Posts: 8
Re: USB Problem
« Reply #2 on: September 15, 2010, 02:55:58 PM »
What do the boot messages simply say...?

If you press [Esc] on booting up the pc (when the bull is appearing)
=> see where it hangs......

And report it here! (maybe it IS usb, but you didn't mention I think  ::) )

When it boot I press [Esc] and it hangs at  Iniciando bus de mensajes del sistema OK (In english should be something like this: Init system bus messages OK).
It stays hang for nearly 2 minutes, then writes something on screen (I can't even see it) and very quickly the boot screen appears.

Offline hounddog

  • Hero Member
  • *****
  • Posts: 1414
  • Go ... and catch a falling star ...
Re: USB Problem
« Reply #3 on: September 15, 2010, 10:49:45 PM »
Do your USB devices work?  You can try plugging in a USB drive to see if they are detected.

You can try installing the latest kernel and see if the problem still persists.

Offline chama98

  • New Friend
  • *
  • Posts: 8
Re: USB Problem
« Reply #4 on: September 16, 2010, 07:30:47 AM »
Do your USB devices work?  You can try plugging in a USB drive to see if they are detected.

You can try installing the latest kernel and see if the problem still persists.

The USB devices work perfectly. I have a usb mouse plugged and tried a pendrive and all was fine.
I also install the latest kernel and the problem persists.

I have read that the problem is that ehci_hcd should be loaded before uhci_hcd and ohci_hcd (As the log says: Warning! ehci_hcd should always be loaded before uhci_hcd and ohci_hcd, not after).
I take a look at /etc/modprobe.conf that says:
   install scsi_hostadapter /sbin/modprobe ata_piix; /sbin/modprobe ahci; /bin/true
   install usb-interface /sbin/modprobe ehci_hcd; /sbin/modprobe uhci_hcd; /bin/true
   alias pci:v000010ECd00008136sv00001565sd00002308bc02sc00i00 r8169
   alias eth0 r8169

Any clue would be welcome.

Offline hounddog

  • Hero Member
  • *****
  • Posts: 1414
  • Go ... and catch a falling star ...
Re: USB Problem
« Reply #5 on: September 17, 2010, 10:39:49 AM »
Re-arranging the order the system loads devices is a bit complex for me.  Hope some expert linux techie can help you out here.

Offline chama98

  • New Friend
  • *
  • Posts: 8
Re: USB Problem
« Reply #6 on: September 21, 2010, 07:57:19 AM »
I'm still fighting with this annoying problem.
Can someone tell me how to fix it??

Offline canajun

  • Jr. Member
  • **
  • Posts: 49
  • I hate WinDohs!
Re: USB Problem
« Reply #7 on: September 24, 2010, 04:23:08 AM »
I have no solution, but can confirm pretty much the same problem on both my Toshiba Satellite A300d Laptop and my main PC (both running PCL 2010.7).  I am not skilled in Linux language and using the terminal commands, finding logs, etc  and so I can't give you all the details, logs etc, and so I did not report it here, but the problem occurred each time, right after a downloading and installing a whole slew of updates that were available with Synaptic, and then rebooting. Upon rebooting, the computer (both of them) failed to find even a keyboard or mouse, much less any other peripheral devices.

The laptop would just hang and hang, with a message concerning "udev", while the PC would at least boot as far as the log in screen, but then I could go no further, as the keyboard and mouse would not respond. I even tried using non-USB input devices, and these were also not recognized.

I looked here for similar reports, but found none. Often, I don't understand the solutions being offered here anyways, as they are too technical. So, ultimately, I found no other solution, except to format and reinstall everything from scratch. But it happened again, and again, and again. I have never experienced this with earlier versions of PCLinuxOS.

What I was able to determine, is that it has something to do with updating files related to USB and "udev". I now try to avoid updates and when I do update anything, I am VERY selective, avoiding any packages that say or appear related to USB or udev.  Since I started this selection process, all has been fine.

I'm sorry I can't be more helpful with details, but I do hope that this does help towards pin-pointing the problem, and identifying a good solution. It has been very aggravating, to say the least. 

PC: AMD Athlon(tm) 64 X2 Dual Core Processor 5000+
Laptop: AMD Turion(tm) 64 X2 Dual Core TL-60