From: Santiago Garcia Mantinan <manty@manty.net>
To: Mark Lord <lkml@rtr.ca>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] (repost) Fix SMP poweroff hangs
Date: Sun, 30 Sep 2007 19:54:46 +0200 [thread overview]
Message-ID: <20070930175446.GA2472@pul.manty.net> (raw)
In-Reply-To: <46FFDB29.9040400@rtr.ca>
> I'd say your problem is more of a distro issue,
> in that the method you are using to shutdown
> is not actually requesting "poweroff".
> That last mess above ("System halted.") comes from kernel_halt(),
> rather than the expected message ("Power down.") from kernel_power_off().
> So, try using the "poweroff" command instead of "halt",
> or try using "halt -p". If neither of those work,
Well it works ok with 2.6.22 powering off and saying so right before
powering off, with some references to ACPI. On 2.6.23-rc8 however it doesn't
seem to get that far.
I have followed the poweroff of my distro (Debian unstable) and on getting
to the end of rc 0 it calls halt with options -d -f -i -p. So it does call
it with the -p you asked for. BTW, this halt comes fom Debian's sysvinit
version 2.86.ds1-38.1 in case that matters, but as I said it is working ok
for .22.
> then edit /etc/init.d/halt and hardcode the "-p" parameter
> inside there onto the "halt" command line(s).
That init.d/halt is the one that is calling halt with -d -f -i -p already.
Regards...
--
Manty/BestiaTester -> http://manty.net
next prev parent reply other threads:[~2007-09-30 17:55 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-27 21:29 Problems with SMP & ACPI powering off Mark Lord
2007-09-27 21:30 ` Mark Lord
2007-09-27 22:00 ` Rafael J. Wysocki
2007-09-27 23:07 ` Mark Lord
2007-09-28 4:57 ` Len Brown
2007-09-28 12:55 ` Rafael J. Wysocki
2007-09-28 13:22 ` Mark Lord
2007-09-28 13:44 ` Rafael J. Wysocki
2007-09-28 13:46 ` Mark Lord
2007-09-28 13:52 ` [PATCH] disable non-boot CPUs before poweroff Mark Lord
2007-09-28 14:11 ` Mark Lord
2007-09-28 14:55 ` Thomas Gleixner
2007-09-28 19:53 ` [PATCH] (repost) Fix SMP poweroff hangs Mark Lord
2007-09-30 9:00 ` Santiago Garcia Mantinan
2007-09-30 17:21 ` Mark Lord
2007-09-30 17:54 ` Santiago Garcia Mantinan [this message]
2007-09-30 18:47 ` Mark Lord
2007-09-30 20:03 ` Santiago Garcia Mantinan
2007-09-30 22:52 ` 32-bit Athlon X2 won't poweroff (was: Fix SMP poweroff hangs) Mark Lord
2007-09-30 22:56 ` 32-bit Athlon X2 won't poweroff Mark Lord
2007-10-01 16:19 ` 32-bit Athlon X2 won't poweroff (was: Fix SMP poweroff hangs) Santiago Garcia Mantinan
2007-10-01 16:37 ` 32-bit Athlon X2 won't poweroff Mark Lord
2007-10-01 20:05 ` [PATCH] (repost) Fix SMP poweroff hangs Rafael J. Wysocki
2007-10-01 22:38 ` Santiago Garcia Mantinan
2007-09-28 15:05 ` [PATCH] disable non-boot CPUs before poweroff Rafael J. Wysocki
2007-09-28 15:02 ` Thomas Gleixner
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=20070930175446.GA2472@pul.manty.net \
--to=manty@manty.net \
--cc=linux-kernel@vger.kernel.org \
--cc=lkml@rtr.ca \
/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
all inboxes | Powered by JetHome®