View Full Version : USB 2.0 External HD Problem
SiriusStarr
2007-08-31, 01:09 PM CDT
Hi all,
I have a USB external HD and it has always worked fine with my FC 7 running computer. A few days ago, however, it stopped working (after a kernel update). Looking at the system log reveals the following messages:
usb 4-4: new high speed USB device using ehci_hcd and address 37
usb 4-4: new high speed USB device using ehci_hcd and address 43
usb 4-4: new high speed USB device using ehci_hcd and address 49
usb 4-4: new high speed USB device using ehci_hcd and address 53
usb 4-4: new high speed USB device using ehci_hcd and address 57
usb 4-4: new high speed USB device using ehci_hcd and address 59
usb 4-4: new high speed USB device using ehci_hcd and address 74
usb 4-4: new high speed USB device using ehci_hcd and address 77
usb 4-4: new high speed USB device using ehci_hcd and address 82
usb 4-4: new high speed USB device using ehci_hcd and address 88
usb 4-4: new high speed USB device using ehci_hcd and address 89
usb 4-4: new high speed USB device using ehci_hcd and address 100
usb 4-4: new high speed USB device using ehci_hcd and address 101
usb 4-4: new high speed USB device using ehci_hcd and address 104
usb 4-4: new high speed USB device using ehci_hcd and address 109
ehci_hcd 0000:00:1d.7: port 4 reset error -110
hub 4-0:1.0: hub_port_status failed (err = -32)
This repeats over and over again (with different address numbers) for as long as it is plugged into my computer. The HD works fine both on my other computer running Windows XP and on my friend's computer running FC 7, so it's not a hardware or cable problem.
Running:
modprobe -r ehci-hcd
will let it work fine, though of course at USB 1.1 speeds. While this is a temporary workaround, I use the HD for the transfer of large files, so it's far less than ideal. Some websites have recommended the irqpoll kernel option as a fix; this did nothing for me. Booting to the old kernel doesn't help.
I'm currently at my wits' end here, so any help is appreciated.
Sincerely,
SiriusStarr
stevea
2007-08-31, 01:28 PM CDT
That's an ugly problem. Does "dmesg" show anything ?
SiriusStarr
2007-08-31, 01:30 PM CDT
The errors I posted above are the output of dmesg.
LocutusOfBorg
2007-08-31, 01:46 PM CDT
You mentioned a kernel update - test the drive reverting to the old one, or using any other kernel you have. Search in bugzilla for USB issues related to the kernel you're running now.
SiriusStarr
2007-08-31, 02:46 PM CDT
Using the old kernel doesn't fix it. I'll go check bugzilla.
SiriusStarr
2007-08-31, 04:12 PM CDT
Judging by bugzilla, the ehci-hcd modules is pretty screwed up. There are a lot of similar bugs to this one, and no one seems to have any fix other than to disable USB 2.0. :-(
SiriusStarr
2007-08-31, 10:51 PM CDT
Hmm... looks like turning on "old_scheme_first" for usbcore might work. How do you edit /sys/module/usbcore/parameters/old_scheme_first?? It's always read only, even if I open as root from runlevel 1...
bob_c_b
2007-09-01, 06:52 AM CDT
Hmm... looks like turning on "old_scheme_first" for usbcore might work. How do you edit /sys/module/usbcore/parameters/old_scheme_first?? It's always read only, even if I open as root from runlevel 1...
I belive you can edit read only files in Vi by using wq! (as in w q bang) when you go to save the file, that works for hand editing the shadow file.
SiriusStarr
2007-09-01, 02:36 PM CDT
I belive you can edit read only files in Vi by using wq! (as in w q bang) when you go to save the file, that works for hand editing the shadow file.
"old_scheme_first" E212: Can't open file for writing
Press ENTER or type command to continue
That didn't work...
SiriusStarr
2007-09-01, 02:40 PM CDT
Creating a file and trying to move it didn't work, nor did removing the file... They all say operation not permitted...
LocutusOfBorg
2007-09-01, 03:19 PM CDT
the /sys dir is the mountpoint for a virtual filesystem - its "files" are not real files nor are they intended to be "edited" with a text editor. So, as root, type
echo y > /sys/module/usbcore/parameters/old_scheme_first
If it works, add the line above to /etc/rc.d/rc.local
SiriusStarr
2007-09-01, 08:04 PM CDT
Well, adding the line
echo y > /sys/module/usbcore/parameters/old_scheme_first
to my /etc/rc.d/rc.sysinit worked fine as far as editing the file. And now, I have a new error. When I plug in the drive, it works fine for a while, then it disconnects for a while and then reconnects. Here's dmesg:
usb 4-3: new high speed USB device using ehci_hcd and address 2
usb 4-3: configuration #1 chosen from 1 choice
Initializing USB Mass Storage driver...
scsi2 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usb-storage: device scan complete
scsi 2:0:0:0: Direct-Access ST910082 3A 3.05 PQ: 0 ANSI: 0 CCS
sd 2:0:0:0: [sdb] 195371568 512-byte hardware sectors (100030 MB)
sd 2:0:0:0: [sdb] Write Protect is off
sd 2:0:0:0: [sdb] Mode Sense: 00 14 00 00
sd 2:0:0:0: [sdb] Assuming drive cache: write through
sd 2:0:0:0: [sdb] 195371568 512-byte hardware sectors (100030 MB)
sd 2:0:0:0: [sdb] Write Protect is off
sd 2:0:0:0: [sdb] Mode Sense: 00 14 00 00
sd 2:0:0:0: [sdb] Assuming drive cache: write through
sdb: sdb1
sd 2:0:0:0: [sdb] Attached SCSI disk
sd 2:0:0:0: Attached scsi generic sg2 type 0
SELinux: initialized (dev sdb1, type vfat), uses genfs_contexts
usb 4-3: USB disconnect, address 2
usb 4-3: new high speed USB device using ehci_hcd and address 3
usb 4-3: device not accepting address 3, error -71
usb 4-3: new high speed USB device using ehci_hcd and address 4
usb 4-3: configuration #1 chosen from 1 choice
scsi3 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
usb 4-3: USB disconnect, address 4
usb 4-3: new high speed USB device using ehci_hcd and address 6
usb 4-3: device not accepting address 6, error -71
usb 4-3: new high speed USB device using ehci_hcd and address 21
usb 4-3: configuration #1 chosen from 1 choice
scsi4 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 21
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
scsi 4:0:0:0: Direct-Access ST910082 3A 3.05 PQ: 0 ANSI: 0 CCS
sd 4:0:0:0: [sdb] 195371568 512-byte hardware sectors (100030 MB)
sd 4:0:0:0: [sdb] Write Protect is off
sd 4:0:0:0: [sdb] Mode Sense: 00 14 00 00
sd 4:0:0:0: [sdb] Assuming drive cache: write through
sd 4:0:0:0: [sdb] 195371568 512-byte hardware sectors (100030 MB)
sd 4:0:0:0: [sdb] Write Protect is off
sd 4:0:0:0: [sdb] Mode Sense: 00 14 00 00
sd 4:0:0:0: [sdb] Assuming drive cache: write through
sdb: sdb1
sd 4:0:0:0: [sdb] Attached SCSI disk
sd 4:0:0:0: Attached scsi generic sg2 type 0
SELinux: initialized (dev sdb1, type vfat), uses genfs_contexts
usb 4-3: USB disconnect, address 21
Buffer I/O error on device sdb1, logical block 1
lost page write due to I/O error on sdb1
usb 4-3: new high speed USB device using ehci_hcd and address 25
usb 4-3: configuration #1 chosen from 1 choice
scsi5 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 25
usb-storage: waiting for device to settle before scanning
usb 4-3: USB disconnect, address 25
usb 4-3: new high speed USB device using ehci_hcd and address 38
usb 4-3: configuration #1 chosen from 1 choice
scsi6 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 38
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
scsi 6:0:0:0: Direct-Access ST910082 3A 3.05 PQ: 0 ANSI: 0 CCS
sd 6:0:0:0: [sdb] 195371568 512-byte hardware sectors (100030 MB)
sd 6:0:0:0: [sdb] Write Protect is off
sd 6:0:0:0: [sdb] Mode Sense: 00 14 00 00
sd 6:0:0:0: [sdb] Assuming drive cache: write through
sd 6:0:0:0: [sdb] 195371568 512-byte hardware sectors (100030 MB)
sd 6:0:0:0: [sdb] Write Protect is off
sd 6:0:0:0: [sdb] Mode Sense: 00 14 00 00
sd 6:0:0:0: [sdb] Assuming drive cache: write through
sdb: sdb1
sd 6:0:0:0: [sdb] Attached SCSI disk
sd 6:0:0:0: Attached scsi generic sg2 type 0
SELinux: initialized (dev sdb1, type vfat), uses genfs_contexts
usb 4-3: USB disconnect, address 38
usb 4-4: new high speed USB device using ehci_hcd and address 39
usb 4-4: configuration #1 chosen from 1 choice
scsi7 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 39
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
scsi 7:0:0:0: Direct-Access ST910082 3A 3.05 PQ: 0 ANSI: 0 CCS
sd 7:0:0:0: [sdb] 195371568 512-byte hardware sectors (100030 MB)
sd 7:0:0:0: [sdb] Write Protect is off
sd 7:0:0:0: [sdb] Mode Sense: 00 14 00 00
sd 7:0:0:0: [sdb] Assuming drive cache: write through
sd 7:0:0:0: [sdb] 195371568 512-byte hardware sectors (100030 MB)
sd 7:0:0:0: [sdb] Write Protect is off
sd 7:0:0:0: [sdb] Mode Sense: 00 14 00 00
sd 7:0:0:0: [sdb] Assuming drive cache: write through
sdb: sdb1
sd 7:0:0:0: [sdb] Attached SCSI disk
sd 7:0:0:0: Attached scsi generic sg2 type 0
SELinux: initialized (dev sdb1, type vfat), uses genfs_contexts
usb 4-4: USB disconnect, address 39
Buffer I/O error on device sdb1, logical block 24861228
lost page write due to I/O error on sdb1
usb 4-4: new high speed USB device using ehci_hcd and address 40
usb 4-4: configuration #1 chosen from 1 choice
scsi8 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 40
usb-storage: waiting for device to settle before scanning
scsi 7:0:0:0: rejecting I/O to dead device
scsi 7:0:0:0: rejecting I/O to dead device
usb 4-4: USB disconnect, address 40
usb 4-4: new high speed USB device using ehci_hcd and address 46
usb 4-4: device not accepting address 46, error -71
usb 4-4: new high speed USB device using ehci_hcd and address 54
usb 4-4: device not accepting address 54, error -71
usb 4-4: new high speed USB device using ehci_hcd and address 67
usb 4-4: device not accepting address 67, error -71
usb 4-4: new high speed USB device using ehci_hcd and address 72
usb 4-4: device not accepting address 72, error -71
usb 4-4: new high speed USB device using ehci_hcd and address 74
usb 4-4: device not accepting address 74, error -71
scsi 7:0:0:0: rejecting I/O to dead device
scsi 7:0:0:0: rejecting I/O to dead device
scsi 7:0:0:0: rejecting I/O to dead device
scsi 7:0:0:0: rejecting I/O to dead device
usb 4-4: new high speed USB device using ehci_hcd and address 81
usb 4-4: device not accepting address 81, error -71
usb 4-4: new high speed USB device using ehci_hcd and address 82
usb 4-4: device not accepting address 82, error -71
usb 4-4: new high speed USB device using ehci_hcd and address 91
usb 4-4: device not accepting address 91, error -71
scsi 7:0:0:0: rejecting I/O to dead device
FAT: unable to read inode block for updating (i_pos 397779659)
usb 4-4: new high speed USB device using ehci_hcd and address 99
usb 4-4: device not accepting address 99, error -71
usb 4-4: new high speed USB device using ehci_hcd and address 102
usb 4-4: device not accepting address 102, error -71
usb 4-4: new high speed USB device using ehci_hcd and address 125
usb 4-4: device not accepting address 125, error -71
usb 4-4: new high speed USB device using ehci_hcd and address 2
usb 4-4: device not accepting address 2, error -71
usb 4-4: new high speed USB device using ehci_hcd and address 24
usb 4-4: device not accepting address 24, error -71
usb 4-4: new high speed USB device using ehci_hcd and address 39
usb 4-4: configuration #1 chosen from 1 choice
scsi9 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 39
usb-storage: waiting for device to settle before scanning
usb 4-4: USB disconnect, address 39
usb 4-4: new high speed USB device using ehci_hcd and address 98
usb 4-4: device not accepting address 98, error -71
usb 4-4: new high speed USB device using ehci_hcd and address 107
usb 4-4: configuration #1 chosen from 1 choice
scsi10 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 107
usb-storage: waiting for device to settle before scanning
usb 4-4: USB disconnect, address 107
usb 4-4: new high speed USB device using ehci_hcd and address 111
usb 4-4: configuration #1 chosen from 1 choice
scsi11 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 111
usb-storage: waiting for device to settle before scanning
usb 4-4: USB disconnect, address 111
usb 4-4: new high speed USB device using ehci_hcd and address 117
usb 4-4: device not accepting address 117, error -71
usb 4-4: new high speed USB device using ehci_hcd and address 118
usb 4-4: device not accepting address 118, error -71
usb 4-4: new high speed USB device using ehci_hcd and address 3
usb 4-4: device not accepting address 3, error -71
usb 4-4: new high speed USB device using ehci_hcd and address 9
usb 4-4: device not accepting address 9, error -71
:mad: :mad: :mad:
I'm thinking it's about time to format and start over....
SomeDamFool
2007-09-04, 11:29 AM CDT
I had the same problem automounting any USB device after I upgraded to a kernel from the development (fc8) repo. I tried updating Hal, udev, and dbus, then Hal stopped working at all. I finally got brave and updated everything in the devel repo, and now I have Hal and automount working again, and the system seems stable.
Even if you updated to a different F7 kernel you may need to update the above mentioned items (from the F7 update repo), and possibly more.
Mike
SiriusStarr
2007-09-04, 01:34 PM CDT
I had the same problem automounting any USB device after I upgraded to a kernel from the development (fc8) repo. I tried updating Hal, udev, and dbus, then Hal stopped working at all. I finally got brave and updated everything in the devel repo, and now I have Hal and automount working again, and the system seems stable.
Even if you updated to a different F7 kernel you may need to update the above mentioned items (from the F7 update repo), and possibly more.
Mike
I'm somewhat of a Linux noob, so how do I go about doing that?
wtt
2007-09-16, 10:03 PM CDT
I am a f7 newbie, I also have a USB 2.0 External HD . However, I couldn't see it after I plug it to the usb interface while I can do that with my XP laptop easily. How should I configure the f7 to view this external HD? For your information, I can do that successfully with my usb stick(1G)... Any help and hints would be greatly appreciated...
SiriusStarr
2007-09-17, 12:09 AM CDT
Well, having completely reinstalled and seeing as that the problem still persists, I am forced to the unfortunate conclusion that it is a hardware issue... Time for a new laptop.
wtt
2007-09-17, 12:14 AM CDT
Actually it is in my desktop which is running fedora7. There is no problem with my XP laptop to find the usb hard drive. Moreover, in the the fedora7 machine, I have the XP dual set up. The USB harddrive works fine as well.
It doesn't work only with my f7. And, the f7 can recognize my usb stick which is 1G...
SiriusStarr
2007-09-17, 12:21 AM CDT
No, no, no... MY problem is hardware. I don't know about yours.
spacemen12
2007-09-18, 07:59 AM CDT
modprobe -r ehci-hcd
SiriusStarr
Hi,
I have a similar problem with a usbkey: http://www.fedoraforum.org/forum/showthread.php?t=166472
Your solution quoted above "solved" my problem. It works in not optimal seting, but it works.
I would like to make the "solution" permanent (i.e. remove the module at boot, or not load it at boot). How can I do this?
Thanks
SiriusStarr
2007-09-18, 09:45 AM CDT
Try adding the line:
blacklist ehci-hcd
to /etc/modprobe.d/blacklist
~Sirius
wtt
2007-09-18, 09:53 AM CDT
Thanks a lot. What is blacklist for? Why should I add that line?
I added that line and plug out my usb hard drive and plug in. It still doesn't seem work...
SiriusStarr
2007-09-18, 09:57 AM CDT
I take it back; I just tried it and it doesn't work... Trying another possibility...
SiriusStarr
2007-09-18, 10:13 AM CDT
Okay, this works. Add:
rmmod ehci-hcd
to /etc/rc.local
Weird that blacklisting doesn't work...
SiriusStarr
2007-09-18, 10:17 AM CDT
Oops, sent that before I meant too...
All that does is remove the module ehci-hcd upon startup. /etc/rc.local is an init file that is run after all other init files are run. All the line does is unload the USB 2.0 module (ehci-hcd).
wtt
2007-09-18, 10:27 AM CDT
Thanks a lot for your information. However, it still doesn't seem work. The error message is as below:
"The volume '新加卷' uses the ntfs-3g file system which is not supported by your system."
SiriusStarr
2007-09-18, 11:26 AM CDT
This probably means you don't have the right packages installed. Try yum install fuse-ntfs-3g or yum install ntfs-3g. The two packages are identical; the name just depends on what repo you use.
vBulletin® v3.7.3, Copyright ©2000-2009, Jelsoft Enterprises Ltd.