From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1PY8hy-0003Nb-BV for garchives@archives.gentoo.org; Thu, 30 Dec 2010 02:57:42 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 77A56E05AF; Thu, 30 Dec 2010 02:56:06 +0000 (UTC) Received: from mail-iw0-f181.google.com (mail-iw0-f181.google.com [209.85.214.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 45864E05AF for ; Thu, 30 Dec 2010 02:56:06 +0000 (UTC) Received: by iwn3 with SMTP id 3so14944915iwn.40 for ; Wed, 29 Dec 2010 18:56:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=uHX+LZUd1OHbjduzuP27zxZ1upwxY76i9pmPliNHNgA=; b=wYKs1+rRhgiGqcyRbY7Riy9VzRNQPXjOdgOveHQVqKOVKvLjbU3ooQR/Z5TuhEjrGy PUgbPFKcTkhAaOz3TqyII5RQpdSCh/WHnQ43lHRQGyEfR/dEGLPk0lS4QhcX/w0WWFM3 EigHecyhip/Zoj7+xw5LYS2a7MEBZFMJ3FLjQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=dOTx9/tKJ15+whgrp+P4Eb4n4bSlP6EPkvWKTfcESNiKPNND3Q9KCO6rr4IQu7KkYQ PmZoYO9BVuxpqmves8cpSGZPFkW7So5eT03m4SlJ2gOfDzJC11OqShGjrdJqamIrL3fr wtcIdGKaPCM6L/Js3JcgBMvH9ABJ6fMsm/5UU= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.231.35.3 with SMTP id n3mr4369112ibd.90.1293677765733; Wed, 29 Dec 2010 18:56:05 -0800 (PST) Received: by 10.231.161.195 with HTTP; Wed, 29 Dec 2010 18:56:05 -0800 (PST) In-Reply-To: References: <4D1B7F7B.3070903@xunil.at> <4D1B9238.70707@xunil.at> Date: Wed, 29 Dec 2010 18:56:05 -0800 Message-ID: Subject: Re: [gentoo-user] Core i7 M620 power management problem From: Bill Longman To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary=0022152d6389ae2e89049897d3b5 X-Archives-Salt: b36ed018-5793-4f2a-ac9c-5f8568094aee X-Archives-Hash: 45d26a5c63f1a65d7d27264b12790a43 --0022152d6389ae2e89049897d3b5 Content-Type: text/plain; charset=UTF-8 On Wed, Dec 29, 2010 at 4:22 PM, Paul Hartman > wrote: > > I ran cpufreq-info on my i7 920, and everything looked normal for mine > compared to yours. And I have tens of thousands of transitions on each > CPU (currently at 8 days uptime) > > Can you use cpufreq-set to change the max limit or lock it to a higher > speed? If it works, that's a good sign... if it gets changed back > maybe some userspace powersaving program is messing with it. Like > gnome/KDE or something. If you boot to console and don't start X, does > this problem still happen? I wonder if it happens in X maybe the few > times at greater speeds happened before X loaded. Just a WAG. :) > > For example, on my laptop (not an i7, but an old Athlon from 2004), > the KDE laptop powersaving stuff does not work properly, it either > locks me at slowest speed, or highest speed, or... but I think in my > case it's related to the corrupt DSDT, crappy BIOS and complete > inability for it to read the battery state most of the time... It > doesn't know if it's plugged in or on battery, or how much battery > life is left, or it thinks 84% remains and that number never changes > (until laptop suddenly dies without warning). Of course all of that > works perfectly fine in Windows on the same machine... > > In my kernel config on my i7, in the cpufreq sections I have this: > > # > # CPU Frequency scaling > # > CONFIG_CPU_FREQ=y > CONFIG_CPU_FREQ_TABLE=y > # CONFIG_CPU_FREQ_DEBUG is not set > CONFIG_CPU_FREQ_STAT=y > # CONFIG_CPU_FREQ_STAT_DETAILS is not set > # CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set > # CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set > CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y > # CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set > CONFIG_CPU_FREQ_GOV_PERFORMANCE=y > CONFIG_CPU_FREQ_GOV_POWERSAVE=y > CONFIG_CPU_FREQ_GOV_USERSPACE=y > CONFIG_CPU_FREQ_GOV_ONDEMAND=y > CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y > > # > # CPUFreq processor drivers > # > # CONFIG_X86_PCC_CPUFREQ is not set > CONFIG_X86_ACPI_CPUFREQ=y > # CONFIG_X86_POWERNOW_K8 is not set > # CONFIG_X86_SPEEDSTEP_CENTRINO is not set > # CONFIG_X86_P4_CLOCKMOD is not set > > > I can send you my entire .config if you want to compare. > > Yes, mine is quite similar: # CPU Frequency scaling # CONFIG_CPU_FREQ=y CONFIG_CPU_FREQ_TABLE=y CONFIG_CPU_FREQ_DEBUG=y CONFIG_CPU_FREQ_STAT=y CONFIG_CPU_FREQ_STAT_DETAILS=y CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y # CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set CONFIG_CPU_FREQ_GOV_PERFORMANCE=y CONFIG_CPU_FREQ_GOV_POWERSAVE=y CONFIG_CPU_FREQ_GOV_USERSPACE=y CONFIG_CPU_FREQ_GOV_ONDEMAND=y CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y # # CPUFreq processor drivers # # CONFIG_X86_PCC_CPUFREQ is not set CONFIG_X86_ACPI_CPUFREQ=y # CONFIG_X86_POWERNOW_K8 is not set # CONFIG_X86_SPEEDSTEP_CENTRINO is not set # CONFIG_X86_P4_CLOCKMOD is not set # # shared options # # CONFIG_X86_SPEEDSTEP_LIB is not set CONFIG_CPU_IDLE=y CONFIG_CPU_IDLE_GOV_LADDER=y CONFIG_CPU_IDLE_GOV_MENU=y CONFIG_INTEL_IDLE=y I do run KDE but it is independent of KDE. I don't run kdm by default, just the console, and it is still the same. In fact, the KDE power stuff is not even around. Could that mean it's just a USE flag issue? It doesn't seem it because I have acpi and udev. -- Bill Longman --0022152d6389ae2e89049897d3b5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Wed, Dec 29, 2010 at 4:22 PM, Paul Hartma= n <= paul.hartman+gentoo@gmail.com> wrote:

I ran cpufreq-info on my i7 920, and everything looked normal f= or mine
compared to yours. And I have tens of thousands of transitions on each
CPU (currently at 8 days uptime)

Can you use cpufreq-set to change the max limit or lock it to a higher
speed? If it works, that's a good sign... if it gets changed back
maybe some userspace powersaving program is messing with it. Like
gnome/KDE or something. If you boot to console and don't start X, does<= br> this problem still happen? I wonder if it happens in X maybe the few
times at greater speeds happened before X loaded. Just a WAG. :)

For example, on my laptop (not an i7, but an old Athlon from 2004),
the KDE laptop powersaving stuff does not work properly, it either
locks me at slowest speed, or highest speed, or... but I think in my
case it's related to the corrupt DSDT, crappy BIOS and complete
inability for it to read the battery state most of the time... It
doesn't know if it's plugged in or on battery, or how much battery<= br> life is left, or it thinks 84% remains and that number never changes
(until laptop suddenly dies without warning). Of course all of that
works perfectly fine in Windows on the same machine...

In my kernel config on my i7, in the cpufreq sections I have this:

#
# CPU Frequency scaling
#
CONFIG_CPU_FREQ=3Dy
CONFIG_CPU_FREQ_TABLE=3Dy
# CONFIG_CPU_FREQ_DEBUG is not set
CONFIG_CPU_FREQ_STAT=3Dy
# CONFIG_CPU_FREQ_STAT_DETAILS is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=3Dy
# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
CONFIG_CPU_FREQ_GOV_PERFORMANCE=3Dy
CONFIG_CPU_FREQ_GOV_POWERSAVE=3Dy
CONFIG_CPU_FREQ_GOV_USERSPACE=3Dy
CONFIG_CPU_FREQ_GOV_ONDEMAND=3Dy
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=3Dy

#
# CPUFreq processor drivers
#
# CONFIG_X86_PCC_CPUFREQ is not set
CONFIG_X86_ACPI_CPUFREQ=3Dy
# CONFIG_X86_POWERNOW_K8 is not set
# CONFIG_X86_SPEEDSTEP_CENTRINO is not set
# CONFIG_X86_P4_CLOCKMOD is not set


I can send you my entire .config if you want to compare.


Yes, mine is quite similar:

# CPU Frequency s= caling
#
CONFIG_CPU_FREQ=3Dy
CONFIG_CPU_FREQ_TABLE=3Dy
CONFIG_C= PU_FREQ_DEBUG=3Dy
CONFIG_CPU_FREQ_STAT=3Dy
CONFIG_CPU_FREQ_STAT_DETAI= LS=3Dy
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=3Dy
# CONFIG_CPU_FREQ_DEFAULT_GO= V_USERSPACE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set=
# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
CONFIG_CPU_FRE= Q_GOV_PERFORMANCE=3Dy
CONFIG_CPU_FREQ_GOV_POWERSAVE=3Dy
CONFIG_CPU_FREQ_GOV_USERSPACE=3Dy
C= ONFIG_CPU_FREQ_GOV_ONDEMAND=3Dy
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=3Dy
=
#
# CPUFreq processor drivers
#
# CONFIG_X86_PCC_CPUFREQ is no= t set
CONFIG_X86_ACPI_CPUFREQ=3Dy
# CONFIG_X86_POWERNOW_K8 is not set
# CON= FIG_X86_SPEEDSTEP_CENTRINO is not set
# CONFIG_X86_P4_CLOCKMOD is not se= t

#
# shared options
#
# CONFIG_X86_SPEEDSTEP_LIB is not se= t
CONFIG_CPU_IDLE=3Dy
CONFIG_CPU_IDLE_GOV_LADDER=3Dy
CONFIG_CPU_IDLE_GO= V_MENU=3Dy
CONFIG_INTEL_IDLE=3Dy

I do run KDE but i= t is independent of KDE. I don't run kdm by default, just the console, = and it is still the same. In fact, the KDE power stuff is not even around. = Could that mean it's just a USE flag issue? It doesn't seem it beca= use I have acpi and udev.

--
Bill Longman
--0022152d6389ae2e89049897d3b5--