Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cpufreq stopped working after bios "upgrade"
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Akkara
Bodhisattva
Bodhisattva


Joined: 28 Mar 2006
Posts: 6702
Location: &akkara

PostPosted: Mon May 18, 2009 7:41 am    Post subject: cpufreq stopped working after bios "upgrade" Reply with quote

This is a strange one.

<Background>
Have a Asus P5KC mobo with E6850 cpu. It worked OK but on power-up it sometimes failed to start. I'd have to cycle power several times before it would POST. Once booted it ran fine. Memtest and all that passes; been using this system for over a year and it runs OK, except for the power-up thing.

Which wasn't a big issue since I usually kept it on 24/7. But the weather is getting hot again, and even at 120 watts idle it kicks up a quite bit of heat. So I wanted to be able to turn it off when not using it, without fear that it might never turn back on again. I suspected it might have been a bios bug and went looking if there's a new bios.
</Background>

Sure enough, there was a bios update, and it seems to fix the power-up difficulties I had had. (It appears the bug didn't always set the ram timings correctly which is what was causing the failures.)

However after the bios update (from v.0701 to v.1203), it seems to have lost the ability to switch cpu frequency.

I turned on cpufreq-debug in the kernel. This is what shows up in /var/log/messages:
Code:
May 17 23:58:17 moo acpi-cpufreq: acpi_cpufreq_init
May 17 23:58:17 moo acpi-cpufreq: acpi_cpufreq_early_init
May 17 23:58:17 moo cpufreq-core: trying to register driver acpi-cpufreq
May 17 23:58:17 moo cpufreq-core: adding CPU 0
May 17 23:58:17 moo acpi-cpufreq: acpi_cpufreq_cpu_init
May 17 23:58:17 moo acpi-cpufreq: No P-States
May 17 23:58:17 moo cpufreq-core: initialization failed
May 17 23:58:17 moo cpufreq-core: adding CPU 1
May 17 23:58:17 moo acpi-cpufreq: acpi_cpufreq_cpu_init
May 17 23:58:17 moo acpi-cpufreq: No P-States
May 17 23:58:17 moo cpufreq-core: initialization failed
May 17 23:58:17 moo cpufreq-core: no CPU initialized for driver acpi-cpufreq
May 17 23:58:17 moo cpufreq-core: unregistering CPU 0
May 17 23:58:17 moo cpufreq-core: unregistering CPU 1


The kernel is 2.6.28-gentoo-r5

It was built with X86_ACPI_CPUFREQ enabled, which ought to cover the intel speed-step thing, and which did work previously. I tried disabling that and using X86_SPEEDSTEP_CENTRINO instead, in case the bug was something related to the newer driver. But that made no noticeable difference.

I tried playing around with various bios options - things along the lines of enable/disable acpi version 2 tables and some related others that I don't remember what they were. None of this seems to make a difference.

So it is fix one thing, break another.

Anyone have other ideas I can try? I haven't tried flashing back to the previous bios and I don't really feel like that now since doing so clears all the setups and it is a pain to recover since its default ram timings don't work.

(Aside: I never was able to get suspend-to-ram to work on this machine, either, regardless of bios version. Ideas on where to look for that one would also be welcome. Suspend works great on the laptop - I just enabled the stuff in the kernel and that was that, it worked.)

Thanks!
Back to top
View user's profile Send private message
Exil
Apprentice
Apprentice


Joined: 10 Oct 2005
Posts: 251
Location: Nibylandia

PostPosted: Mon May 18, 2009 10:10 am    Post subject: Reply with quote

EIST option has to be enabled. Check that.
Back to top
View user's profile Send private message
Akkara
Bodhisattva
Bodhisattva


Joined: 28 Mar 2006
Posts: 6702
Location: &akkara

PostPosted: Mon May 18, 2009 11:06 am    Post subject: Reply with quote

Thanks for the reply!

Exil wrote:
EIST option has to be enabled. Check that.


By "EIST", do you mean this one?
make xconfig wrote:
Intel Enhanced SpeedStep (deprecated) (X86_SPEEDSTEP_CENTRINO)

I had tried that one earlier, and it didn't help.

There are three related options that I can see:
    1. ACPI Processor P-States driver (X86_ACPI_CPUFREQ)
    2. AMD Opteron/Athlon64 PowerNow! (X86_POWERNOW_K8)
    3. Intel Enhanced SpeedStep (deprecated) (X86_SPEEDSTEP_CENTRINO)

I had been using the first one. I turned that off and turned on the last one, with no change: same messages as quoted previously in /var/log/messages, cpufreq still not working.

I didn't try with both #1 and #3 turned on. The help-text of those options suggests only one of them should be used. Or did you mean to suggest to use both or all three at the same time?
Back to top
View user's profile Send private message
x22
Apprentice
Apprentice


Joined: 24 Apr 2006
Posts: 208

PostPosted: Mon May 18, 2009 11:49 am    Post subject: Reply with quote

EIST is Intel Enhanced Speedstep. You may need to enable it in BIOS.

ACPI P-states (X86_ACPI_CPUFREQ) is probably the correct driver.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum