reassign 457515 pm-utils thanks, On Tue, Dec 25, 2007 at 08:52:38PM +0100, Michael Biebl wrote: > Josselin Mouette schrieb: > > reassign 457515 hal > > thanks > > > > On dim, 2007-12-23 at 11:26 +0930, Paul Wise wrote: > >> Package: gnome-panel > >> Version: 2.20.2-2 > >> Severity: wishlist > >> > >> Yesterday I upgraded my kernel and stupidly proceeded to hibernate as I > >> was running out of power. This resulted in the new kernel being unable > >> to load the s2disk images and them being lost. It would be nice if the > >> gnome-panel could detect this situation (kernel upgraded without > >> rebooting) and either prevent me from hibernating by disabling the > >> hibernate button or by popping up an error dialog explaining the > >> situation. > > > > This would indeed be nice, but for GNOME (gnome-power-manager, actually) > > to do that, it would need hal to report it (which in turn may need a > > decent error message from pm-utils). > > > > Reassigning to the Utopia guys, who know better how this could be done. > > > > afaik, kernel upgrades never remove the old kernel, so it should be safe > to hibernate, as grub allows to boot the old kernel. > s2disk will also detect, if it finds a hibernate image file which > doesn't match the (new) kernel and print a warning during boot. > This allows to restart and chose the old kernel.
When i looked at pm-utils i noticed that the vanilla version changes the grub config to _always_ boot the kernel that was used to hibernate. Afaik the debian version doesn't do that, so on upgrade your grub config will boot a different kernel :(.. Also pm-utils should probably refuse to hibernate when the current kernel isn't available anymore (this will be then reported back to hal to whatever asked it to hibernate, hopefully with a decent error message (possible localisation issues arise though)). Sjoerd -- I know not how I came into this, shall I call it a dying life or a living death? -- St. Augustine -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]