All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marco cusmai <cusmai@gmail.com>
To: cpufreq@lists.linux.org.uk
Subject: Re: speedstep-ich issue
Date: Fri, 29 Sep 2006 21:49:42 +0000	[thread overview]
Message-ID: <200609292149.42603.cusmai@gmail.com> (raw)
In-Reply-To: <20060929174035.GE13444@inferi.kami.home>

On Friday 29 September 2006 17:40, Mattia Dongili wrote:
> On Fri, Sep 29, 2006 at 11:11:48AM +0000, Marco cusmai wrote:
> > Upgrading kernel form version 2.6.17.2 to 2.6.18 the cpufreq system makes
> >   strange things.. looking at dmesg (with debugging enabled for cpufreq)
> > it seems that after a while the system recognizes only one step of
> > frequency (the slowest) .. The CPU is a P3 that can change the frequency
> > from 730 MHz to 1.1 GHz, using the speedstep-ich driver. Tell me if you
> > need more informations..
>
> probably dmesg output and some kind of evidence of the problem you're
> reporting would be appreciated.
>
> Regards
Here it is some dmesg output with cpufreq.debug=2

speedstep-lib: x86: 6, model: b
speedstep-lib: ebx is 6
speedstep-ich: pmbase is 0x1000
speedstep-lib: trying to determine both speeds
speedstep-lib: P3 - MSR_IA32_EBL_CR_POWERON: 0xcd840020 0x0
speedstep-lib: speed is 1130500
speedstep-lib: previous speed is 1130500
speedstep-ich: read at pmbase 0x1000 + 0x50 returned 0x0
speedstep-ich: writing 0x1 to pmbase 0x1000 + 0x50
speedstep-ich: read at pmbase 0x1000 + 0x50 returned 0x1
speedstep-lib: P3 - MSR_IA32_EBL_CR_POWERON: 0xc5040020 0x0
speedstep-lib: speed is 731500
speedstep-ich: change to 731 MHz succeeded
speedstep-lib: P3 - MSR_IA32_EBL_CR_POWERON: 0xc5040020 0x0
speedstep-lib: speed is 731500
speedstep-lib: low speed is 731500
speedstep-ich: read at pmbase 0x1000 + 0x50 returned 0x1
speedstep-ich: writing 0x0 to pmbase 0x1000 + 0x50
speedstep-ich: read at pmbase 0x1000 + 0x50 returned 0x0
speedstep-lib: P3 - MSR_IA32_EBL_CR_POWERON: 0xcd840020 0x0
speedstep-lib: speed is 1130500
speedstep-ich: change to 1130 MHz succeeded
speedstep-lib: P3 - MSR_IA32_EBL_CR_POWERON: 0xcd840020 0x0
speedstep-lib: speed is 1130500
speedstep-lib: high speed is 1130500
speedstep-lib: transition latency is 0 uSec
speedstep: frequency transition measured seems out of range (0 nSec), falling 
back to a safe one of 500000 nSec.
speedstep-lib: P3 - MSR_IA32_EBL_CR_POWERON: 0xcd840020 0x0
speedstep-lib: speed is 1130500
speedstep-ich: detected 1130500 kHz as current frequency
speedstep-ich: currently at high speed setting - 1130 MHz
speedstep-lib: P3 - MSR_IA32_EBL_CR_POWERON: 0xcd840020 0x0
speedstep-lib: speed is 1130500
speedstep-ich: detected 1130500 kHz as current frequency
speedstep-ich: transiting from 1130500 to 1130500 kHz

Here starts the userspace program (cpufreqd):

speedstep-lib: P3 - MSR_IA32_EBL_CR_POWERON: 0xcd840020 0x0
speedstep-lib: speed is 1130500
speedstep-ich: detected 1130500 kHz as current frequency
speedstep-ich: transiting from 1130500 to 1130500 kHz
speedstep-lib: P3 - MSR_IA32_EBL_CR_POWERON: 0xcd840020 0x0
speedstep-lib: speed is 1130500
speedstep-ich: detected 1130500 kHz as current frequency
speedstep-ich: transiting from 1130500 to 731500 kHz
speedstep-ich: read at pmbase 0x1000 + 0x50 returned 0x0
speedstep-ich: writing 0x1 to pmbase 0x1000 + 0x50
speedstep-ich: read at pmbase 0x1000 + 0x50 returned 0x1
speedstep-lib: P3 - MSR_IA32_EBL_CR_POWERON: 0xc5040020 0x0
speedstep-lib: speed is 731500
speedstep-ich: change to 731 MHz succeeded
speedstep-lib: P3 - MSR_IA32_EBL_CR_POWERON: 0xc5040020 0x0
speedstep-lib: speed is 731500
speedstep-ich: detected 731500 kHz as current frequency
speedstep-ich: transiting from 731500 to 731500 kHz
speedstep-lib: P3 - MSR_IA32_EBL_CR_POWERON: 0xc5040020 0x0
speedstep-lib: speed is 731500
speedstep-ich: detected 731500 kHz as current frequency
speedstep-ich: transiting from 731500 to 731500 kHz

from now on the frequency stays on 731500 kHz.. 

I've tried to read informations from the sys interface:

cat scaling_available_frequencies : 1130500 731500
cat scaling_min_freq : 731500
cat scaling_max_freq : 731500

trying to change frequency through scaling_setspeed does nothing.

I've also noticed these errors during ACPI startup

acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
decode_hpp: Could not get hotplug parameters. Use defaults
acpiphp: Slot [1] registered
acpiphp_ibm: ibm_find_acpi_device:  Failed to get device 
information<3>acpiphp_ibm: ibm_find_acpi_device:  Failed to get device 
information<3>acpiphp_ibm: ibm_acpiphp_init: acpi_walk_namespace failed

  reply	other threads:[~2006-09-29 21:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-29 11:11 speedstep-ich issue Marco cusmai
2006-09-29 17:40 ` Mattia Dongili
2006-09-29 21:49   ` Marco cusmai [this message]
2006-10-02  2:13     ` Dominik Brodowski
2006-10-02  8:14       ` Marco Cusmai
2006-10-02  8:21         ` Mattia Dongili

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200609292149.42603.cusmai@gmail.com \
    --to=cusmai@gmail.com \
    --cc=cpufreq@lists.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.