public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* resuming swsusp twice
@ 2005-07-13 18:59 Andy Isaacson
  2005-07-14 14:58 ` Stefan Seyfried
  2005-07-15  8:33 ` Pavel Machek
  0 siblings, 2 replies; 8+ messages in thread
From: Andy Isaacson @ 2005-07-13 18:59 UTC (permalink / raw)
  To: linux-kernel

Yesterday I booted my laptop to 2.6.13-rc2-mm1, suspended to swsusp, and
then resumed.  It ran fine overnight, including a fair amount of IO
(running firefox, rsyncing ~/Mail/archive from my mail server, hg pull,
etc).  This morning I did a swsusp:

	echo shutdown > /sys/power/disk
	echo disk > /sys/power/state

and got a panic along the lines of "Unable to find swap space, try
swapon -a".  Unfortunately I was in a hurry and didn't record the error
messages.  I powered off, then a few minutes later powered on again.

At this point, it resumed *to the swsusp state from yesterday*!
As soon as I realized what had happened, I powered off (not
shutdown) and rebooted.

On the next boot it did not find a swsusp signature and booted normally;
ext3 did a normal recovery and seemed OK, but I was suspicious and did a
fsck -f, which revealed a lot of damage; most of the damage seemed to be
in the hg repo which had been pulled from www.kernel.org/hg/.

It's extremely unfortunate that there is *any* failure mode in swsusp
that can result in this behavior.

I will try to reproduce, but I'm curious if anyone else has seen this.

-andy

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-07-16 13:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-13 18:59 resuming swsusp twice Andy Isaacson
2005-07-14 14:58 ` Stefan Seyfried
2005-07-14 17:54   ` Andy Isaacson
2005-07-14 18:36     ` Stefan Seyfried
2005-07-14 21:45       ` Andy Isaacson
2005-07-15  8:35     ` Pavel Machek
2005-07-15  8:38     ` Pavel Machek
2005-07-15  8:33 ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox