Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel bit-rot: fans & CPU_FREQ setting disappeared [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
mounty1
l33t
l33t


Joined: 06 Jul 2006
Posts: 785
Location: Queensland

PostPosted: Thu Jun 03, 2010 2:46 am    Post subject: kernel bit-rot: fans & CPU_FREQ setting disappeared [SOL Reply with quote

Neither of these problems occurred on installation and I don't know what I've done to cause them.
  • /etc/init.d/cpufreqd start:
     * cpufreqd requires the kernel to be configured with CONFIG_CPU_FREQ
     * Make sure that the appropiate kernel drivers for your CPU are
     * built-in or loaded.
    cpufreqd         | * ERROR: cpufreqd failed to start
    Well, it is set.
  • The fans now run up to full speed in about a minute. They used to be governed.
/usr/src/linux/.config at http://www.pastebin.org/302144. Using gcc-config, I switched the 64 bit compiler to 4.2.4 and the problems arose. I switched back to 4.1.2 and did a make clean;make -s;make -s install modules_install but the problems persisted.

/etc/init.d/cpufrequtils starts before cpufreqd and appears to do so without error.
_________________
Michael Mounteney


Last edited by mounty1 on Thu Jun 03, 2010 12:07 pm; edited 1 time in total
Back to top
View user's profile Send private message
mounty1
l33t
l33t


Joined: 06 Jul 2006
Posts: 785
Location: Queensland

PostPosted: Thu Jun 03, 2010 5:48 am    Post subject: Don't know how it works Reply with quote

I've solved this by reverting to a last-known-good .config. I don't know what has introduced the error but am working through the config diffs and will post when I've determined what is the problem.

One point that I have discovered is that having your console frame buffer driver as a module is a bad idea. It isn't loaded automatically, and if you ssh into the box and modprobe it, the box hangs. This is all in my experience of course.
_________________
Michael Mounteney
Back to top
View user's profile Send private message
mounty1
l33t
l33t


Joined: 06 Jul 2006
Posts: 785
Location: Queensland

PostPosted: Thu Jun 03, 2010 7:33 am    Post subject: Found it Reply with quote

The errant symbol was CONFIG_CPU_FREQ_PMAC64. Maybe the error message from cpufreqd could have identified the correct symbol ? I don't know how easy it would be to do so. I'll put in a bug report if somebody thinks it's worthwhile.
_________________
Michael Mounteney
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Thu Jun 03, 2010 3:00 pm    Post subject: Reply with quote

It's probably not worthwhile, the part of the message that tells you to make sure to use the platform specific cpu frequency driver is telling you to set exactly that. Since the message applies to all architectures, it's not really appropriate to change it.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum