[Pm-utils] [patch] disable suspend when kernel image changed

Richard Zidlicky rz at linux-m68k.org
Thu Apr 8 16:32:56 PDT 2010


On Thu, Apr 08, 2010 at 09:34:39PM +1000, Nigel Cunningham wrote:
> Hi.
>
> On 08/04/10 20:25, Richard Zidlicky wrote:
>> On Thu, Apr 08, 2010 at 07:06:31PM +1000, Nigel Cunningham wrote:
>>> On 08/04/10 05:52, Richard Zidlicky wrote:
>>>> Hi,
>>>>
>>>> trying to fix this crash situation: /boot/vmlinuz-XXX exists and is the currently
>>>> running kernel, I decide to reconfigure and recompile it, overwrite /boot/vmlinuz-XXX
>>>> and hit pm-hibernate.
>>>>
...
...
...


>> it was exactly the same kernel release - only slightly reconfigured&  recompiled.
>
> Hmm. My apologies; you're absolutely right.
>
> I'll have to email Rafael (cc'd) - I'm not sure why that check is still  
> there. I know it is possible for you to hibernate one kernel and resume  
> from another - I've done it with TuxOnIce using the low-level code  
> Rafael put in. Perhaps he's discovered something that makes it  
> unreliable or such like.

whatever the reason for this check - it is now there and the same check should be 
done before hibernation otherwise resume will fail "mysteriously" with risk of data
loss.

Richard


More information about the Pm-utils mailing list