LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-13-2005, 09:46 PM   #1
rpz
Member
 
Registered: Mar 2005
Posts: 126

Rep: Reputation: 15
USB 2.0 error message


I tried a USB2.0 hard disk that I have previously been using under winxp. I noticed the disk was exceptionally slow so I looked in /proc/bus/usb/devices and it was listed as a USB1 device. Then I got some explaination: (from syslog)

Mar 14 04:34:08 localhost kernel: hub 2-0:1.0: over-current change on port 1
Mar 14 04:34:11 localhost kernel: usb 2-1: new full speed USB device using uhci_hcd and address 4
Mar 14 04:34:11 localhost kernel: usb 2-1: not running at top speed; connect to a high speed hub

The disk works on the same computer under windows xp (but sometimes xp too complains about too much power usage so I guess my computer is really picky (it's a laptop) but xp just warns, the little balloon disappears after a while and everything is ok). Anyway, in xp it works, in linux it does not. Also, I don't really see the correlation between the first message about current and the last one about speed (other than the obvious empirical one, that is).
Just to clarify, I have been using a lot of other USB storage devices, and they work without problem (that is, usb2 devices work at full speed). And yes, I have ehci_hcd loaded.

My guess about this whole thing is that the hard drive requires some amount of power to build up angular momentum on the disks. When the disks are spinning, power settles at a lower level. This power fluctuation maybe somehow confuses the driver into thinking we're dealing with a USB1 device? Which doesn't help me much right now. In a desperate attempt, I tried unloading uhci_hcd, but that was a bad idea, as I lost bluetooth and the mouse (and the hard disk too for that matter).

Help! Copying ISO images at ~600 kb/sec is just unbearable.
 
Old 03-14-2005, 01:36 AM   #2
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
You can increase your hard drive performance with hdparm although I don't know how this article would integrate with a USB drive. Good luck with it -- J.W.
 
Old 03-14-2005, 08:24 AM   #3
rpz
Member
 
Registered: Mar 2005
Posts: 126

Original Poster
Rep: Reputation: 15
Thank you, that article was really interresting. Although I get about 40 MB/sec on my laptop HD already. However, it has nothing to do with my original question I think.

I just noticed something: If I boot into windows xp when starting the computer and then reboot to linux, everything works:
/proc/bus/usb/devices
....
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=04cf ProdID=8818 Rev=a3.01
S: Manufacturer=Myson Century, Inc.
S: Product=USB Mass Storage Device
S: SerialNumber=100
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 10mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=05 Prot=50 Driver=usb-storage
E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms

It now reads Spd=480 (before it was Spd=12). Also, it is listed right below the ehci_hcd driver (before it was below the uhci_hcd driver). Is there any way to enforce this set-up so that I don't have to boot windows every time I'm gonna copy files...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
QMAIL error:554 Transaction failed: message format error mpk25 Linux - Software 1 10-15-2004 12:53 PM
error message when run MRTG: SNMP error zhgalaxy Linux - Newbie 0 02-18-2004 12:08 PM
why this error message is appear in xsession-error file? eye Red Hat 0 10-21-2003 07:51 AM
Who is able to interpret this USB error message PGPGPG Linux - Hardware 2 05-19-2003 05:22 PM
Error message?!? pk21 Linux - Networking 2 08-21-2002 08:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration