LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 07-06-2006, 10:41 AM   #1
mgjrr16888
LQ Newbie
 
Registered: Jul 2006
Posts: 4

Rep: Reputation: 0
cpu frequency scaling problem on HP DV1381


Hardware:HP DV1381,CM 1.5G.
Software:FC6 Test1(FC5 has the same problem),kernel is 2.6.17.
I cannot use cpu frequency scaling.I'm sure I configured the kernel correct.But in the directory /sys/devices/system/cpu/cpu0 there isn't a directory named cpufreq,just a file named crash_notes,in this file just one line:
1f5d3ac4
The service cpufreq is stoped,and cannot be started.
In the log file there is one line:
Jul 6 01:08:34 localhost kernel: ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3])
Then I download cpufrequtils.When configuring it,such information displayed:
checking sysfs/libsysfs.h usability... no
checking sysfs/libsysfs.h presence... no
checking for sysfs/libsysfs.h... no
*********************************************************************
*** ERROR WHILE CONFIGURING LIBCPUFREQ ***
*** Failed to detect libsysfs header files and/or library ***
*********************************************************************
*********************************************************************
*** ERROR WHILE CONFIGURING LIBCPUFREQ ***
*** At least one of /sys support or /proc support MUST be enabled ***
*********************************************************************
configure: error: At least one of /sys support or /proc support MUST be enabled
configure: error: /bin/sh './configure' failed for libcpufreq

Now I tryed the command:
mount -t sysfs sysfs /sys
It shows the sysfs has already mounted.
What should I do?
 
Old 07-08-2006, 08:58 PM   #2
ciotog
Member
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 728
Blog Entries: 2

Rep: Reputation: 43
Have you tried installing the sysfsutils, which includes libsysfs?

http://linux-diag.sourceforge.net/Sysfsutils.html
 
Old 07-10-2006, 12:06 AM   #3
mgjrr16888
LQ Newbie
 
Registered: Jul 2006
Posts: 4

Original Poster
Rep: Reputation: 0
There sysfsutils ver 1.3.0 has already installed.Then I upgrade it to ver 2.0.
And also I installed cpufrequtils0.4 and cpufreqd 2.1.1.
I run cpufred,there is nothing output.Using ps -aux show that it is already running.
But when run cpufreq-info it says there is no cpufreqd socket. There is also a crash_note in the directory /sys/devices/system/cpu/cpu0 and hasn't a directory named cpufreq there.
 
Old 07-10-2006, 01:28 AM   #4
ciotog
Member
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 728
Blog Entries: 2

Rep: Reputation: 43
Well I don't know too much about the Celeron M processor, but according to the following review it doesn't support "Enhanced Speedstep":
http://www.mobilityguru.com/2004/03/...ino/index.html

This suggests to me that it doesn't do frequency scaling. You could also check through Intel's datasheet for more details:
http://www.intel.com/design/mobile/datashts/300302.htm
 
Old 07-10-2006, 01:41 AM   #5
ciotog
Member
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 728
Blog Entries: 2

Rep: Reputation: 43
Would you mind giving the output of "cat /proc/cpuinfo | grep stepping"?
 
Old 07-10-2006, 05:36 AM   #6
mgjrr16888
LQ Newbie
 
Registered: Jul 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Thank you very much.
This is the cpuinfo:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 13
model name : Intel(R) Celeron(R) M processor 1.50GHz
stepping : 8
cpu MHz : 1496.612
cache size : 1024 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe nx up
bogomips : 2996.84
 
Old 07-11-2006, 02:37 AM   #7
ciotog
Member
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 728
Blog Entries: 2

Rep: Reputation: 43
Ok, you might want to check out the following page by Michael Kupsch about configuring the ThinkPad R50e, which has the same processor:
http://www.mk-stuff.de/artikel/linux...pad_r50e/#freq

In particular, the cpufreqd.conf file.
 
Old 07-11-2006, 09:56 PM   #8
mgjrr16888
LQ Newbie
 
Registered: Jul 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Finally I made it.
The solution is to choose P4-M instead of PM.I thought the CM and PM are the same type,but I was wrong.
That article about ThinkPad R50e helps me a lot.Now the cpu frequency scaling works fine on my notebook.
You're really a warmhearted man and I would thank you again.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CPU Frequency Scaling runa Linux - Hardware 5 04-24-2011 11:23 AM
P4 and CPU Frequency scaling tkalfaoglu Linux - Kernel 3 05-31-2006 09:56 AM
CPU frequency-scaling cccc Linux - Hardware 1 03-22-2006 12:13 AM
cpu frequency scaling....anyone? alaios Linux - General 3 06-07-2005 10:51 AM
CPU frequency scaling on Pentium M Khang Linux - Laptop and Netbook 2 03-23-2005 06:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 03:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration