linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: halt does not shut the system down
       [not found] <470A58AF.9080402@free.fr>
@ 2007-10-09  8:06 ` John Sigler
  2007-10-09 20:04   ` Remy Bohmer
  2007-10-10  9:11 ` John Sigler
  1 sibling, 1 reply; 19+ messages in thread
From: John Sigler @ 2007-10-09  8:06 UTC (permalink / raw)
  To: linux-kernel, linux-acpi; +Cc: robert.moore, len.brown

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 
> keep shining, the LCD keeps displaying.) Basically, the motherboard is 
> still providing power to every component, as if the power supply had 
> refused to stop.

If I disable the 4 integrated NICs in the BIOS, then the kernel prints:

Halting.
Shutdown: hdc
Power down.
acpi_power_off called
  hwsleep-0322 [01] enter_sleep_state     : Entering sleep state [S5]

But the system does not power down.

> Kernel is 2.6.22.1-rt9
> 
> I followed the instructions given here:
> http://bugzilla.kernel.org/show_bug.cgi?id=6431
> 
> # cat /sys/module/acpi/parameters/debug_layer
> Description                     Hex        SET
> ACPI_UTILITIES                  0x00000001 [*]
> ACPI_HARDWARE                   0x00000002 [*]
> ACPI_EVENTS                     0x00000004 [*]
> ACPI_TABLES                     0x00000008 [*]
> ACPI_NAMESPACE                  0x00000010 [*]
> ACPI_PARSER                     0x00000020 [*]
> ACPI_DISPATCHER                 0x00000040 [*]
> ACPI_EXECUTER                   0x00000080 [*]
> ACPI_RESOURCES                  0x00000100 [*]
> ACPI_CA_DEBUGGER                0x00000200 [*]
> ACPI_OS_SERVICES                0x00000400 [*]
> ACPI_CA_DISASSEMBLER            0x00000800 [*]
> ACPI_COMPILER                   0x00001000 [*]
> ACPI_TOOLS                      0x00002000 [*]
> ACPI_ALL_DRIVERS                0xFFFF0000 [*]
> -- 
> debug_layer = 0xFFFF3FFF ( * = enabled)
> 
> # cat /sys/module/acpi/parameters/debug_level
> Description                     Hex        SET
> ACPI_LV_ERROR                   0x00000001 [*]
> ACPI_LV_WARN                    0x00000002 [*]
> ACPI_LV_INIT                    0x00000004 [*]
> ACPI_LV_DEBUG_OBJECT            0x00000008 [*]
> ACPI_LV_INFO                    0x00000010 [*]
> ACPI_LV_INIT_NAMES              0x00000020 [*]
> ACPI_LV_PARSE                   0x00000040 [*]
> ACPI_LV_LOAD                    0x00000080 [*]
> ACPI_LV_DISPATCH                0x00000100 [*]
> ACPI_LV_EXEC                    0x00000200 [*]
> ACPI_LV_NAMES                   0x00000400 [*]
> ACPI_LV_OPREGION                0x00000800 [*]
> ACPI_LV_BFIELD                  0x00001000 [*]
> ACPI_LV_TABLES                  0x00002000 [*]
> ACPI_LV_VALUES                  0x00004000 [*]
> ACPI_LV_OBJECTS                 0x00008000 [*]
> ACPI_LV_RESOURCES               0x00010000 [*]
> ACPI_LV_USER_REQUESTS           0x00020000 [*]
> ACPI_LV_PACKAGE                 0x00040000 [*]
> ACPI_LV_ALLOCATIONS             0x00100000 [*]
> ACPI_LV_FUNCTIONS               0x00200000 [*]
> ACPI_LV_OPTIMIZATIONS           0x00400000 [*]
> ACPI_LV_MUTEX                   0x01000000 [*]
> ACPI_LV_THREADS                 0x02000000 [*]
> ACPI_LV_IO                      0x04000000 [*]
> ACPI_LV_INTERRUPTS              0x08000000 [*]
> ACPI_LV_AML_DISASSEMBLE         0x10000000 [*]
> ACPI_LV_VERBOSE_INFO            0x20000000 [*]
> ACPI_LV_FULL_TABLES             0x40000000 [*]
> ACPI_LV_EVENTS                  0x80000000 [*]
> -- 
> debug_level = 0xFFFFFFFF (* = enabled)
> 
> I've attached my .config and the output of the following commands:
> dmesg, lspci, acpidump, halt
> 
> Do you have any idea what the problem is?

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: halt does not shut the system down
  2007-10-09  8:06 ` halt does not shut the system down John Sigler
@ 2007-10-09 20:04   ` Remy Bohmer
  2007-10-10  9:56     ` John Sigler
  0 siblings, 1 reply; 19+ messages in thread
From: Remy Bohmer @ 2007-10-09 20:04 UTC (permalink / raw)
  To: John Sigler; +Cc: linux-kernel, linux-acpi, robert.moore, len.brown

Hello John,

> 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.
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.

Some long shots, maybe it helps...

Kind Regards,

Remy

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: halt does not shut the system down
       [not found] <470A58AF.9080402@free.fr>
  2007-10-09  8:06 ` halt does not shut the system down John Sigler
@ 2007-10-10  9:11 ` John Sigler
  2007-10-12  9:58   ` John Sigler
  1 sibling, 1 reply; 19+ messages in thread
From: John Sigler @ 2007-10-10  9:11 UTC (permalink / raw)
  To: linux-kernel, linux-acpi; +Cc: robert.moore, len.brown

(The original message seems to have been ignored by the mailing list 
robot, probably because the attachments made it too large. Re-send with 
links instead of attaching the documents to the message.)

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 
> keep shining, the LCD keeps displaying.) Basically, the motherboard is 
> still providing power to every component, as if the power supply had 
> refused to stop.
> 
> Kernel is 2.6.22.1-rt9
> 
> I followed the instructions given here:
> http://bugzilla.kernel.org/show_bug.cgi?id=6431
> 
> # cat /sys/module/acpi/parameters/debug_layer
> Description                     Hex        SET
> ACPI_UTILITIES                  0x00000001 [*]
> ACPI_HARDWARE                   0x00000002 [*]
> ACPI_EVENTS                     0x00000004 [*]
> ACPI_TABLES                     0x00000008 [*]
> ACPI_NAMESPACE                  0x00000010 [*]
> ACPI_PARSER                     0x00000020 [*]
> ACPI_DISPATCHER                 0x00000040 [*]
> ACPI_EXECUTER                   0x00000080 [*]
> ACPI_RESOURCES                  0x00000100 [*]
> ACPI_CA_DEBUGGER                0x00000200 [*]
> ACPI_OS_SERVICES                0x00000400 [*]
> ACPI_CA_DISASSEMBLER            0x00000800 [*]
> ACPI_COMPILER                   0x00001000 [*]
> ACPI_TOOLS                      0x00002000 [*]
> ACPI_ALL_DRIVERS                0xFFFF0000 [*]
> -- 
> debug_layer = 0xFFFF3FFF ( * = enabled)
> 
> # cat /sys/module/acpi/parameters/debug_level
> Description                     Hex        SET
> ACPI_LV_ERROR                   0x00000001 [*]
> ACPI_LV_WARN                    0x00000002 [*]
> ACPI_LV_INIT                    0x00000004 [*]
> ACPI_LV_DEBUG_OBJECT            0x00000008 [*]
> ACPI_LV_INFO                    0x00000010 [*]
> ACPI_LV_INIT_NAMES              0x00000020 [*]
> ACPI_LV_PARSE                   0x00000040 [*]
> ACPI_LV_LOAD                    0x00000080 [*]
> ACPI_LV_DISPATCH                0x00000100 [*]
> ACPI_LV_EXEC                    0x00000200 [*]
> ACPI_LV_NAMES                   0x00000400 [*]
> ACPI_LV_OPREGION                0x00000800 [*]
> ACPI_LV_BFIELD                  0x00001000 [*]
> ACPI_LV_TABLES                  0x00002000 [*]
> ACPI_LV_VALUES                  0x00004000 [*]
> ACPI_LV_OBJECTS                 0x00008000 [*]
> ACPI_LV_RESOURCES               0x00010000 [*]
> ACPI_LV_USER_REQUESTS           0x00020000 [*]
> ACPI_LV_PACKAGE                 0x00040000 [*]
> ACPI_LV_ALLOCATIONS             0x00100000 [*]
> ACPI_LV_FUNCTIONS               0x00200000 [*]
> ACPI_LV_OPTIMIZATIONS           0x00400000 [*]
> ACPI_LV_MUTEX                   0x01000000 [*]
> ACPI_LV_THREADS                 0x02000000 [*]
> ACPI_LV_IO                      0x04000000 [*]
> ACPI_LV_INTERRUPTS              0x08000000 [*]
> ACPI_LV_AML_DISASSEMBLE         0x10000000 [*]
> ACPI_LV_VERBOSE_INFO            0x20000000 [*]
> ACPI_LV_FULL_TABLES             0x40000000 [*]
> ACPI_LV_EVENTS                  0x80000000 [*]
> -- 
> debug_level = 0xFFFFFFFF (* = enabled)

http://linux.kernel.free.fr/halt/config-2.6.22.1-rt9
http://linux.kernel.free.fr/halt/acpidump.txt
http://linux.kernel.free.fr/halt/dmesg.txt
http://linux.kernel.free.fr/halt/halt.txt
http://linux.kernel.free.fr/halt/lspci.txt

Do you know what could be the problem?
(Meanwhile, I will investigate Remy Bohmer's suggestion.)

Regards.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: halt does not shut the system down
  2007-10-09 20:04   ` Remy Bohmer
@ 2007-10-10  9:56     ` John Sigler
  2007-10-12 19:29       ` Remy Bohmer
  0 siblings, 1 reply; 19+ messages in thread
From: John Sigler @ 2007-10-10  9:56 UTC (permalink / raw)
  To: Remy Bohmer; +Cc: linux-kernel, linux-acpi, robert.moore, len.brown

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.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: halt does not shut the system down
  2007-10-10  9:11 ` John Sigler
@ 2007-10-12  9:58   ` John Sigler
  2007-10-12 10:41     ` Alexey Starikovskiy
  0 siblings, 1 reply; 19+ messages in thread
From: John Sigler @ 2007-10-12  9:58 UTC (permalink / raw)
  To: linux-acpi; +Cc: linux-kernel, robert.moore, len.brown

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 
> keep shining, the LCD keeps displaying.) Basically, the motherboard is 
> still providing power to every component, as if the power supply had 
> refused to stop.
>
> http://linux.kernel.free.fr/halt/config-2.6.22.1-rt9
> http://linux.kernel.free.fr/halt/acpidump.txt
> http://linux.kernel.free.fr/halt/dmesg.txt
> http://linux.kernel.free.fr/halt/halt.txt
> http://linux.kernel.free.fr/halt/lspci.txt

Is there something else I can provide that might help in identifying
the problem?

Regards.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: halt does not shut the system down
  2007-10-12  9:58   ` John Sigler
@ 2007-10-12 10:41     ` Alexey Starikovskiy
  2007-10-12 13:11       ` John Sigler
  0 siblings, 1 reply; 19+ messages in thread
From: Alexey Starikovskiy @ 2007-10-12 10:41 UTC (permalink / raw)
  To: John Sigler; +Cc: linux-acpi, linux-kernel, robert.moore, len.brown

Could you please open bug at bugzilla.kernel.org and put all these files there?

Thanks,
Alex.

John Sigler 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 
>> keep shining, the LCD keeps displaying.) Basically, the motherboard is 
>> still providing power to every component, as if the power supply had 
>> refused to stop.
>>
>> http://linux.kernel.free.fr/halt/config-2.6.22.1-rt9
>> http://linux.kernel.free.fr/halt/acpidump.txt
>> http://linux.kernel.free.fr/halt/dmesg.txt
>> http://linux.kernel.free.fr/halt/halt.txt
>> http://linux.kernel.free.fr/halt/lspci.txt
> 
> Is there something else I can provide that might help in identifying
> the problem?
> 
> Regards.
> -
> To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: halt does not shut the system down
  2007-10-12 10:41     ` Alexey Starikovskiy
@ 2007-10-12 13:11       ` John Sigler
  2007-10-15 10:36         ` John Sigler
  0 siblings, 1 reply; 19+ messages in thread
From: John Sigler @ 2007-10-12 13:11 UTC (permalink / raw)
  To: Alexey Starikovskiy; +Cc: linux-acpi, linux-kernel, robert.moore, len.brown

Alexey Starikovskiy wrote:

> Could you please open bug at bugzilla.kernel.org and put all these
> files there?

http://bugzilla.kernel.org/show_bug.cgi?id=9148

(In my browser, halt output is incorrectly displayed in UTF-8.)

Regards.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: halt does not shut the system down
  2007-10-10  9:56     ` John Sigler
@ 2007-10-12 19:29       ` Remy Bohmer
  0 siblings, 0 replies; 19+ messages in thread
From: Remy Bohmer @ 2007-10-12 19:29 UTC (permalink / raw)
  To: John Sigler; +Cc: linux-kernel, linux-acpi, robert.moore, len.brown

Hello John,

> 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 :-)

Here you can find a driver that can disable and enable the SMI
interrupt in the chipset. It supports up to the ICH5 chipsets, but by
adding the proper device/vendor IDs you can also make it support newer
chipsets.
http://www.bohmer.net/smi.tar.bz2

> AFAIU, poweroff is equivalent to halt -p

You are right.

Kind Regards,

Remy

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: halt does not shut the system down
  2007-10-12 13:11       ` John Sigler
@ 2007-10-15 10:36         ` John Sigler
  2007-10-15 11:11           ` Alexey Starikovskiy
  2007-10-16 10:51           ` John Sigler
  0 siblings, 2 replies; 19+ messages in thread
From: John Sigler @ 2007-10-15 10:36 UTC (permalink / raw)
  To: linux-acpi; +Cc: linux-kernel, robert.moore, len.brown

John Sigler wrote:

> Alexey Starikovskiy wrote:
> 
>> Could you please open bug at bugzilla.kernel.org and put all these
>> files there?
> 
> http://bugzilla.kernel.org/show_bug.cgi?id=9148

Writing 15361 (i.e. 0x3C01) to ACPI_REGISTER_PM1A_CONTROL appears to 
hang my system in acpi_os_write_port(). What can I do about that?

Is it a BIOS issue? a kernel issue? a hardware issue?

(All my results are attached to the bug report.)

Regards.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: halt does not shut the system down
  2007-10-15 10:36         ` John Sigler
@ 2007-10-15 11:11           ` Alexey Starikovskiy
  2007-10-15 13:29             ` John Sigler
  2007-10-16 10:51           ` John Sigler
  1 sibling, 1 reply; 19+ messages in thread
From: Alexey Starikovskiy @ 2007-10-15 11:11 UTC (permalink / raw)
  To: John Sigler; +Cc: linux-acpi, linux-kernel, robert.moore, len.brown

John Sigler wrote:
> John Sigler wrote:
> 
>> Alexey Starikovskiy wrote:
>>
>>> Could you please open bug at bugzilla.kernel.org and put all these
>>> files there?
>>
>> http://bugzilla.kernel.org/show_bug.cgi?id=9148
> 
> Writing 15361 (i.e. 0x3C01) to ACPI_REGISTER_PM1A_CONTROL appears to
> hang my system in acpi_os_write_port(). What can I do about that?
That is supposed to turn your machine off. At least we now know that ACPI 
did try to turn it off.
You could also try different kernel or defconfig.
> 
> Is it a BIOS issue? a kernel issue? a hardware issue?
I think _other_ OS could turn your machine off just fine, so the issue is not HW, not BIOS.
Probably, first thing to try is 2.6.23.1 as it was just released and has some changes in
power management section...

Regards,
Alex.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: halt does not shut the system down
  2007-10-15 11:11           ` Alexey Starikovskiy
@ 2007-10-15 13:29             ` John Sigler
  2007-10-15 14:03               ` Alexey Starikovskiy
  0 siblings, 1 reply; 19+ messages in thread
From: John Sigler @ 2007-10-15 13:29 UTC (permalink / raw)
  To: Alexey Starikovskiy; +Cc: linux-acpi, linux-kernel, robert.moore, len.brown

Alexey Starikovskiy wrote:

> John Sigler wrote:
> 
>> Alexey Starikovskiy wrote:
>> 
>>> Could you please open bug at bugzilla.kernel.org and put all
>>> these files there?
>> 
>> http://bugzilla.kernel.org/show_bug.cgi?id=9148
>> 
>> Writing 15361 (i.e. 0x3C01) to ACPI_REGISTER_PM1A_CONTROL appears
>> to hang my system in acpi_os_write_port(). What can I do about that?
> 
> That is supposed to turn your machine off. At least we now know that
> ACPI did try to turn it off. You could also try different kernel or
> defconfig.

What's defconfig? .config? Which option(s) might have an impact?

>> Is it a BIOS issue? a kernel issue? a hardware issue?
> 
> I think _other_ OS could turn your machine off just fine, so the
> issue is not HW, not BIOS. Probably, first thing to try is 2.6.23.1
> as it was just released and has some changes in power management
> section...

I have the same problem in 2.6.23.1 (cf. my bug report in the database)

I'll ask the manufacturer whether they could get poweroff to work.

Regards.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: halt does not shut the system down
  2007-10-15 13:29             ` John Sigler
@ 2007-10-15 14:03               ` Alexey Starikovskiy
  0 siblings, 0 replies; 19+ messages in thread
From: Alexey Starikovskiy @ 2007-10-15 14:03 UTC (permalink / raw)
  To: John Sigler; +Cc: linux-acpi, linux-kernel, robert.moore, len.brown

John Sigler wrote:
> Alexey Starikovskiy wrote:
> 
>> John Sigler wrote:
>>
>>> Alexey Starikovskiy wrote:
>>>
>>>> Could you please open bug at bugzilla.kernel.org and put all
>>>> these files there?
>>>
>>> http://bugzilla.kernel.org/show_bug.cgi?id=9148
>>>
>>> Writing 15361 (i.e. 0x3C01) to ACPI_REGISTER_PM1A_CONTROL appears
>>> to hang my system in acpi_os_write_port(). What can I do about that?
>>
>> That is supposed to turn your machine off. At least we now know that
>> ACPI did try to turn it off. You could also try different kernel or
>> defconfig.
> 
> What's defconfig? .config? Which option(s) might have an impact?

This is an option to make. It creates .config file with some default settings,
appropriate to most computers.

>>> Is it a BIOS issue? a kernel issue? a hardware issue?
>>
>> I think _other_ OS could turn your machine off just fine, so the
>> issue is not HW, not BIOS. Probably, first thing to try is 2.6.23.1
>> as it was just released and has some changes in power management
>> section...
> 
> I have the same problem in 2.6.23.1 (cf. my bug report in the database)
> 
> I'll ask the manufacturer whether they could get poweroff to work.
> 
> Regards.
> 


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: halt does not shut the system down
  2007-10-15 10:36         ` John Sigler
  2007-10-15 11:11           ` Alexey Starikovskiy
@ 2007-10-16 10:51           ` John Sigler
  2007-10-16 12:37             ` linux-os (Dick Johnson)
  1 sibling, 1 reply; 19+ messages in thread
From: John Sigler @ 2007-10-16 10:51 UTC (permalink / raw)
  To: linux-acpi; +Cc: linux-kernel, robert.moore, len.brown

John Sigler wrote:

> Alexey Starikovskiy wrote:
>
>> Could you please open bug at bugzilla.kernel.org and put all these
>> files there?
>
> http://bugzilla.kernel.org/show_bug.cgi?id=9148
> 
> Writing 15361 (i.e. 0x3C01) to ACPI_REGISTER_PM1A_CONTROL appears to
> hang my system in acpi_os_write_port(). What can I do about that?

Another observation: if I connect a screen to the system's VGA port, 
when I call 'poweroff' the screen goes into power saving mode. This 
seems to indicate that the integrated video card is properly shut down.

So the fans keep spinning, the LEDs keep shining, the LCD keeps 
displaying, but the video card is shut down?

Might this help pinpoint the problem?

Regards.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: halt does not shut the system down
  2007-10-16 10:51           ` John Sigler
@ 2007-10-16 12:37             ` linux-os (Dick Johnson)
  2007-10-16 13:08               ` John Sigler
  0 siblings, 1 reply; 19+ messages in thread
From: linux-os (Dick Johnson) @ 2007-10-16 12:37 UTC (permalink / raw)
  To: John Sigler; +Cc: linux-acpi, linux-kernel, robert.moore, len.brown


On Tue, 16 Oct 2007, John Sigler wrote:

> John Sigler wrote:
>
>> Alexey Starikovskiy wrote:
>>
>>> Could you please open bug at bugzilla.kernel.org and put all these
>>> files there?
>>
>> http://bugzilla.kernel.org/show_bug.cgi?id=9148
>>
>> Writing 15361 (i.e. 0x3C01) to ACPI_REGISTER_PM1A_CONTROL appears to
>> hang my system in acpi_os_write_port(). What can I do about that?
>
> Another observation: if I connect a screen to the system's VGA port,
> when I call 'poweroff' the screen goes into power saving mode. This
> seems to indicate that the integrated video card is properly shut down.
>
> So the fans keep spinning, the LEDs keep shining, the LCD keeps
> displaying, but the video card is shut down?
>
> Might this help pinpoint the problem?
>
> Regards.
> -

Check the BIOS to see if the "Power Button" is configured to
shut the system down. Some BIOS configure APM to do what
the power button does!

Cheers,
Dick Johnson
Penguin : Linux version 2.6.16.24 on an i686 machine (5592.59 BogoMips).
My book : http://www.AbominableFirebug.com/
_


****************************************************************
The information transmitted in this message is confidential and may be privileged.  Any review, retransmission, dissemination, or other use of this information by persons or entities other than the intended recipient is prohibited.  If you are not the intended recipient, please notify Analogic Corporation immediately - by replying to this message or by sending an email to DeliveryErrors@analogic.com - and destroy all copies of this information, including any attachments, without reading or disclosing them.

Thank you.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: halt does not shut the system down
  2007-10-16 12:37             ` linux-os (Dick Johnson)
@ 2007-10-16 13:08               ` John Sigler
  2007-10-16 17:06                 ` Alexey Starikovskiy
  0 siblings, 1 reply; 19+ messages in thread
From: John Sigler @ 2007-10-16 13:08 UTC (permalink / raw)
  To: Dick Johnson; +Cc: linux-acpi, linux-kernel, robert.moore, len.brown

Dick Johnson wrote:

> John Sigler wrote:
> 
>> http://bugzilla.kernel.org/show_bug.cgi?id=9148
>>
>> Writing 15361 (i.e. 0x3C01) to ACPI_REGISTER_PM1A_CONTROL appears to
>> hang my system in acpi_os_write_port(). What can I do about that?
>>
>> Another observation: if I connect a screen to the system's VGA port,
>> when I call 'poweroff' the screen goes into power saving mode. This
>> seems to indicate that the integrated video card is properly shut down.
>>
>> So the fans keep spinning, the LEDs keep shining, the LCD keeps
>> displaying, but the video card is shut down?
>>
>> Might this help pinpoint the problem?
> 
> Check the BIOS to see if the "Power Button" is configured to
> shut the system down. Some BIOS configure APM to do what
> the power button does!

Here is the relevant BIOS menu.

         Phoenix - AwardBIOS CMOS Setup Utility
                 Power Management Setup
+=====================================================+
|    ACPI Function             [Enabled]              |
|    MODEM Use IRQ             [NA]                   |
|    Soft-Off by PWR-BTTN      [Instant-Off]          |
|    CPU THRM-Throttling       [50.0%]                |
|    Resume by Alarm           [Disabled]             |
|  x  Date(of Month) Alarm       0                    |
|  x  Time(hh:mm:ss) Alarm       0 :  0 :  0          |
|                                                     |
|    ** Reload Global Timer Events **                 |
|    Primary IDE 0             [Disabled]             |
|    Primary IDE 1             [Disabled]             |
|    Secondary IDE 0           [Disabled]             |
|    Secondary IDE 1           [Disabled]             |
|    FDD,COM,LPT Port          [Disabled]             |
|    PCI PIRQ[A-D]#            [Disabled]             |
|                                                     |
+=====================================================+

          +===================================+
          | Soft-Off by PWR-BTTN              |
          |-----------------------------------|
          | Instant-Off  ..... [v]            |
          | Delay 4 Sec. ..... [ ]            |
          |                                   |
          |-----------------------------------|
          |  ^V:Move ENTER:Accept ESC:Abort   |
          +===================================+

'Instant-Off' is the appropriate setting, right?

In a different menu, there are two other (relevant?) options:

     PWRON After PWR-Fail      [On]
     Watch Dog Timer Select    [Disabled]

Regards.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: halt does not shut the system down
  2007-10-16 13:08               ` John Sigler
@ 2007-10-16 17:06                 ` Alexey Starikovskiy
  2007-10-17  8:09                   ` John Sigler
  0 siblings, 1 reply; 19+ messages in thread
From: Alexey Starikovskiy @ 2007-10-16 17:06 UTC (permalink / raw)
  To: John Sigler
  Cc: Dick Johnson, linux-acpi, linux-kernel, robert.moore, len.brown

John Sigler wrote:

>          +===================================+
>          | Soft-Off by PWR-BTTN              |
>          |-----------------------------------|
>          | Instant-Off  ..... [v]            |
>          | Delay 4 Sec. ..... [ ]            |
>          |                                   |
>          |-----------------------------------|
>          |  ^V:Move ENTER:Accept ESC:Abort   |
>          +===================================+
> 
> 'Instant-Off' is the appropriate setting, right?
Actually, default should be 4 sec delay. OS should have 
a chance to shut down the system...


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: halt does not shut the system down
  2007-10-16 17:06                 ` Alexey Starikovskiy
@ 2007-10-17  8:09                   ` John Sigler
  2007-10-17  8:11                     ` Alexey Starikovskiy
  0 siblings, 1 reply; 19+ messages in thread
From: John Sigler @ 2007-10-17  8:09 UTC (permalink / raw)
  To: Alexey Starikovskiy; +Cc: linux-acpi, linux-kernel, robert.moore, len.brown

Alexey Starikovskiy wrote:

> John Sigler wrote:
> 
>>          +===================================+
>>          | Soft-Off by PWR-BTTN              |
>>          |-----------------------------------|
>>          | Instant-Off  ..... [v]            |
>>          | Delay 4 Sec. ..... [ ]            |
>>          |                                   |
>>          |-----------------------------------|
>>          |  ^V:Move ENTER:Accept ESC:Abort   |
>>          +===================================+
>>
>> 'Instant-Off' is the appropriate setting, right?
>
> Actually, default should be 4 sec delay. OS should have 
> a chance to shut down the system...

I don't see why this setting would have an impact on the outcome
of the 'halt' and 'poweroff' commands.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: halt does not shut the system down
  2007-10-17  8:09                   ` John Sigler
@ 2007-10-17  8:11                     ` Alexey Starikovskiy
  2007-10-17  9:59                       ` John Sigler
  0 siblings, 1 reply; 19+ messages in thread
From: Alexey Starikovskiy @ 2007-10-17  8:11 UTC (permalink / raw)
  To: John Sigler; +Cc: linux-acpi, linux-kernel, robert.moore, len.brown

John Sigler wrote:
> Alexey Starikovskiy wrote:
> 
>> John Sigler wrote:
>>
>>>          +===================================+
>>>          | Soft-Off by PWR-BTTN              |
>>>          |-----------------------------------|
>>>          | Instant-Off  ..... [v]            |
>>>          | Delay 4 Sec. ..... [ ]            |
>>>          |                                   |
>>>          |-----------------------------------|
>>>          |  ^V:Move ENTER:Accept ESC:Abort   |
>>>          +===================================+
>>>
>>> 'Instant-Off' is the appropriate setting, right?
>>
>> Actually, default should be 4 sec delay. OS should have a chance to
>> shut down the system...
> 
> I don't see why this setting would have an impact on the outcome
> of the 'halt' and 'poweroff' commands.
> 
Well, it is not possible to tell, what BIOS writer have connected to this flag...


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: halt does not shut the system down
  2007-10-17  8:11                     ` Alexey Starikovskiy
@ 2007-10-17  9:59                       ` John Sigler
  0 siblings, 0 replies; 19+ messages in thread
From: John Sigler @ 2007-10-17  9:59 UTC (permalink / raw)
  To: Alexey Starikovskiy, len.brown; +Cc: linux-acpi, linux-kernel, robert.moore

Alexey Starikovskiy wrote:

> John Sigler wrote:
> 
>> Alexey Starikovskiy wrote:
>>
>>> John Sigler wrote:
>>>
>>>>          +===================================+
>>>>          | Soft-Off by PWR-BTTN              |
>>>>          |-----------------------------------|
>>>>          | Instant-Off  ..... [v]            |
>>>>          | Delay 4 Sec. ..... [ ]            |
>>>>          |                                   |
>>>>          |-----------------------------------|
>>>>          |  ^V:Move ENTER:Accept ESC:Abort   |
>>>>          +===================================+
>>>>
>>>> 'Instant-Off' is the appropriate setting, right?
>>>
>>> Actually, default should be 4 sec delay. OS should have a chance to
>>> shut down the system...
>>
>> I don't see why this setting would have an impact on the outcome
>> of the 'halt' and 'poweroff' commands.
>>
> Well, it is not possible to tell, what BIOS writer have connected to this flag...

(It sucks to be stuck with a closed proprietary BIOS.)

I tested the other setting, and it didn't change anything.
The system remains powered on after executing poweroff.

Len: the system is 100% Intel (Intel CPU, Intel north bridge, Intel 
south bridge, Intel integrated network controllers). Have Intel 
engineers run into the same problem on a similar platform?

http://bugzilla.kernel.org/show_bug.cgi?id=9148

Regards.

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2007-10-17  9:59 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <470A58AF.9080402@free.fr>
2007-10-09  8:06 ` halt does not shut the system down John Sigler
2007-10-09 20:04   ` Remy Bohmer
2007-10-10  9:56     ` John Sigler
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 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).