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

From: Rafael J. Wysocki
Date: Thu May 31 2007 - 02:49:44 EST


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 sufficient.
> If you have it built-in then it should always be there.
>
> Let me know when you guys have a final patch.

The problem is more serious than I thought:

kthread_create() in crypto/cryptd.c line 302 doesn't return, so cryptd is stuck
in TASK_UNINTERRUPTIBLE all the time and it doesn't even execute one
instruction from cryptd_thread() [this happens on x86_64].

I've investigated this for a while, but I don't know why it happens.

Greetings,
Rafael
-
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/