From: Andreas Jellinghaus <aj@dungeon.inka.de>
To: ncunningham@users.sourceforge.net
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [Swsusp-devel] [PATCH 2.6]: suspend to disk only available if non-modular IDE
Date: Tue, 30 Mar 2004 09:31:09 +0200 [thread overview]
Message-ID: <1080631869.1118.12.camel@simulacron> (raw)
In-Reply-To: <1080629551.12019.12.camel@laptop-linux.wpcb.org.au>
[currently no scsi support]
ah, ok.
> > btw: would it be somehow possible to resume after initrd phase?
> > or some other idea how a generic kernel with modules in the initrd
> > could use suspend to disk? or a laptop where the initrd is needed
> > to setup a dm-crypt volume with the right decrypton key?
>
> That should be doable, provided that the initrd doesn't mount anything.
> Decryption is 'interesting'. The key needs to be set up in the resumed
> kernel too. (Shouldn't be a problem, if you manage to suspend to it!).
I don't know if loading modules can be done without, but the usual way
is to mount /sys and /proc so you can see what hardware is available.
I do that too for my dm-crypt setup, even mount a tmpfs at /dev,
create devices, start usb hotplugging, etc. but after getting the
decryption key, all filesystems are unmounted again, all processes
killed, there is nothing visible to me left. would that still create
some problems in the kernel internals preventing resume (or making it
too hard to do)?
Regards, Andras
next prev parent reply other threads:[~2004-03-30 7:48 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-28 19:36 [PATCH 2.6]: suspend to disk only available if non-modular IDE Arkadiusz Miskiewicz
2004-03-28 23:37 ` [Swsusp-devel] " Nigel Cunningham
2004-03-28 23:47 ` Nigel Cunningham
2004-03-29 21:34 ` Andreas Jellinghaus
2004-03-30 6:52 ` Nigel Cunningham
2004-03-30 7:31 ` Andreas Jellinghaus [this message]
2004-03-30 22:23 ` Nigel Cunningham
2004-03-30 20:11 ` Pavel Machek
2004-03-31 22:36 ` Nigel Cunningham
2004-04-01 7:26 ` Pavel Machek
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=1080631869.1118.12.camel@simulacron \
--to=aj@dungeon.inka.de \
--cc=linux-kernel@vger.kernel.org \
--cc=ncunningham@users.sourceforge.net \
/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