You are not logged in.

#1 2010-06-12 20:01:38

Lockheed
Member
Registered: 2010-03-16
Posts: 1,512

Configuration deadlock - can't go any further

The problem is, pacman freezes while installing xfce because my cpu overheats.
In order to do anything, I have to install cpupowerd to undervolt the processor (this is the only reason I am able to use Ubuntu on my laptop).
I already installed it but cannot run because loading required module cpufreq returns error

no such device found

So am stuck now.

Last edited by Lockheed (2010-06-12 20:02:16)

Offline

#2 2010-06-12 20:12:36

Coacher
Guest

Re: Configuration deadlock - can't go any further

What cpu do you have? Provide more info about your laptop.

#3 2010-06-12 20:13:50

Lockheed
Member
Registered: 2010-03-16
Posts: 1,512

Re: Configuration deadlock - can't go any further

AMD Turion X2 2ghz, nvidia 6450go.

Offline

#4 2010-06-12 20:34:22

Coacher
Guest

Re: Configuration deadlock - can't go any further

try

#modprobe -i acpi-cpufreq

or

#modprobe -i powernow-k8

#5 2010-06-13 12:14:37

Lockheed
Member
Registered: 2010-03-16
Posts: 1,512

Re: Configuration deadlock - can't go any further

Coacher wrote:

try

#modprobe -i acpi-cpufreq
FATAL: Error inserting acpi_cpufreq (/lib/modules/2.6.33.ARCH/kernel/arch-x86/kernel/cpu/cpufreq/acpi-cpufreq.ko): Device or resource busy

This is weird to see x86 since I am running amd64.

Offline

#6 2010-06-13 13:23:32

Coacher
Guest

Re: Configuration deadlock - can't go any further

What returns the second command?
And see wikipedia for x86-64.

#7 2010-06-13 13:24:02

Lockheed
Member
Registered: 2010-03-16
Posts: 1,512

Re: Configuration deadlock - can't go any further

The second command returns nothing.

Offline

#8 2010-06-13 13:47:35

Coacher
Guest

Re: Configuration deadlock - can't go any further

It means that module sucessfully loaded. Now you can try to enable one of the cpu governors that will clock down your cpu.
Do

#modprobe cpufreq_conservative
#echo "conservative" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

and thats all. For fine tuning read this
http://wiki.archlinux.org/index.php/Cpufrequtils

#9 2010-06-13 14:01:14

Lockheed
Member
Registered: 2010-03-16
Posts: 1,512

Re: Configuration deadlock - can't go any further

On the second command, I get Permission Denied.

Offline

#10 2010-06-13 14:05:31

Coacher
Guest

Re: Configuration deadlock - can't go any further

You run that as root, dont you?

#11 2010-06-13 14:06:44

Lockheed
Member
Registered: 2010-03-16
Posts: 1,512

Re: Configuration deadlock - can't go any further

Yes.
Besides, it would be far from all. That would just downclock the cpu, not unvervolt it.

Offline

#12 2010-06-13 14:16:15

Coacher
Guest

Re: Configuration deadlock - can't go any further

What says

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors

then?

#13 2010-06-13 14:17:08

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: Configuration deadlock - can't go any further

Would still help on the temperature. The big question tho is why your laptop isn't able to handle the cpu running at 100%, it should be able to with no problem.

Mybe the cooling is full of dust bunnies?


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#14 2010-06-13 15:50:37

Lockheed
Member
Registered: 2010-03-16
Posts: 1,512

Re: Configuration deadlock - can't go any further

No, because it is HP/Compaq  AKA   "We do not give a f*ck customers can fry eggs on our laptops".

Offline

#15 2010-06-13 19:08:08

linuxraptor
Member
Registered: 2009-05-09
Posts: 8

Re: Configuration deadlock - can't go any further

in laptops, underclocking and downscaling are about equivalent. you cannot scale down the cpu voltage without ruining latency times or losing performance. underclocking is a more elegant temporary solution.

good choice on xfce btw, it is also my personal favorite.

also, i keep a minifridge in my office. boot your laptop, type in your pacman command, hit enter and stick it in the fridge. ghetto, but effective smile

once xfce is installed, it should run without too much modification.

Offline

#16 2010-06-13 19:20:52

Lockheed
Member
Registered: 2010-03-16
Posts: 1,512

Re: Configuration deadlock - can't go any further

Thanks, but what you said is not true. Undervolting is possible (I was using in in WIndows and now in Ubuntu) and does not sacrifice any performance but saves power and decreases heat produced by CPU. FIrst, however, you need to measure how low can you go with the voltage without loosing stability.

Offline

#17 2010-06-13 19:30:13

stqn
Member
Registered: 2010-03-19
Posts: 1,191
Website

Re: Configuration deadlock - can't go any further

Be sure to run "echo "conservative" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor" as root and not with sudo. Just in case that's what you did... That would explain the "Permission denied".

Offline

#18 2010-06-14 04:33:51

Soumyadeep
Member
From: kolkata,India
Registered: 2009-09-09
Posts: 218

Re: Configuration deadlock - can't go any further

This is how I run cpupowerd to undervolt my proccy:

add "msr" and "powernow-k8" to the modules array in /etc/rc.conf.
download cpupowerd, go to the src directory in cpupowerd and a make && make install.
do a "cpupowerd -a /etc/cpupowerd.conf" as root, this will create a cpupowerd.conf file in ur /etc directory with the freqs and corresponding voltages.
edit cpupowerd.conf and specify voltages of ur choice.
copy the cpupowerd.sh file in the src directory to /etc as root.rename it to cpupowerd.
add cpupowerd to the daemons array in ur rc.conf , in this cpupowerd would start at boot.

Offline

#19 2010-06-14 10:48:06

Lockheed
Member
Registered: 2010-03-16
Posts: 1,512

Re: Configuration deadlock - can't go any further

So, when I run things from root account permission problem while loading modules is gone, but when I try to do anything with cpupowerd, I am getting

Governor userspace isn't available!
Initialisation failed.

Offline

#20 2010-06-14 13:59:06

stqn
Member
Registered: 2010-03-19
Posts: 1,191
Website

Re: Configuration deadlock - can't go any further

Loading the module should help:

sudo modprobe cpufreq_userspace

(and add "cpufreq-userspace" to your MODULES array in /etc/rc.conf so that it's done automatically at boot.)

Offline

#21 2010-06-14 17:01:13

Lockheed
Member
Registered: 2010-03-16
Posts: 1,512

Re: Configuration deadlock - can't go any further

Great, one problem solved but I graduated to the next one.
I described it here: http://bbs.archlinux.org/viewtopic.php? … 25#p774925

PS
It is impossible to load cpupowerd from rc.conf  because it will just load the program but will disregard conf file with lowered voltages and so I have to manually do
cpupowerd -d -c /etc/cpupowerd.conf

Offline

Board footer

Powered by FluxBB