From: Nigel Cunningham <ncunningham@cyclades.com>
To: Shaohua Li <shaohua.li@intel.com>
Cc: "Cleaveland, AJ Allan @ IS" <Allan.J.Cleaveland@l-3com.com>,
linux-acpi@vger.kernel.org
Subject: Re: Hibernate
Date: Fri, 14 Apr 2006 14:31:45 +1000 [thread overview]
Message-ID: <200604141431.50491.ncunningham@cyclades.com> (raw)
In-Reply-To: <1144983375.2865.73.camel@sli10-desk.sh.intel.com>
[-- Attachment #1: Type: text/plain, Size: 1891 bytes --]
Hi.
On Friday 14 April 2006 12:56, Shaohua Li wrote:
> On Thu, 2006-04-13 at 19:26 +0800, Nigel Cunningham wrote:
> > Hi Allan.
> >
> > On Wednesday 12 April 2006 22:50, Cleaveland, AJ Allan @ IS wrote:
> > > I'm trying to get hibernate to work on CentOS 4. What I really want to
> > > do is use hibernate to start-up the machine every time. To do this I
> > > would create an "image" to come out of hibernate with and set the
> > > machine to always think it's coming out of hibernate, no matter how it
> > > was actually shut down. It would always use my "image", even if it was
> > > placed in hibernate when it shut down. Without rewriting other
> > > people's code does anyone know of a way to do this?
> > >
> > > Thank you,
> > > Allan
> >
> > I'm not sure I understand what you're saying correctly, but it sounds to
> > me like you want something like the KeepImage feature in Suspend2. This
> > feature lets you suspend once, and subsequently simply powerdown rather
> > than rewriting the image. To use this mode reliably, any filesystems
> > mounted when the image is created have to be immutable. This is because
> > the image will include information about the filesystems such as
> > superblocks, inodes, dentries and so on, and these data structures must
> > match the data on disk.
>
> We could have file in memory for the snapshot kernel before we mount any
> hardisk filesystem, and then create a new initrd including the snapshot
> image after boot. Later we always use the new initrd. This way even the
> hardisk is touched, the kernel can still resume.
Yes. I've been thinking about this for a while, and planned to work on it to
reduce the boot time of some of our Cyclades products. In fact, I was
thinking about making the initrd be the image (using code I already have in
the filewriter to do this).
Regards,
Nigel
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2006-04-14 4:33 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-12 12:50 Hibernate Cleaveland, AJ Allan @ IS
2006-04-13 1:30 ` Hibernate Shaohua Li
2006-04-13 11:26 ` Hibernate Nigel Cunningham
2006-04-14 2:56 ` Hibernate Shaohua Li
2006-04-14 4:31 ` Nigel Cunningham [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-04-13 13:19 Hibernate Cleaveland, AJ Allan @ IS
2006-04-13 13:19 Hibernate Cleaveland, AJ Allan @ IS
2006-04-13 21:15 ` Hibernate Nigel Cunningham
2002-11-05 22:36 hibernate Grover, Andrew
2002-11-04 13:37 hibernate Andrea Mennucc
2002-11-04 14:02 ` hibernate Robert Woerle
[not found] ` <3DC67E0F.5010408-y2s3ugBAdl9BDgjK7y7TUQ@public.gmane.org>
2002-11-05 1:23 ` hibernate Chris Howells
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200604141431.50491.ncunningham@cyclades.com \
--to=ncunningham@cyclades.com \
--cc=Allan.J.Cleaveland@l-3com.com \
--cc=linux-acpi@vger.kernel.org \
--cc=shaohua.li@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox