Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 16-01-2007, 10:26 AM   #1 (permalink)
Wire muncher!
 
infra_red_dude's Avatar
 
Join Date: Nov 2003
Posts: 6,164
Default wrong cpu speed detection in FC6 with cpuspeed daemon

the problem:
i haf a mobile pentium4 2.8ghz chip in my laptop which actually is a desktop p4 chip and supports the speedstep technology (NOT enhanced ss - multilevel but the p4 ss with 2 levels - 1.6ghz and 2.8ghz). fc6 kernel is 2.6.18-1.2798 (machine - i686, hardware platform - i386) tho the speed is correctly detected at 2799mhz at startup (i can see this wid dmesg | grep MHz), after booting the proc either runs at 668mhz or 692mhz.

solutions tried:
edited the /etc/cpuspeed.conf, enabled the DRIVER=p4-clockmod, upgraded to latest version of cpuspeed for fc6 i386.

observations:
it doesn't help, if i manually "cd" into /sys/devices/......./cpufreq the speed changes to 1.6ghz for a fraction of a second and reverts back to 668mhz. in this directory i can see the available scaling freq as 668000 and 692000.

fix required:
i want the speedstep to correctly work at 1.5g and 2.8g on load. kubuntu used to work perfectly! any help is much appreciated!
__________
edit: i tried cpudyn. the result is same (692mhz). i also tried cpufreqd. but it fails to start up as a daemon. should this be used in conjunction with something?
__________
currently i've disabled all the cpu speed scaling utilities and my system runs at 2.8g wid quite a lot of heat and fans whirling all the while. i had to do this coz the system wud become too sluggish!

anyone else facing this problem wid fc or any other distro?
__________
i'm also not able to activate the pre-configured ondemand perf in the kernel (in cpuspeed)
__________
with the cpufreq-info, i get to see that the driver used is speedstep-smi. but this driver is not present in the /lib/modules/2........../arch/cpu/..../ the only two files i can see are acpi-freq and p4-clockmod.
__________________
"The true measure of a man is how he treats someone who can do him absolutely no good."

http://phoenix-ani.blogspot.com

Last edited by infra_red_dude; 16-01-2007 at 10:26 AM. Reason: Automerged Doublepost
infra_red_dude is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 16-01-2007, 03:22 PM   #2 (permalink)
El mooooo
 
eddie's Avatar
 
Join Date: Jan 2006
Location: India
Posts: 1,414
Default Re: wrong cpu speed detection in FC6 with cpuspeed daemon

Could it be that Kubuntu came with a newer kernel version? It seems to be a problem with speedstep module. The little googling I did reveals that the problem was patched on Oct 18 last year and both the distros came after that date but since Kubuntu was supposed to be a little more "on-the-edge" they could have included the patch. Try upgrading your kernel.
eddie is offline  
Old 16-01-2007, 03:32 PM   #3 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: wrong cpu speed detection in FC6 with cpuspeed daemon

Of what I can see. Edgy runs 2.6.17 kernel whereas FC 6 uses 2.6.18.
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 16-01-2007, 03:47 PM   #4 (permalink)
El mooooo
 
eddie's Avatar
 
Join Date: Jan 2006
Location: India
Posts: 1,414
Default Re: wrong cpu speed detection in FC6 with cpuspeed daemon

No idea what version they are running but it seems the patch to the module is here
http://www.mail-archive.com/git-comm.../msg02607.html

The commit date is Oct 18...so it could be that the bug was introduced and fixed in series 18?
eddie is offline  
Old 17-01-2007, 12:41 AM   #5 (permalink)
Wire muncher!
 
infra_red_dude's Avatar
 
Join Date: Nov 2003
Posts: 6,164
Default Re: wrong cpu speed detection in FC6 with cpuspeed daemon

thanks

yes, kubuntu 6.06 has an older kernel.

also, any idea why the cpufreq daemon fails to start? where can i get the error log? one thing i'm not able to understand is that i do not haf speedstep-smi modules in the lib folder. then how can that be loaded?
__________
since the cpu speed scaling is controlled by acpi drivers, cud it be a problem wid those? how do i go about rectifying it?
__________________
"The true measure of a man is how he treats someone who can do him absolutely no good."

http://phoenix-ani.blogspot.com

Last edited by infra_red_dude; 17-01-2007 at 12:41 AM. Reason: Automerged Doublepost
infra_red_dude is offline  
Old 17-01-2007, 01:08 PM   #6 (permalink)
Wise Old Owl
 
JGuru's Avatar
 
Join Date: Dec 2005
Location: Space-time continuum
Posts: 1,646
Default Re: wrong cpu speed detection in FC6 with cpuspeed daemon

@Infra_red_dude, To make the cpufreq daemon start, you have to add it to the "Sessions" -> "Startup Programs".
Someone using Kubuntu can help you on this, since I'm using Ubuntu (GNOME).
__________________
* Imagination is more important than knowledge.
-Albert Einstein
JGuru is offline  
Old 18-01-2007, 09:48 AM   #7 (permalink)
Wire muncher!
 
infra_red_dude's Avatar
 
Join Date: Nov 2003
Posts: 6,164
Default Re: wrong cpu speed detection in FC6 with cpuspeed daemon

yes i know that and it is added there. but as a daemon and as a commandline argument, it fails to start and i dunno where to look for the error log.
__________________
"The true measure of a man is how he treats someone who can do him absolutely no good."

http://phoenix-ani.blogspot.com
infra_red_dude is offline  
Old 20-01-2007, 06:41 PM   #8 (permalink)
El mooooo
 
eddie's Avatar
 
Join Date: Jan 2006
Location: India
Posts: 1,414
Default Re: wrong cpu speed detection in FC6 with cpuspeed daemon

When you start it as a command line argument...do you get any output on terminal window? Does it crash or gives some error? Does it have a verbose mode?
eddie is offline  
Old 20-01-2007, 10:23 PM   #9 (permalink)
Wire muncher!
 
infra_red_dude's Avatar
 
Join Date: Nov 2003
Posts: 6,164
Default Re: wrong cpu speed detection in FC6 with cpuspeed daemon

nope it doesn't give any errors. i just invoke the command /etc/init.d/cpufreqd start and it says: failed. thats it.. nothing more!
__________________
"The true measure of a man is how he treats someone who can do him absolutely no good."

http://phoenix-ani.blogspot.com
infra_red_dude is offline  
Old 24-01-2007, 09:13 PM   #10 (permalink)
El mooooo
 
eddie's Avatar
 
Join Date: Jan 2006
Location: India
Posts: 1,414
Default Re: wrong cpu speed detection in FC6 with cpuspeed daemon

/etc/init.d/cpufreqd is not the program itself. It is just a startup service of your distro that reads options from a conf file (most probably located in /etc) and tries to start cpufreq demon.

You can try to start the program directly by executing its binary. Just look in the /etc/init.d/cpufreqd file to know where the binary is located and execute it from terminal. That will give you an error.
eddie is offline  
Old 24-01-2007, 11:19 PM   #11 (permalink)
Wire muncher!
 
infra_red_dude's Avatar
 
Join Date: Nov 2003
Posts: 6,164
Default Re: wrong cpu speed detection in FC6 with cpuspeed daemon

yep eddie! thanks! i'll do in a week. am in chandigarh for week to spend hols
__________________
"The true measure of a man is how he treats someone who can do him absolutely no good."

http://phoenix-ani.blogspot.com
infra_red_dude is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +5.5. The time now is 03:09 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2