Re: software suspend doesn't work with 2.6.22-rc3

2007-05-31 Thread Herbert Xu
On Thu, May 31, 2007 at 09:13:44AM +0200, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki <[EMAIL PROTECTED]> > > Make cryptd actually run and mark it as nonfreezable. > > Signed-off-by: Rafael J. Wysocki <[EMAIL PROTECTED]> Patch applied. Thanks a lot! -- Visit Openswan at

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-31 Thread Rafael J. Wysocki
On Thursday, 31 May 2007 09:04, Rafael J. Wysocki wrote: > On Thursday, 31 May 2007 08:54, Rafael J. Wysocki wrote: > > On Tuesday, 29 May 2007 02:39, Herbert Xu wrote: > > > On Mon, May 28, 2007 at 08:21:29PM +0200, Rafael J. Wysocki wrote: > > > > > > > > Well, it looks like we have to fix this

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-31 Thread Rafael J. Wysocki
On Thursday, 31 May 2007 08:54, Rafael J. Wysocki wrote: > On Tuesday, 29 May 2007 02:39, Herbert Xu wrote: > > On Mon, May 28, 2007 at 08:21:29PM +0200, Rafael J. Wysocki wrote: > > > > > > Well, it looks like we have to fix this one separately. > > > > > > Can you please tell me what to do to

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-31 Thread Rafael J. Wysocki
On Tuesday, 29 May 2007 02:39, Herbert Xu wrote: > On Mon, May 28, 2007 at 08:21:29PM +0200, Rafael J. Wysocki wrote: > > > > Well, it looks like we have to fix this one separately. > > > > Can you please tell me what to do to make cryptd run? > > If you build it as a module then just loading it

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-31 Thread Rafael J. Wysocki
On Tuesday, 29 May 2007 02:39, Herbert Xu wrote: On Mon, May 28, 2007 at 08:21:29PM +0200, Rafael J. Wysocki wrote: Well, it looks like we have to fix this one separately. Can you please tell me what to do to make cryptd run? If you build it as a module then just loading it should be

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-31 Thread Rafael J. Wysocki
On Thursday, 31 May 2007 08:54, Rafael J. Wysocki wrote: On Tuesday, 29 May 2007 02:39, Herbert Xu wrote: On Mon, May 28, 2007 at 08:21:29PM +0200, Rafael J. Wysocki wrote: Well, it looks like we have to fix this one separately. Can you please tell me what to do to make cryptd run?

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-31 Thread Rafael J. Wysocki
On Thursday, 31 May 2007 09:04, Rafael J. Wysocki wrote: On Thursday, 31 May 2007 08:54, Rafael J. Wysocki wrote: On Tuesday, 29 May 2007 02:39, Herbert Xu wrote: On Mon, May 28, 2007 at 08:21:29PM +0200, Rafael J. Wysocki wrote: Well, it looks like we have to fix this one

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-31 Thread Herbert Xu
On Thu, May 31, 2007 at 09:13:44AM +0200, Rafael J. Wysocki wrote: From: Rafael J. Wysocki [EMAIL PROTECTED] Make cryptd actually run and mark it as nonfreezable. Signed-off-by: Rafael J. Wysocki [EMAIL PROTECTED] Patch applied. Thanks a lot! -- Visit Openswan at

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-29 Thread Rafael J. Wysocki
On Tuesday, 29 May 2007 02:39, Herbert Xu wrote: > On Mon, May 28, 2007 at 08:21:29PM +0200, Rafael J. Wysocki wrote: > > > > Well, it looks like we have to fix this one separately. > > > > Can you please tell me what to do to make cryptd run? > > If you build it as a module then just loading it

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-29 Thread Rafael J. Wysocki
On Tuesday, 29 May 2007 02:39, Herbert Xu wrote: On Mon, May 28, 2007 at 08:21:29PM +0200, Rafael J. Wysocki wrote: Well, it looks like we have to fix this one separately. Can you please tell me what to do to make cryptd run? If you build it as a module then just loading it should be

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-28 Thread Herbert Xu
On Mon, May 28, 2007 at 08:21:29PM +0200, Rafael J. Wysocki wrote: > > Well, it looks like we have to fix this one separately. > > Can you please tell me what to do to make cryptd run? If you build it as a module then just loading it should be sufficient. If you have it built-in then it should

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-28 Thread Maximilian Engelhardt
On Monday 28 May 2007, Rafael J. Wysocki wrote: > On Monday, 28 May 2007 09:59, Rafael J. Wysocki wrote: > > On Monday, 28 May 2007 02:21, Maximilian Engelhardt wrote: > > > On Sunday 27 May 2007, Rafael J. Wysocki wrote: > > > > On Sunday, 27 May 2007 22:41, Maximilian Engelhardt wrote: > > > > >

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-28 Thread Rafael J. Wysocki
On Monday, 28 May 2007 09:59, Rafael J. Wysocki wrote: > On Monday, 28 May 2007 02:21, Maximilian Engelhardt wrote: > > On Sunday 27 May 2007, Rafael J. Wysocki wrote: > > > On Sunday, 27 May 2007 22:41, Maximilian Engelhardt wrote: > > > > On Sunday 27 May 2007, Rafael J. Wysocki wrote: > > > > >

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-28 Thread Rafael J. Wysocki
On Monday, 28 May 2007 02:21, Maximilian Engelhardt wrote: > On Sunday 27 May 2007, Rafael J. Wysocki wrote: > > On Sunday, 27 May 2007 22:41, Maximilian Engelhardt wrote: > > > On Sunday 27 May 2007, Rafael J. Wysocki wrote: > > > > On Sunday, 27 May 2007 18:01, Maximilian Engelhardt wrote: > > >

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-28 Thread Rafael J. Wysocki
On Monday, 28 May 2007 02:21, Maximilian Engelhardt wrote: On Sunday 27 May 2007, Rafael J. Wysocki wrote: On Sunday, 27 May 2007 22:41, Maximilian Engelhardt wrote: On Sunday 27 May 2007, Rafael J. Wysocki wrote: On Sunday, 27 May 2007 18:01, Maximilian Engelhardt wrote: On

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-28 Thread Rafael J. Wysocki
On Monday, 28 May 2007 09:59, Rafael J. Wysocki wrote: On Monday, 28 May 2007 02:21, Maximilian Engelhardt wrote: On Sunday 27 May 2007, Rafael J. Wysocki wrote: On Sunday, 27 May 2007 22:41, Maximilian Engelhardt wrote: On Sunday 27 May 2007, Rafael J. Wysocki wrote: On Sunday, 27

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-28 Thread Maximilian Engelhardt
On Monday 28 May 2007, Rafael J. Wysocki wrote: On Monday, 28 May 2007 09:59, Rafael J. Wysocki wrote: On Monday, 28 May 2007 02:21, Maximilian Engelhardt wrote: On Sunday 27 May 2007, Rafael J. Wysocki wrote: On Sunday, 27 May 2007 22:41, Maximilian Engelhardt wrote: On Sunday 27

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-28 Thread Herbert Xu
On Mon, May 28, 2007 at 08:21:29PM +0200, Rafael J. Wysocki wrote: Well, it looks like we have to fix this one separately. Can you please tell me what to do to make cryptd run? If you build it as a module then just loading it should be sufficient. If you have it built-in then it should

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-27 Thread Maximilian Engelhardt
On Sunday 27 May 2007, Rafael J. Wysocki wrote: > On Sunday, 27 May 2007 22:41, Maximilian Engelhardt wrote: > > On Sunday 27 May 2007, Rafael J. Wysocki wrote: > > > On Sunday, 27 May 2007 18:01, Maximilian Engelhardt wrote: > > > > On Saturday 26 May 2007, Nigel Cunningham wrote: > > > > > Hi. >

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-27 Thread Rafael J. Wysocki
On Sunday, 27 May 2007 22:41, Maximilian Engelhardt wrote: > On Sunday 27 May 2007, Rafael J. Wysocki wrote: > > On Sunday, 27 May 2007 18:01, Maximilian Engelhardt wrote: > > > On Saturday 26 May 2007, Nigel Cunningham wrote: > > > > Hi. > > > > > > > > On Sat, 2007-05-26 at 14:49 +0200,

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-27 Thread Pavel Machek
Hi! > When I try software suspend on my laptop it always returns to my running > system after some time. > This is what's logged by the kernel: > > swsusp: Basic memory bitmaps created > Stopping tasks ... > Stopping kernel threads timed out after 20 seconds (1 tasks refusing to > freeze): >

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-27 Thread Maximilian Engelhardt
On Sunday 27 May 2007, Rafael J. Wysocki wrote: > On Sunday, 27 May 2007 18:01, Maximilian Engelhardt wrote: > > On Saturday 26 May 2007, Nigel Cunningham wrote: > > > Hi. > > > > > > On Sat, 2007-05-26 at 14:49 +0200, Maximilian Engelhardt wrote: > > > > On Saturday 26 May 2007, Nigel Cunningham

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-27 Thread Rafael J. Wysocki
On Sunday, 27 May 2007 18:01, Maximilian Engelhardt wrote: > On Saturday 26 May 2007, Nigel Cunningham wrote: > > Hi. > > > > On Sat, 2007-05-26 at 14:49 +0200, Maximilian Engelhardt wrote: > > > On Saturday 26 May 2007, Nigel Cunningham wrote: > > > > Hi. > > > > > > > > On Sat, 2007-05-26 at

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-27 Thread Maximilian Engelhardt
On Saturday 26 May 2007, Nigel Cunningham wrote: > Hi. > > On Sat, 2007-05-26 at 14:49 +0200, Maximilian Engelhardt wrote: > > On Saturday 26 May 2007, Nigel Cunningham wrote: > > > Hi. > > > > > > On Sat, 2007-05-26 at 11:28 +0200, Maximilian Engelhardt wrote: > > > > Hello, > > > > > > > > When

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-27 Thread Maximilian Engelhardt
On Saturday 26 May 2007, Nigel Cunningham wrote: Hi. On Sat, 2007-05-26 at 14:49 +0200, Maximilian Engelhardt wrote: On Saturday 26 May 2007, Nigel Cunningham wrote: Hi. On Sat, 2007-05-26 at 11:28 +0200, Maximilian Engelhardt wrote: Hello, When I try software suspend on

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-27 Thread Rafael J. Wysocki
On Sunday, 27 May 2007 18:01, Maximilian Engelhardt wrote: On Saturday 26 May 2007, Nigel Cunningham wrote: Hi. On Sat, 2007-05-26 at 14:49 +0200, Maximilian Engelhardt wrote: On Saturday 26 May 2007, Nigel Cunningham wrote: Hi. On Sat, 2007-05-26 at 11:28 +0200, Maximilian

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-27 Thread Maximilian Engelhardt
On Sunday 27 May 2007, Rafael J. Wysocki wrote: On Sunday, 27 May 2007 18:01, Maximilian Engelhardt wrote: On Saturday 26 May 2007, Nigel Cunningham wrote: Hi. On Sat, 2007-05-26 at 14:49 +0200, Maximilian Engelhardt wrote: On Saturday 26 May 2007, Nigel Cunningham wrote: Hi.

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-27 Thread Pavel Machek
Hi! When I try software suspend on my laptop it always returns to my running system after some time. This is what's logged by the kernel: swsusp: Basic memory bitmaps created Stopping tasks ... Stopping kernel threads timed out after 20 seconds (1 tasks refusing to freeze): cryptd

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-27 Thread Rafael J. Wysocki
On Sunday, 27 May 2007 22:41, Maximilian Engelhardt wrote: On Sunday 27 May 2007, Rafael J. Wysocki wrote: On Sunday, 27 May 2007 18:01, Maximilian Engelhardt wrote: On Saturday 26 May 2007, Nigel Cunningham wrote: Hi. On Sat, 2007-05-26 at 14:49 +0200, Maximilian Engelhardt

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-27 Thread Maximilian Engelhardt
On Sunday 27 May 2007, Rafael J. Wysocki wrote: On Sunday, 27 May 2007 22:41, Maximilian Engelhardt wrote: On Sunday 27 May 2007, Rafael J. Wysocki wrote: On Sunday, 27 May 2007 18:01, Maximilian Engelhardt wrote: On Saturday 26 May 2007, Nigel Cunningham wrote: Hi. On

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-26 Thread Nigel Cunningham
Hi. On Sat, 2007-05-26 at 14:49 +0200, Maximilian Engelhardt wrote: > On Saturday 26 May 2007, Nigel Cunningham wrote: > > Hi. > > > > On Sat, 2007-05-26 at 11:28 +0200, Maximilian Engelhardt wrote: > > > Hello, > > > > > > When I try software suspend on my laptop it always returns to my running

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-26 Thread Rafael J. Wysocki
On Saturday, 26 May 2007 13:55, Herbert Xu wrote: > On Sat, May 26, 2007 at 09:14:00PM +1000, Nigel Cunningham wrote: > > > > You have the cryptd Kconfig option in (at least in rc3) - presumably > > Maximillian has been too keen and turned it on before you were ready :) > > It does make sense for

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-26 Thread Rafael J. Wysocki
On Saturday, 26 May 2007 14:49, Maximilian Engelhardt wrote: > On Saturday 26 May 2007, Nigel Cunningham wrote: > > Hi. > > > > On Sat, 2007-05-26 at 11:28 +0200, Maximilian Engelhardt wrote: > > > Hello, > > > > > > When I try software suspend on my laptop it always returns to my running > > >

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-26 Thread Maximilian Engelhardt
On Saturday 26 May 2007, Nigel Cunningham wrote: > Hi. > > On Sat, 2007-05-26 at 11:28 +0200, Maximilian Engelhardt wrote: > > Hello, > > > > When I try software suspend on my laptop it always returns to my running > > system after some time. > > This is what's logged by the kernel: > > > >

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-26 Thread Herbert Xu
On Sat, May 26, 2007 at 09:14:00PM +1000, Nigel Cunningham wrote: > > You have the cryptd Kconfig option in (at least in rc3) - presumably > Maximillian has been too keen and turned it on before you were ready :) > It does make sense for it to be the problem. Without PF_NOFREEZE set, > the

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-26 Thread Nigel Cunningham
Hi. On Sat, 2007-05-26 at 21:08 +1000, Herbert Xu wrote: > On Sat, May 26, 2007 at 07:53:53PM +1000, Nigel Cunningham wrote: > > > > Herbert, is this right? If cryptd is going to be used for block devs, > > the task should probably be PF_NOFREEZE (or whatever it is today) > > instead. > >

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-26 Thread Herbert Xu
On Sat, May 26, 2007 at 07:53:53PM +1000, Nigel Cunningham wrote: > > Herbert, is this right? If cryptd is going to be used for block devs, > the task should probably be PF_NOFREEZE (or whatever it is today) > instead. Probably. However, I don't think this is responsible for the reported

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-26 Thread Nigel Cunningham
Hi. On Sat, 2007-05-26 at 11:28 +0200, Maximilian Engelhardt wrote: > Hello, > > When I try software suspend on my laptop it always returns to my running > system after some time. > This is what's logged by the kernel: > > swsusp: Basic memory bitmaps created > Stopping tasks ... > Stopping

software suspend doesn't work with 2.6.22-rc3

2007-05-26 Thread Maximilian Engelhardt
Hello, When I try software suspend on my laptop it always returns to my running system after some time. This is what's logged by the kernel: swsusp: Basic memory bitmaps created Stopping tasks ... Stopping kernel threads timed out after 20 seconds (1 tasks refusing to freeze): cryptd

software suspend doesn't work with 2.6.22-rc3

2007-05-26 Thread Maximilian Engelhardt
Hello, When I try software suspend on my laptop it always returns to my running system after some time. This is what's logged by the kernel: swsusp: Basic memory bitmaps created Stopping tasks ... Stopping kernel threads timed out after 20 seconds (1 tasks refusing to freeze): cryptd

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-26 Thread Nigel Cunningham
Hi. On Sat, 2007-05-26 at 11:28 +0200, Maximilian Engelhardt wrote: Hello, When I try software suspend on my laptop it always returns to my running system after some time. This is what's logged by the kernel: swsusp: Basic memory bitmaps created Stopping tasks ... Stopping kernel

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-26 Thread Herbert Xu
On Sat, May 26, 2007 at 07:53:53PM +1000, Nigel Cunningham wrote: Herbert, is this right? If cryptd is going to be used for block devs, the task should probably be PF_NOFREEZE (or whatever it is today) instead. Probably. However, I don't think this is responsible for the reported problem

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-26 Thread Nigel Cunningham
Hi. On Sat, 2007-05-26 at 21:08 +1000, Herbert Xu wrote: On Sat, May 26, 2007 at 07:53:53PM +1000, Nigel Cunningham wrote: Herbert, is this right? If cryptd is going to be used for block devs, the task should probably be PF_NOFREEZE (or whatever it is today) instead. Probably.

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-26 Thread Herbert Xu
On Sat, May 26, 2007 at 09:14:00PM +1000, Nigel Cunningham wrote: You have the cryptd Kconfig option in (at least in rc3) - presumably Maximillian has been too keen and turned it on before you were ready :) It does make sense for it to be the problem. Without PF_NOFREEZE set, the

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-26 Thread Maximilian Engelhardt
On Saturday 26 May 2007, Nigel Cunningham wrote: Hi. On Sat, 2007-05-26 at 11:28 +0200, Maximilian Engelhardt wrote: Hello, When I try software suspend on my laptop it always returns to my running system after some time. This is what's logged by the kernel: swsusp: Basic memory

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-26 Thread Rafael J. Wysocki
On Saturday, 26 May 2007 14:49, Maximilian Engelhardt wrote: On Saturday 26 May 2007, Nigel Cunningham wrote: Hi. On Sat, 2007-05-26 at 11:28 +0200, Maximilian Engelhardt wrote: Hello, When I try software suspend on my laptop it always returns to my running system after some

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-26 Thread Rafael J. Wysocki
On Saturday, 26 May 2007 13:55, Herbert Xu wrote: On Sat, May 26, 2007 at 09:14:00PM +1000, Nigel Cunningham wrote: You have the cryptd Kconfig option in (at least in rc3) - presumably Maximillian has been too keen and turned it on before you were ready :) It does make sense for it to be

Re: software suspend doesn't work with 2.6.22-rc3

2007-05-26 Thread Nigel Cunningham
Hi. On Sat, 2007-05-26 at 14:49 +0200, Maximilian Engelhardt wrote: On Saturday 26 May 2007, Nigel Cunningham wrote: Hi. On Sat, 2007-05-26 at 11:28 +0200, Maximilian Engelhardt wrote: Hello, When I try software suspend on my laptop it always returns to my running system after