LinuxQuestions.org
Visit the LQ Articles and Editorials section
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
 
LinkBack Search this Thread
Old 11-03-2006, 06:52 AM   #1
sn_piranha
LQ Newbie
 
Registered: Jul 2004
Location: Constanta, Romania
Distribution: Slackware 10.0
Posts: 26

Rep: Reputation: 15
Intel Core Duo SpeedStep not working in FC6


I just bought a HP nx7400 laptop and naturally I wanted a good OS to go with it.

It has the following configuration:
* INTEL Core Duo Processor T2250 (1.73-GHz, 533-MHz FSB, 2-MB L2 cache)
* SoDimm 1024 Mb DDR2
* Notebook 2,5" 80-GB 5400 rpm SMART SATA
* Intel Graphics Media Accelerator 950 with up to 224-MB shared system memory
* ADI1981HD High Definition CODEC, Chipset 16-bit Sound Blaster Pro,
* NetXtreme (10/100 NIC) PCI Express Ethernet Controller
* Intel® Wireless LAN 802.11b/g
* etc.

I chose Fedora Core 6.

The installation went flawlessly (with the fan always on and acpi off).
First of all I solved the "bad state" issue by recompiling the kernel with psmouse as a module and removing the module before system shutdown/reboot.
Everything works fine, except that the CPU frequency scaling. CPU SpeedStepping just wouldn't work. I enabled speedsteping in the kernel, the intel enhanced speedstepping cpufreq driver, the governors etc.
It just wouldn't work (for example, the applet showing the cpu freq says "CPU freq. scaling unsupported").
Also there is no /sys/devices/system/cpu/cpu*/cpufreq/ dir
I edited the /etc/cpuspeed.conf file choosing the "speedstep_centrino" driver and rebooted but nothing seems to work.
My laptop is warmer than in Win and the battery life is poor. Please help!
Thanks!

Last edited by sn_piranha; 11-03-2006 at 08:01 AM.
 
Old 11-04-2006, 04:12 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,500

Rep: Reputation: 285Reputation: 285Reputation: 285
You probably have the wrong kernel installed. See this bug (which has the workaround). It is the root cause of this bug, which is the problem you're seeing.
 
Old 11-05-2006, 08:55 AM   #3
the.madjack
Member
 
Registered: Apr 2006
Distribution: Slackware 10.2
Posts: 52

Rep: Reputation: 15
hey..i have this problem on my dell inspiron 6400 as well. it's equipped with core 2 duo (merom) and i have installed fc6 on it as well. How can i enable speedstep in the kernel? i havent configure the kernel yet. But, obviously, the processors temperature is a lot higher than in win xp.
 
Old 11-05-2006, 09:00 AM   #4
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,500

Rep: Reputation: 285Reputation: 285Reputation: 285
Did you read the bugs in post #2? Does the problem described apply to you?
 
Old 11-10-2006, 11:17 AM   #5
sn_piranha
LQ Newbie
 
Registered: Jul 2004
Location: Constanta, Romania
Distribution: Slackware 10.0
Posts: 26

Original Poster
Rep: Reputation: 15
The 686 kernel doesn't solve the problem. Everything is exactly the same. No /sys/.../cpuX/cpufreq/ entry present. No support for cpu scaling whatsoever. When I try to modprobe speedstep_centrino, the result is device busy or no hardware support for speedstep.
 
Old 11-10-2006, 11:36 AM   #6
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,500

Rep: Reputation: 285Reputation: 285Reputation: 285
In that case, I would suggest contacting your vendor for a BIOS update. Other manufacturers Core Duo's are operating correctly. It looks like from my reading that the ondemand scheduler is used, since the frequency of the cores is tied together. That's caused some confusion since the frequency can't be independently controlled, but it is working on other machines.
 
Old 11-17-2006, 10:47 AM   #7
the.madjack
Member
 
Registered: Apr 2006
Distribution: Slackware 10.2
Posts: 52

Rep: Reputation: 15
Quote:
Originally Posted by macemoneta
Did you read the bugs in post #2? Does the problem described apply to you?
hi there. sorry for late. been busy with work lately. yeah, i applied the .i686 kernel to my fedora box and the error is gone. the cpuseed seems working well too but when i check the status with service cpuspeed status, it showed that the service is stopped.

the output of cpuinfo says that im at 1ghz while on battery. however, when i plugged in the AC, it still shows 1ghz. i need to restart the cpuspeed service to get back to full speed which is 1.67ghz.
 
Old 11-17-2006, 11:21 AM   #8
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,500

Rep: Reputation: 285Reputation: 285Reputation: 285
The purpose of the cpuspeed utility is to keep the processor running at its lowest required rate, to conserve power. To test if the throttling is working, open a terminal and run:

while true; do true; done

This is a CPU loop. Your system will go to 100%, and the panel CPU Frequency Scaling Monitor should show the CPU frequency increase. When you ctrl-c the above command line to stop the loop, you should see the CPU frequency return to its lowest possible state.

If you don't have the CPU Frequency Scaling Monitor on your panel, right click anywhere on an empty portion of the panel and select "Add to Panel" from the pop-up menu.

When cpuspeed determines that the ondemand scheduler is to be used, it sets it and exits (it doesn't need to be running).
 
Old 11-29-2006, 08:23 AM   #9
sn_piranha
LQ Newbie
 
Registered: Jul 2004
Location: Constanta, Romania
Distribution: Slackware 10.0
Posts: 26

Original Poster
Rep: Reputation: 15
PROBLEM SOLVED
Just go to the product driver/software page on the HP website and download the F08 BIOS image.
CPU Scaling now works.
 
Old 12-02-2006, 05:22 AM   #10
the.madjack
Member
 
Registered: Apr 2006
Distribution: Slackware 10.2
Posts: 52

Rep: Reputation: 15
Quote:
Originally Posted by macemoneta
The purpose of the cpuspeed utility is to keep the processor running at its lowest required rate, to conserve power. To test if the throttling is working, open a terminal and run:

while true; do true; done

This is a CPU loop. Your system will go to 100%, and the panel CPU Frequency Scaling Monitor should show the CPU frequency increase. When you ctrl-c the above command line to stop the loop, you should see the CPU frequency return to its lowest possible state.

If you don't have the CPU Frequency Scaling Monitor on your panel, right click anywhere on an empty portion of the panel and select "Add to Panel" from the pop-up menu.

When cpuspeed determines that the ondemand scheduler is to be used, it sets it and exits (it doesn't need to be running).
hi there.sorry for late reply. so, i tested the method suggested by you and managed to install CPU Freq Scaling Monitor on my Gnome. By default, the frequency is locked at 59% of my Merom's 1.67ghz processor. But when i did the cpu loop, it still run at the same freq. So, i single clicked on the icon and it allowed me to choose 3 options which are 1 Ghz, 1.33Ghz and 1.67Ghz. However, the Automatic button is invisible and unclickable. ???

btw, if i set to full speed, will the processors get overburned??
 
Old 12-02-2006, 11:01 AM   #11
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,500

Rep: Reputation: 285Reputation: 285Reputation: 285
Quote:
Originally Posted by the.madjack
hi there.sorry for late reply. so, i tested the method suggested by you and managed to install CPU Freq Scaling Monitor on my Gnome. By default, the frequency is locked at 59% of my Merom's 1.67ghz processor. But when i did the cpu loop, it still run at the same freq. So, i single clicked on the icon and it allowed me to choose 3 options which are 1 Ghz, 1.33Ghz and 1.67Ghz. However, the Automatic button is invisible and unclickable. ???

btw, if i set to full speed, will the processors get overburned??
The processors can run at full speed all the time - it just uses more power.

Have you checked to see if Dell has a BIOS upgrade for the Inspiron 6400? Dell's latest BIOS for the machine is version A09, dated 10/13/2006. Dells usually display the BIOS version when the machine is powered on.

You should also check that the scheduler has been set by your distribution:

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver
 
Old 12-02-2006, 12:21 PM   #12
the.madjack
Member
 
Registered: Apr 2006
Distribution: Slackware 10.2
Posts: 52

Rep: Reputation: 15
Quote:
Originally Posted by macemoneta
The processors can run at full speed all the time - it just uses more power.

Have you checked to see if Dell has a BIOS upgrade for the Inspiron 6400? Dell's latest BIOS for the machine is version A09, dated 10/13/2006. Dells usually display the BIOS version when the machine is powered on.

You should also check that the scheduler has been set by your distribution:

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver
hi there. i checked the Dell's new BIOS and it seems like im using the old BIOS. i doubt that this BIOS update will actually heals the problem. Anyway, im going to give it a try.

by the way, the output of cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver gives me "Centrino"

Thanks!
 
Old 12-02-2006, 12:58 PM   #13
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,500

Rep: Reputation: 285Reputation: 285Reputation: 285
Quote:
Originally Posted by the.madjack
hi there. i checked the Dell's new BIOS and it seems like im using the old BIOS. i doubt that this BIOS update will actually heals the problem. Anyway, im going to give it a try.

by the way, the output of cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver gives me "Centrino"

Thanks!
The BIOS controls how the Linux kernel interacts with the system via the ACPI interface. An error in the BIOS ACPI configuration frequently causes the operating system components to do the wrong thing.

"Centrino" is incorrect for your CPU; it should be "ondemand". After your BIOS upgrade, check again. If it is still a problem, upgrade your cpuspeed package.
 
Old 12-02-2006, 11:55 PM   #14
the.madjack
Member
 
Registered: Apr 2006
Distribution: Slackware 10.2
Posts: 52

Rep: Reputation: 15
upgraded the BIOS and it still the same. So, im looking for new cpuspeed but the latest release was dated back to 2005...no luck it seems...
 
Old 12-03-2006, 01:22 PM   #15
the.madjack
Member
 
Registered: Apr 2006
Distribution: Slackware 10.2
Posts: 52

Rep: Reputation: 15
hi..just wanted to let u guys know that the dynamic switching works now. i can see from cpu freq scaling monitor that it switches between 1ghz and 1.67ghz. Thanks a lot for helping out anyway!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Intel Core Duo Support ? bobbeck Linux - Hardware 8 01-10-2008 07:54 PM
[SOLVED] Intel Core Duo and Kernel 2.6.15 + MBA Whore Linux - Hardware 5 10-16-2006 06:43 PM
Intel Core Duo Vs Dual core zeky Linux - Hardware 4 09-23-2006 02:36 AM
Intel core duo vs. Pentium D colinstu General 0 06-19-2006 04:02 PM
Intel Core Duo Processor mtzo81 Linux - Laptop and Netbook 7 06-15-2006 01:34 PM


All times are GMT -5. The time now is 09:42 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration