mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: Norman Diamond <ndiamond@wta.att.ne.jp>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.0 swsusp
Date: Sun, 28 Dec 2003 15:47:07 +0100	[thread overview]
Message-ID: <20031228144707.GA1489@elf.ucw.cz> (raw)
In-Reply-To: <173c01c3cceb$07352490$43ee4ca5@DIAMONDLX60>

Hi!

> On a machine with working ACPI, I compiled 2.6.0 with Software Suspend
> (Experimental).
> 
> 1.  Help information says that the next boot can be done with
> "resume=/dev/swappartition" or with "noresume".  It does not say how the
> swsusp command decides which swap partition to save to.  The man page (which
> still isn't sure if the command is named swsusp or suspend) also doesn't
> say.  How can I guess which swap partition to designate at resume time?  For
> the moment this is a hypothetical question because I haven't needed to make
> a second swap partition on this machine yet.

You have to have just one swap partition for now.

> 2.  When I forgot to say either "resume" or "noresume", the kernel detected
> that it could not use the swap partition, but it did not offer the
> possibility to resume.  Surely it could detect early enough that the swap
> partition is not usable for swap but is usable for resume, and could ask the
> user whether to do a "resume" or "noresume".

At *that* point, it is no longer possible to resume safely.

> 3.  When swsusp completed its writing, it decided that my ACPI BIOS could
> not power off automatically.  I wonder why.  No other OS has trouble
> powering off this machine.  Also on machines with older APM BIOSes, no OS
> had trouble powering off the machines, not even Linux with APM drivers.  So
> I could hold the power switch for 4 seconds and the BIOS beeped a warning
> before powering off, but I wonder why it was necessary.

If regular halt is also unable to power off machine, fill the bug in
ACPI bugzilla.
								Pavel
-- 
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]

  reply	other threads:[~2003-12-28 14:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-28  2:33 Norman Diamond
2003-12-28 14:47 ` Pavel Machek [this message]
2003-12-29  2:04   ` Norman Diamond
2003-12-29  2:19     ` Pavel Machek

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=20031228144707.GA1489@elf.ucw.cz \
    --to=pavel@ucw.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ndiamond@wta.att.ne.jp \
    /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

Powered by JetHome