[Bug 224697] Re: Disable hibernation if swap is on file

2009-06-26 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/karmic/pm-utils ** Branch linked: lp:~ubuntu-branches/ubuntu/hardy/pm-utils/hardy- proposed -- Disable hibernation if swap is on file https://bugs.launchpad.net/bugs/224697 You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 224697] Re: Disable hibernation if swap is on file

2008-10-08 Thread Tom Hughes
At least in uswsusp, you have to specify the resume_offset (0 for swap partition, but needs to be set for swap files). See http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=Documentation/power /swsusp-and-swap-

[Bug 224697] Re: Disable hibernation if swap is on file

2008-10-07 Thread Johan Kröckel
I have used hibernation to a swapfile for some time without problems and thought the disabled hibernate was a bug (Bug 252143). So is there a way to reenable it? The other really funny aspect here is: On a fresh ubuntu installation without any swapspace hibernate is not disabled, but after

[Bug 224697] Re: Disable hibernation if swap is on file

2008-10-07 Thread Launchpad Bug Tracker
This bug was fixed in the package pm-utils - 1.1.2.4-1ubuntu5 --- pm-utils (1.1.2.4-1ubuntu5) intrepid; urgency=low * Drop 30-swap-file.patch again. Reportedly, resuming from a swap file works just fine. (LP: #224697) -- Martin Pitt [EMAIL PROTECTED] Tue, 07 Oct 2008

[Bug 224697] Re: Disable hibernation if swap is on file

2008-10-07 Thread Martin Pitt
Agostino, why does this particularly affect wubi users? The recent comments seem to indicate that this should be reverted again. ** Changed in: pm-utils (Ubuntu Intrepid) Status: Fix Released = In Progress Target: intrepid-alpha-6 = None -- Disable hibernation if swap is on file

[Bug 224697] Re: Disable hibernation if swap is on file

2008-10-07 Thread Agostino Russo
Martin, I didn't test hibernation on the latest intrepid (will do so in the coming days) but I am glad to hear that hibernation using a swap file now works. It is my understanding though that not all suspend (to disk) mechanisms do support swap on file, so it might be appropriate to test whether

[Bug 224697] Re: Disable hibernation if swap is on file

2008-10-05 Thread PetrB
Is this the current patch? http://patches.ubuntu.com/p/pm-utils/extracted/30-swap-file.patch User will have no idea why is hibernation disabled. What about documenting the patch? check_hibernate() { - [ -f /sys/power/disk ] grep -q disk /sys/power/state + # There has been rumor

Re: [Bug 224697] Re: Disable hibernation if swap is on file

2008-10-05 Thread hyperair
On Sun, 2008-10-05 at 19:29 +, PetrB wrote: Is this the current patch? http://patches.ubuntu.com/p/pm-utils/extracted/30-swap-file.patch User will have no idea why is hibernation disabled. What about documenting the patch? check_hibernate() { - [ -f /sys/power/disk ] grep -q

[Bug 224697] Re: Disable hibernation if swap is on file

2008-08-06 Thread Martin Pitt
This was actually uploaded a while ago already: pm-utils (1.1.0-1ubuntu2) intrepid; urgency=low * 30-swap-file.patch: Added to disable hibernation when swap resides on a file. -- Evan Dandrea [EMAIL PROTECTED] Wed, 28 May 2008 10:59:14 -0400 ** Changed in: pm-utils (Ubuntu Intrepid)

[Bug 224697] Re: Disable hibernation if swap is on file

2008-07-28 Thread PetrB
Disabling hibernation if swap is on file - is it too aggressive approach? I mean, the crashes are reported to happen on Wubi only (where are the reports anyway?). Some people use swap file only and there even was a discussion about using swap file as default in some distro since it make

[Bug 224697] Re: Disable hibernation if swap is on file

2008-06-23 Thread Martin Pitt
Taking for sponsoring. ** Changed in: pm-utils (Ubuntu Intrepid) Assignee: Agostino Russo (ago) = Martin Pitt (pitti) Status: Confirmed = In Progress -- Disable hibernation if swap is on file https://bugs.launchpad.net/bugs/224697 You received this bug notification because you are a

[Bug 224697] Re: Disable hibernation if swap is on file

2008-06-20 Thread Agostino Russo
Martin see my patch for debian, that should also apply to intrepid (haven't actually tried though) http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=484212 -- Disable hibernation if swap is on file https://bugs.launchpad.net/bugs/224697 You received this bug notification because you are a member

[Bug 224697] Re: Disable hibernation if swap is on file

2008-06-11 Thread Martin Pitt
Copied to hardy-updates. ** Changed in: pm-utils (Ubuntu Hardy) Status: Fix Committed = Fix Released -- Disable hibernation if swap is on file https://bugs.launchpad.net/bugs/224697 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 224697] Re: Disable hibernation if swap is on file

2008-06-11 Thread Martin Pitt
Should be fixed in Intrepid ASAP, too. ** Changed in: pm-utils (Ubuntu Intrepid) Target: None = intrepid-alpha-6 -- Disable hibernation if swap is on file https://bugs.launchpad.net/bugs/224697 You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 224697] Re: Disable hibernation if swap is on file

2008-06-10 Thread Agostino Russo
@Martin, I tested the changes and they work for me. @Vlowther, I am not sure how common it is for people to use swap files, but it certainly is very easy to replicate... -- Disable hibernation if swap is on file https://bugs.launchpad.net/bugs/224697 You received this bug notification because

[Bug 224697] Re: Disable hibernation if swap is on file

2008-06-10 Thread Martin Pitt
** Tags added: verification-done ** Tags removed: verification-needed -- Disable hibernation if swap is on file https://bugs.launchpad.net/bugs/224697 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 224697] Re: Disable hibernation if swap is on file

2008-06-07 Thread vlowther
Are there any instances of non wubi users having hibernation issues when using just swapfiles, or when using swap partitions and swapfiles? -- Disable hibernation if swap is on file https://bugs.launchpad.net/bugs/224697 You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 224697] Re: Disable hibernation if swap is on file

2008-06-03 Thread Martin Pitt
Accepted into -proposed, please test and give feedback here ** Changed in: pm-utils (Ubuntu Hardy) Status: New = Fix Committed ** Tags added: verification-needed -- Disable hibernation if swap is on file https://bugs.launchpad.net/bugs/224697 You received this bug notification because

[Bug 224697] Re: Disable hibernation if swap is on file

2008-06-02 Thread Martin Pitt
In general that looks fine. However, you should robustify it for the case that /proc/swaps does not exist for some reason (people might have disabled it in the kernel config, or whatever). Also, can you please open an upstream bug for it and link it here? I'll sponsor this to intrepid and

[Bug 224697] Re: Disable hibernation if swap is on file

2008-06-02 Thread Agostino Russo
** Attachment added: pm-utils_0.99.2-3ubuntu10.debdiff http://launchpadlibrarian.net/14931581/pm-utils_0.99.2-3ubuntu10.debdiff -- Disable hibernation if swap is on file https://bugs.launchpad.net/bugs/224697 You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 224697] Re: Disable hibernation if swap is on file

2008-06-02 Thread Agostino Russo
The debdiff for debian is a bit different from the above since it is against version 1.1.2.2 ** Bug watch added: Debian Bug tracker #484212 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=484212 ** Also affects: pm-utils (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=484212

[Bug 224697] Re: Disable hibernation if swap is on file

2008-06-02 Thread Bug Watch Updater
** Changed in: pm-utils (Debian) Status: Unknown = New -- Disable hibernation if swap is on file https://bugs.launchpad.net/bugs/224697 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 224697] Re: Disable hibernation if swap is on file

2008-05-30 Thread Agostino Russo
Martin, since I have noticed you are in -proposed mode, I thought I'd subscribe you to this as well. I hope you do not mind. :P This patch would be useful in hardy because hibernating a wubi installation might freeze the system, and users might then be inclined to hard reboot, which in turn might

[Bug 224697] Re: Disable hibernation if swap is on file

2008-05-07 Thread Agostino Russo
Tested and works well for me. -- Disable hibernation if swap is on file https://bugs.launchpad.net/bugs/224697 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com

[Bug 224697] Re: Disable hibernation if swap is on file

2008-05-06 Thread Agostino Russo
** Changed in: pm-utils (Ubuntu) Assignee: (unassigned) = Agostino Russo (ago) -- Disable hibernation if swap is on file https://bugs.launchpad.net/bugs/224697 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing

[Bug 224697] Re: Disable hibernation if swap is on file

2008-05-06 Thread Agostino Russo
Untested patch ** Attachment added: pm-utils_0.99.2-3ubuntu10.debdiff http://launchpadlibrarian.net/14300291/pm-utils_0.99.2-3ubuntu10.debdiff -- Disable hibernation if swap is on file https://bugs.launchpad.net/bugs/224697 You received this bug notification because you are a member of