Re: 2.6.26-rc7: BUG at kernel/power/snapshot.c:493

From: Rafael J. Wysocki
Date: Wed Jul 09 2008 - 16:59:22 EST


On Wednesday, 9 of July 2008, Martin Michlmayr wrote:
> * Soeren Sonnenburg <kernel@xxxxxx> [2008-06-27 18:43]:
> > Anyone else seeing this? Happened after resuming from s2both (from
> > disk)...
>
> FWIW, I got something similar a few days ago with s2disk and 2.6.25.
> I had never seen this before but then I got the same bug two or three
> times within a day. It happens when resuming the laptop from disk.
> The kernel continues to start fine but doesn't restore the previous
> state.

This is a symptom of the userspace resume trying to feed invalid image
metadata to the kernel (yes, I'll have to change that code to return error
code in that case).

Please try to run mkswap on your resume partition and see if that helps.

Thanks,
Rafael
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/