Hey all. I have a PowerBook G4 with Kubuntu 12.04 and the fan(s)? keeps coming on. They will stop for a few minutes and then fire right back up even when I'm doing the most minimal of tasks. They continue turning off and on, off and on throughout the entire session. When I run the top command in the terminal nothing seems to be hogging the CPU. When I boot into OSX everything runs as quiet as a mouse with the fans only coming on after multiple hours of use. Is Kubuntu overheating my laptop? Or taxing the GPU? Has anyone else experienced this? Thanks in advance.
Announcement
Collapse
No announcement yet.
PowerBook G4 fans keep coming on?
Collapse
This topic is closed.
X
X
-
Fan speed should be pretty much related to cpu temperature, which in turn could be driven by cpu load, or i/o load or gpu load or other things. If you add the "System Monitor" widget to your panel or desktop, you can monitor CPU temperature and so on. This might help you understand what's triggering it.
Do you have cpu frequency scaling? /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor should show 'ondemand'
Lots of people seem to experience different fan behaviour between OSes on dual boot machines. For me, Ubuntu was much quieter than Windows on my last machine - can't really say on this one. It could be due to greater load caused by more processor or disk activity - but it could also be due to different set-points for when the fans come on. I've seen a "fancontrol" package that offers to help with this, but it doesn't seem to be in the repos now. Developers seem not very interested in this, perhaps because each motherboard is different, and perhaps because if you get it wrong you can fry your machine.
Do your fans only have "on" and "off" speeds? On my ASUS laptop, they vary smoothly which is much less disturbing than a sharp off-on ... but this is of no help to you!I'd rather be locked out than locked in.
- Top
- Bottom
-
Re the cpu temperature not working, maybe you don't have the right sensors available.
Install lm-sensors (this will do nothing if it's already installed)
Code:sudo apt-get install lm-sensors
Code:sensors
Code:echo ondemand | sudo tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
If it doesn't work check that
Code:cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
And/or go and read about kernel cpu frequency scaling ... linux-kernel:cpufreq [Analog Devices | Mixed-signal and Digital Signal Processing ICs] ... CPU Frequency Scaling ... Enabling CPU Frequency Scaling « Ubuntu Blog ...I'd rather be locked out than locked in.
- Top
- Bottom
Comment
-
I installed the lm-sensors and ran the sensors command. It returned 'No sensors detected!' It recommended running sensors-detect. I did. At the end of the test it indicated that no sensors were detected or the sensors were not supported. It gave a link to a lm-sensors wiki page. More homework. Yea. I find it hard to believe that there are NO sensors because OSX must have some way of regulating temperature and fan control so I'm assuming that the sensors are just not supported in Linux.
I also ran the sudo tee command and it did not change the setting of the scaling_governor file. It still reads 'performance'. And I ran the final command and 'ondemand' IS listed as one of the available governors. Thanks for the links. I will do some more research on my end.
- Top
- Bottom
Comment
-
I installed powertop via the terminal and did a system reboot. When I tried to run powertop it returned this error message in the terminal.
Code:Cannot load from file /var/cache/powertop/saved_results.powertop Cannot load from file /var/cache/powertop/saved_parameters.powertop
- Top
- Bottom
Comment
-
Pan-Galactic QuordlepleenSo Long, and Thanks for All the Fish
- Jul 2011
- 9524
- Seattle, WA, USA
- Send PM
Originally posted by Seraphim9 View PostI have discovered that the scaling_governor is set to 'performance'. How can I change this to 'ondemand'?
Code:grep -iE 'ondemand|performance|governor' /var/log/syslog
- Top
- Bottom
Comment
-
Here is the output of that command:
Code:Sep 15 13:43:34 Frankenstein kernel: [ 0.022996] MPC7450 family performance monitor hardware support registered Sep 15 13:43:40 Frankenstein kernel: [ 25.306253] ondemand governor failed, too long transition latency of HW, fallback to performance governor Sep 15 13:44:41 Frankenstein kernel: [ 85.768417] ondemand governor failed, too long transition latency of HW, fallback to performance governor Sep 15 13:51:34 Frankenstein kernel: [ 0.022995] MPC7450 family performance monitor hardware support registered Sep 15 13:51:39 Frankenstein kernel: [ 24.192722] ondemand governor failed, too long transition latency of HW, fallback to performance governor Sep 15 13:52:40 Frankenstein kernel: [ 84.529769] ondemand governor failed, too long transition latency of HW, fallback to performance governor Sep 15 21:03:46 Frankenstein kernel: [ 0.022994] MPC7450 family performance monitor hardware support registered Sep 15 21:03:53 Frankenstein kernel: [ 21.175451] ondemand governor failed, too long transition latency of HW, fallback to performance governor Sep 15 21:03:53 Frankenstein pbbuttonsd: INFO: Script '/etc/power/pmcs-pbbuttonsd performance ac ' lauched but exitcode is not null Sep 15 21:04:54 Frankenstein kernel: [ 82.062795] ondemand governor failed, too long transition latency of HW, fallback to performance governor Sep 15 21:39:41 Frankenstein kernel: [ 0.022993] MPC7450 family performance monitor hardware support registered Sep 15 21:39:46 Frankenstein kernel: [ 24.625808] ondemand governor failed, too long transition latency of HW, fallback to performance governor Sep 15 21:40:46 Frankenstein kernel: [ 84.927336] ondemand governor failed, too long transition latency of HW, fallback to performance governor Sep 16 12:03:43 Frankenstein kernel: [ 0.023010] MPC7450 family performance monitor hardware support registered Sep 16 12:03:48 Frankenstein kernel: [ 24.629745] ondemand governor failed, too long transition latency of HW, fallback to performance governor Sep 16 12:04:48 Frankenstein kernel: [ 84.901434] ondemand governor failed, too long transition latency of HW, fallback to performance governor
- Top
- Bottom
Comment
-
All those linesondemand governor failed, too long transition latency of HW, fallback to performance governor
Some web searching suggests that the p4-clockmod kernel module may have something to do with it
Code:lsmod|grep clockmod
Code:cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_transition_latency
I'd rather be locked out than locked in.
- Top
- Bottom
Comment
-
Pan-Galactic QuordlepleenSo Long, and Thanks for All the Fish
- Jul 2011
- 9524
- Seattle, WA, USA
- Send PM
Thanks, SecretCode. Indeed, the transition latency error was what I suspected. From there, I was planning to Google a bit using that along with "powerbook" as search terms; it appears you've already done that.
- Top
- Bottom
Comment
Comment