[Bug 14908] Re: swsusp fails after automatic kernel upgrade

2007-03-06 Thread Paul Sladen
I'd like to get this fixed to 'do-not-hibernate' before feisty leaves the door, otherwise we'll be carrying (totally broken) compatibility code for forever after. ** Summary changed: - swsusp fails after automatic kernel upgrade + use 'do-not-hibernate' NOT 'do-not-suspend' to prevent hibernate f

[Bug 14908] Re: swsusp fails after automatic kernel upgrade

2007-02-19 Thread Paul Sladen
mdz: yes, that is correct, 'do-not-hibernate' is the issue, suspending is fine. There are other cases where 'suspend' does not work, but hibernate does. -- swsusp fails after automatic kernel upgrade https://launchpad.net/bugs/14908 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com http

[Bug 14908] Re: swsusp fails after automatic kernel upgrade

2007-01-16 Thread Matt Zimmerman
Shouldn't this be do-not-hibernate, or do-not-suspend-to-disk? suspending to RAM is perfectly OK in this scenario, isn't it? -- swsusp fails after automatic kernel upgrade https://launchpad.net/bugs/14908 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/

[Bug 14908] Re: swsusp fails after automatic kernel upgrade

2007-01-04 Thread Ben Collins
The postinst now touches: /var/run/do-not-suspend So anything that needs to know should fail to suspend when this file exists. ** Changed in: linux-source-2.6.17 (Ubuntu) Sourcepackagename: linux-source-2.6.17 => kernel-package Importance: Undecided => Medium Status: Unconfirmed => Fix

[Bug 14908] Re: swsusp fails after automatic kernel upgrade

2006-11-24 Thread Richard Hughes
Wouldn't this also be fixed if you guys used pm-utils? mjg59 - I thought you guys were going to think about switching to pm-utils in feisty - so we can get this sort of thing common upstream. mdz - have you looked at the HAL suspend and hibernate failure reporting code from davidz? -- swsusp fail

[Bug 14908] Re: swsusp fails after automatic kernel upgrade

2006-11-24 Thread Matt Zimmerman
Ben, please arrange to have the kernels touch a file or otherwise record this information in a form which is easy to test for. Ideally we should display some sort of notification if we decide not to hibernate, but we don't do that if there isn't swap available etc., so at least logging it and not

[Bug 14908] Re: swsusp fails after automatic kernel upgrade

2006-11-16 Thread cwillu
The old kernel isn't automatically uninstalled, is it? Would a better approach be to make hibernation somehow trigger the use of the old kernel? Just a thought, I don't really have any solid idea of how one would implement it beyond hacking up '/boot/grub/menu.lst'. -- swsusp fails after automa

Re: [Bug 14908] Re: swsusp fails after automatic kernel upgrade

2006-10-21 Thread Matt Zimmerman
On Fri, Oct 20, 2006 at 08:57:21PM -0400, Ben Collins wrote: > On Sat, 2006-10-21 at 00:07 +, Matt Zimmerman wrote: > > Ben, please arrange for future kernels to drop a file or such so that we > > can test its timestamp against the uptime of the system to determine > > whether the kernel has be

[Bug 14908] Re: swsusp fails after automatic kernel upgrade

2006-10-21 Thread Matt Zimmerman
Done. If consensus is that the acpi-support task here should be powermanagement-interface instead, please change it. ** Changed in: acpi-support (Ubuntu) Target: None => later ** Changed in: linux-source-2.6.17 (Ubuntu) Target: None => later -- swsusp fails after automatic kernel

[Bug 14908] Re: swsusp fails after automatic kernel upgrade

2006-10-20 Thread Paul Sladen
This is related to bug #36577, worth dup'ing it? That bug is that 'pmi' should deny hibernation is the same kernel will not be used on next boot. -- swsusp fails after automatic kernel upgrade https://launchpad.net/bugs/14908 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lis

Re: [Bug 14908] Re: swsusp fails after automatic kernel upgrade

2006-10-20 Thread Ben Collins
On Sat, 2006-10-21 at 00:07 +, Matt Zimmerman wrote: > Ben, please arrange for future kernels to drop a file or such so that we > can test its timestamp against the uptime of the system to determine > whether the kernel has been upgraded since the last reboot (and refuse > to hibernate in this

[Bug 14908] Re: swsusp fails after automatic kernel upgrade

2006-10-20 Thread Matt Zimmerman
Ben, please arrange for future kernels to drop a file or such so that we can test its timestamp against the uptime of the system to determine whether the kernel has been upgraded since the last reboot (and refuse to hibernate in this case). ** Also affects: linux-source-2.6.17 (Ubuntu) Importan

[Bug 14908] Re: swsusp fails after automatic kernel upgrade

2006-10-12 Thread Ulrich Lukas
Hi, in order not to slow down the everyday boot process, I would suggest not to touch a file, but to drop a short shellscript together with a link to the /etc/rc init script system (or "upstart"-system), which deletes itself after the first successful reboot. Otherwise, one would have to always c