Hi Mattia,

Le 24.08.2008 17:24:03, Mattia Dongili a écrit :
>
>can you send me your cpufreqd.conf or even rebuild cpufreqd with
>debugging symbols and get a stack trace for this segfault?

Please find attached my config file.
I've rebuilt it with:
DEB_BUILD_OPTIONS=nostrip,noopt,debug dpkg-buildpackage -b

and launched it in gdb:

Hre is the gdb session:

(gdb) run -D
Starting program: /usr/sbin/cpufreqd -D
[Thread debugging using libthread_db enabled]
Error while reading shared library symbols:
Cannot find new threads: generic error
Cannot find new threads: generic error
(gdb) bt
#0  0x00007fcdd828f7b7 in ?? () from /lib64/ld-linux-x86-64.so.2
#1  0x00007fcdd828b366 in ?? () from /lib64/ld-linux-x86-64.so.2
#2  0x00007fcdd828f0eb in ?? () from /lib64/ld-linux-x86-64.so.2
#3  0x00007fcdd807afbb in ?? () from /lib/libdl.so.2
#4  0x00007fcdd828b366 in ?? () from /lib64/ld-linux-x86-64.so.2
#5  0x00007fcdd807b36c in ?? () from /lib/libdl.so.2
#6  0x00007fcdd807af21 in dlopen () from /lib/libdl.so.2
#7  0x0000000000407c01 in load_plugin (cp=0x182de28) at 
plugin_utils.c:179
#8  0x0000000000407a19 in load_plugin_list (plugins=0x182d468)
    at plugin_utils.c:128
#9  0x00000000004064c9 in init_configuration (configuration=0x182d010)
    at config_parser.c:638
#10 0x0000000000404867 in main (argc=2, argv=0x7fffe0497e38) at 
main.c:788
(gdb) quit


Regards

Jean-Luc
# this is a comment
# see CPUFREQD.CONF(5) manpage for a complete reference
#
# Note: ondemand/conservative Profiles are disabled because
#       they are not available on many platforms.

[General]
pidfile=/var/run/cpufreqd.pid
poll_interval=2
verbosity=4
enable_remote=1
#remote_group=root
[/General]

[acpi]
acpid_socket=/var/run/acpid.socket
[/acpi]

#[nforce2_atxp1]
#vcore_path=/some/path
#vcore_default=1500
#[/nforce2_atxp1]

[sensors_plugin]
sensors_conf=/etc/sensors3.conf
[/sensors_plugin]

# ondemand 1-2.2GHz
[Profile]
name=OnDemand High
minfreq=1000000
maxfreq=2200000
policy=ondemand
[/Profile]

# ondemand, 1-2GHz
[Profile]
name=OnDemand Low
minfreq=1000000
maxfreq=2000000
policy=ondemand
[/Profile]

# performance, 2.2GHz
[Profile]
name=Performance High
minfreq=2200000
maxfreq=2200000
policy=performance
#exec_post=echo 8 > /proc/acpi/sony/brightness
[/Profile]

# performance, 1.8GHz
[Profile]
name=Performance Low
minfreq=1800000
maxfreq=1800000
policy=performance
[/Profile]

# powersave, 1,8GHz
[Profile]
name=Powersave High
minfreq=1800000
maxfreq=1800000
policy=powersave
[/Profile]

# powersave, 1GHz
[Profile]
name=Powersave Low
minfreq=1000000
maxfreq=1000000
policy=powersave
[/Profile]

#[Profile]
#name=Conservative High
#minfreq=33%
#maxfreq=100%
#policy=conservative
#[/Profile]
#
#[Profile]
#name=Conservative Low
#minfreq=0%
#maxfreq=66%
#policy=conservative
#[/Profile]

# conservative mode when not AC
#[Rule]
#name=AC Off - Low Battery
#ac=off                   # (on/off)
#battery_interval=0-30
#exec_post=echo 3 > /proc/acpi/sony/brightness
#profile=Powersave Low
#[/Rule]

# use performance mode if I'm watching a movie
# I don't care for batteries! 
# But don't heat too much.
[Rule]
name=Movie Watcher
programs=xine,gxine,mplayer,gmplayer,vlc,totem
sensor=temp1:0-60
cpu_interval=ANY:0-100
profile=Performance High
[/Rule]

# Normal
[Rule]
name=Normal
sensor=temp1:0-65
#sensor=temp3:0-59
cpu_interval=ANY:0-100
profile=OnDemand High
[/Rule]

# CPU Hot (66-68) hi-cpu (60-100)
[Rule]
name=Hot Hi CPU
sensor=temp1:66-68
#sensor=temp3:60-64
cpu_interval=ANY:60-100
profile=OnDemand Low
[/Rule]

# CPU Hot (66-68) lo-cpu (0-59)
[Rule]
name=Hot Lo CPU
sensor=temp1:66-68
#sensor=temp3:60-64
cpu_interval=ANY:0-59
profile=Powersave Low
[/Rule]

# CPU Too hot > 68C
[Rule]
name=CPU Too Hot
sensor=temp1:69-100
#sensor=temp3:65-100
#cpu_interval=ANY:60-100
profile=Powersave High
[/Rule]


Attachment: pgpsS6L4Zz5lo.pgp
Description: PGP signature

Reply via email to