Re: Suspend 2 merge: 49/51: Checksumming

Rob Landley
2004-11-30T00:32:26Z

On Monday 29 November 2004 07:24 pm, Nigel Cunningham wrote:
> Hi.
>
> On Mon, 2004-11-29 at 20:55, Rob Landley wrote:
> > On Wednesday 24 November 2004 08:02 am, Nigel Cunningham wrote:
> > > A plugin for verifying the consistency of an image. Working with kdb,
> > > it can look up the locations of variations. There will always be some
> > > variations shown, simply because we're touching memory before we get
> > > here and as we check the image.
> >
> > A while back I suggested checking the last mount time of the mounted
> > local filesystems as a quick and dirty sanity check between loading the
> > image and unfreezing all the processes. (Since a read-only mount
> > shouldn't touch this, triggering swsusp resume from userspace after
> > prodding various hardware shouldn't cause a major problem either...)
> > Does that sound like a good idea?
>
> If I recall correctly, someone replied that even a read only mount under
> one filesystem (XFS? Not sure), would replay the journal, so it wasn't a
> goer.

You could always special case the broken one until they fix it... :)

> > Haven't had time to look into it myself, though. (Just recently got time
> > enough to bang on busybox again. Somewhere around 2.6.7, software
> > suspend stopped working for me and I haven't even had a chance to track
> > _that_ down yet. Hopefully fixed in 2.6.9 or 2.6.10, I haven't played
> > with it recently...)
>
> If you mean suspend2, I might be able to help if given more info.

Nah, the one that's built in. I'll try it again when I upgrade to 2.6.10 in a
few days.

> Regards,
>
> Nigel

Rob