All of lore.kernel.org
 help / color / mirror / Atom feed
From: John Sigler <linux.kernel@free.fr>
To: Remy Bohmer <linux@bohmer.net>
Cc: linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org,
	robert.moore@intel.com, len.brown@intel.com
Subject: Re: halt does not shut the system down
Date: Wed, 10 Oct 2007 11:56:13 +0200	[thread overview]
Message-ID: <470CA1BD.1080502@free.fr> (raw)
In-Reply-To: <3efb10970710091304g30ab5549u84a092d4de40368b@mail.gmail.com>

Hello Remy,

Remy Bohmer wrote:

> John Sigler wrote:
> 
>> When I run 'halt' the kernel prints:
>> Halting.
>> Shutdown: hdc
>> ACPI: PCI interrupt for device 0000:01:05.0 disabled
>> ACPI: PCI interrupt for device 0000:01:04.0 disabled
>> ACPI: PCI interrupt for device 0000:01:03.0 disabled
>> ACPI: PCI interrupt for device 0000:01:02.0 disabled
>> Power down.
>> acpi_power_off called
>>
>> But the system does not shut down. (The fans keep spinning, the LEDs
> 
> I have seen this behavior earlier on a system with the SMI interrupt
> disabled. I do not know if this the case here, it is just a hint.

Thanks for the suggestion. I didn't see anything related to SMM in the 
BIOS menus. However, the system has real-time constraints. Thus, I'd 
turn SMM off if I knew how :-)

    Phoenix - AwardBIOS v6.00PG, An Energy Star Ally
    Copyright (C) 1984-2003, Phoenix Technologies, LTD
*** NAMB-3140 BIOS V1.20 ***
03/27/2006-i845GV-W83627-6A69VAKHC-00

> By the way, some distros bring the CPU in a halted state on a 'halt'
> command, instead of powering off (actually very logical). For real
> powering off these distros require the obvious 'poweroff' command.

Good suggestion. I'm using sysvinit-2.86
http://freshmeat.net/projects/sysvinit/

AFAIU, poweroff is equivalent to halt -p

halt (no option) calls reboot(RB_HALT);
poweroff or halt -p calls reboot(RB_POWER_OFF);
man 2 reboot

Alas, when I run 'poweroff' the kernel prints the same information:

Halting.
Shutdown: hdc
ACPI: PCI interrupt for device 0000:01:05.0 disabled
ACPI: PCI interrupt for device 0000:01:04.0 disabled
ACPI: PCI interrupt for device 0000:01:03.0 disabled
ACPI: PCI interrupt for device 0000:01:02.0 disabled
Power down.
acpi_power_off called

Regards.

  reply	other threads:[~2007-10-10  9:56 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-08 16:19 halt does not shut the system down John Sigler
2007-10-09  8:06 ` John Sigler
2007-10-09 20:04   ` Remy Bohmer
2007-10-10  9:56     ` John Sigler [this message]
2007-10-12 19:29       ` Remy Bohmer
2007-10-10  9:11 ` John Sigler
2007-10-12  9:58   ` John Sigler
2007-10-12 10:41     ` Alexey Starikovskiy
2007-10-12 13:11       ` John Sigler
2007-10-15 10:36         ` John Sigler
2007-10-15 11:11           ` Alexey Starikovskiy
2007-10-15 13:29             ` John Sigler
2007-10-15 14:03               ` Alexey Starikovskiy
2007-10-16 10:51           ` John Sigler
2007-10-16 12:37             ` linux-os (Dick Johnson)
2007-10-16 12:37               ` linux-os (Dick Johnson)
2007-10-16 13:08               ` John Sigler
2007-10-16 17:06                 ` Alexey Starikovskiy
2007-10-17  8:09                   ` John Sigler
2007-10-17  8:11                     ` Alexey Starikovskiy
2007-10-17  9:59                       ` John Sigler

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=470CA1BD.1080502@free.fr \
    --to=linux.kernel@free.fr \
    --cc=len.brown@intel.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@bohmer.net \
    --cc=robert.moore@intel.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.