Linux USB2 Journey

Well another day here and all the things I wanted to do aren’t getting done.. Debugging a bunch of stuff instead. I was up late with our friend Dave over at ComputerCures.Biz setting him up with a slick OpenWRT router setup and when we finished at 2:00am he gifted me a brand new Western Digital 400 Gig USB hard drive. Of course this hard drive is quite slow to deal with when you only have USB1 handy, however I do have USB2 on my server in the closet we all know as “hugh” that runs gentoo and honestly has never been updated since put into use.. Well it’s not going well something is choking on it and dmesg is just spitting out repeated errors.

usb 1-5: new high speed USB device using ehci_hcd and address 2
usb 1-5: device descriptor read/64, error -110
usb 1-5: device descriptor read/64, error -110
usb 1-5: new high speed USB device using ehci_hcd and address 3
usb 1-5: device descriptor read/64, error -110
usb 1-5: device descriptor read/64, error -110
usb 1-5: new high speed USB device using ehci_hcd and address 4
usb 1-5: device descriptor read/8, error -110
usb 1-5: device descriptor read/8, error -110
usb 1-5: new high speed USB device using ehci_hcd and address 5
usb 1-5: device descriptor read/8, error -110
usb 1-5: device descriptor read/8, error -110

If I Remove the USB2 driver with “rmmod ehci_hcd” the ohci_hcd module works just fine but its USB1 slow. So I’m updating the kernel in hopes that this is some bug in the ehci module that will be fixed up good in the newer kernel.

I’m into the world of “emerge” and this could take a while to get the stuff I need updated. I kinda wish “hugh” was like the rest of my computers here, running Debian so I could just install a pre-built kernel quickly to test my theory.

Okay, Hours have passed and I finally got the new kernel installed. I must stress two things that got me good.

1) grub needed to be config’ed by hand. I screwed up and learned this after rebooting.

2) Running etc-update is required! I again screwed up and the init scripts were completely b0rked.

I’ll wrap this up with some good news, the new kernel 2.6.18 is now running and the USB2 is working great and hauling ass. w00t!

Leave a Reply

Your email address will not be published. Required fields are marked *