You are not logged in.

#1 2006-04-03 14:10:14

Pilli
Member
Registered: 2004-09-01
Posts: 46

cpufrequtils problem after update

Hello!

I've a problem after update my system with pacman -Syu.

When system loads cpufreq i've this problem:
cpufreq-set: error while loading shared libraries: libsysfs.so.1: cannot open shared object file: No such file or directory

I try uninstall the cpufrequtils package and reinstall it but doesn't works

How can i fix it?

thanks.

Offline

#2 2006-04-03 14:31:09

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: cpufrequtils problem after update

cpufrequtils has been recompiled against sysfsutils 2.0.0 and additionally upgraded.  Please re-update (-Syu) when your mirror updates and try again.

Offline

#3 2006-04-03 14:33:24

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: cpufrequtils problem after update

There's a new version of cpufrequtils out today that will solve this - you just need to wait for it to reach your mirror.

Offline

#4 2006-04-03 15:05:44

m3thodic
Member
Registered: 2004-08-24
Posts: 67

Re: cpufrequtils problem after update

I did this for now:

[root@paradigm ~]# ln -sf /usr/lib/libsysfs.so.2 /usr/lib/libsysfs.so.1

cpu scaling works again.

Offline

#5 2006-04-03 15:57:23

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: cpufrequtils problem after update

m3thodic wrote:

I did this for now:

[root@paradigm ~]# ln -sf /usr/lib/libsysfs.so.2 /usr/lib/libsysfs.so.1

cpu scaling works again.

That's not a proper fix.  Any API changes will most likely segfault...

Offline

#6 2006-04-03 18:06:04

raskolnikov
Member
From: France
Registered: 2006-01-08
Posts: 100

Re: cpufrequtils problem after update

No need of cpufrequtils :

$ cat /etc/rc.local
#!/bin/sh
echo conservative > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

That's ok. And of course powernow-k7 in MODULES array of rc.conf wink

BTW the last update of this (cpufrequtils) package has overwriten my /etc/conf.d/cpufreq file, is this a normal comportement ? This file was not in NoUpgrade as if I remeber correctly, NoUpgrade was deprecated with last pacman package...


Excessive showering, grooming, and toothbrushing is not only vain, it wastes valuable coding time.

Offline

#7 2006-04-03 18:15:15

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: cpufrequtils problem after update

raskolnikov wrote:

No need of cpufrequtils :

$ cat /etc/rc.local
#!/bin/sh
echo conservative > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

That's ok. And of course powernow-k7 in MODULES array of rc.conf

Sure, that's pretty much what cpufrequtils do, however, they a) don't spawn a shell process and b) allow you to configure sudo to handle user-based changes.  It's just a nice wrapper for that.

raskolnikov wrote:

BTW the last update of this (cpufrequtils) package has overwriten my /etc/conf.d/cpufreq file, is this a normal comportement ? This file was not in NoUpgrade as if I remeber correctly, NoUpgrade was deprecated with last pacman package...

Errm, blame me - that file should be backed up.  Thankfully, it's not a giant config file.

Offline

#8 2006-04-03 18:25:17

raskolnikov
Member
From: France
Registered: 2006-01-08
Posts: 100

Re: cpufrequtils problem after update

phrakture wrote:

Errm, blame me - that file should be backed up.  Thankfully, it's not a giant config file.

Yes not a big deal, it just surprises me wink


Excessive showering, grooming, and toothbrushing is not only vain, it wastes valuable coding time.

Offline

Board footer

Powered by FluxBB