[Suspend2-devel] Re: [ltp] [PATCH] 2.6.17: Unload disks heads before powering down

Henrique de Moraes Holschuh linux-thinkpad@linux-thinkpad.org
Fri, 29 Sep 2006 09:19:04 -0300


On Fri, 29 Sep 2006, Nigel Cunningham wrote:
> > I have seen suspend2 S3 corruption (I don't recall if there were S4
> > corruptions as well) with 2.6.17, but it was a silent corruption that
> > eventually caused ext3 to go berserk.  I don't have a working suspend2
> > system (S3 or S4) since 2.6.16 days.
> 
> That seems really strange, but Suspend2 hardly makes any changes that
> would affect suspend to ram without suspending to disk. They'd all be in
> kernel/power/process.c, and those changes revolve around making the
> freezer quieter and freezing bdevs to make the filesystem data more
> consistent and ensure activity really is stopped. Perhaps this is the
> fruit of the same regression others are seeing with 2.6.18, and Suspend2
> is getting hit because it's using bdev freezing and the vanilla kernel
> doesn't.

Yes, that might be it indeed.  All issues I saw with 2.6.17+suspend2 S3 were
directly related to ext3 filesystem code not liking something bad enough to
oops (sorry, I don't think I have any dumps) and soft-freeze the machine.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh