Re: [Suspend-devel] Suspend with cryptsetup encrypted swap?

2006-10-17 Thread Jason Lunz
On Mon, Oct 16, 2006 at 01:26:16PM +0200, Matej Cepl wrote: > is something like this possible? I have here notebook with Fedora Core > 5 with swap encrypted using cryptsetup create. Is it possible to > suspend/resume such notebook with ususpend? Yes, it works just fine. I've been running a laptop

Re: [Suspend-devel] Fix platform mode for in-kernel suspend

2006-10-17 Thread Rafael J. Wysocki
On Tuesday, 17 October 2006 22:17, Luca Tettamanti wrote: > On 10/17/06, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote: > > On Tuesday, 17 October 2006 17:26, Carl-Daniel Hailfinger wrote: > > > My last power failure during suspend-to-disk caused a journal replay > > > which took a few minutes on reb

Re: [Suspend-devel] Fix platform mode for in-kernel suspend

2006-10-17 Thread Luca Tettamanti
On 10/17/06, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote: > On Tuesday, 17 October 2006 17:26, Carl-Daniel Hailfinger wrote: > > My last power failure during suspend-to-disk caused a journal replay > > which took a few minutes on reboot. > > AFAICT, sys_sync doesn't prevent journal replies from hap

Re: [Suspend-devel] Fix platform mode for in-kernel suspend

2006-10-17 Thread Rafael J. Wysocki
On Tuesday, 17 October 2006 22:00, Carl-Daniel Hailfinger wrote: > Rafael J. Wysocki wrote: > > On Tuesday, 17 October 2006 17:26, Carl-Daniel Hailfinger wrote: > >> Why exacly was sys_sync removed from prepare_processes? > > > > Because it was moved to freeze_processes(). > > > >> My last power

Re: [Suspend-devel] Fix platform mode for in-kernel suspend

2006-10-17 Thread Carl-Daniel Hailfinger
Rafael J. Wysocki wrote: > On Tuesday, 17 October 2006 17:26, Carl-Daniel Hailfinger wrote: >> Why exacly was sys_sync removed from prepare_processes? > > Because it was moved to freeze_processes(). > >> My last power failure during suspend-to-disk caused a journal replay >> which took a few minu

Re: [Suspend-devel] Fix platform mode for in-kernel suspend

2006-10-17 Thread Rafael J. Wysocki
On Tuesday, 17 October 2006 17:26, Carl-Daniel Hailfinger wrote: > Stefan Seyfried wrote: > > For reference, this is the diff of this function (with the above patch) > > against a 2.6.13 (the last one i found around here that had this working, > > the > > kernel of suse 10.0, after that it disappe

Re: [Suspend-devel] Fix platform mode for in-kernel suspend

2006-10-17 Thread Stefan Seyfried
On Tue, Oct 17, 2006 at 09:27:57PM +0200, Rafael J. Wysocki wrote: > > I tested it and it works. The moon only starts blinking after "shrinking > > memory" which might take some time, so i reordered it a little bit. It even > > makes the patch smaller: > > I don't think this ordering is correct,

Re: [Suspend-devel] Fix platform mode for in-kernel suspend

2006-10-17 Thread Rafael J. Wysocki
On Tuesday, 17 October 2006 16:45, Stefan Seyfried wrote: > On Tue, Oct 17, 2006 at 02:42:12PM +0200, Rafael J. Wysocki wrote: > > On Tuesday, 17 October 2006 08:41, Stefan Seyfried wrote: > > > > I did not forget this one, but will test later today. > > > > OK > > I tested it and it works. The

Re: [Suspend-devel] Fix platform mode for in-kernel suspend

2006-10-17 Thread Carl-Daniel Hailfinger
Stefan Seyfried wrote: > For reference, this is the diff of this function (with the above patch) > against a 2.6.13 (the last one i found around here that had this working, the > kernel of suse 10.0, after that it disappeared before 2.6.16): > > # static int prepare_processes(void) > # { > #

Re: [Suspend-devel] Fix platform mode for in-kernel suspend

2006-10-17 Thread Stefan Seyfried
On Tue, Oct 17, 2006 at 02:42:12PM +0200, Rafael J. Wysocki wrote: > On Tuesday, 17 October 2006 08:41, Stefan Seyfried wrote: > > I did not forget this one, but will test later today. > > OK I tested it and it works. The moon only starts blinking after "shrinking memory" which might take some

Re: [Suspend-devel] Fix platform mode for in-kernel suspend

2006-10-17 Thread Rafael J. Wysocki
On Tuesday, 17 October 2006 08:41, Stefan Seyfried wrote: > On Mon, Oct 16, 2006 at 09:45:03PM +0200, Rafael J. Wysocki wrote: > > On Monday, 16 October 2006 21:21, Stefan Seyfried wrote: > > > On Mon, Oct 16, 2006 at 09:06:07PM +0200, R. J. Wysocki wrote: > > > > On Monday, 16 October 2006 20:55,