amd powernow on athlon xp-m 3000+

Gordon Bergling gbergling at 0xfce3.net
Sun Nov 14 04:24:09 PST 2004


Hi Alexandre,

On Sun Nov 14, 2004 at 05:46AM -0500, Alexandre Sunny Kovalenko wrote:
> On Sat, 2004-11-13 at 00:22 +0100, Gordon Bergling wrote:
> > On Fri Nov 12, 2004 at 08:56PM +0100, Bruno Ducrot wrote:
> > > On Fri, Nov 12, 2004 at 08:03:10PM +0100, Gordon Bergling wrote:
> > > > has anyone successfuly activated the powernow_k7 module on a notebook
> > > > with an AMD Athlon XP-M 3000+ cpu?
> > > 
> > > What say http://www.poupinou.org/cpufreq/bsd/dump_psb.c ?
> > 
> > It say nothing. ;)
> > 
> > I just compiled it with: 'cc -o dump_psb dump_psb.c' and ./dump_psb it
> > afterwards. I had run it under uid 0 and uid 1000. Both ways returned no
> > output. Is there anything special I should do?

> This is what I see on mine (had to run it as root).But
> mine is not 3000+ ;-(.
[...]

If I use the module I get these lines from kernel:
| Powernow: frequency scaling yes -- voltage scaling yes
| module_register_init: MOD_LOAD (powernow_k7, 0xc27fe488, 0) error 22

I just took a fast look at the source code of this module and it seems,
that the module dies at line 417 which has the following code:

| if (retrieve_conf_from_bios() != 0)
|                return EINVAL;

So it must have something todo with the retrieval of information from
the bios. I just tried to comment this 2 lines out and I get the
following lines from the kernel:

| Powernow: frequency scaling yes -- voltage scaling yes
| AMD Powernow K7 <0kHz 1075mV>

It seems that parts of the information are read correctly from the bios,
but some information are faulty. The problem is that this depth of
kernel hacking is behind my knowledge.

If someone has any hints, I would be as pleased as a Punch. ;)

best regards,

	Gordon

		

-- 
Gordon Bergling <GBergling at 0xfce3.net>	      http://www.0xFCE3.net/
PGP Fingerprint:  7732 9BB1 5013 AE8B E42C  28E0 93B9 D32B C76F 02A0
RIPE-HDL: MDTP-RIPE		"There is no place like 127.0.0.0/8"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-mobile/attachments/20041114/70dea891/attachment.bin


More information about the freebsd-mobile mailing list