Bug 105585 - External USB or Firewire harddisks are still not handled to be usable
Summary: External USB or Firewire harddisks are still not handled to be usable
Status: VERIFIED FIXED
: 113827 (view as bug list)
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Hotplug (show other bugs)
Version: Beta 2
Hardware: All All
: P5 - None : Normal
Target Milestone: ---
Assignee: Greg Kroah-Hartman
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-18 15:26 UTC by Marcel Hilzinger
Modified: 2006-02-28 12:29 UTC (History)
5 users (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Log detail, where the USB-disk "gets lost" (4.49 KB, text/plain)
2005-08-22 10:02 UTC, Marcel Hilzinger
Details
Trekstore dmesg error (121.27 KB, text/plain)
2005-09-19 15:36 UTC, Felix Rommel
Details
Trekstore lsusb -v (10.96 KB, text/plain)
2005-09-19 15:37 UTC, Felix Rommel
Details
New log 10.1 Alpha3 (7.19 KB, text/plain)
2005-11-20 09:56 UTC, Janos Toberling
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcel Hilzinger 2005-08-18 15:26:47 UTC
Bug description at the end. 
 
Since introducing subfs the handling of external harddrives has not been 
improved. Nevertheless the amount of such devices is rapidly growing. Please 
consider the following: 
 
After hardwaredetection has found the new device, ask the user, wheter 
 
- he wants to use the device with subfs (suitable for FAT-Disks) 
 
- he wants to use the device without subfs (needed for maximum speed and every 
Linux Filesystem (recommended).  
 
In the second case, make usual fstab-entries for the disk, so that it get's 
not mountet automatically, but is mountable by the user. 
 
Bug in Beta2: once an external device gets unmountet, it cannot be remountet 
again. I opened a 150 GB USB-disk, browsed it and left the window open. When I 
clicked on a directory 5 minutes later, Konqueror told me, that there is no 
such device.
Comment 1 Ihno Krumreich 2005-08-18 18:09:26 UTC
Changing Hardware to all, as this is not HW-specific. 
Comment 2 Danny Al-Gaaf 2005-08-20 14:56:33 UTC
Who unmounted the device? The system only umount the device if you remove it or 
of you unmount it manually. I can't reproduce a umount without user umount.

This is the correct behavior for me If _you_ unmount the device you can't access 
this anymore. I don't understand the problem. If you have a problem with the kde 
behavior, this is a KDE bug
Comment 3 Marcel Hilzinger 2005-08-22 09:52:55 UTC
External devices are mountet on demand by subfs. Of course they are not 
unmountet, but if you don't use the device, then the system doesn't use it. 
(e.g df -h does not show up the device)  
 
If you change to the directory with cd /media/usbdisk, the disk is activated 
again. The problem is, that after 5-1o Minutes of inactivity cd /media/usbdisk 
does nothing. Once the USB-disk get's inactive, you cannot access it anymore. 
 
I hope the problem is now clear. 
 
Nevertheless it makes less problems on console then within Konqueror. 
Comment 4 Marcel Hilzinger 2005-08-22 10:02:04 UTC
Created attachment 46853 [details]
Log detail, where the USB-disk "gets lost"

This appers randomly after 5-10 minutes. If I mount the disk by hand, there are
no connection problems.
Comment 5 Olaf Hering 2005-09-15 15:48:27 UTC
*** Bug 113827 has been marked as a duplicate of this bug. ***
Comment 6 Felix Rommel 2005-09-19 15:35:09 UTC
I have also problems with my Trekstore external 120 GByte USB harddisk. Before
SUSE 9.3 I think it worked without any problems. Then with SUSE 9.3 or so the
problems started.

The cause is the ehci_hcd.ko kernel module. I don't know what you did but I can
only use my USB disk with USB 1.0 after removing the kernel module from it.

With Ubuntu Hoary the disk works perfectly...

I attach some "trekstore" log files.
Comment 7 Felix Rommel 2005-09-19 15:36:18 UTC
Created attachment 50314 [details]
Trekstore dmesg error
Comment 8 Felix Rommel 2005-09-19 15:37:44 UTC
Created attachment 50315 [details]
Trekstore lsusb -v
Comment 9 Andrey Nikanorov 2005-10-16 20:23:23 UTC
Like in 113827. When I transfer big file from iPod (usb2) transfer can (too often :[) be stalled. 

Message in "/var/log/messages": "linux kernel: usb 3-2: reset high speed USB device using ehci_hcd and address 9".

Same thing was in SuSE 9.3.
Comment 10 Greg Kroah-Hartman 2005-11-15 22:12:46 UTC
So is this a subfs issue, or a usb issue?
Comment 11 Felix Rommel 2005-11-15 23:57:58 UTC
The problem with my Trekstore went away after labeling the partitions with tune2fs.

With Hoary everything was OK. Then I had problems with Breezy and SUSE 10. So I think the problems have sth. to to with a Kernel problem, because in Hoary with an older Kernel it worked and with the newer Breezy/Suse Kernels there were these problems.

But with the labeled partitions the USB disk is mounted automatically at the right place.

BUT a big problem is that I cannot umount them in KDE nor in Gnome because it says: "... is not in fstab so only root can umount this device..." which is VERY annoying. I have to umount it as root in a console which is NO solution!

With Hoary/Breezy everything works fine - I can umount it as normal user without problems.
Comment 12 Greg Kroah-Hartman 2005-11-16 00:24:41 UTC
Ok, not a kernel problem, closing...
Comment 13 Marcel Hilzinger 2005-11-18 10:13:32 UTC
Sorry, but i think you didn't read the comments. It's still not clear, wheter it's a kernel or an udev problem. 

Also closing the bug doesn't help improving the still existing problem. If you feel, that is't not your job to fix the problem, please assing to another developer or leave the bug open. It's far away from beeing fixed, and open a new report for 10.1 doesn't make much sense, as the whole history is gone then.

If you want to close the bug, mark it as won't fix or whatever, but it's definitely not resolved.

Thanks
Comment 14 Janos Toberling 2005-11-20 09:56:37 UTC
Created attachment 57808 [details]
New log 10.1 Alpha3

I've made some tests with the new 10.1 Alpha3 release. 
The bug is still here. Pls. read the attached logs.
Regards: 
         Janos

PS.: I think it's in the kernel or in my IDE2USB firmware.
Comment 15 Andrey Nikanorov 2005-11-20 12:17:14 UTC
>or in my IDE2USB firmware.
I don't  think so. My iPod have the same bug, but only in Linux :)

Maybe problem is in "ehci_hcd", because when I remove this module ("rmmod ehci_hcd"), everything ok, but speed (usb1 mode)...
Comment 16 Terry Lewis 2005-12-01 00:00:45 UTC
I have the same problem with an external drive, except sometimes it never comes back (not even in 1.1 mode). It appears to be a kernel issue however:

http://bugzilla.kernel.org/show_bug.cgi?id=5682

Looks like the cause of it to me, though I could be wrong.
Comment 17 Terry Lewis 2005-12-01 00:19:42 UTC
(In reply to comment #16)
> I have the same problem with an external drive, except sometimes it never comes
> back (not even in 1.1 mode). It appears to be a kernel issue however:
> 
> http://bugzilla.kernel.org/show_bug.cgi?id=5682
> 
> Looks like the cause of it to me, though I could be wrong.
> 

Sorry, I meant http://bugzilla.kernel.org/show_bug.cgi?id=4057 as mentioned i nthe above bug at bugzilla.kernel.org
Comment 18 Clinton Gormley 2006-02-21 12:52:05 UTC
I can confirm that doing:
 - unplugging my external DVD drive
 > rmmod ehci_hcd
 > modprobe ehci_hcd 
 - plugging in drive

allows udev to function as intended.

Previously, if I unplugged the drive after using it, when i replugged it, it would detect the device, but wouldn't detect any DVD.
Comment 19 Clinton Gormley 2006-02-21 12:52:52 UTC
(In reply to comment #18)

Sorry, forgot to add : using package : kernel-default-2.6.13-15.8 on SuSE 10.0
Comment 20 Marcel Hilzinger 2006-02-21 13:33:58 UTC
Seems, that 10.1 beta4 resolves the problem. I will wait for beta5, than close it, if there are no other complaints.
Comment 21 Marcel Hilzinger 2006-02-28 12:08:12 UTC
Beta5 works fine for me, too. Closing the bug.
Comment 22 Ihno Krumreich 2006-02-28 12:29:28 UTC
Verified & Closed.