Bug 164866

Summary: Can't suspend with attached USB/Firewire storage devices with non FAT/NTFS volumes
Product: [openSUSE] SUSE Linux 10.1 Reporter: Danny Al-Gaaf <dalgaaf>
Component: Mobile DevicesAssignee: Forgotten User ZhJd0F0L3x <forgotten_ZhJd0F0L3x>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: behlert, joe, kukuk, nyoshiyama, peter, suse-beta
Version: Beta 9   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Danny Al-Gaaf 2006-04-10 13:40:06 UTC
If you have e.g. a USB harddisk attached with a mounted reiserfs partition (all non FAT/NTFS partitions are effected) you can't suspend your machine because powersave can't unload the usb-storage module. With FAT/NTFS it works because powersave umount this partitions by default.

With hal you can check on which bus the partition/volume is located. Powersave should always umount (and remount on resume) all volumes on external USB/Firewire devices before try remove the usb-storage module.
Comment 1 Stefan Behlert 2006-04-11 09:45:23 UTC
Is automatically remounting really necessary? I don't think the powersaved has to do anything here.
Comment 2 Forgotten User ZhJd0F0L3x 2006-04-11 10:04:24 UTC
yes, it is.
USB for example will just silently drop the device on suspend, which is not what you want in terms of data security. We basically have to unmount all external storage before suspend and remount them afterwards - or refuse the suspend.
We do the latter now and somebody needs to decide if this issue is critical enough to fix it right now or if it can wait until SP1 or a maintenance update.
Comment 3 Forgotten User ZhJd0F0L3x 2006-04-11 10:07:19 UTC
AJ, Thorsten, Joe, please decide.
Comment 4 Forgotten User ZhJd0F0L3x 2006-04-11 10:08:34 UTC
*** Bug 164322 has been marked as a duplicate of this bug. ***
Comment 5 Thorsten Kukuk 2006-04-11 10:12:59 UTC
FAT/VFAT does not work reliable for me, too. Had this problem on Sunday.
So something for 10.2 or later, not for CODE10.
Comment 6 Andreas Jaeger 2006-04-11 10:17:56 UTC
I agree with Thorsten.
Comment 7 Joachim Werner 2006-04-11 10:46:34 UTC
Same for me.
Comment 8 Forgotten User ZhJd0F0L3x 2006-04-11 10:54:39 UTC
Ok, so this is post-code10 GA.
For a proper fix we need cooperation from the desktop-mount-programs anyway.
I'll see what i come up with and then we can decide if it can go into a Service Pack.

Severity Normal because of this.
Comment 11 Pavel Machek 2006-04-12 05:03:34 UTC
Actually this is going to be pretty tricky to solve properly.

Imagine user with active mp3 player (sda) and memory stick (sdb).

Now you suspend, resume, and devices get detected in different order. Oops. Or user unplugs mp3 player and plugs digital camera. Tricky, tricky.

I believe this is severity=enhancement, and pretty hard to do.
Comment 12 Forgotten User ZhJd0F0L3x 2006-04-12 05:16:13 UTC
no, it is easy: HAL already handles all that, consistent naming and mount points etc. All we need is some help from the desktops, so we don't have to do all the unmounting and mounting by ourselves since the desktop mount programs already know what they have mounted where.
Comment 13 Forgotten User ZhJd0F0L3x 2006-05-09 19:57:41 UTC
*** Bug 173921 has been marked as a duplicate of this bug. ***
Comment 14 Pavel Machek 2006-05-10 09:46:55 UTC
So this is RESOLVED/LATER, right?
Comment 15 Stefan Behlert 2006-06-07 16:06:44 UTC
*** Bug 103927 has been marked as a duplicate of this bug. ***
Comment 16 Stefan Behlert 2006-06-07 16:11:31 UTC
This is now in FATE, 300647.
Comment 17 Jeff Stedfast 2006-10-06 19:54:26 UTC
adding myself to cc since I'll probably be the one to implement this for GNOME
Comment 18 Stephan Kulow 2008-06-25 09:37:53 UTC
mass reopening all SuSE Linux bugs that are set to REMIND+LATER to change the resolution to WONTFIX (adapting to new policy)
Comment 19 Stephan Kulow 2008-06-25 09:39:21 UTC
mass reopening all SuSE Linux bugs that are set to REMIND+LATER to change the resolution to WONTFIX (adapting to new policy)
Comment 20 Stephan Kulow 2008-06-25 09:42:52 UTC
mass reopening all SuSE Linux bugs that are set to REMIND+LATER to change the resolution to WONTFIX (adapting to new policy)
Comment 21 Stephan Kulow 2008-06-25 09:55:53 UTC
Closing old LATER+REMIND bugs as WONTFIX - if you still plan to work on it, feel free to reopen and set to ASSIGNED.

In case the report saw repeated reopen comments, it's due to bugzilla timing out on the huge request ;(