mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* changing the default cpufreq governor freezes laptop on suspend
@ 2010-07-23  1:15 Norbert Preining
  2010-09-19 20:23 ` Lukas Grässlin
  0 siblings, 1 reply; 5+ messages in thread
From: Norbert Preining @ 2010-07-23  1:15 UTC (permalink / raw)
  To: linux-kernel

Dear all,

(please Cc)

some time ago I switched from 2.6.35-rc1 to -rc2 and about the same time
I regularly got problems with suspend to ram. I first thought that this
is a graphics card issue 
(see http://marc.info/?l=linux-kernel&m=127582534931581&w=2)
but it turned out that using echo mem > /sys/power/state works very
reliable.

I finally got around to check the scripts of pm-utils managing the
suspend process here on Debian/sid, and I found that one of the
scripts, before going to sleep, changes the default cpufreq governor
to performance, doing in principle:
	cat /sys/devices/system/cpu/cpuN/cpufreq/scaling_governor > savedstate
	echo "performance" > /sys/.....
Interestingly, as soon as I disabled these two line the suspend process
became again as stable as before using pm-utils, and as stable as the
echo mem method.

My laptop is intel core2:
Intel(R) Core(TM)2 Duo CPU     P9500  @ 2.53GHz
running Debian/sid, on self compiled git kernels pulled from Linus' repo.

Please let me know what further information I can provide, or how to help

Best wishes

Norbert
------------------------------------------------------------------------
Norbert Preining            preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan                                 TeX Live & Debian Developer
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
CLOVIS (q.v.)
One who actually looks forward to putting up the Christmas decorations
in the office.
			--- Douglas Adams, The Meaning of Liff

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

* Re: changing the default cpufreq governor freezes laptop on suspend
  2010-07-23  1:15 changing the default cpufreq governor freezes laptop on suspend Norbert Preining
@ 2010-09-19 20:23 ` Lukas Grässlin
  2010-09-21  2:06   ` Norbert Preining
  0 siblings, 1 reply; 5+ messages in thread
From: Lukas Grässlin @ 2010-09-19 20:23 UTC (permalink / raw)
  To: Norbert Preining; +Cc: linux-kernel

Are there any news? I have exactly the same problem with stable 2.6.35.

It's not so a dramatic bug because the workaround (settings that
temporarily govenor in the pm-utils script to something that does not
exist, which means it is skipped) is ok and has actually no byeffects,
but it would still be nice to have that fixed :)

On Fri, Jul 23, 2010 at 10:15:14AM +0900, Norbert Preining wrote:
> Dear all,
> 
> (please Cc)
> 
> some time ago I switched from 2.6.35-rc1 to -rc2 and about the same time
> I regularly got problems with suspend to ram. I first thought that this
> is a graphics card issue 
> (see http://marc.info/?l=linux-kernel&m=127582534931581&w=2)
> but it turned out that using echo mem > /sys/power/state works very
> reliable.
> 
> I finally got around to check the scripts of pm-utils managing the
> suspend process here on Debian/sid, and I found that one of the
> scripts, before going to sleep, changes the default cpufreq governor
> to performance, doing in principle:
> 	cat /sys/devices/system/cpu/cpuN/cpufreq/scaling_governor > savedstate
> 	echo "performance" > /sys/.....
> Interestingly, as soon as I disabled these two line the suspend process
> became again as stable as before using pm-utils, and as stable as the
> echo mem method.
> 
> My laptop is intel core2:
> Intel(R) Core(TM)2 Duo CPU     P9500  @ 2.53GHz
> running Debian/sid, on self compiled git kernels pulled from Linus' repo.
> 
> Please let me know what further information I can provide, or how to help
> 
> Best wishes
> 
> Norbert
> ------------------------------------------------------------------------
> Norbert Preining            preining@{jaist.ac.jp, logic.at, debian.org}
> JAIST, Japan                                 TeX Live & Debian Developer
> DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
> ------------------------------------------------------------------------
> CLOVIS (q.v.)
> One who actually looks forward to putting up the Christmas decorations
> in the office.
> 			--- Douglas Adams, The Meaning of Liff
> --
> 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/
> 
> 

-- 
Lukas Grässlin
GnuPG-Key: http://lg.ath.cx/lukasgraesslin@gmx.de.asc

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

* Re: changing the default cpufreq governor freezes laptop on suspend
  2010-09-19 20:23 ` Lukas Grässlin
@ 2010-09-21  2:06   ` Norbert Preining
  2010-09-25 17:44     ` Lukas Grässlin
  0 siblings, 1 reply; 5+ messages in thread
From: Norbert Preining @ 2010-09-21  2:06 UTC (permalink / raw)
  To: Lukas Grässlin; +Cc: linux-kernel

On So, 19 Sep 2010, Lukas Grässlin wrote:
> Are there any news? I have exactly the same problem with stable 2.6.35.

Not that I heard from. 

Best wishes

Norbert
------------------------------------------------------------------------
Norbert Preining            preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan                                 TeX Live & Debian Developer
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
BLITTERLESS
The little slivers of bamboo picked off a cane chair by a nervous
guest which litter the carpet beneath and tell the chair's owner that
the whole piece of furniture is about to uncoil terribly and slowly
until it resembles a giant pencil sharpening.
			--- Douglas Adams, The Meaning of Liff

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

* Re: changing the default cpufreq governor freezes laptop on suspend
  2010-09-21  2:06   ` Norbert Preining
@ 2010-09-25 17:44     ` Lukas Grässlin
  2010-09-27  1:01       ` Norbert Preining
  0 siblings, 1 reply; 5+ messages in thread
From: Lukas Grässlin @ 2010-09-25 17:44 UTC (permalink / raw)
  To: Norbert Preining; +Cc: linux-kernel

Is there a report on the kernel bugtracker? May we create one?

On Tue, Sep 21, 2010 at 11:06:55AM +0900, Norbert Preining wrote:
> On So, 19 Sep 2010, Lukas Grässlin wrote:
> > Are there any news? I have exactly the same problem with stable 2.6.35.
> 
> Not that I heard from. 
> 
> Best wishes
> 
> Norbert
> ------------------------------------------------------------------------
> Norbert Preining            preining@{jaist.ac.jp, logic.at, debian.org}
> JAIST, Japan                                 TeX Live & Debian Developer
> DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
> ------------------------------------------------------------------------
> BLITTERLESS
> The little slivers of bamboo picked off a cane chair by a nervous
> guest which litter the carpet beneath and tell the chair's owner that
> the whole piece of furniture is about to uncoil terribly and slowly
> until it resembles a giant pencil sharpening.
> 			--- Douglas Adams, The Meaning of Liff

-- 
Lukas Grässlin
GnuPG-Key: http://lg.ath.cx/lukasgraesslin@gmx.de.asc

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

* Re: changing the default cpufreq governor freezes laptop on suspend
  2010-09-25 17:44     ` Lukas Grässlin
@ 2010-09-27  1:01       ` Norbert Preining
  0 siblings, 0 replies; 5+ messages in thread
From: Norbert Preining @ 2010-09-27  1:01 UTC (permalink / raw)
  To: Lukas Grässlin; +Cc: linux-kernel

On Sa, 25 Sep 2010, Lukas Grässlin wrote:
> Is there a report on the kernel bugtracker? May we create one?

Yes please create one. I will check if I can reconfirm that on recent 
kernels.

Best wishes

Norbert
------------------------------------------------------------------------
Norbert Preining            preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan                                 TeX Live & Debian Developer
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
WHISSENDINE (n.)
The noise which occurs (often by night) in a strange house, which is
too short and too irregular for you ever to be able to find out what
it is and where it comes from.
			--- Douglas Adams, The Meaning of Liff

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

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

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-23  1:15 changing the default cpufreq governor freezes laptop on suspend Norbert Preining
2010-09-19 20:23 ` Lukas Grässlin
2010-09-21  2:06   ` Norbert Preining
2010-09-25 17:44     ` Lukas Grässlin
2010-09-27  1:01       ` Norbert Preining

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

all inboxes | Powered by JetHome®