amd powernow on athlon xp-m 3000+

Gordon Bergling gbergling at 0xfce3.net
Mon Nov 15 08:11:07 PST 2004


Hi Bruno,

On Mon Nov 15, 2004 at 03:59PM +0100, Bruno Ducrot wrote:
> On Sun, Nov 14, 2004 at 01:21:25PM +0100, Gordon Bergling wrote:
> > 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. ;)
> > 
> 
> There is two way to get the configuration from the bios for the
> powernow-k7 technology:
> - from acpi,
> - from bios tables.
> 
> at that time, powernow-k7 support only the legacy way (via bios tables),
> not acpi.  I guess yours will use acpi.  Could you please send to me
> (privately, due to the size) the output from:
> acpidump -t -d > name-system.asl
> so that we can check this is the problem?

The requested output can be found on
http://www.0xfce3.net/notebook/mdtp-fujisie7640.asl .

But due recent readings I find out that there are two versions of the
athlon xp-m 3000 cpu! The first version is based on the barton core and the
second one is based on the ahlon64 clamath (or so) core (with disabled
amd64 features). The cpu I have is the athlon64 based one. A few hours
ago I tried some linux livecds and no one could take use of the powernow-k7
module. Some newer kernels (>= 2.6.8) could use powernow-k8 with my cpu.

I think thats this situation isn't so simple solveable on the current
situation on FreeBSD. Please correct me if I am wrong. ;)

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/20041115/2faa20ee/attachment.bin


More information about the freebsd-mobile mailing list