public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* how to debug a kernel that does not power off?
@ 2010-03-23 23:44 Ákos Maróy
  2010-03-26 19:56 ` Arnout Vandecappelle
  0 siblings, 1 reply; 3+ messages in thread
From: Ákos Maróy @ 2010-03-23 23:44 UTC (permalink / raw)
  To: Kernel development list

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

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

* Re: how to debug a kernel that does not power off?
  2010-03-23 23:44 how to debug a kernel that does not power off? Ákos Maróy
@ 2010-03-26 19:56 ` Arnout Vandecappelle
  2010-03-27  1:47   ` Robert Hancock
  0 siblings, 1 reply; 3+ messages in thread
From: Arnout Vandecappelle @ 2010-03-26 19:56 UTC (permalink / raw)
  To: Ákos Maróy; +Cc: Kernel development list

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

 Regards,
 Arnout

On Wednesday 24 March 2010 00:44:30, Ákos Maróy wrote:
> 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 majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

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

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

* Re: how to debug a kernel that does not power off?
  2010-03-26 19:56 ` Arnout Vandecappelle
@ 2010-03-27  1:47   ` Robert Hancock
  0 siblings, 0 replies; 3+ messages in thread
From: Robert Hancock @ 2010-03-27  1:47 UTC (permalink / raw)
  To: Arnout Vandecappelle
  Cc: Ákos Maróy, Kernel development list, linux-acpi

On 03/26/2010 01:56 PM, Arnout Vandecappelle wrote:
>   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.

>
> On Wednesday 24 March 2010 00:44:30, Ákos Maróy wrote:
>> 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 majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>> Please read the FAQ at  http://www.tux.org/lkml/
>


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

end of thread, other threads:[~2010-03-27  1:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-23 23:44 how to debug a kernel that does not power off? Ákos Maróy
2010-03-26 19:56 ` Arnout Vandecappelle
2010-03-27  1:47   ` Robert Hancock

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox