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: Tue, 16 Feb 2010 22:22:31 +0100	[thread overview]
Message-ID: <201002162222.31075.rjw@sisk.pl> (raw)
In-Reply-To: <Pine.LNX.4.44L0.1002161118360.1281-100000@iolanthe.rowland.org>

On Tuesday 16 February 2010, Alan Stern wrote:
> On Sun, 14 Feb 2010, Rafael J. Wysocki wrote:
> 
> > On Sunday 14 February 2010, Alan Stern wrote:
> > > On Sat, 13 Feb 2010, Rafael J. Wysocki wrote:
> > > 
> > > > > The bigger problem is that with a normal sleep ("echo none >pm_test"),
> > > > > the system doesn't wake up.  Pressing a key or a mouse button does
> > > > > nothing.  Pressing the power button causes the machine to start up
> > > > > again, but the screen remains blank and there's no response to network
> > > > > pings.
> > > > > 
> > > > > This was with more or less standard 2.6.33-rc6 (Greg KH's patch set was 
> > > > > applied but none of your PM patches).  The motherboard is an Intel 
> > > > > ICH5 with a 32-bit CPU.  Any ideas on ways to approach this?
> > > > 
> > > > That depends on the graphics adapter.  Is it Intel or AMD?
> > > 
> > > $ lspci -s 2.0
> > > 00:02.0 VGA compatible controller: Intel Corporation 82865G Integrated Graphics Controller (rev 02)
> > 
> > Well, that is supposed to work.  Do you have KMS turned on?
> 
> It's hard to tell.  CONFIG_DRM and CONFIG_DRM_HELPER were both set to M
> and the i915 driver was loaded, which pulled both of them in as well.  
> But lsmod showed that i915's usage count was 0 and there were no kernel
> messages about the framebuffer device; the only relevant messages were:
> 
> [   41.814441] [drm] Initialized drm 1.1.0 20060810
> [   41.869690] pci 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
> [   41.869705] pci 0000:00:02.0: setting latency timer to 64
> [   41.883076] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
> 
> Also, the console remained in the BIOS's original 80x25 video mode.  
> Since I wasn't running X11 during the test, KMS shouldn't have made any
> difference, right?
> 
> > > Do you need any more information than that?
> > 
> > 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?

Perhaps the BIOS steps onto the early wakeup code.

Rafael

  reply	other threads:[~2010-02-16 21:22 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 [this message]
2010-02-17 18:10           ` Alan Stern
2010-02-17 20:43             ` Rafael J. Wysocki
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=201002162222.31075.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