Re: acpi_power_off issue in 2.6.10-rc2-mm1

From: Alexander Nyberg
Date: Sun Dec 12 2004 - 17:36:44 EST


On Wed, 2004-11-17 at 08:30 +0100, Daniel Andersen wrote:
> Dave Jones wrote:
> > On Tue, Nov 16, 2004 at 11:10:03PM +0000, Marcos D. Marado Torres wrote:
> >
> > > In 2.6.10-rc2 and previous kernels acpi_power_off allways worked fine, but
> > > in
> > > 2.6.10-rc2-mm1 when I do 'halt' all runs fine, the last message
> > > "acpi_power_off
> > > called. System is going to power off" (something like this, I don't recall
> > > ^-^;) appears, but then the machine just doesn't power off.
> > >
> > > This is happening with an ASUS M3N laptop, I guess that it's a problem
> > > somewhere in
> > > http://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.10-rc2/2.6.10-rc2-mm1/broken-out/bk-acpi.patch
> > > When I get some time I'll take a deeper look into it...
> >
> > This one has been around for a while. It's been plagueing me since 2.6.8,
> > though its interesting that you only see it happening recently.
> >
> > My attempts to debug it led to the bug disappearing when I added
> > instrumentation to the kernel. On my Compaq Evo, it does power off
> > eventually, though it takes about a minute after that last
> > acpi_power_off message.
> >
> > There are bugs open on this in bugme.osdl.org, and bugzilla.redhat.com
> >
> > http://bugme.osdl.org/show_bug.cgi?id=3642
> > https://bugzilla.redhat.com/beta2/show_bug.cgi?id=acpi_power_off
> >
> I'm having the same problem with 2.6.10-rc2-mm1. I did not have the
> problem with 2.6.10-rc1-mm5 and earlier as I remember. Will look into it.

Have you tried waiting a bit longer - say five minutes. I just took a
look at this and it appears that both my x86 computers do actually turn
off after a while, acpi_power_off appears to make quite deep call chains
and abuse some slow functions.

It would be good to know if it actually works (although taking way too
long time) for you.

Thanks
Alexander

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