Re: 2.6.10-rc3-mm1: swsusp

From: Rafael J. Wysocki
Date: Sun Dec 19 2004 - 19:45:28 EST


On Sunday 19 of December 2004 18:34, Pavel Machek wrote:
> Hi!
>
[-- snip --]
>
> > Still, unfortunately, today it crashed on suspend and I wasn't able to get
> > any useful information related to the crash, because swsusp apparently
> > does not send some of its messages to the serial console. In particular,
> > anything from within the critical section is not printed there and that's
> > why I think (I'm not sure though) that the crash occured in the critical
> > section. Could you tell me please if it's possible to make all of the
> > swsusp messages appear on the serial console and, if so, how to do this
> > (I've already tried "dmesg -n 8" and "echo 9 > /proc/sysrq-trigger" but
> > none of them helps)?
>
> Using regular vga console and digital camera seems to be popular way
> to get dumps.

Well, the problem is that:
1) I don't have a DC,
2) even if I had one, my VTs go nuts after switching to X and then they only
display garbage ... :-)

> I'm not sure why swsusp critical section interferes with
> serial, perhaps serial console support has to "know" about serial
> console and not suspend it during suspend() call?

It didn't do that before 2.6.9 or so. Something must have changed afterwards.
And the serial console shows messages that appear right before writing the
image to swap (like "swsusp: Version: ..." etc.).

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/