Re: swsusp: allow resume from initramfs
From: Nigel Cunningham
Date: Fri Mar 04 2005 - 23:15:49 EST
Hi Pavel et al.
On Sat, 2005-03-05 at 04:50, Barry K. Nathan wrote:
> On Fri, Mar 04, 2005 at 03:04:10AM -0800, Andrew Morton wrote:
> > I don't understand how this can be affected by the modularness of the
> > kernel. Can you explain a little more?
> >
> > Would it not be simpler to just add "resume=03:02" to the boot command line?
>
> In addition to what others have mentioned, there's also the situation
> where swap is on a logical volume. In that case, the initramfs needs to
> get LVM up and running before you can even think about resuming.
>
> Swap on a logical volume is the default Fedora Core 3 partition layout,
> and I imagine it's the default for Red Hat Enterprise Linux 4 as well.
You guys are reinventing the wheel a lot at the moment and I'm in the
middle of doing it for x86_64 lowlevel code :> Can we see if we can work
a little more closely - perhaps we can get some shared code going that
will allow us to handle these issues without stepping on each others'
feet? In particular, shared code for
- initramfs and initrd support
- lowlevel suspend & resume
would be good, wouldn't it?
I'm tempted to add setting and checking signatures, but I'm also in the
middle of implementing support for writing the image to a file, so that
could get messy.
Regards,
Nigel
--
Nigel Cunningham
Software Engineer, Canberra, Australia
http://www.cyclades.com
Bus: +61 (2) 6291 9554; Hme: +61 (2) 6292 8028; Mob: +61 (417) 100 574
Maintainer of Suspend2 Kernel Patches http://suspend2.net
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/