Re: swsusp: kill crash when too much memory is free

From: Pavel Machek
Date: Fri Sep 10 2004 - 04:45:17 EST


Hi!

> > If too much memory is free, swsusp dies in quite a ugly way. Even when
> > it is not neccessary to relocate pagedir, it is proably still
> > neccessary to relocate individual pages. Thanks to Kurt Garloff and
> > Stefan Seyfried...
> > Pavel
> > PS: And could I have one brown paper bag, please?
>
> I applied this and it didn't fix my problems with resuming, unfortunately, but
> it changed the symptoms. Namely, if USB modules are not unloaded before
> suspending, I get:

> This is 100% reproducible (ie unload USB modules and dm_mod, suspend the
> machine, try to wake it up, hangs solid).
>
> Can you tell me, please, if there's anything I can compile out/in to debug it
> a bit more? Or can I put some printk()s somewhere in the code to get some
> more info? Any suggestions welcome.

Can you try my "bigdiff"? Also, does it work okay in 32-bit mode?

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