I can confirm that this, let's call it 'misbehaviour', still exists in Hardy Heron Alpha 6.
As mentioned by Sitsofe, old kernels are removed automatically, so it isn't possible to just set GRUB to boot the old kernel automatically. But keeping backups of kernels all the time isn't a nice solution either.
What would be possible is a simple if-clause in /usr/lib/hal/scripts/linux/hal-system-power-hibernate-linux
8a9,12
> if [ -f /var/run/reboot-required ] ; then
> unsupported
> fi
>
That definitly isn't the nicest way of doing it, but it works and prevents the user from accidently hibernating and crashing all his data.
Despite that, suspend isn't related to this issue at all, as far as i know, as long as it is plain suspend and not hybrid mode. Suspend doesn't even unload the kernel or load a new kernel.
I can confirm that this, let's call it 'misbehaviour', still exists in Hardy Heron Alpha 6.
As mentioned by Sitsofe, old kernels are removed automatically, so it isn't possible to just set GRUB to boot the old kernel automatically. But keeping backups of kernels all the time isn't a nice solution either.
What would be possible is a simple if-clause in /usr/lib/ hal/scripts/ linux/hal- system- power-hibernate -linux
8a9,12 reboot- required ] ; then
> if [ -f /var/run/
> unsupported
> fi
>
That definitly isn't the nicest way of doing it, but it works and prevents the user from accidently hibernating and crashing all his data.
Despite that, suspend isn't related to this issue at all, as far as i know, as long as it is plain suspend and not hybrid mode. Suspend doesn't even unload the kernel or load a new kernel.