Re: amd powernow on athlon xp-m 3000+

Gordon Bergling <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
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 <[email protected]>	      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"
signature.asc (application/pgp-signature, 187 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBmNUSk7nTK8dvAqARAk59AJ9jRvONGw/B/PNmFrIiKBxULt++ZwCfVFTl
bXLaRbhR/ldWH4c4eeZKAZA=
=ylV3
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.