public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Louis Garcia <louisg00@bellsouth.net>
Cc: linux-pm@lists.osdl.org, Pavel Machek <pavel@ucw.cz>
Subject: Re: suspending to disk on FC6 not working
Date: Wed, 27 Sep 2006 00:01:49 +0200	[thread overview]
Message-ID: <200609270001.50063.rjw@sisk.pl> (raw)
In-Reply-To: <1159307254.2780.4.camel@soncomputer>

On Tuesday, 26 September 2006 23:47, Louis Garcia wrote:
> On Tue, 2006-09-26 at 12:00 +0200, Rafael J. Wysocki wrote:
> > On Tuesday, 26 September 2006 01:04, Louis Garcia wrote:
> > > On Mon, 2006-09-25 at 22:15 +0200, Rafael J. Wysocki wrote:
> > > > On Monday, 25 September 2006 21:34, Louis Garcia wrote:
> > > > > On Mon, 2006-09-25 at 20:43 +0200, Rafael J. Wysocki wrote:
> > > > > > On Monday, 25 September 2006 19:10, Louis Garcia wrote:
> > > > > > > On Mon, 2006-09-25 at 09:16 +0200, Rafael J. Wysocki wrote:
> > > > > > > > On Monday, 25 September 2006 00:55, Louis Garcia wrote:
> > > > > > > > > When I first installed FC6 test 2 suspend to disk worked on my box which
> > > > > > > > > is a Dell dimension 8200 (P4). During the kernel-2.6.17-xxx updates this
> > > > > > > > > has stopped working. Now kernel-2.6.18 has come out and I'm having the
> > > > > > > > > same problems. I have tried to get this resolved on there mailing list
> > > > > > > > > but it's not high on there things todo. I would like to debug suspend to
> > > > > > > > > see what is happening. What is the proper way to do this? Has this been
> > > > > > > > > discussed before? Is there a separate mailing-list for suspend?
> > > > > > > > 
> > > > > > > > Generally you're not giving enough information to trace the problem.
> > > > > > > > 
> > > > > > > > First, what doesn't work, the suspend to disk or the resume?
> > > > > > > > 
> > > > > > > > Rafael
> > > > > > > > 
> > > > > > > > 
> > > > > > > 
> > > > > > > Suspend to disk does not work. When trying to suspend, from gnome, it
> > > > > > > goes normally. The power button blinks and then restarts. I'm back to
> > > > > > > the screensaver lock screen but the mouse and keyboard are dead.
> > > > > > 
> > > > > > Can you please try booting the kernel with init=/bin/bash, mount /proc,
> > > > > > mount /sys, do "/sbin/swapon -a" and "echo disk > /sys/power/state"?
> > > > > > 
> > > > > > Rafael
> > > > > > 
> > > > > > 
> > > > > After the echo command the box turned off. The power button was not
> > > > > blinking. I restarted it and went into grub,
> > > > 
> > > > Did you append init=/bin/bash to the kernel command line after it had gone
> > > > into GRUB?
> > > 
> > > No, first I booted with init=/bin/bash. Then I did the things you said,
> > > When the box was off I booted normally. You saying I should append
> > > init=/bin/bash before and after trying to suspend.
> > 
> > Well, it shouldn't matter if you append init=/bin/bash after trying to
> > suspend, but if the shell appears without it, this means the system actually
> > suspended and resumed.
> > 
> > > > > linux booted into bash.
> > > > 
> > > > Had it been displaying a progress meter before the bash came up?
> > > 
> > > Never saw a meter before.
> > > 
> > > > > When suspend was working the power button flashed and when I pressed it
> > > > > the box booted right into linux and the screensaver lock screen
> > > > > bypassing grub altogether.
> > > > 
> > > > That's because if you suspend "normally", some scripts run before the suspend
> > > > that change your GRUB configuration and use the "platform" suspend method.
> > > > However, the problem seems to be on much lower level and to debug it we need
> > > > to bypass these things.
> > > 
> > > Yes, something in the kernel I assume. How do I debug this further? 
> > 
> > Please boot the kernel with "2" appended to the command line, so the system
> > goes to the 2nd runlevel (ie. without network servers and X).  Then log in
> > as root, do "echo 8 > /proc/sys/kernel/printk" and
> > "echo disk > /sys/power/state".  The system should suspend to disk and power
> > off the machine.  If it doesn't do that (ie. if it returns to the shell
> > immediately), please do "dmesg > dmesg.log" and send the dmesg.log file
> > to me.
> 
> The system didn't power off, it returned to the shell. I attached dmesg.

Thanks.

Pavel, it looks like we have a problem with the CPU suspend on this box:

acpi acpi: freeze
PM: snapshotting memory.
Class driver suspend failed for cpu0
Could not power down device &q->lock: error -22
Some devices failed to power down, aborting suspend
acpi acpi: resuming

Greetings,
Rafael


-- 
You never change things by fighting the existing reality.
		R. Buckminster Fuller

  reply	other threads:[~2006-09-26 22:01 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-24 22:55 suspending to disk on FC6 not working Louis Garcia
2006-09-25  7:16 ` Rafael J. Wysocki
2006-09-25 17:10   ` Louis Garcia
2006-09-25 18:43     ` Rafael J. Wysocki
2006-09-25 19:34       ` Louis Garcia
2006-09-25 20:15         ` Rafael J. Wysocki
2006-09-25 23:04           ` Louis Garcia
2006-09-26 10:00             ` Rafael J. Wysocki
2006-09-26 21:47               ` Louis Garcia
2006-09-26 22:01                 ` Rafael J. Wysocki [this message]
2006-09-26 22:15                   ` Pavel Machek
2006-09-26 22:26                     ` Rafael J. Wysocki
2006-09-26 22:39                       ` Louis Garcia
2006-09-26 22:45                         ` Pavel Machek
2006-09-26 22:54                           ` Rafael J. Wysocki
2006-09-26 22:58                             ` Pavel Machek
2006-09-26 23:09                               ` Louis Garcia
2006-09-26 23:12                                 ` Pavel Machek
2006-09-27  2:36                     ` Dave Jones
2006-09-27  2:51                       ` Dave Jones
2006-09-27  6:55                         ` Louis Garcia
2006-09-29 20:54                           ` Dave Jones
  -- strict thread matches above, loose matches on Subject: below --
2006-09-29 21:35 Pallipadi, Venkatesh
2006-09-29 22:14 ` Pavel Machek
2006-09-29 22:25 ` Dave Jones
2006-09-29 22:23 Pallipadi, Venkatesh
2006-09-29 22:55 Pallipadi, Venkatesh
2006-10-01  2:49 ` Louis Garcia
2006-10-01  3:21   ` Dave Jones
2006-10-01  5:00     ` Louis Garcia
2006-10-01  5:05       ` Dave Jones
2006-10-01  5:30         ` Pavel Machek
2006-10-01  5:07 Pallipadi, Venkatesh
2006-10-01  5:22 ` Dave Jones
2006-10-01 12:28   ` Rafael J. Wysocki
2006-10-01 18:36     ` Dave Jones
2006-10-01 18:38       ` Pavel Machek
2006-10-01 18:56         ` Dave Jones
2006-10-01  5:22 ` Louis Garcia

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=200609270001.50063.rjw@sisk.pl \
    --to=rjw@sisk.pl \
    --cc=linux-pm@lists.osdl.org \
    --cc=louisg00@bellsouth.net \
    --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