est module

Johannes Hofmann Johannes.Hofmann at gmx.de
Sat Jun 24 01:40:34 PDT 2006


Thomas Schlesinger <schlesinger at xxxxxxxxxxxxx> wrote:
> Am Samstag, 24. Juni 2006 05:19 schrieb YONETANI Tomokazu:
>> On Fri, Jun 23, 2006 at 05:44:54PM +0200, Thomas Schlesinger wrote:
>> > this is the output of your latetest version:
>> >
>> > Enhanced SpeedStep (1308 mV)  - unknown CPU or operating
>> > point(cpu_id:1752x, msr:0x6120d2606000d26).
>> > module_register_init: MOD_LOAD (est, df467edc, 0) error 45
>>
>> Ok, I added an alternate entry for your CPU(updated the source code on my
>> web server).  Although msr tells the highest and the lowest (freq, volt)
>> pairs, I used a guess for the second and the third pairs.  It's very likely
>> that you may have to adjust them.
> 
> Yonetani,
> 
> it seems, you've had success ;-) The new version gave me this:
> 
> Enhanced SpeedStep (1308 mV) 1733 MHz
> Enhanced SpeedStep frequencies available (MHz): 1729 1333 1067 798
> 
> 
> How can I control the CPU frequency? I've tried the estctrl hack from Johannes 
> Hofmann 
> (http://leaf.dragonflybsd.org/mailarchive/users/2006-05/msg00069.html), but 
> that didn't work with the  netbsd-based est module:
> 
> SchlesisNB# ./estctrl
> estctrl: Error reading supported CPU frequencies: No such file or directory
> 
> Thanks,
> Thomas

Hi Thomas,

the sysctl names have been changed to match those from NetBSD so that
we can use NetBSD estd. Use 

http://www.ecademix.com/JohannesHofmann/estd_pkgsrc-1.patch.gz

And call patch -p0 < estd_pkgsrc-1.patch in /usr/pkgsrc, then 
compile and install sysctl/estd.

Alternatively you can manually change the CPU frequency with e.g:

sysctl -w machdep.est.frequency.target=800

 Johannes





More information about the Users mailing list