public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Pavel Machek <pavel@ucw.cz>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: 2.6.10-rc3-mm1: swsusp
Date: Mon, 20 Dec 2004 01:44:00 +0100	[thread overview]
Message-ID: <200412200144.00945.rjw@sisk.pl> (raw)
In-Reply-To: <20041219173433.GA1130@elf.ucw.cz>

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"

  reply	other threads:[~2004-12-20  0:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-18 17:52 2.6.10-rc3-mm1: swsusp Rafael J. Wysocki
2004-12-19 17:34 ` Pavel Machek
2004-12-20  0:44   ` Rafael J. Wysocki [this message]
2004-12-20  9:10     ` Pavel Machek
2004-12-19 22:48 ` Ari Pollak
2004-12-20  0:47   ` Rafael J. Wysocki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200412200144.00945.rjw@sisk.pl \
    --to=rjw@sisk.pl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pavel@ucw.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox