#1 crash library missing

closed
nobody
None
5
2003-11-24
2003-11-19
Anonymous
No

i have this output afer start

icke:/tmp/cpufreqd-1.1-rc1 # /usr/local/bin/cpufreqd -D
load_libraries(): /usr/local/lib/libsys_POWER.so: cannot open
shared object file: No such file or directory
Cannot open shared libraries.
Exiting.

what ist the libsys_POWER.so library? This is not from program
installed.

Config ist unchanged.

Discussion

1 2 > >> (Page 1 of 2)
  • Mattia Dongili
    Mattia Dongili
    2003-11-20

    Logged In: YES
    user_id=584271

    libsys_POWER.so doesn't exist. Cpufreqd concatenates
    libsys_{pm_type-config-option}.so
    In your config file you can find
    pm_type=acpi (read cpufreqd.conf for more available values).
    It uses this option. Could you send me your config file?
    thanks
    --
    mattia

     
  • Mattia Dongili
    Mattia Dongili
    2003-11-20

    • assigned_to: nobody --> mattia-san
     
  • Logged In: NO

    [General]
    pidfile=/var/run/cpufreqd.pid
    poll_interval=2
    pm_type=acpi #(acpi, apm or pmu)
    # Uncomment the following line to enable ACPI workaround (see
    cpufreqd.conf(5))
    # acpi_workaround=1
    verbosity=4 #(if you want a minimal logging set to 5)

    [Profile]
    name=hi_boost
    minfreq=66%
    maxfreq=100%
    policy=performance

    [Profile]
    name=medium_boost
    minfreq=33%
    maxfreq=66%
    policy=performance

    [Profile]
    name=lo_boost
    minfreq=0%
    maxfreq=33%
    policy=performance

    [Profile]
    name=lo_power
    minfreq=0%
    maxfreq=33%
    policy=powersave

    # conservative mode when not AC
    [Rule]
    name=conservative
    ac=off # (on/off)
    battery_interval=0-100
    cpu_interval=0-40
    profile=lo_boost

    # need some power
    [Rule]
    name=lo_cpu_boost
    ac=off # (on/off)
    battery_interval=0-100
    cpu_interval=30-80
    profile=medium_boost

    # need big power (not if battery very low)
    [Rule]
    name=hi_cpu_boost
    ac=off # (on/off)
    battery_interval=50-100
    cpu_interval=70-100
    profile=medium_boost

    # full power when AC
    [Rule]
    name=AC_on
    ac=on # (on/off)
    profile=hi_boost

    # full power when watching DVDs and not AC:
    # this is the last rule and takes less
    # precedence with respect to the others
    [Rule]
    name=dvd_watching
    ac=off # (on/off)
    battery_interval=0-100
    programs=xine,mplayer,avidemux
    cpu_interval=0-100
    profile=hi_boost

     
  • Logged In: NO

    [General]
    pidfile=/var/run/cpufreqd.pid
    poll_interval=2
    pm_type=acpi #(acpi, apm or pmu)
    # Uncomment the following line to enable ACPI workaround (see
    cpufreqd.conf(5))
    # acpi_workaround=1
    verbosity=4 #(if you want a minimal logging set to 5)

    [Profile]
    name=hi_boost
    minfreq=66%
    maxfreq=100%
    policy=performance

    [Profile]
    name=medium_boost
    minfreq=33%
    maxfreq=66%
    policy=performance

    [Profile]
    name=lo_boost
    minfreq=0%
    maxfreq=33%
    policy=performance

    [Profile]
    name=lo_power
    minfreq=0%
    maxfreq=33%
    policy=powersave

    # conservative mode when not AC
    [Rule]
    name=conservative
    ac=off # (on/off)
    battery_interval=0-100
    cpu_interval=0-40
    profile=lo_boost

    # need some power
    [Rule]
    name=lo_cpu_boost
    ac=off # (on/off)
    battery_interval=0-100
    cpu_interval=30-80
    profile=medium_boost

    # need big power (not if battery very low)
    [Rule]
    name=hi_cpu_boost
    ac=off # (on/off)
    battery_interval=50-100
    cpu_interval=70-100
    profile=medium_boost

    # full power when AC
    [Rule]
    name=AC_on
    ac=on # (on/off)
    profile=hi_boost

    # full power when watching DVDs and not AC:
    # this is the last rule and takes less
    # precedence with respect to the others
    [Rule]
    name=dvd_watching
    ac=off # (on/off)
    battery_interval=0-100
    programs=xine,mplayer,avidemux
    cpu_interval=0-100
    profile=hi_boost

     
  • Mattia Dongili
    Mattia Dongili
    2003-11-21

    Logged In: YES
    user_id=584271

    I don't think this is the config file you're using... I
    can't understand where the hell this POWER string comes
    out... :)
    Try launching
    cpufreqd -D -V6
    you'll be able to find out which config file cpufreqd
    actually reads.

    Thanks

     
  • Logged In: NO

    parse_config(): reading configuration file /usr/local/etc/cpufreqd.conf
    parse_config(): Rule "conservative" has Profile "lo_boost"
    parse_config(): Rule "AC_on" has Profile "hi_boost"
    parse_config(): Rule "dvd_watching" has Profile "hi_boost"
    Starting operations.
    load_libraries(): /usr/local/lib/libsys_POWER.so: cannot open shared
    object file: No such file or directory
    Cannot open shared libraries.
    Exiting.

    oh, it have used the config in /usr/local/etc/.

    sorry!

    i have copy the config to /usr/local/etc and it running.

    can i see the MHz it used in the /proc directory. in the file
    /proc/cpufreq is only this
    ----
    minimum CPU frequency - maximum CPU frequency - policy
    ----

    is this normal?

    Bye Andreas

     
  • Mattia Dongili
    Mattia Dongili
    2003-11-22

    Logged In: YES
    user_id=584271

    No, having nothing as output when catting /proc/cpufreq is
    not much normal... :)
    You probably have to load some module depending on your
    processor (p4_clockmod, k7_powernow, speedstep_ich, ...).
    But this has nothing to do with cpufreqd (the userspace
    daemon), try to search the web or look into the cpufreq (the
    kernel project) mailing list archives.

    thanks,
    mattia

     
  • Mattia Dongili
    Mattia Dongili
    2003-11-22

    • assigned_to: mattia-san --> nobody
    • status: open --> closed
     
  • Mattia Dongili
    Mattia Dongili
    2003-11-22

    • status: closed --> open
     
  • Mattia Dongili
    Mattia Dongili
    2003-11-22

    Logged In: YES
    user_id=584271

    Also, I moved your report to the *Support Requests* instead
    of Bugs.

     
1 2 > >> (Page 1 of 2)