Skip to contentSkip to conversation

2.6.0-test3+bk: ACPI does not switch off the computer

DISCUSSION Alex Riesen 5 participants 6 messages Aug 22, 2003 – Sep 8, 2003 3 messages not in the archive ACPI

lore
Share & tools
lore
#0 lore raw

Actually it started happening from -test3.
The last I see on screen is "Power down." and the system is halted. CAD reboots it.

-alex

#
# Power management options (ACPI, APM)
#
CONFIG_PM=y
# CONFIG_SOFTWARE_SUSPEND is not set

#
# ACPI (Advanced Configuration and Power Interface) Support #
CONFIG_ACPI_HT=y
CONFIG_ACPI=y
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SLEEP_PROC_FS=y
CONFIG_ACPI_AC=m
CONFIG_ACPI_BATTERY=m
CONFIG_ACPI_BUTTON=m
CONFIG_ACPI_FAN=m
CONFIG_ACPI_PROCESSOR=m
CONFIG_ACPI_THERMAL=m
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_TOSHIBA is not set
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_BUS=y
CONFIG_ACPI_INTERPRETER=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SYSTEM=y

#
# APM (Advanced Power Management) BIOS Support
#
# CONFIG_APM is not set

#1 lore raw
Quoted 4 lines · Alex Riesen

Actually it started happening from -test3.
The last I see on screen is "Power down." and the system is halted. CAD reboots it.

I have the same problem with some kernels (I get this with 2.4.21, don't think with 2.6.0-test3-bk8 but not sure since its very unstable on my machine and I don't have the time to play with it now).

The solution was to change the sleep level for ACPI when turnign of from S5 to S4 (don't know why this works). In the file kernel-source-2.6.0-test3-bk8/drivers/acpi/sleep/poweroff.c function
acpi_power_off
try replacing ACPI_STATE_S5 with ACPI_STATE_S4

Quoted 42 lines

-alex

#
# Power management options (ACPI, APM)
#
CONFIG_PM=y
# CONFIG_SOFTWARE_SUSPEND is not set

#
# ACPI (Advanced Configuration and Power Interface) Support #
CONFIG_ACPI_HT=y
CONFIG_ACPI=y
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SLEEP_PROC_FS=y
CONFIG_ACPI_AC=m
CONFIG_ACPI_BATTERY=m
CONFIG_ACPI_BUTTON=m
CONFIG_ACPI_FAN=m
CONFIG_ACPI_PROCESSOR=m
CONFIG_ACPI_THERMAL=m
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_TOSHIBA is not set
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_BUS=y
CONFIG_ACPI_INTERPRETER=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SYSTEM=y

#
# APM (Advanced Power Management) BIOS Support
#
# CONFIG_APM is not set

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Signature · 2 lines
Micha Feigin
[email protected]
#2 lore raw

Hi!

Quoted 3 lines

The solution was to change the sleep level for ACPI when turnign of from S5 to S4 (don't know why this works). In the file

S4 and S5 are very similar; no wonder this works.

Signature · 2 lines
				Pavel
Written on sharp zaurus, because my Velo1 broke. If you have Velo you don't need...

A message that is not in the archive (sent off-list or not yet received): 20030822062945.GA1128-w0aEEaBvYVdBDLzU/[email protected]

#4 lore raw
Quoted 3 lines · Alex Riesen

Actually it started happening from -test3.
The last I see on screen is "Power down." and the system is halted. CAD reboots it.

The latest acpi disables acpi for all bioses before Januari 1st 2001, I have the same problem with 2.4.22-rc3. It was "solved" by adding:
acpi=force
to my kernel boot parameters. In /var/log/messages this hint is given if that's the case.

Quoted 1 line

-alex

Have fun,

Aschwin Marsman

--
[email protected] http://www.marsman.org

-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0

A message that is not in the archive (sent off-list or not yet received): Pine.LNX.4.44.0308240832530.4017-100000-bi+AKbBUZKY6gyzm1THtWbp2dZbC/[email protected]

#6 lore raw

Aschwin Marsman, Sun, Aug 24, 2003 08:35:52 +0200:

Quoted 11 lines · Alex Riesen
Quoted 3 lines

Actually it started happening from -test3.
The last I see on screen is "Power down." and the system is halted. CAD reboots it.

The latest acpi disables acpi for all bioses before Januari 1st 2001, I have the same problem with 2.4.22-rc3. It was "solved" by adding:
acpi=force
to my kernel boot parameters. In /var/log/messages this hint is given if that's the case.

Thank you, this is indeed the case. Somehow I didn't notice the messages in the syslog.

Can't say I like that decision: acpi always worked here, at least as far as power off was concerned.
May it make sense to let the parts working for every vendor enabled?

P.S. Motherboard is ASUS CUV4X, Via Apollo PRO133Z.

-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0

A message that is not in the archive (sent off-list or not yet received): 20030824081008.GA986-w0aEEaBvYVdBDLzU/[email protected]

#8 lore raw
Quoted 13 lines · Alex Riesen

Aschwin Marsman, Sun, Aug 24, 2003 08:35:52 +0200:

Quoted 11 lines · Alex Riesen
Quoted 3 lines

Actually it started happening from -test3.
The last I see on screen is "Power down." and the system is halted. CAD reboots it.

The latest acpi disables acpi for all bioses before Januari 1st 2001, I have the same problem with 2.4.22-rc3. It was "solved" by adding:
acpi=force
to my kernel boot parameters. In /var/log/messages this hint is given if that's the case.

Quoted 5 lines

Thank you, this is indeed the case. Somehow I didn't notice the messages in the syslog.

Can't say I like that decision: acpi always worked here, at least as far as power off was concerned.

I totally agree, but then again, I don't know the details.

Quoted 3 lines

May it make sense to let the parts working for every vendor enabled?

P.S. Motherboard is ASUS CUV4X, Via Apollo PRO133Z.

My motherboard is a ASUS CUBX-L, Intel 440BX, I only use powerdown (that I'm aware of).

Have a nice weekend.

Aschwin Marsman

--
[email protected] http://www.marsman.org

-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0