public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Iain Buchanan <iaindb@netspace.net.au>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Standby
Date: Mon, 17 Sep 2007 09:06:32 +0930	[thread overview]
Message-ID: <1189985792.10662.10.camel@orpheus> (raw)
In-Reply-To: <20070915155107.47ba7fa3@localhost>

On Sat, 2007-09-15 at 15:51 +0100, Paul Gibbons wrote:

[snip]

> I have in the passed got to the point that pressing the power button
> shut the system down and added an entry into my grub menu.lst of:

[snip]

> but when I pressed the power button again it performed a full restart.

Here are some things that I do:

1. My method is to keep grub.conf the same regardless of whether I'm
hibernating or not:

title Gentoo (Linux 2.6.22s2-r1)
   root (hd0,2)
   kernel /vmlinuz-2.6.22-suspend2-r1 root=/dev/hda7 video=vesafb:ywrap,mtrr,1280x1024-32@60 splash=silent,theme:livecd-2007.0  CONSOLE=/dev/tty1
   initrd /fbsplash-livecd-2007.0-1280x1024

When the kernel has loaded, it then looks for a valid suspend image in
swap (or hd).  If it finds one, it uses it, if it doesn't, then it
continues booting as normal.

2. I should mention that I'm using suspend2-sources.

3. the suspend2 users mailing list is an excellent place to find help
with wierd my-system-won't-suspend issues.

4. my /etc/acpi/default.sh has this in it:

case "$ev_type" in
    button)
        case "$event" in
            power)
                logger "acpid: default.sh hibernate"
                /usr/sbin/hibernate
                break
                ;;
...

5. and lastly if, when you boot, you can't "resume", it sounds like you
haven't specified where your suspend image is.  Either in the kernel:
CONFIG_SUSPEND2_DEFAULT_RESUME2="swap:/dev/hda10"
or on the boot line:
resume=swap:/dev/hda10

If that still doesn't help, post back with the output of `dmesg | grep
-i suspend` after you've tried to resume.

HTH,
-- 
Iain Buchanan <iaindb at netspace dot net dot au>

   Bender: Hey, that's my last beer, you bastard. I'll kill you! 
   Fry: I'll kill you too, buddy, I'll kill you too.

-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2007-09-16 23:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <47226938.10602@gmail.com>
2007-09-15 14:51 ` [gentoo-user] Standby Paul Gibbons
2007-09-16 23:36   ` Iain Buchanan [this message]
2007-09-17  3:01     ` [gentoo-user] In-Kernel Standby [Fork of Standby] Randy Barlow
2007-09-17  6:42       ` Mick
2007-09-17 19:17       ` Florian Philipp
2007-10-04 20:26     ` [gentoo-user] Standby Paul Gibbons
2007-10-05 11:44       ` Hans-Werner Hilse

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=1189985792.10662.10.camel@orpheus \
    --to=iaindb@netspace.net.au \
    --cc=gentoo-user@lists.gentoo.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