2005-12-05 00:32:12

by David Ronis

[permalink] [raw]
Subject: echo "mem" > /sys/power/state fails

I've got a HP laptop (a Pavilion ZV5240CA) running a 2.6.12.6 kernel.
This as a pentium 4 hyperthreaded chip.

cat /sys/power/state gives: standby mem disk

echo mem > /sys/power/state as root does nothing. Nothing appears in
the logs either.

Any suggestions?


David



2005-12-05 21:12:48

by Pavel Machek

[permalink] [raw]
Subject: Re: echo "mem" > /sys/power/state fails

On Ne 04-12-05 19:31:40, David Ronis wrote:
> I've got a HP laptop (a Pavilion ZV5240CA) running a 2.6.12.6 kernel.
> This as a pentium 4 hyperthreaded chip.
>
> cat /sys/power/state gives: standby mem disk
>
> echo mem > /sys/power/state as root does nothing. Nothing appears in
> the logs either.
>
> Any suggestions?

Try any reasonably new kernel, with cpu hotplug enabled.

--
Thanks, Sharp!

2005-12-05 21:53:31

by David Ronis

[permalink] [raw]
Subject: Re: echo "mem" > /sys/power/state fails

Thanks for the reply. Unfortunately that isn't an option for me (unless
2.6.12.6 supports it, which I don't think it does); the 2.6.1[34] series
are badly broken on this box; disk response is x100 slower. The problem
seems to be in the acpi subsystem, but I'm not sure. It's been reported
on this list, on the linux-ide list and most recently at
bugzilla.kernel.org [Bug 5594]; so far nobody has come up with a
workable fix or diagnosis (there was a suggestion about the default IRQ
used for ide, but I couldn't find where that was set in the kernel [I've
never hacked the kernel]).

David



On Mon, 2005-12-05 at 22:12 +0100, Pavel Machek wrote:
> On Ne 04-12-05 19:31:40, David Ronis wrote:
> > I've got a HP laptop (a Pavilion ZV5240CA) running a 2.6.12.6 kernel.
> > This as a pentium 4 hyperthreaded chip.
> >
> > cat /sys/power/state gives: standby mem disk
> >
> > echo mem > /sys/power/state as root does nothing. Nothing appears in
> > the logs either.
> >
> > Any suggestions?
>
> Try any reasonably new kernel, with cpu hotplug enabled.
>

2005-12-05 23:37:52

by Pavel Machek

[permalink] [raw]
Subject: Re: echo "mem" > /sys/power/state fails

Hi!

> Thanks for the reply. Unfortunately that isn't an option for me (unless
> 2.6.12.6 supports it, which I don't think it does); the 2.6.1[34] series
> are badly broken on this box; disk response is x100 slower. The problem
> seems to be in the acpi subsystem, but I'm not sure. It's been reported
> on this list, on the linux-ide list and most recently at
> bugzilla.kernel.org [Bug 5594]; so far nobody has come up with a
> workable fix or diagnosis (there was a suggestion about the default IRQ
> used for ide, but I couldn't find where that was set in the kernel [I've
> never hacked the kernel]).

You have to debug the irq issue first, then. You can try searching for
patch that breaks it or something like that.
Pavel

--
Thanks, Sharp!