Skip to contentSkip to conversation

2.4.23 + mobile athlon

DISCUSSION Bernhard Bauch 2 participants 2 messages Dec 17, 2003 – Dec 18, 2003

lore
Share & tools
lore
#0 lore raw

hi!
i just patched kernel-2.4.23 with cpufreq and it worked :)
########################
/var/log/dmes:
....

powernow: AMD K7 CPU detected.
powernow: PowerNOW! Technology present. Can scale: frequency and voltage.
powernow: Found PSB header at c00faf80
powernow: Table version: 0x12
powernow: Flags: 0x0 (Mobile voltage regulator)
powernow: Settling Time: 100 microseconds.
powernow: Has 86 PST tables. (Only dumping ones relevant to this CPU).
powernow: PST:33 (@c00fb200)
powernow:  cpuid: 0x780 fsb: 100        maxFID: 0x2     startvid: 0xb
powernow:    FID: 0x4 (5.0x [500MHz])   VID: 0xe (1.300V)
powernow:    FID: 0x6 (6.0x [600MHz])   VID: 0xe (1.300V)
powernow:    FID: 0x8 (7.0x [700MHz])   VID: 0xe (1.300V)
powernow:    FID: 0xa (8.0x [800MHz])   VID: 0xe (1.300V)
powernow:    FID: 0xc (9.0x [900MHz])   VID: 0xe (1.300V)
powernow:    FID: 0xe (10.0x [1000MHz]) VID: 0xd (1.350V)
powernow:    FID: 0x0 (11.0x [1100MHz]) VID: 0xc (1.400V)
powernow:    FID: 0x2 (12.0x [1200MHz]) VID: 0xb (1.450V)

powernow: Minimum speed 500 MHz. Maximum speed 1200 MHz.
##############################################

beatle:/home/berni# more /proc/cpufreq
         minimum CPU frequency  -  maximum CPU frequency  -  policy
CPU  0       500000 kHz ( 41 %)  -    1200000 kHz (100 %)  -  performance
beatle:/home/berni#
########################################

everything seems to be OK, but:
################################

beatle:/proc/sys/cpu/0# more speed*
::::::::::::::
speed
::::::::::::::
0
::::::::::::::
speed-max
::::::::::::::
0
::::::::::::::
speed-min
::::::::::::::
0
#####################

mhh why are all of these parameters zero ??
-----------------------------------------------------------------------
/proc/acpi/processor/CPU1/info:

processor id:            0
acpi id:                 1
bus mastering control:   no
power management:        yes
throttling control:      no
performance management:  no
limit interface:         no

/proc/acpi/processor/CPU1/throttling
<not supported>

whats going on here ???
why is throtteling not supported ??

-----------------------
other question:
is there a way to run cpufreqd with libc 2.2.5-11.5 (debian woody - stable) ??

thank you .
bye,berni

#1 lore raw
Quoted 6 lines · Bernhard Bauch

hi!
i just patched kernel-2.4.23 with cpufreq and it worked :)
########################
/var/log/dmes:
....
powernow: AMD K7 CPU detected.

[...]

Quoted 17 lines

everything seems to be OK, but:
################################

beatle:/proc/sys/cpu/0# more speed*
::::::::::::::
speed
::::::::::::::
0
::::::::::::::
speed-max
::::::::::::::
0
::::::::::::::
speed-min
::::::::::::::
0
#####################
Quoted 1 line

mhh why are all of these parameters zero ??

these are parameters for the userspace governor, try echo "0%0%100%userspace" > /proc/cpufreq

and play with them

Quoted 10 lines

-----------------------------------------------------------------------
/proc/acpi/processor/CPU1/info:

processor id:            0
acpi id:                 1
bus mastering control:   no
power management:        yes
throttling control:      no
performance management:  no
limit interface:         no
Quoted 5 lines

/proc/acpi/processor/CPU1/throttling
<not supported>

whats going on here ???
why is throtteling not supported ??

acpi throttling is not cpufreq :) (I remember detailed discussions on the topic either on this list or the acpi-devel one)

Quoted 4 lines

-----------------------
other question:
is there a way to run cpufreqd with libc 2.2.5-11.5 (debian woody - stable) ??

you could download the debian source package and make a woody deb from it. You actually need a couple of adjustments:
- remove the debconf version dependency from the debian/control file:
Build-Depends: debhelper (>> 4.0.0), debconf (>= 1.2.9)

                                               ^^^^^^^^^^

- modify following the line of debian/postinst from unset CPUFREQD_PM
to
[ -z ${CPUFREQD_PM} ] || unset CPUFREQD_PM

and build the binary deb as usual (see release notes on sourceforge).

write me off list if you need help

ciao

Signature · 2 lines
mattia
:wq!