Dear List
I am try tot enable cpu scaling on a dual Xeon E5540 with all coes
active (8) and hyperthreading giving a total of 16 cores.
Kernel is 2.6.32.2 base on Slackware 13 64 bit.
It seems the problem is in the sysfs structure which is
ls -l /sys/devices/system/cpu/
drwxr-xr-x 6 root root 0 2009-12-24 23:18 cpu0/
drwxr-xr-x 6 root root 0 2009-12-24 23:18 cpu1/
drwxr-xr-x 6 root root 0 2009-12-24 23:18 cpu10/
drwxr-xr-x 6 root root 0 2009-12-24 23:18 cpu11/
drwxr-xr-x 6 root root 0 2009-12-24 23:18 cpu12/
drwxr-xr-x 6 root root 0 2009-12-24 23:18 cpu13/
drwxr-xr-x 6 root root 0 2009-12-24 23:18 cpu14/
drwxr-xr-x 6 root root 0 2009-12-24 23:18 cpu15/
drwxr-xr-x 6 root root 0 2009-12-24 23:18 cpu2/
drwxr-xr-x 6 root root 0 2009-12-24 23:18 cpu3/
drwxr-xr-x 6 root root 0 2009-12-24 23:18 cpu4/
drwxr-xr-x 6 root root 0 2009-12-24 23:18 cpu5/
drwxr-xr-x 6 root root 0 2009-12-24 23:18 cpu6/
drwxr-xr-x 6 root root 0 2009-12-24 23:18 cpu7/
drwxr-xr-x 6 root root 0 2009-12-24 23:18 cpu8/
drwxr-xr-x 6 root root 0 2009-12-24 23:18 cpu9/
drwxr-xr-x 2 root root 0 2009-12-24 13:04 cpufreq/
drwxr-xr-x 2 root root 0 2009-12-24 13:04 cpuidle/
-r--r--r-- 1 root root 4096 2009-12-24 13:04 kernel_max
-r--r--r-- 1 root root 4096 2009-12-24 13:04 offline
-r--r--r-- 1 root root 4096 2009-12-24 13:04 online
drwxr-xr-x 2 root root 0 2009-12-24 13:04 perf_events/
-r--r--r-- 1 root root 4096 2009-12-24 13:04 possible
-r--r--r-- 1 root root 4096 2009-12-24 13:04 present
-rw-r--r-- 1 root root 4096 2009-12-24 13:04 sched_mc_power_savings
-rw-r--r-- 1 root root 4096 2009-12-24 13:04 sched_smt_power_savings
Note cpufreq is not below cpuN (n=0-15)
For cpu0 it is similar for all others
ls -l /sys/devices/system/cpu/cpu0
drwxr-xr-x 6 root root 0 2009-12-24 13:04 cache/
drwxr-xr-x 6 root root 0 2009-12-24 23:18 cpuidle/
drwxr-xr-x 2 root root 0 2009-12-24 13:04 thermal_throttle/
drwxr-xr-x 2 root root 0 2009-12-24 13:04 topology/
With debug set to cpufreq.debug=7
The the output in /var/log/debug is attached cpu_debug.txt
It seems nothing can be initialised.
Also there is no ACPI throttle messages in dmesg aka /var/log/messages
The BIOS seems to have CPU scaling enabled ie dynamic power.
Any ideas?
On my Thinkpad the sysfs structure similar kernel also based on 64 bit
Slackware 13 kernel 2.6.31.6 CPU Intel(R) Core(TM)2 Duo CPU T5450 @
1.66GHz
ls -l /sys/devices/system/cpu
drwxr-xr-x 7 root root 0 2009-12-24 06:56 cpu0/
drwxr-xr-x 7 root root 0 2009-12-24 12:09 cpu1/
drwxr-xr-x 2 root root 0 2009-12-24 12:09 cpuidle/
-r--r--r-- 1 root root 4096 2009-12-24 12:09 kernel_max
-r--r--r-- 1 root root 4096 2009-12-24 12:09 offline
-r--r--r-- 1 root root 4096 2009-12-24 12:09 online
drwxr-xr-x 2 root root 0 2009-12-24 12:09 perf_counters/
-r--r--r-- 1 root root 4096 2009-12-24 12:09 possible
-r--r--r-- 1 root root 4096 2009-12-24 12:09 present
ls -l /sys/devices/system/cpu/cpu0/
drwxr-xr-x 7 root root 0 2009-12-24 06:56 ./
drwxr-xr-x 6 root root 0 2009-12-24 06:56 ../
drwxr-xr-x 5 root root 0 2009-12-24 12:09 cache/
drwxr-xr-x 3 root root 0 2009-12-24 06:56 cpufreq/
drwxr-xr-x 6 root root 0 2009-12-24 12:09 cpuidle/
drwxr-xr-x 2 root root 0 2009-12-24 12:09 thermal_throttle/
drwxr-xr-x 2 root root 0 2009-12-24 12:09 topology/
Thanks
Stephen Carr
--
Stephen Carr
School of Civil, Environmental & Mining Engineering
The University of Adelaide
Adelaide, South Australia, 5005
Australia
Tel +618-8303-4313
Fax +618-8303-4359
Email sgcarr@xxxxxxxxxxxxxxxxxxxxxx
CRICOS Provider Number 00123M
-----------------------------------------------------------
This email message is intended only for the addressee(s) and
contains information that may be confidential and/or copyright.
If you are not the intended recipient please notify the sender
by reply email and immediately delete this email. Use, disclosure
or reproduction of this email by anyone other than the intended
recipient(s) is strictly prohibited. No representation is made
that this email or any attachments are free of viruses. Virus
scanning is recommended and is the responsibility of the recipient.
Dec 24 12:48:50 culver kernel: acpi-cpufreq: acpi_cpufreq_init
Dec 24 12:48:50 culver kernel: acpi-cpufreq: acpi_cpufreq_early_init
Dec 24 12:48:50 culver kernel: cpufreq-core: trying to register driver acpi-cpufreq
Dec 24 12:48:50 culver kernel: cpufreq-core: adding CPU 0
Dec 24 12:48:50 culver kernel: acpi-cpufreq: acpi_cpufreq_cpu_init
Dec 24 12:48:50 culver kernel: cpufreq-core: initialization failed
Dec 24 12:48:50 culver kernel: cpufreq-core: adding CPU 1
Dec 24 12:48:50 culver kernel: acpi-cpufreq: acpi_cpufreq_cpu_init
Dec 24 12:48:50 culver kernel: cpufreq-core: initialization failed
Dec 24 12:48:50 culver kernel: cpufreq-core: adding CPU 2
Dec 24 12:48:50 culver kernel: acpi-cpufreq: acpi_cpufreq_cpu_init
Dec 24 12:48:50 culver kernel: cpufreq-core: initialization failed
Dec 24 12:48:50 culver kernel: cpufreq-core: adding CPU 3
Dec 24 12:48:50 culver kernel: acpi-cpufreq: acpi_cpufreq_cpu_init
Dec 24 12:48:50 culver kernel: cpufreq-core: initialization failed
Dec 24 12:48:50 culver kernel: cpufreq-core: adding CPU 4
Dec 24 12:48:50 culver kernel: acpi-cpufreq: acpi_cpufreq_cpu_init
Dec 24 12:48:50 culver kernel: cpufreq-core: initialization failed
Dec 24 12:48:50 culver kernel: cpufreq-core: adding CPU 5
Dec 24 12:48:50 culver kernel: acpi-cpufreq: acpi_cpufreq_cpu_init
Dec 24 12:48:50 culver kernel: cpufreq-core: initialization failed
Dec 24 12:48:50 culver kernel: cpufreq-core: adding CPU 6
Dec 24 12:48:50 culver kernel: acpi-cpufreq: acpi_cpufreq_cpu_init
Dec 24 12:48:50 culver kernel: cpufreq-core: initialization failed
Dec 24 12:48:50 culver kernel: cpufreq-core: adding CPU 7
Dec 24 12:48:50 culver kernel: acpi-cpufreq: acpi_cpufreq_cpu_init
Dec 24 12:48:50 culver kernel: cpufreq-core: initialization failed
Dec 24 12:48:50 culver kernel: cpufreq-core: adding CPU 8
Dec 24 12:48:50 culver kernel: acpi-cpufreq: acpi_cpufreq_cpu_init
Dec 24 12:48:50 culver kernel: cpufreq-core: initialization failed
Dec 24 12:48:50 culver kernel: cpufreq-core: adding CPU 9
Dec 24 12:48:50 culver kernel: acpi-cpufreq: acpi_cpufreq_cpu_init
Dec 24 12:48:50 culver kernel: cpufreq-core: initialization failed
Dec 24 12:48:50 culver kernel: cpufreq-core: adding CPU 10
Dec 24 12:48:50 culver kernel: acpi-cpufreq: acpi_cpufreq_cpu_init
Dec 24 12:48:50 culver kernel: cpufreq-core: initialization failed
Dec 24 12:48:50 culver kernel: cpufreq-core: adding CPU 11
Dec 24 12:48:50 culver kernel: acpi-cpufreq: acpi_cpufreq_cpu_init
Dec 24 12:48:50 culver kernel: cpufreq-core: initialization failed
Dec 24 12:48:50 culver kernel: cpufreq-core: adding CPU 12
Dec 24 12:48:50 culver kernel: acpi-cpufreq: acpi_cpufreq_cpu_init
Dec 24 12:48:50 culver kernel: cpufreq-core: initialization failed
Dec 24 12:48:50 culver kernel: cpufreq-core: adding CPU 13
Dec 24 12:48:50 culver kernel: acpi-cpufreq: acpi_cpufreq_cpu_init
Dec 24 12:48:50 culver kernel: cpufreq-core: initialization failed
Dec 24 12:48:50 culver kernel: cpufreq-core: adding CPU 14
Dec 24 12:48:50 culver kernel: acpi-cpufreq: acpi_cpufreq_cpu_init
Dec 24 12:48:50 culver kernel: cpufreq-core: initialization failed
Dec 24 12:48:50 culver kernel: cpufreq-core: adding CPU 15
Dec 24 12:48:50 culver kernel: acpi-cpufreq: acpi_cpufreq_cpu_init
Dec 24 12:48:50 culver kernel: cpufreq-core: initialization failed
Dec 24 12:48:50 culver kernel: cpufreq-core: no CPU initialized for driver acpi-cpufreq
Dec 24 12:48:50 culver kernel: cpufreq-core: unregistering CPU 0
Dec 24 12:48:50 culver kernel: cpufreq-core: unregistering CPU 1
Dec 24 12:48:50 culver kernel: cpufreq-core: unregistering CPU 2
Dec 24 12:48:50 culver kernel: cpufreq-core: unregistering CPU 3
Dec 24 12:48:50 culver kernel: cpufreq-core: unregistering CPU 4
Dec 24 12:48:50 culver kernel: cpufreq-core: unregistering CPU 5
Dec 24 12:48:50 culver kernel: cpufreq-core: unregistering CPU 6
Dec 24 12:48:50 culver kernel: cpufreq-core: unregistering CPU 7
Dec 24 12:48:50 culver kernel: cpufreq-core: unregistering CPU 8
Dec 24 12:48:50 culver kernel: cpufreq-core: unregistering CPU 9
Dec 24 12:48:50 culver kernel: cpufreq-core: unregistering CPU 10
Dec 24 12:48:50 culver kernel: cpufreq-core: unregistering CPU 11
Dec 24 12:48:50 culver kernel: cpufreq-core: unregistering CPU 12
Dec 24 12:48:50 culver kernel: cpufreq-core: unregistering CPU 13
Dec 24 12:48:50 culver kernel: cpufreq-core: unregistering CPU 14
Dec 24 12:48:50 culver kernel: cpufreq-core: unregistering CPU 15
Dec 24 12:48:50 culver kernel: cpufreq-core: trying to register driver centrino
Dec 24 12:48:50 culver kernel: cpufreq-core: adding CPU 0
Dec 24 12:48:50 culver kernel: speedstep-centrino: found unsupported CPU with Enhanced SpeedStep: send /proc/cpuinfo to cpufreq@xxxxxxxxxxxxxxx
Dec 24 12:48:50 culver kernel: cpufreq-core: initialization failed
Dec 24 12:48:50 culver kernel: cpufreq-core: adding CPU 1
Dec 24 12:48:50 culver kernel: cpufreq-core: initialization failed
Dec 24 12:48:50 culver kernel: cpufreq-core: adding CPU 2
Dec 24 12:48:50 culver kernel: cpufreq-core: initialization failed
Dec 24 12:48:50 culver kernel: cpufreq-core: adding CPU 3
Dec 24 12:48:50 culver kernel: cpufreq-core: initialization failed
Dec 24 12:48:50 culver kernel: cpufreq-core: adding CPU 4
Dec 24 12:48:50 culver kernel: cpufreq-core: initialization failed
Dec 24 12:48:50 culver kernel: cpufreq-core: adding CPU 5
Dec 24 12:48:50 culver kernel: cpufreq-core: initialization failed
Dec 24 12:48:50 culver kernel: cpufreq-core: adding CPU 6
Dec 24 12:48:50 culver kernel: cpufreq-core: initialization failed
Dec 24 12:48:50 culver kernel: cpufreq-core: adding CPU 7
Dec 24 12:48:50 culver kernel: cpufreq-core: initialization failed
Dec 24 12:48:50 culver kernel: cpufreq-core: adding CPU 8
Dec 24 12:48:50 culver kernel: cpufreq-core: initialization failed
Dec 24 12:48:50 culver kernel: cpufreq-core: adding CPU 9
Dec 24 12:48:50 culver kernel: cpufreq-core: initialization failed
Dec 24 12:48:50 culver kernel: cpufreq-core: adding CPU 10
Dec 24 12:48:50 culver kernel: cpufreq-core: initialization failed
Dec 24 12:48:50 culver kernel: cpufreq-core: adding CPU 11
Dec 24 12:48:50 culver kernel: cpufreq-core: initialization failed
Dec 24 12:48:50 culver kernel: cpufreq-core: adding CPU 12
Dec 24 12:48:50 culver kernel: cpufreq-core: initialization failed
Dec 24 12:48:50 culver kernel: cpufreq-core: adding CPU 13
Dec 24 12:48:50 culver kernel: cpufreq-core: initialization failed
Dec 24 12:48:50 culver kernel: cpufreq-core: adding CPU 14
Dec 24 12:48:50 culver kernel: cpufreq-core: initialization failed
Dec 24 12:48:50 culver kernel: cpufreq-core: adding CPU 15
Dec 24 12:48:50 culver kernel: cpufreq-core: initialization failed
Dec 24 12:48:50 culver kernel: cpufreq-core: no CPU initialized for driver centrino
Dec 24 12:48:50 culver kernel: cpufreq-core: unregistering CPU 0
Dec 24 12:48:50 culver kernel: cpufreq-core: unregistering CPU 1
Dec 24 12:48:50 culver kernel: cpufreq-core: unregistering CPU 2
Dec 24 12:48:50 culver kernel: cpufreq-core: unregistering CPU 3
Dec 24 12:48:50 culver kernel: cpufreq-core: unregistering CPU 4
Dec 24 12:48:50 culver kernel: cpufreq-core: unregistering CPU 5
Dec 24 12:48:50 culver kernel: cpufreq-core: unregistering CPU 6
Dec 24 12:48:50 culver kernel: cpufreq-core: unregistering CPU 7
Dec 24 12:48:50 culver kernel: cpufreq-core: unregistering CPU 8
Dec 24 12:48:50 culver kernel: cpufreq-core: unregistering CPU 9
Dec 24 12:48:50 culver kernel: cpufreq-core: unregistering CPU 10
Dec 24 12:48:50 culver kernel: cpufreq-core: unregistering CPU 11
Dec 24 12:48:50 culver kernel: cpufreq-core: unregistering CPU 12
Dec 24 12:48:50 culver kernel: cpufreq-core: unregistering CPU 13
Dec 24 12:48:50 culver kernel: cpufreq-core: unregistering CPU 14
Dec 24 12:48:50 culver kernel: cpufreq-core: unregistering CPU 15