Author Topic: CPUFreq and .pae.bfs kernel  (Read 842 times)

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1730
  • Satyameva Jayate | Truth Alone Triumphs.
CPUFreq and .pae.bfs kernel
« on: December 18, 2012, 11:28:03 AM »
On my AMD E-450 based notebook and standard .bfs kernel, I could get cpufreq to work. But on the same installation on switching to .pae.bfs kernel it does not seem to work.
Here is the cpufreq-info output:
Code: [Select]
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
  no or unknown cpufreq driver is active on this CPU
  maximum transition latency: 0.00 ms.
analyzing CPU 1:
  no or unknown cpufreq driver is active on this CPU
  maximum transition latency: 0.00 ms.

No other settings have been changed.

I have set it up using the standard guidelines posted by Texstar. (I had to get the stepping values through online search)
Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6

Offline gseaman

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3789
Re: CPUFreq and .pae.bfs kernel
« Reply #1 on: December 29, 2012, 07:05:49 PM »
Is this the 2.6.38 or the 3.2 kernels?

Galen

Offline Yankee

  • Hero Member
  • *****
  • Posts: 1474
  • In theory, theory=practice, in practice ???
Re: CPUFreq and .pae.bfs kernel
« Reply #2 on: December 30, 2012, 11:08:25 AM »
curious...

/etc/modprobe.preload.d/cpufreq

which is a text file, does it look lik this :

p4-clockmod (or some other cpu driver)
cpufreq_performance
cpufreq_powersave
cpufreq_conservative
cpufreq_ondemand


or the same included in $lsmod

ASUS EeePc 900HA netbook  1.6 Ghz Atom CPU  1GB RAM
160 GB internal HD    Seagate 250 GB USB portable drive 
Intel ‎Mobile 945GSE Integrated Graphics Controller
Atheros AR242x/AR542x Wireless Network Adapter
Intel (N10/ICH7 Family) High Definition Audio
Dynex 5-Button Wired Optical Mouse
LXDE

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1730
  • Satyameva Jayate | Truth Alone Triumphs.
Re: CPUFreq and .pae.bfs kernel
« Reply #3 on: December 30, 2012, 11:09:36 PM »
Is this the 2.6.38 or the 3.2 kernels?

Galen

It is the 3.2 series.
Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6

Offline gseaman

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3789
Re: CPUFreq and .pae.bfs kernel
« Reply #4 on: December 30, 2012, 11:17:58 PM »
I will look at the configuration of the .bfs and .pae.bfs 3.2 kernels with regard to cpufreq modules. If there is a difference, I'll make sure the 3.4 kernels get it right.

Galen

Offline critter

  • Full Member
  • ***
  • Posts: 220
Re: CPUFreq and .pae.bfs kernel
« Reply #5 on: December 31, 2012, 01:07:28 AM »
I have no problem with the 3.2 kernels

$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
1600000                                                                                         
$ uname -r                                                                               
3.2.18-pclos2.pae.bfs                                                         
$ cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq
3601000

Abbreviated output from cpufreq-info:
$ cpufreq-info
analyzing CPU 0:
  driver: acpi-cpufreq
  CPUs which run at the same hardware frequency: 0 1 2 3
  hardware limits: 1.60 GHz - 3.60 GHz
  current CPU frequency is 1.60 GHz.

Color scheme © Old-Polack ;)
Motherboard   Gigabyte Z68X-UD3H-B3
Hard Drives      2 x Maxtor STM350032 500GB SATA
Memory      16GB RAM
Processor      Intel core i5 3.30GHz
Video         nVidia GeForce GT430
Sound      HDA Intel PCH
PCLinuxOS          KDE

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1730
  • Satyameva Jayate | Truth Alone Triumphs.
Re: CPUFreq and .pae.bfs kernel
« Reply #6 on: December 31, 2012, 10:54:03 PM »
I had a Intel Atom based netbook earlier and now have this AMD E450 based notebook. In both, I have noticed that the directory structure mentioned above does not exist.
There is /sys/devices/system/cpu/cpufreq/ which is blank and there is no "/sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq" (the bold part does not exist)


« Last Edit: December 31, 2012, 10:55:36 PM by sling-shot »
Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6

Offline critter

  • Full Member
  • ***
  • Posts: 220
Re: CPUFreq and .pae.bfs kernel
« Reply #7 on: December 31, 2012, 11:34:38 PM »
Did you remember to start the cpufreq service in pcc?

If you did and you have installed  both packages as per Tex's instructions then you may need to install the pwernowd package. This will also need to be started and set to start at boot in pcc.

Look here http://pastebin.com/pQpan64H

HTH  :)
Motherboard   Gigabyte Z68X-UD3H-B3
Hard Drives      2 x Maxtor STM350032 500GB SATA
Memory      16GB RAM
Processor      Intel core i5 3.30GHz
Video         nVidia GeForce GT430
Sound      HDA Intel PCH
PCLinuxOS          KDE

Offline Yankee

  • Hero Member
  • *****
  • Posts: 1474
  • In theory, theory=practice, in practice ???
Re: CPUFreq and .pae.bfs kernel
« Reply #8 on: January 01, 2013, 03:14:04 PM »
I had a Intel Atom based netbook earlier and now have this AMD E450 based notebook. In both, I have noticed that the directory structure mentioned above does not exist.
There is /sys/devices/system/cpu/cpufreq/ which is blank and there is no "/sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq" (the bold part does not exist)

My Atom has the second file "scaling_cur_freq" which is a one line text file with
the current cpu freq, of course.   

Trying loading cpufreq-set -r -g performance    manually from
the terminal.
ASUS EeePc 900HA netbook  1.6 Ghz Atom CPU  1GB RAM
160 GB internal HD    Seagate 250 GB USB portable drive 
Intel ‎Mobile 945GSE Integrated Graphics Controller
Atheros AR242x/AR542x Wireless Network Adapter
Intel (N10/ICH7 Family) High Definition Audio
Dynex 5-Button Wired Optical Mouse
LXDE

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1730
  • Satyameva Jayate | Truth Alone Triumphs.
Re: CPUFreq and .pae.bfs kernel
« Reply #9 on: January 11, 2013, 05:18:24 AM »
I want to clarify that at present I do not have that Atom which gave up the ghost due to motherboard issues. Presently all of my posts concern the AMD E450 based notebook by Samsung listed in my signature.

Trying cpufreq-set -r -g performance as root results in Segmentation fault
Present kernel tested with is 3.2.18-pclos2.pae.bfs
Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1730
  • Satyameva Jayate | Truth Alone Triumphs.
Re: CPUFreq and .pae.bfs kernel
« Reply #10 on: January 11, 2013, 05:19:43 AM »
Did you remember to start the cpufreq service in pcc?

If you did and you have installed  both packages as per Tex's instructions then you may need to install the pwernowd package. This will also need to be started and set to start at boot in pcc.

HTH  :)

Yes and no benefit.
Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6

Offline Yankee

  • Hero Member
  • *****
  • Posts: 1474
  • In theory, theory=practice, in practice ???
Re: CPUFreq and .pae.bfs kernel
« Reply #11 on: January 12, 2013, 01:19:06 PM »
Trying cpufreq-set -r -g performance as root results in Segmentation fault
Present kernel tested with is 3.2.18-pclos2.pae.bfs

Sorry, well then I'd say that package is broke.   If a driver is installed, the config
file setup, sometimes it doesn't work, and I manually run the commands in
rc.local, which isn't exactly right, of course.   If it seg faults, never had that
event happen in rc.local.   

I wish install would let it run at max speed only rather than on-demand anyway, which
appears to be the default.
ASUS EeePc 900HA netbook  1.6 Ghz Atom CPU  1GB RAM
160 GB internal HD    Seagate 250 GB USB portable drive 
Intel ‎Mobile 945GSE Integrated Graphics Controller
Atheros AR242x/AR542x Wireless Network Adapter
Intel (N10/ICH7 Family) High Definition Audio
Dynex 5-Button Wired Optical Mouse
LXDE

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1730
  • Satyameva Jayate | Truth Alone Triumphs.
Re: CPUFreq and .pae.bfs kernel
« Reply #12 on: January 16, 2013, 11:57:05 PM »
UPDATE:

Installed 3.4.11 BFS kernel from Testing.

cpufreq-info now shows :
Code: [Select]
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
  driver: powernow-k8
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 1000 ns.
  hardware limits: 825 MHz - 1.65 GHz
  available frequency steps: 1.65 GHz, 1.32 GHz, 825 MHz
  available cpufreq governors: ondemand, userspace, performance
  current policy: frequency should be within 825 MHz and 1.65 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 825 MHz (asserted by call to hardware).
analyzing CPU 1:
  driver: powernow-k8
  CPUs which run at the same hardware frequency: 1
  CPUs which need to have their frequency coordinated by software: 1
  maximum transition latency: 1000 ns.
  hardware limits: 825 MHz - 1.65 GHz
  available frequency steps: 1.65 GHz, 1.32 GHz, 825 MHz
  available cpufreq governors: ondemand, userspace, performance
  current policy: frequency should be within 825 MHz and 1.65 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 825 MHz (asserted by call to hardware).

No other changes were done.
Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6

Offline gseaman

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3789
Re: CPUFreq and .pae.bfs kernel
« Reply #13 on: January 17, 2013, 12:43:24 AM »
I upload a link to a 3.4.25-pclos1.pae.bfs for you to test. Then, I realized that this is not the testing section, so I took it out. :-X If you are interested in testing this, I can pm you a link.

Galen

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1730
  • Satyameva Jayate | Truth Alone Triumphs.
Re: CPUFreq and .pae.bfs kernel
« Reply #14 on: January 17, 2013, 12:50:39 AM »
Kindly do. I would be glad to test it out.
Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6