public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: Linux-pm mailing list <linux-pm@lists.linux-foundation.org>,
	Greg Kroah-Hartman <gregkh@suse.de>,
	Alan <alan@lxorguk.ukuu.org.uk>
Subject: Re: Two problems with system sleep
Date: Wed, 17 Feb 2010 21:43:16 +0100	[thread overview]
Message-ID: <201002172143.16206.rjw@sisk.pl> (raw)
In-Reply-To: <Pine.LNX.4.44L0.1002171006450.1913-100000@iolanthe.rowland.org>

On Wednesday 17 February 2010, Alan Stern wrote:
> On Tue, 16 Feb 2010, Rafael J. Wysocki wrote:
> 
> > > > Is the problem reproducible with init=/bin/bash vga=0?
> > > 
> > > Yes.  I tried booting with no initramfs and with "init=/bin/bash
> > > vga=0".  Just as before the suspended machine didn't do anything when I
> > > pressed keys on the keyboard, and pressing the power button caused it
> > > to come back up totally unresponsive with the screen blank and the
> > > CapsLock and ScrollLock lights blinking.
> > 
> > Hmm.  What about X86_CHECK_BIOS_CORRUPTION and friends?
> 
> CONFIG_X86_CHECK_BIOS_CORRUPTION was not set.  I created a new kernel 
> with:
> 
> CONFIG_X86_CHECK_BIOS_CORRUPTION=y
> CONFIG_X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK=y
> CONFIG_X86_RESERVE_LOW_64K=y
> 
> And then I booted with "memory_corruption_check=1 vga=0 init=/bin/bash" 
> on the command line just to be sure.  There was a log message saying 
> that low memory would be checked every 60 seconds, but no error 
> messages appeared after waiting for a few minutes.
> 
> The behavior during resume was unchanged.
> 
> > Perhaps the BIOS steps onto the early wakeup code.
> 
> The difficulty is that I have no way to find out what's going on.  The
> serial port isn't working (or nothing gets sent to it, or both) and the
> system hangs before the video output gets enabled.

You can try to put no_console_suspend into the kernel command line, but I doubt
it'll help with the serial resume.

Anyway, we need to check if control gets back to acpi_suspend_enter().

BTW, does anything change if you put acpi_sleep=sci_force_enable into the
kernel command line?

Rafael

  reply	other threads:[~2010-02-17 20:43 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-12 20:46 Two problems with system sleep Alan Stern
2010-02-13  0:13 ` Rafael J. Wysocki
2010-02-13  0:21   ` Greg KH
2010-02-14 18:36   ` Alan Stern
2010-02-14 21:47     ` Rafael J. Wysocki
2010-02-16 16:52       ` Alan Stern
2010-02-16 21:22         ` Rafael J. Wysocki
2010-02-17 18:10           ` Alan Stern
2010-02-17 20:43             ` Rafael J. Wysocki [this message]
2010-02-18 20:16               ` Alan Stern
     [not found] <201002212139.39746.rjw@sisk.pl>
2010-02-22 16:33 ` Alan Stern
     [not found] <Pine.LNX.4.44L0.1002221119590.1262-100000@iolanthe.rowland.org>
2010-02-22 18:45 ` Rafael J. Wysocki
     [not found] <201002221945.25891.rjw@sisk.pl>
2010-02-22 21:33 ` Alan Stern
2010-02-22 22:00   ` Rafael J. Wysocki
2010-02-22 22:17     ` Alan Stern
2010-02-22 22:35       ` Rafael J. Wysocki
     [not found] <201002222335.22172.rjw@sisk.pl>
2010-02-23 16:12 ` Alan Stern
2010-02-23 21:02   ` Rafael J. Wysocki
2010-02-23 21:35     ` Alan Stern
2010-02-23 23:08       ` Rafael J. Wysocki
2010-02-24 16:59         ` Alan Stern
2010-02-23 21:49     ` Dmitry Torokhov
2010-02-24 15:39       ` Alan Stern

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=201002172143.16206.rjw@sisk.pl \
    --to=rjw@sisk.pl \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=gregkh@suse.de \
    --cc=linux-pm@lists.linux-foundation.org \
    --cc=stern@rowland.harvard.edu \
    /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