Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
welche Kernelkomponenten für Centrino CPU
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
corvis
n00b
n00b


Joined: 15 Nov 2005
Posts: 16

PostPosted: Thu Mar 30, 2006 9:41 pm    Post subject: welche Kernelkomponenten für Centrino CPU Reply with quote

Hallo,

ich bekomme das Powermanagement meines Notebooks Toshiba M100 mit Centrino CPU einfach nicht zum Laufen.
Der Prozessor arbeitet stets nur mit 600MHz und nicht mit den maximal verfügbaren 1200MHz.

Code:
P3490CT ~ # cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 9
model name      : Intel(R) Pentium(R) M processor 1200MHz
stepping        : 5
cpu MHz         : 598.512
cache size      : 1024 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr mce cx8 sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 tm pbe est tm2
bogomips        : 1198.00

P3490CT ~ #

Hier scheint ja alles in Ordnung zu sein.

Code:
P3490CT ~ # cpufreq-info
cpufrequtils 0.4: cpufreq-info (C) Dominik Brodowski 2004
Report errors and bugs to linux@brodo.de, please.
analyzing CPU 0:
  driver: p4-clockmod
  CPUs which need to switch frequency at the same time: 0
  hardware limits: 75.0 MHz - 600 MHz
  available frequency steps: 75.0 MHz, 150 MHz, 225 MHz, 300 MHz, 375 MHz, 450 MHz, 525 MHz, 600 MHz
  available cpufreq governors: performance
  current policy: frequency should be within 600 MHz and 600 MHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency is 600 MHz (asserted by call to hardware).

cpufreq-info scheint der Meinung zu sein, dass der Prozessor maximal 600MHz kann.

Code:

P3490CT ~ # dmesg
Linux version 2.6.15-gentoo-r1 (root@P3490CT) (gcc version 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)) #6 PREEMPT Thu Mar 30 22:58:53 CEST 2006
*
Detected 598.512 MHz processor.
*
CPU: Intel(R) Pentium(R) M processor 1200MHz stepping 05
*
speedstep-centrino: couldn't enable Enhanced SpeedStep
p4-clockmod: Warning: Pentium M detected. The speedstep_centrino module offers voltage scaling in addition of frequency scaling. You should use that instead of p4-clockmod, if possible.
p4-clockmod: P4/Xeon(TM) CPU On-Demand Clock Modulation available
*

Es scheint etwas mit den Kernelmodulen falsch zu sein.

Code:
P3490CT ~ # cd /usr/src/linux
P3490CT linux # make menuconfig
Power management options (ACPI, APM)  --->
  CPU Frequency scaling  --->
  [*] CPU Frequency scaling       
  [ ]   Enable CPUfreq debugging
  < >   CPU frequency translation statistics
  Default CPUFreq governor (performance)  --->   
  ---   'performance' governor                                 
  < >   'powersave' governor                                             
  < >   'userspace' governor for userspace frequency scaling
  < >   'ondemand' cpufreq policy governor                         
  < >   'conservative' cpufreq governor                               
  ---   CPUFreq processor drivers                                       
  <*>   ACPI Processor P-States driver                               
  < >   AMD Mobile K6-2/K6-3 PowerNow!                                 
  < >   AMD Mobile Athlon/Duron PowerNow!                             
  < >   AMD Opteron/Athlon64 PowerNow!                                 
  < >   Cyrix MediaGX/NatSemi Geode Suspend Modulation         
  <*>   Intel Enhanced SpeedStep                                               
  [ ]     Use ACPI tables to decode valid frequency/voltage pairs   
  ---     Built-in tables for Banias CPUs                                           
  < >   Intel Speedstep on ICH-M chipsets (ioport interface)         
  < >   Intel SpeedStep on 440BX/ZX/MX chipsets (SMI interface)
  <*>   Intel Pentium 4 clock modulation                                       
  < >   nVidia nForce2 FSB changing                                           
  < >   Transmeta LongRun                                                           
  < >   VIA Cyrix III Longhaul                                                       
  ---   shared options   
  [ ]   /proc/acpi/processor/../performance interface (deprecated) 


Nach den Meldungen von dmesg würde ich sagen, dass die Komponente "Intel Pentium 4 clock modulation" falsch ist, jedoch funktioniert cpufreq-info ohne diese überhaupt nicht. Ich weiß leider nicht, welche anstelle dieser aktiviert werden soll (leider steht nirgendwo centrino dran).
Back to top
View user's profile Send private message
dek
l33t
l33t


Joined: 16 May 2002
Posts: 657
Location: Germany

PostPosted: Thu Mar 30, 2006 10:05 pm    Post subject: Reply with quote

Hast du den governor in /etc/conf.d/cpufrequtils gesetzt?

Ich verwende hier den ondemand governor, der funktioniert bestens. Kannst den ja mal aktivieren.
Code:
< >   'ondemand' cpufreq policy governor
Back to top
View user's profile Send private message
corvis
n00b
n00b


Joined: 15 Nov 2005
Posts: 16

PostPosted: Fri Mar 31, 2006 12:28 pm    Post subject: Reply with quote

In /etc/conf.d/cpufrequtils steht:

Code:
M100 / # cat /etc/conf.d/cpufrequtils
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-power/cpufrequtils/files/cpufrequtils-0.3-conf.d,v 1.1 2005/05/16 12:10:43 brix Exp $

# Which governor to use. Must be one of the governors listed in:
#   cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
#
GOVERNOR="ondemand"
M100 / #


Die Kernelkomponente:
Code:
<*>   'ondemand' cpufreq policy governor

habe ich jetzt auch aktiviert. Jedoch bringt das keine Veränderung der Ausgaben für cpufreq-info und dmesg.
Der Prozessor arbeitet nach wie vor nur bei 600MHz.
Back to top
View user's profile Send private message
dek
l33t
l33t


Joined: 16 May 2002
Posts: 657
Location: Germany

PostPosted: Fri Mar 31, 2006 12:47 pm    Post subject: Reply with quote

Quote:
Jedoch bringt das keine Veränderung der Ausgaben für cpufreq-info und dmesg.

Hmm, die verfügbaren governor sollten sich dann eigentlich ändern.
Code:
available cpufreq governors: ondemand, userspace


Hast du auch den default governor auf "userspace" gesetzt?
Code:
[*]     CPU frequency translation statistics details
      Default CPUFreq governor (userspace)  --->

"Intel Pentium 4 clock modulation" kannst du übrigens deaktivieren, ist AFAIK nur für XEONs.
Back to top
View user's profile Send private message
corvis
n00b
n00b


Joined: 15 Nov 2005
Posts: 16

PostPosted: Fri Mar 31, 2006 1:39 pm    Post subject: Reply with quote

Stimmt, die verfügbaren governor haben sich geändert. Das habe ich glatt übersehen.

Ich habe jetzt den default governor auf userspace geändert.

Code:
[*]     CPU frequency translation statistics details
      Default CPUFreq governor (userspace)  --->


Die aktuellen Einstellungen:
Code:
M100 ~ # cpufreq-info
cpufrequtils 0.4: cpufreq-info (C) Dominik Brodowski 2004
Report errors and bugs to linux@brodo.de, please.
analyzing CPU 0:
  driver: p4-clockmod
  CPUs which need to switch frequency at the same time: 0
  hardware limits: 75.0 MHz - 600 MHz
  available frequency steps: 75.0 MHz, 150 MHz, 225 MHz, 300 MHz, 375 MHz, 450 MHz, 525 MHz, 600 MHz
  available cpufreq governors: ondemand, userspace, performance
  current policy: frequency should be within 600 MHz and 600 MHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency is 600 MHz (asserted by call to hardware).
M100 ~ # dmesg
Linux version 2.6.15-gentoo-r1 (root@M100) (gcc version 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)) #8 PREEMPT Fri Mar 31 15:11:35 CEST 2006
*
speedstep-centrino: couldn't enable Enhanced SpeedStep
p4-clockmod: Warning: Pentium M detected. The speedstep_centrino module offers voltage scaling in addition of frequency scaling. You should use that instead of p4-clockmod, if possible.
p4-clockmod: P4/Xeon(TM) CPU On-Demand Clock Modulation available
*
M100 ~ # cat /etc/conf.d/cpufrequtils
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-power/cpufrequtils/files/cpufrequtils-0.3-conf.d,v 1.1 2005/05/16 12:10:43 brix Exp $

# Which governor to use. Must be one of the governors listed in:
#   cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
#
GOVERNOR="ondemand"
M100 ~ #


Leider waren die neuen Einstellungen ohne Erfolg.
Back to top
View user's profile Send private message
dek
l33t
l33t


Joined: 16 May 2002
Posts: 657
Location: Germany

PostPosted: Fri Mar 31, 2006 1:54 pm    Post subject: Reply with quote

Was mir ja jetzt erst auffällt, da wird der falsche Treiber verwendet
Code:
driver: p4-clockmod

Da sollte eigentlich centrino stehen. Falls noch nicht geschehen, deaktiviere "Intel Pentium 4 clock modulation".

Hier mal alles was ich unter CPU Frequency scaling aktiviert habe:
Code:
[*] CPU Frequency scaling
<*>   CPU frequency translation statistics
[*]     CPU frequency translation statistics details
      Default CPUFreq governor (userspace)  --->
<*>   'ondemand' cpufreq policy governor
<M>   ACPI Processor P-States driver
<*>   Intel Enhanced SpeedStep
[*]     Use ACPI tables to decode valid frequency/voltage pairs
[*]     Built-in tables for Banias CPUs
Back to top
View user's profile Send private message
corvis
n00b
n00b


Joined: 15 Nov 2005
Posts: 16

PostPosted: Fri Mar 31, 2006 4:38 pm    Post subject: Reply with quote

Also mit der Konfiguration:
Code:
[*] CPU Frequency scaling
<*>   CPU frequency translation statistics
[*]     CPU frequency translation statistics details
      Default CPUFreq governor (userspace)  --->
<*>   'ondemand' cpufreq policy governor
<*>   ACPI Processor P-States driver
<*>   Intel Enhanced SpeedStep
[*]     Use ACPI tables to decode valid frequency/voltage pairs
[*]     Built-in tables for Banias CPUs
< >   Intel Pentium 4 clock modulation


erhalte ich die Fehlermeldung:
Code:
M100 / # dmesg
Linux version 2.6.15-gentoo-r1 (root@M100) (gcc version 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)) #9 PREEMPT Fri Mar 31 16:07:31 CEST 2006
*
speedstep-centrino: couldn't enable Enhanced SpeedStep
*
M100 / # cpufreq-info
cpufrequtils 0.4: cpufreq-info (C) Dominik Brodowski 2004
Report errors and bugs to linux@brodo.de, please.
analyzing CPU 0:
  no or unknown cpufreq driver is active on this CPU
M100 / #


Gibt es noch irgendwelche anderen Optionen, die man einstellen muss?

Bei Processor type and features habe ich
Code:
(X) Pentium-4/Celeron(P4-based)/Pentium-4 M/Xeon

ausgewählt. Spielt das hier vielleicht auch eine Rolle?
Back to top
View user's profile Send private message
dek
l33t
l33t


Joined: 16 May 2002
Posts: 657
Location: Germany

PostPosted: Fri Mar 31, 2006 4:44 pm    Post subject: Reply with quote

Allerdings! Da hast du schlicht die falsche CPU ausgewählt, so ist es richtig:
Code:
(X) Pentium M
Back to top
View user's profile Send private message
corvis
n00b
n00b


Joined: 15 Nov 2005
Posts: 16

PostPosted: Fri Mar 31, 2006 8:47 pm    Post subject: Reply with quote

Leider war die Einstellung mit dem Pentium M auch ohne Erfolg.
Code:
M100 / # dmesg
Linux version 2.6.15-gentoo-r1 (root@M100) (gcc version 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)) #11 PREEMPT Fri Mar 31 21:56:41 CEST 2006
*
speedstep-centrino: couldn't enable Enhanced SpeedStep
*
M100 / #
Back to top
View user's profile Send private message
hoschi
Advocate
Advocate


Joined: 19 Jul 2003
Posts: 2517
Location: Ulm, Germany, Europe

PostPosted: Sat Apr 01, 2006 9:48 am    Post subject: Reply with quote

Quote:
cpufrequtils

Brauchst du nicht, einfach mal weg lassen. Dem Kernel kannst du auch ueber das Sys-Interface oder ueber Desktop-Applets sagen was du so willst, damit koenntest du eher Feinsteuerung betreiben oder so.

Damit hast du zumindest eine Fehlerquelle weniger, an den cpufrequtils muss es nicht liegen.
_________________
Just you and me strogg!
Back to top
View user's profile Send private message
corvis
n00b
n00b


Joined: 15 Nov 2005
Posts: 16

PostPosted: Sat Apr 08, 2006 8:14 pm    Post subject: Reply with quote

Ich glaube nicht, dass das Problem an den cpufrequtils liegt. Ich bin mir ziemlich sicher, dass es an den Kernel-Modulen liegt, da beim Laden des Kernels die ersten Fehlermeldungen angezeigt werden (siehe die Ausgabe von dmesg oben).

Last edited by corvis on Sun Apr 09, 2006 7:11 pm; edited 1 time in total
Back to top
View user's profile Send private message
hoschi
Advocate
Advocate


Joined: 19 Jul 2003
Posts: 2517
Location: Ulm, Germany, Europe

PostPosted: Sun Apr 09, 2006 9:07 am    Post subject: Reply with quote

poste einfach mal deine kernel-config :)
_________________
Just you and me strogg!
Back to top
View user's profile Send private message
corvis
n00b
n00b


Joined: 15 Nov 2005
Posts: 16

PostPosted: Sun Apr 09, 2006 7:03 pm    Post subject: Reply with quote

Meine Kernel-config:

Code:

M100 ~ # cd /usr/src/linux
M100 linux # make menuconfig
Power management options (ACPI, APM)  --->
  CPU Frequency scaling  --->
  [*] CPU Frequency scaling       
  [ ]   Enable CPUfreq debugging
  <*>   CPU frequency translation statistics
  [*]     CPU frequency translation statistics details
Default CPUFreq governor (userspace)  --->   
  ---   'performance' governor                                 
  < >   'powersave' governor                                             
  < >   'userspace' governor for userspace frequency scaling
  <*>   'ondemand' cpufreq policy governor                         
  < >   'conservative' cpufreq governor                               
  ---   CPUFreq processor drivers                                       
  <*>   ACPI Processor P-States driver                               
  < >   AMD Mobile K6-2/K6-3 PowerNow!                                 
  < >   AMD Mobile Athlon/Duron PowerNow!                             
  < >   AMD Opteron/Athlon64 PowerNow!                                 
  < >   Cyrix MediaGX/NatSemi Geode Suspend Modulation         
  <*>   Intel Enhanced SpeedStep                                               
  [*]      Use ACPI tables to decode valid frequency/voltage pairs   
  [*]      Built-in tables for Banias CPUs                                           
  < >   Intel Speedstep on ICH-M chipsets (ioport interface)         
  < >   Intel SpeedStep on 440BX/ZX/MX chipsets (SMI interface)
  < >   Intel Pentium 4 clock modulation                                       
  < >   nVidia nForce2 FSB changing                                           
  < >   Transmeta LongRun                                                           
  < >   VIA Cyrix III Longhaul                                                       
  ---   shared options   
  [ ]   /proc/acpi/processor/../performance interface (deprecated) 
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum