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

From: Rafael J. Wysocki
Date: Fri Sep 10 2004 - 05:46:29 EST


On Friday 10 of September 2004 11:40, Pavel Machek wrote:
> 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"?

It's compiling. I can't get output from the serial console right now, so I'll
send you a summary later on.

> Also, does it work okay in 32-bit mode?

Well, I have a 64-bit distro installed, so I would have to reinstall to check
this ... It's not impossible, though. If the big diff does not help, I'll
try to do something about it.

Greets,
RJW

--
- Would you tell me, please, which way I ought to go from here?
- That depends a good deal on where you want to get to.
-- Lewis Carroll "Alice's Adventures in Wonderland"
-
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/