public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6.12-git8] ACPI shutdown fails to power off machine
@ 2005-07-09 20:34 Jose Luis Domingo Lopez
  2005-07-19 10:41 ` Eric W. Biederman
  2005-08-02 15:09 ` Mauro Tassinari
  0 siblings, 2 replies; 6+ messages in thread
From: Jose Luis Domingo Lopez @ 2005-07-09 20:34 UTC (permalink / raw)
  To: Linux-Kernel; +Cc: Eric W. Biederman

[-- Attachment #1: Type: text/plain, Size: 1139 bytes --]

Hi:

I realized 2.6.13-rc2 would not power off my box anymore, although it
worked fine back in 2.6.12. A binary search of intermediate -git patches
showed that between -git7 and -git8 something broke power down. Every
kernel used has been compiled from sources downloaded from kernel.org, no
additional patches, and .config has been exactly the same.

Searching "gitweb" located at www.kernel.org (excelent tool, by the way;
you rock guys!) starting from "patch-2.6.12-git8.id" tag back in time, I
located a recent commited patch that, when reversed (against 2.6.12-git8)
makes power off work again in my box. Patch at:
http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=cee5dab4856f51c5cad3aecc630ad0a4d2217a85

The commit text points to a bugme entry, that seems not to be applicable
to my situation: stock kernel sources from kernel.org. If you need some
more info (motherboard make and model, BIOS and version, output from
"lshw" or "dmidecode", etc.), please ask.

Greetings,

-- 
Jose Luis Domingo Lopez
Linux Registered User #189436     Debian Linux Sid (Linux 2.6.13-rc2)


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [2.6.12-git8] ACPI shutdown fails to power off machine
  2005-07-09 20:34 [2.6.12-git8] ACPI shutdown fails to power off machine Jose Luis Domingo Lopez
@ 2005-07-19 10:41 ` Eric W. Biederman
  2005-07-19 16:16   ` Jose Luis Domingo Lopez
  2005-07-27 22:10   ` Jose Luis Domingo Lopez
  2005-08-02 15:09 ` Mauro Tassinari
  1 sibling, 2 replies; 6+ messages in thread
From: Eric W. Biederman @ 2005-07-19 10:41 UTC (permalink / raw)
  To: Linux-Kernel

Jose Luis Domingo Lopez <linux-kernel@24x7linux.com> writes:

> Hi:
>
> I realized 2.6.13-rc2 would not power off my box anymore, although it
> worked fine back in 2.6.12. A binary search of intermediate -git patches
> showed that between -git7 and -git8 something broke power down. Every
> kernel used has been compiled from sources downloaded from kernel.org, no
> additional patches, and .config has been exactly the same.
>
> Searching "gitweb" located at www.kernel.org (excelent tool, by the way;
> you rock guys!) starting from "patch-2.6.12-git8.id" tag back in time, I
> located a recent commited patch that, when reversed (against 2.6.12-git8)
> makes power off work again in my box. Patch at:
> http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=cee5dab4856f51c5cad3aecc630ad0a4d2217a85
>
> The commit text points to a bugme entry, that seems not to be applicable
> to my situation: stock kernel sources from kernel.org. If you need some
> more info (motherboard make and model, BIOS and version, output from
> "lshw" or "dmidecode", etc.), please ask.

Thanks.  Before I forget I want to ack this.  I think you are correct
and I have a hunch on what might be done to fix this but I haven't found
the couple of hours needed to handle that.

In essence I don't believe the semantics of the reboot path are consistent
between the expectations of the various functions and I my patches stirred
the pot so a different set of things work and fail now than before.

Roughly for your part of the problem the acpi shutdown code needs to
get called sooner when interrupts are still enabled. 

Eric


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

* Re: [2.6.12-git8] ACPI shutdown fails to power off machine
  2005-07-19 10:41 ` Eric W. Biederman
@ 2005-07-19 16:16   ` Jose Luis Domingo Lopez
  2005-07-20 12:36     ` Stian Jordet
  2005-07-27 22:10   ` Jose Luis Domingo Lopez
  1 sibling, 1 reply; 6+ messages in thread
From: Jose Luis Domingo Lopez @ 2005-07-19 16:16 UTC (permalink / raw)
  To: Eric W. Biederman; +Cc: Linux-Kernel

[-- Attachment #1: Type: text/plain, Size: 591 bytes --]

On Tuesday, 19 July 2005, at 04:41:26 -0600,
Eric W. Biederman wrote:

> Thanks.  Before I forget I want to ack this.  I think you are correct
> and I have a hunch on what might be done to fix this but I haven't found
> the couple of hours needed to handle that.
> 
ACK. Just for the record, there seems to be several people out there with
the same problem, and using different motherboards/BIOSes. Check:
http://marc.theaimsgroup.com/?t=112147291000001&r=1&w=2

Greetings,

-- 
Jose Luis Domingo Lopez
Linux Registered User #189436     Debian Linux Sid (Linux 2.6.13-rc2)


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [2.6.12-git8] ACPI shutdown fails to power off machine
  2005-07-19 16:16   ` Jose Luis Domingo Lopez
@ 2005-07-20 12:36     ` Stian Jordet
  0 siblings, 0 replies; 6+ messages in thread
From: Stian Jordet @ 2005-07-20 12:36 UTC (permalink / raw)
  To: Eric W. Biederman, Linux-Kernel

On 7/19/05, Jose Luis Domingo Lopez <linux-kernel@24x7linux.com> wrote:
> ACK. Just for the record, there seems to be several people out there with
> the same problem, and using different motherboards/BIOSes. Check:
> http://marc.theaimsgroup.com/?t=112147291000001&r=1&w=2

And I'm one of them :) Any idea if you'll get to this before 2.6.13?

Best regards,
Stian

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

* Re: [2.6.12-git8] ACPI shutdown fails to power off machine
  2005-07-19 10:41 ` Eric W. Biederman
  2005-07-19 16:16   ` Jose Luis Domingo Lopez
@ 2005-07-27 22:10   ` Jose Luis Domingo Lopez
  1 sibling, 0 replies; 6+ messages in thread
From: Jose Luis Domingo Lopez @ 2005-07-27 22:10 UTC (permalink / raw)
  To: Linux-Kernel; +Cc: Eric W. Biederman

[-- Attachment #1: Type: text/plain, Size: 749 bytes --]

On Tuesday, 19 July 2005, at 04:41:26 -0600,
Eric W. Biederman wrote:

> Roughly for your part of the problem the acpi shutdown code needs to
> get called sooner when interrupts are still enabled. 
> 
After the recent patches that went in to the kernel, I downloaded version
2.6.13-rc8-git8, compiled, and now the box powers off correctly. Seems my
setup is working fine again now. However, I didn't check if this is
working ok all the times, because it seems in another thread that someone
is having problems to get his system powering off reliably.

But the precise problem I reported is gone. Thank you Eric.

Greetings,

-- 
Jose Luis Domingo Lopez
Linux Registered User #189436     Debian Linux Sid (Linux 2.6.13-rc3-git8)


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [2.6.12-git8] ACPI shutdown fails to power off machine
  2005-07-09 20:34 [2.6.12-git8] ACPI shutdown fails to power off machine Jose Luis Domingo Lopez
  2005-07-19 10:41 ` Eric W. Biederman
@ 2005-08-02 15:09 ` Mauro Tassinari
  1 sibling, 0 replies; 6+ messages in thread
From: Mauro Tassinari @ 2005-08-02 15:09 UTC (permalink / raw)
  To: 'Eric W. Biederman', 'Linux-Kernel'

The behaviour originally noted, as per object, slightly changed at least
from 2.6.13-rc3, and still goes on in 2.6.13-rc5, regarding MB ASUS
P4P800-E.
Now ACPI still fail to power off that particular MB and reboots it.
Everything works fine for other MBs we use, e.g. ASUS P5GD1 PRO.
If you need more info, please ask.

Best regards,

Mauro Tassinari

C.M.A. Srl




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

end of thread, other threads:[~2005-08-02 15:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-09 20:34 [2.6.12-git8] ACPI shutdown fails to power off machine Jose Luis Domingo Lopez
2005-07-19 10:41 ` Eric W. Biederman
2005-07-19 16:16   ` Jose Luis Domingo Lopez
2005-07-20 12:36     ` Stian Jordet
2005-07-27 22:10   ` Jose Luis Domingo Lopez
2005-08-02 15:09 ` Mauro Tassinari

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