Re: [linux-pm] Linux 2.6.21-rc6

From: Tobias Diedrich
Date: Wed Apr 25 2007 - 16:10:33 EST


Rafael J. Wysocki wrote:
> On Wednesday, 25 April 2007 19:14, Tobias Diedrich wrote:
> > Rafael J. Wysocki wrote:
> > > On Sunday, 15 April 2007 21:40, Tobias Diedrich wrote:
> > > > Rafael J. Wysocki wrote:
> > > > > On Sunday, 15 April 2007 17:14, David Brownell wrote:
> > > > > > On Sunday 15 April 2007 4:16 am, Rafael J. Wysocki wrote:
> > > > > > > On Sunday, 15 April 2007 10:02, Tobias Diedrich wrote:
> > > > > > > I think using the 'shutdown' mode of suspend would be better. There's a little
> > > > > > > point in using 'platform' on desktop systems anyway.
> > > > > > >
> > > > > > > Frankly, I don't know what to do about it. If we move platform_finish() after
> > > > > > > device_resume(), some systems may be broken ...
> > > > > >
> > > > > > What I'm curious about is exactly why the patch matters. What ACPI
> > > > > > magic is being invoked to confuse, or unconfuse, those controllers?
> > > > >
> > > > > I think the patch helps, because it makes the ACPI magic be done while the
> > > > > i8042's .resume() is being executed.
> > > > >
> > > > > Which makes me think the following patch might help:
> > > >
> > > > Unfortunately not, I tried this before disabling CONFIG_SERIO_I8042.
> > >
> > > Well, this means i8042 can be ruled out, so the problem probably is related
> > > to the ACPI resume which makes it _much_ more difficult to debug.
> > >
> > > Can you compile the ACPI drivers: processor, thermal, fan, battery, etc. as
> > > modules, boot the kernel with init=/bin/bash and see if the problem is still
> > > present (please keep CONFIG_SERIO_I8042 unset just in case)?
> > >
> > > Rafael
> >
> > I first tried it with acpi+cpufreq completely disabled (works).
> > Then I tried it with acpi enabled, but everything as modules and
> > those not loaded (init=/bin/bash, hangs at second suspend).
>
> Have you tried with ACPI and without cpufreq?

Yes, the second one was with ACPI enabled and cpufreq disabled
(CONFIG_X86_ACPI_CPUFREQ is not set).

--
Tobias PGP: http://9ac7e0bc.uguu.de
ããããããååååçãããããããäããããããã
-
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/