Re: [2.6.23-rc1 REGRESSION] ThinkPad T42 poweroff failure by "PM: Introduce pm_power_off_prepare"

From: Rafael J. Wysocki
Date: Wed Jul 25 2007 - 08:39:18 EST


Hi,

On Wednesday, 25 July 2007 00:19, YOSHIFUJI Hideaki / åèèæ wrote:
> Hello.
>
> Linux 2.6.23-rc1 fails to power off my ThinkPad T42.
> Git-bisect told me that the following commit is to blame,
> and by reverting that commit, it works appropriately.

(1) Can you please apply the appended patch and see if the message gets
printed when you try to power off the system?

(2) Can you please post your .config?

Greetings,
Rafael


---
drivers/acpi/sleep/poweroff.c | 1 +
1 file changed, 1 insertion(+)

Index: linux-2.6.23-rc1/drivers/acpi/sleep/poweroff.c
===================================================================
--- linux-2.6.23-rc1.orig/drivers/acpi/sleep/poweroff.c
+++ linux-2.6.23-rc1/drivers/acpi/sleep/poweroff.c
@@ -42,6 +42,7 @@ int acpi_sleep_prepare(u32 acpi_state)
static void acpi_power_off_prepare(void)
{
/* Prepare to power off the system */
+ printk(KERN_EMERG "ACPI: Preparing to power off the system\n");
acpi_sleep_prepare(ACPI_STATE_S5);
}

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