FS#17462 - [pm-utils] Kernel upgrades without reboot break resume from hibernation
Attached to Project:
Arch Linux
Opened by Jaroslav Stepanek (jarda-wien) - Friday, 11 December 2009, 09:50 GMT
Last edited by Allan McRae (Allan) - Saturday, 12 December 2009, 12:41 GMT
Opened by Jaroslav Stepanek (jarda-wien) - Friday, 11 December 2009, 09:50 GMT
Last edited by Allan McRae (Allan) - Saturday, 12 December 2009, 12:41 GMT
|
Details
Description:
This is a bug, that upstream said is up to every distribution to fix. http://bugs.freedesktop.org/show_bug.cgi?id=21492 After a kernel upgrade, the running kernel differs from the kernel that will be booted next time. The image that pm-hibernate produces from the old running kernel on the swap partition doesn't work with the new one. Because of this a normal boot is done and all unsaved data from the old session is lost and filesystems need fsck. Proposed fix: do not allow hibernation after a kernel upgrade, or even better, provide a way to safely hibernate (not sure whether producing the image for the new kernel is even possible, but we could modify grub to boot the old kernel that would be present as a backup - just a raw idea, maybe someone comes with a better one) Steps to reproduce: Upgrade kernel a make a hibernation cycle. |
This task depends upon
Closed by Allan McRae (Allan)
Saturday, 12 December 2009, 12:41 GMT
Reason for closing: Won't fix
Additional comments about closing: Arch does not patch to add features upstream will not support
Saturday, 12 December 2009, 12:41 GMT
Reason for closing: Won't fix
Additional comments about closing: Arch does not patch to add features upstream will not support
I think this is hand holding. Arch users should know that they need to reboot after a kernel upgrade.