View previous topic :: View next topic |
Author |
Message |
flens n00b
Joined: 17 Nov 2004 Posts: 29 Location: Trondheim, Norway
|
Posted: Mon Jan 03, 2005 11:04 pm Post subject: /sys/devices/system/cpu/cpu0/ ist leer |
|
|
Hallo.
Ich möchte speedfreq fürs Powermanagement meines Medion MD9467 (aka Aldinotebook anno 2001) benutzen. Aber: Code: | linux # ls /sys/devices/system/cpu/cpu0/
linux # |
Das Problem findet sich in ein paar recht alten englischen Beiträgen. Leider aber keine Lösung.
Ich denke, ich habe alle notwendigen Dinge im Kernel: Code: | linux # cat .config | grep CPU
# CONFIG_X86_CPUID is not set
# CPU Frequency scaling
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_DEBUG=y
# CONFIG_CPU_FREQ_PROC_INTF is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
# CONFIG_CPU_FREQ_24_API is not set
# CONFIG_CPU_FREQ_GOV_ONDEMAND is not set
CONFIG_CPU_FREQ_TABLE=y
# CPUFreq processor drivers
CONFIG_X86_ACPI_CPUFREQ=m
# plus noch ein paar weitere cpufreq-Module |
Beim starten vom speedfreq meckert er natürlich: Code: | linux # /etc/init.d/speedfreq start
* Starting speedfreq...
/usr/sbin/speedfreqd: cannot find cpufreq under /sys
Need sysfs mounted on /sys, and kernel configured with cpufreq driver |
Ich habe den 2.6.10-ck-r1-Kernel laufen, mit den gentoo-dev-sources geht es auch nicht.
Wo liegt das Problem? bzw. die Lösung? |
|
Back to top |
|
|
Earthwings Bodhisattva
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
Posted: Mon Jan 03, 2005 11:30 pm Post subject: |
|
|
Kannst du mal /proc/cpuinfo posten? |
|
Back to top |
|
|
flens n00b
Joined: 17 Nov 2004 Posts: 29 Location: Trondheim, Norway
|
Posted: Tue Jan 04, 2005 7:50 am Post subject: |
|
|
Earthwings wrote: | Kannst du mal /proc/cpuinfo posten? |
Klar: Code: | root # cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 8
model name : Pentium III (Coppermine)
stepping : 6
cpu MHz : 851.885
cache size : 256 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 pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr sse
bogomips : 1683.45 |
Das zügeln des Prozessors mittels echo an "/proc/acpi/processor/CPU0/throttling" funktioniert übrigens. |
|
Back to top |
|
|
aleph-muc Apprentice
Joined: 23 Jun 2004 Posts: 205 Location: Auf dem Land
|
Posted: Tue Jan 04, 2005 9:08 am Post subject: |
|
|
Mag ja sein, daß ich mich irre, aber ich glaube für den PIII gab es noch kein Speedstepping.
Gruß
Aleph |
|
Back to top |
|
|
Earthwings Bodhisattva
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
Posted: Tue Jan 04, 2005 9:37 am Post subject: |
|
|
http://www.gentoo.de/doc/de/power-management-guide.xml wrote: |
Hier ist eine Liste der Prozessoren, die von cpufreq unterstützt werden (Kernel 2.6.7): ARM Integrator, ARM-SA1100, ARM-SA1110, AMD Elan - SC400, SC410, AMD mobile K6-2+, AMD mobile K6-3+, AMD mobile Duron, AMD mobile Athlon, AMD Opteron, AMD Athlon 64, Cyrix Media GXm, Intel mobile PIII und Intel mobile PIII-M bei bestimmten Chipsätzen, Intel Pentium 4, Intel Xeon, Intel Pentium M (Centrino), National Semiconductors Geode GX, Transmeta Crusoe, VIA Cyrix 3 / C3, UltraSPARC-III, SuperH SH-3, SH-4, mehrere "PowerBook" und "iBook2" sowie verschiedene Prozessoren in ACPI 2.0-kompatiblen Systemen (nur wenn "ACPI Processor Performance States" über die ACPI/BIOS Schnittstelle verfügbar sind). |
Der "normale" Pentium III unterstützt kein Speedstepping. |
|
Back to top |
|
|
flens n00b
Joined: 17 Nov 2004 Posts: 29 Location: Trondheim, Norway
|
Posted: Tue Jan 04, 2005 10:42 am Post subject: |
|
|
Na, das hätte ich mir ja denken können. Vielen Dank für deine Mühen! |
|
Back to top |
|
|
Earthwings Bodhisattva
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
Posted: Tue Jan 04, 2005 10:57 am Post subject: |
|
|
Falls dein Laptop zu heiß wird, kannst du mal cpudyn (unterstützt IIRC throttling) probieren oder noch besser ncpufreqd (Ebuild bisher nur in Bugzilla) |
|
Back to top |
|
|
moe Veteran
Joined: 28 Mar 2003 Posts: 1289 Location: Potsdam / Germany
|
Posted: Tue Jan 04, 2005 4:55 pm Post subject: |
|
|
Earthwings wrote: |
Der "normale" Pentium III unterstützt kein Speedstepping. |
Hmm,
cat /proc/cpuinfo wrote: | processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 8
model name : Pentium III (Coppermine)
stepping : 3
cpu MHz : 696.744
cache size : 256 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 pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr sse
bogomips : 1376.25
|
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies wrote: | 700000 550000 |
Das ist hier ein Compaq Armada M700 Notebook, allerdings hab ich noch nicht getestet obs wirklich geht, nur beim letzten Kernelupdate mal alles was es so zum Thema gibt einkompiliert, und beim Modul speedstep-smi erscheint die oben zitierte Datei im sys-Verzeichniss
Gruss Maurice |
|
Back to top |
|
|
Earthwings Bodhisattva
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
Posted: Tue Jan 04, 2005 5:20 pm Post subject: |
|
|
Interessant, ich dachte, der Mobile Pentium III meldet sich in /proc/cpuinfo so: Code: | model name : Intel(R) Pentium(R) III Mobile CPU 1000MHz |
|
|
Back to top |
|
|
moe Veteran
Joined: 28 Mar 2003 Posts: 1289 Location: Potsdam / Germany
|
Posted: Tue Jan 04, 2005 5:58 pm Post subject: |
|
|
Wie finde ich denn heraus obs ein mobiler ist oder nicht? Hab bei Compaq (HP) mal nach technischen Daten geguckt, aber nur ein Handbuch gefunden, wo die verschiedenen Modelle kurz spezifiert werden und da steht nur Pentium III 700MHz, ansonsten hab ich nichts gefunden wo definitiv steht obs ein mobile oder nicht ist.. |
|
Back to top |
|
|
derFrank n00b
Joined: 01 Jan 2004 Posts: 71 Location: Cologne/Germany
|
Posted: Tue Jan 04, 2005 6:05 pm Post subject: |
|
|
Hab hier auch ein Thinkpad bei dem "cat /proc/cpuinfo" einen "model_name : Pentium III (Coppermine)" meldet und das Speedstepping definitiv funktioniert ...
In der Spezifikation von IBM steht allerdings auch ausdrücklich "Mobile Intel Pentium III"
Wäre ja interessant zu Wissen wie man dann überhaupt rauskriegen kann ob es sich nun um einen Normalen oder einen Mobile handelt (ausser der etwas vagen Aussage "Speedstepping funktioniert->Mobile PIII bzw funktioniert nicht->kein Mobile", da das nichtfunktionieren ja auch andere Gründe haben kann...) |
|
Back to top |
|
|
|