Re: Software suspend in 2.6.0

From: Nigel Cunningham
Date: Tue Dec 30 2003 - 13:23:45 EST


Hi Rob.

Do you have a preemptive kernel? If so, it could be that you're getting
'bad scheduling while atomic' messages. Could you check dmesg after the
second suspend?

Regards,

Nigel

On Tue, 2003-12-30 at 19:00, Rob Landley wrote:
> Since Patrick fell off the face of the earth, I've switched to Pavel's suspend
> code, which pretty much works the same way, but has some similar rough edges.
>
> The first suspend works nicely. After resuming from that and suspending
> again, the screen gets blanked early in the suspend (immediately after
> "suspending processes", and then the suspend is REALLY SLOW. (You can see
> the hard drive light light up and go off again with a 1/2 second gap between
> each page saved.)
>
> I think that what's happening is that during the "power stuff down" phase, the
> device list is including the screen and processor and powering them down.
> The processor goes into an insanely slow state, and the display is black.
> (The suspend will usually complete normally when this happens, if you give it
> 10 minutes.)
>
> It doesn't do this on the first suspend, but it does it on second and later
> suspends.
>
> Any suggestions?
>
> Rob
>
> -
> 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/
--
My work on Software Suspend is graciously brought to you by
LinuxFund.org.

-
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/