public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Michael Tokarev <mjt@tls.msk.ru>
To: Linux-kernel <linux-kernel@vger.kernel.org>
Subject: help debugging suspend/resume problem?
Date: Thu, 31 May 2012 20:04:11 +0400	[thread overview]
Message-ID: <4FC7967B.4010202@msgid.tls.msk.ru> (raw)

Hello.

I've an old problem with suspend/resume on a laptop.
The laptop is from 2006, still working fine and is
sufficient, except of one issue which, as far as I
remember, were always present with linux.

Namely, it never resumed properly in linux, starting
with old kernels and up to current 3.4 series.

The hardware is based on NVIDIA C51/MCP51 chipset,
GeForce Go 7600 built-in video card and AMD Turion
X2-64 TL-52 (1.6GHz) CPU.  It is Acer Aspire 9300
laptop.

The system suspends fine - either to RAM or to disk.
But does not resume.  I thought it is a nouveau bug
(but the issue was present before nouveau module
existed), and filed a bugreport against nouveau,
https://bugs.freedesktop.org/show_bug.cgi?id=29766 .
At the time of 2.6.32 and 2.6.38 kernels (in the bugreport),
it was possible to resume the system withe external monitor
connected.  However, now with any 3.x kernels, it does not
resume even with external monitor.

But there's more.

The problem is that during resume, the screen stays blank,
so it is hardly possible to say what the problem is.  The
system does not respond to pings either.  Sometimes it
panikes, as can be said by fast-blinking capslock indicator,
sometimes it does not.

I asked in #nouveau on irc.freenode.net and someone suggested
to try kexec with a crash kernel on panic.  So I did.  And
just once I was able to get working crash kernel -- over
network, since the screen stays blank while the system is
booted crash kernel too, I can't re-enable the screen output
untile real reboot (bios initializes the video card so it
starts showing stuff again).

But I was able to do that just once, and got a elf64 dump
of memory, which - apparently - gdb can't handle (at least
i wasn't able to load the image in gdb, it displays garbage).

Other times, the system does not do anything: it powers on
(the power indicator turns on after I hit "space" key on
the keyboard -- it is suspend to RAM), and nothing happens
at all, no visible indication of what is going on.

Without crash kernel configured, it panicks in a few seconds
usually.  With crash kernel I don't see the caps lock
indicator blinking anymore, but the system does not overheat
as is usual if it "stuck" somewhere - so I can think it is
linux kernel running there.  But it does not react to, say,
capslock or numlock keys.

There's no COM port in this machine, so serial console is
not an option.  I tried netconsole before, but there's no
output in there after last "suspending" messages, ie, no
information at all about resume process.

I tried attaching an USB-to-Ethernet adaptor, but it stays
silent too.

Windows (XP or 7, 32 or 64bits) can suspend/resume just fine
on this machine, to either ram or disk.

Is there any way to debug this issue?

Thank you!

/mjt

             reply	other threads:[~2012-05-31 16:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-31 16:04 Michael Tokarev [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-05-31 18:16 help debugging suspend/resume problem? Sedat Dilek

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=4FC7967B.4010202@msgid.tls.msk.ru \
    --to=mjt@tls.msk.ru \
    --cc=linux-kernel@vger.kernel.org \
    /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