Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/sys/devices/system/cpu/cpu0/ ist leer
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
flens
n00b
n00b


Joined: 17 Nov 2004
Posts: 29
Location: Trondheim, Norway

PostPosted: Mon Jan 03, 2005 11:04 pm    Post subject: /sys/devices/system/cpu/cpu0/ ist leer Reply with quote

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
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Germany

PostPosted: Mon Jan 03, 2005 11:30 pm    Post subject: Reply with quote

Kannst du mal /proc/cpuinfo posten?
Back to top
View user's profile Send private message
flens
n00b
n00b


Joined: 17 Nov 2004
Posts: 29
Location: Trondheim, Norway

PostPosted: Tue Jan 04, 2005 7:50 am    Post subject: Reply with quote

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
View user's profile Send private message
aleph-muc
Apprentice
Apprentice


Joined: 23 Jun 2004
Posts: 205
Location: Auf dem Land

PostPosted: Tue Jan 04, 2005 9:08 am    Post subject: Reply with quote

Mag ja sein, daß ich mich irre, aber ich glaube für den PIII gab es noch kein Speedstepping.

Gruß
Aleph
Back to top
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Germany

PostPosted: Tue Jan 04, 2005 9:37 am    Post subject: Reply with quote

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
View user's profile Send private message
flens
n00b
n00b


Joined: 17 Nov 2004
Posts: 29
Location: Trondheim, Norway

PostPosted: Tue Jan 04, 2005 10:42 am    Post subject: Reply with quote

Na, das hätte ich mir ja denken können. Vielen Dank für deine Mühen!
Back to top
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Germany

PostPosted: Tue Jan 04, 2005 10:57 am    Post subject: Reply with quote

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
View user's profile Send private message
moe
Veteran
Veteran


Joined: 28 Mar 2003
Posts: 1289
Location: Potsdam / Germany

PostPosted: Tue Jan 04, 2005 4:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Germany

PostPosted: Tue Jan 04, 2005 5:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
moe
Veteran
Veteran


Joined: 28 Mar 2003
Posts: 1289
Location: Potsdam / Germany

PostPosted: Tue Jan 04, 2005 5:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
derFrank
n00b
n00b


Joined: 01 Jan 2004
Posts: 71
Location: Cologne/Germany

PostPosted: Tue Jan 04, 2005 6:05 pm    Post subject: Reply with quote

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
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