From: Chris Ball <cjb@laptop.org>
To: Man Spaz <man.spaz@ymail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Tips on debugging suspend/resume failure
Date: Fri, 08 Oct 2010 00:37:11 -0400 [thread overview]
Message-ID: <m339shmhag.fsf@pullcord.laptop.org> (raw)
In-Reply-To: <103889.39682.qm@web120217.mail.ne1.yahoo.com> (Man Spaz's message of "Thu, 7 Oct 2010 21:09:21 -0700 (PDT)")
Hi,
> But the question remains, how to get debug out? Is there a dmesg
> buffer that can persist if DRAM is being refreshed perhaps?
The most promising attempts involve using GPU RAM to store dmesg,
since it persists across a soft reboot and isn't going to be
overwritten as long as you get to it before the video driver does
after the crash. (Which you can ensure by blacklisting the driver.)
> Is there another way to skin this mongrel, I mean cat?
The most basic tool is probably CONFIG_PM_TRACE, which uses the
real-time clock to store a signature for the last driver to init
during suspend/resume -- after the crash, the kernel will interpret
the RTC hash it placed to give you a hint as to what might be failing.
The real answer, though, is to just keep trying to find any way at all
to get usable serial output, including by finding a different machine
with the same problem that has a serial port.
- Chris.
--
Chris Ball <cjb@laptop.org> <http://printf.net/>
One Laptop Per Child
next prev parent reply other threads:[~2010-10-08 4:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-08 4:09 Tips on debugging suspend/resume failure Man Spaz
2010-10-08 4:37 ` Chris Ball [this message]
2010-10-16 13:31 ` Pavel Machek
-- strict thread matches above, loose matches on Subject: below --
2010-10-08 15:04 Lima Union
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=m339shmhag.fsf@pullcord.laptop.org \
--to=cjb@laptop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=man.spaz@ymail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.