Re: [pm] Add error handling to software_suspend

From: Pavel Machek
Date: Sun Oct 19 2003 - 14:28:24 EST


Hi!

> > This adds error handling to software_suspend(),
>
> Suspending to disk with this patch applied I can see the resume is stuck on:
> "Waiting for DMAs to settle down..."
> (previously it booted before I could see where the problem is).
>
> I guess it's another evidence that the problem is with the i830
> module?

I don't think so. Waiting for DMAs is gross hack where we sleep with
interrupts disabled -- waiting for any running DMAs to end / timeout
/etc.

You might want to add some more debug printks....
Pavel


--
Horseback riding is like software...
...vgf orggre jura vgf serr.
-
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/