PHC on Ubuntu 9.04

Inform yourself about whats going on with PHC. [READONLY]
Posts: 7
Joined: Tue 12. May 2009, 23:42

Re: PHC on Ubuntu 9.04

Post by starfly » Wed 13. May 2009, 10:11

iTS AN T3200, Notebook. Toshiba Sattelite U400 15G

Yes iam able to scale from 250 to 2Ghz...But the fan is running all the time...

I post the lsmod... maybe u can tell me which module to unload...

What Ive done :
-Dowloaded the source
-Menueconfig done like described
-Istalled the Kernel
-Restart... and scaling went from 1-2ghz from 250mhz to 2Ghz in 250Mhz Steps, ans fan is running all time in slow.

So i havent got to do anything, after building the kernel scaling went well, but fans running..
The n Ive buidl ur Phc modules, but can load it Message :

FATAL: Error inserting acpi_cpufreq (/lib/modules/ Device or resource busy
FATAL: Error running install command for acpi_cpufreq

My Lsmod :

Module Size Used by
tun 18820 1
iptable_filter 11008 1
ipt_MASQUERADE 11008 1
iptable_nat 13700 1
nf_nat 26260 2 ipt_MASQUERADE,iptable_nat
nf_conntrack_ipv4 21516 3 iptable_nat,nf_nat
nf_conntrack 72136 4 ipt_MASQUERADE,iptable_nat,nf_nat,nf_conntrack_ipv4
nf_defrag_ipv4 10240 1 nf_conntrack_ipv4
ip_tables 19472 2 iptable_filter,iptable_nat
x_tables 23300 3 ipt_MASQUERADE,iptable_nat,ip_tables
i915 65412 2
drm 96168 3 i915
binfmt_misc 16776 1
ppdev 15748 0
bridge 56212 0
stp 10756 1 bridge
bnep 20224 2
deflate 11008 0
zlib_deflate 28312 1 deflate
ctr 12416 0
twofish 15232 0
twofish_common 22144 1 twofish
camellia 27648 0
serpent 27392 0
blowfish 16512 0
des_generic 24832 0
cbc 11648 0
aes_i586 16000 0
aes_generic 36008 1 aes_i586
xcbc 12936 0
rmd160 19072 0
sha256_generic 20480 0
sha1_generic 10496 0
crypto_null 11264 0
af_key 35604 0
isofs 39972 0
udf 87844 0
crc_itu_t 10240 1 udf
lp 17156 0
parport 42476 2 ppdev,lp
joydev 18368 0
snd_hda_intel 432564 2
snd_pcm_oss 46208 0
snd_mixer_oss 22656 1 snd_pcm_oss
arc4 10112 2
snd_pcm 83204 2 snd_hda_intel,snd_pcm_oss
ecb 11008 2
iwlagn 100100 0
snd_seq_dummy 11012 0
iwlcore 92032 1 iwlagn
snd_seq_oss 38016 0
snd_seq_midi 14464 0
snd_rawmidi 29696 1 snd_seq_midi
led_class 12292 1 iwlcore
snd_seq_midi_event 15360 2 snd_seq_oss,snd_seq_midi
snd_seq 57008 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 29320 2 snd_pcm,snd_seq
snd_seq_device 15244 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
uvcvideo 63240 0
mac80211 215416 2 iwlagn,iwlcore
snd 62500 13 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
intel_agp 34236 1
compat_ioctl32 9472 1 uvcvideo
sdhci_pci 15360 0
soundcore 15456 1 snd
snd_page_alloc 17160 2 snd_hda_intel,snd_pcm
cfg80211 38288 3 iwlagn,iwlcore,mac80211
videodev 41728 1 uvcvideo
v4l1_compat 21892 2 uvcvideo,videodev
sdhci 23812 1 sdhci_pci
psmouse 61460 0
serio_raw 13572 0
agpgart 42440 3 drm,intel_agp
iTCO_wdt 19236 0
iTCO_vendor_support 11908 1 iTCO_wdt
input_polldev 12040 0
video 25232 0
output 11136 1 video
ohci1394 38448 0
ieee1394 93636 1 ohci1394

If now someone will bring the fan to normal rotation, it will be perfect... maybe other kernel menueconfigs for my notebook needed ?!

Posts: 346
Joined: Wed 9. Jul 2008, 19:57

Re: PHC on Ubuntu 9.04

Post by the-fallen » Wed 13. May 2009, 15:12

hmm, can you give me the output of

ls /sys/devices/system/cpu/cpu0

and if there is a subdirectory within "/sys/devices/system/cpu/cpu0" named "cpufreq", can you give he output of

ls /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver


I think it is strange that you are now able to set that frequencies ... I hope we can find out whats wrong with your System.

Posts: 7
Joined: Tue 12. May 2009, 23:42

Re: PHC on Ubuntu 9.04

Post by starfly » Wed 13. May 2009, 15:48

Okay heres the Output of :ls /sys/devices/system/cpu/cpu0

cache cpufreq cpuidle crash_notes topology

Yes theres the cpufreq directory and theres the file u want, but theres no output, when i try to open it via texteditor, my system says "error, no such device etc" ---> Simple : The file isnt openable.

Did i use the right source ? /usr/src/linux-source-2.6.28 from Synaptic

Its really strange, theres nothing loaded, but i cant load anything, the recource or device is always busy...packages like cpufreq etc. are not installed to.

But fan is still running, setting up my 3rd kernel... but its always this fan problem...booting standart ubuntu kernel, the fan wors well directly !

Maybe iam to stupid... But correct me, the procedure :
-Loading source, Menueconfig,Bulding it, INstall it.
-Reload system, prepare make, make , make install (in phc directory)
-Disable old module, load new one...

Okay up to disabling old module everything works...but pc says, acpi_cpufreq isnt found in modules and
ive got some times that the phc-intel (when i try to load it anyway) that it is in wrong format.

Posts: 7
Joined: Tue 12. May 2009, 23:42

Re: PHC on Ubuntu 9.04

Post by starfly » Wed 13. May 2009, 22:11

Its freakin me :D

When i ONLY compile the Kernel New, with your Menu Parameters, ive got 8 Throtteling states. Perfect...

All without phc patch, i will be satisfied with it, if it will run quite...

It seems, after new compiling and installing, that the fan is working all time in low mode...

Normaly it was sometimes @ 1GHZ
But now @ 250MHZ its running slow alltime..

when theres a solution for the fan, i will be satisfied ;)

Are u sure i use right source ?

ITs the source in synapic called "with ubutu patches" But ive read here in an topic ive got to use a clean one, from where ? all modules i want to add now

FATAL: Error inserting phc_intel (/lib/modules/ Invalid module format

its with any module now...hmmm

Posts: 346
Joined: Wed 9. Jul 2008, 19:57

Re: PHC on Ubuntu 9.04

Post by the-fallen » Thu 14. May 2009, 07:13

With "a clean one" we mean that you should use a source-directory where no previous compilings or rests of it can be found (e.g. if you used that source once before to make a kernel and you did not "make clean" before the new run).

The ubuntu Kernel source should work. If you really want to use a vanilla Kernel (the original, non-distribution one) you can find them on

The same regarding a clean source had to be considered with the offtree package.
If you extracted the archive and compiled the module once, you should either delete that directory and extract the package again or type "make clean" within a terminal to be sure it is clean. If not "make" will not make a new module because it sees that there is already everything there. And then it may be that the module does not match the kernel you are running on.

Posts: 7
Joined: Tue 12. May 2009, 23:42

Re: PHC on Ubuntu 9.04

Post by starfly » Fri 15. May 2009, 07:40

hmm...i dont know why and i dont know how, but after all my kernel tricks, ive got to make a new system ;-)

tryin it again... becaus taking vanilla gives ma just like ubuntu, only 4 stages.

Compiling the sources, like u described, 12 stages. It could all be nice, if the fan isnt klling my nerves ;-)
settiing up new system, trying again !

Posts: 7
Joined: Tue 12. May 2009, 23:42

Re: PHC on Ubuntu 9.04

Post by starfly » Fri 15. May 2009, 11:24

Done, Output ( Here in Order : )

root@ubuntu:~# rmmod acpi-cpufreq
ERROR: Module acpi_cpufreq does not exist in /proc/modules
root@ubuntu:~# modprobe phc-intel
WARNING: All config files need .conf: /etc/modprobe.d/options, it will be ignored in a future release.
FATAL: Error inserting phc_intel (/lib/modules/2.6.30-5-generic/extra/phc-intel.ko): Device or resource busy

Posts: 4
Joined: Sun 3. May 2009, 14:41

Re: PHC on Ubuntu 9.04

Post by groms » Sat 16. May 2009, 15:02

the-fallen wrote: sudo apt-get install build-dep linux fakeroot build-essential makedumpfile linux-source
I had to install 'kernel-package' package instead of 'build-dep':
sudo apt-get install kernel-package linux fakeroot build-essential makedumpfile linux-source libncurses5 libncurses5-dev
the-fallen wrote: Finally compile the Kernel:
fakeroot make-kpkg --initrd --append-to-version=-phc001 kernel-image kernel-headers
the above command didn't work, I used instead:
make-kpkg --rootcmd fakeroot --initrd --append-to-version=-phc kernel-image kernel-headers

Posts: 8
Joined: Mon 6. Jul 2009, 16:04

Re: PHC on Ubuntu 9.04

Post by rubenvb » Mon 6. Jul 2009, 18:23

Will the current kernel module work with the new (unstable) 2.6.31 kernel? I'm planning on going to Karmic Alpha, but this is really holding me back.

Posts: 346
Joined: Wed 9. Jul 2008, 19:57

Re: PHC on Ubuntu 9.04

Post by the-fallen » Mon 6. Jul 2009, 21:55

Hey and welcome to linux-PHC.

Another user asked that Question already.

Sure the next Kernel will also be supported as soon as possible.
You can use the patch for 3.6.30 as well. There are some hunks during the patch process but that is not a problem.

His quesion and a matching answear is somewhere here in this forum.
I am sorry that I can not post the link. Have no time. Good luck and good success with the .31 as well es you already had ;)

Post Reply