Skip to contentSkip to conversation

how to debug a kernel that does not power off?

DISCUSSION Ákos Maróy 3 participants 3 messages Mar 23, 2010 – Mar 27, 2010 ACPI

lore
Share & tools
lore
#0 lore raw

Hi,

This might be a lame question, but: how would I debug a kernel that simply does not power off a machine? When powering off, on the console I get to the message: [...] Poweroff.

but then, the machine actually does not power off. This is an HP Envy 15 laptop using an intel i7 CPU, and kernel 2.6.32.9.

I tried to read up on all sorts of documentation, but could not get more debug info out of the kernel :(

any pointers would be welcome..

Akos

#1 lore raw

Take a look at the pm_power_off functions in arch/x86/kernel/apm_32.c

Regards,
Arnout

Quoted 21 lines · Ákos Maróy

Hi,

This might be a lame question, but: how would I debug a kernel that simply does not power off a machine? When powering off, on the console I get to the message: [...] Poweroff.

but then, the machine actually does not power off. This is an HP Envy 15 laptop using an intel i7 CPU, and kernel 2.6.32.9.

I tried to read up on all sorts of documentation, but could not get more debug info out of the kernel :(

any pointers would be welcome..

Akos
--
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 · 6 lines
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  31BB CF53 8660 6F88 345D  54CC A836 5879 20D7 CF43
#2 lore raw
Quoted 4 lines · Arnout Vandecappelle

Take a look at the pm_power_off functions in arch/x86/kernel/apm_32.c

Regards,
Arnout

Any modern machine will be using ACPI functions to power off, not APM.. CCing the linux-acpi list.

Quoted 17 lines · Ákos Maróy
Quoted 15 lines

Hi,

This might be a lame question, but: how would I debug a kernel that simply does not power off a machine? When powering off, on the console I get to the message: [...] Poweroff.

but then, the machine actually does not power off. This is an HP Envy 15 laptop using an intel i7 CPU, and kernel 2.6.32.9.

I tried to read up on all sorts of documentation, but could not get more debug info out of the kernel :(

any pointers would be welcome..

Quoted 7 lines
Quoted 6 lines

Akos
--
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/

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