Date: Mon, 15 Nov 2004 17:10:59 +0100 From: Gordon Bergling <gbergling@0xfce3.net> To: Bruno Ducrot <ducrot@poupinou.org> Cc: freebsd-mobile@freebsd.org Subject: Re: amd powernow on athlon xp-m 3000+ Message-ID: <20041115161059.GA1273@spot.md.0xfce3.net> In-Reply-To: <20041115145930.GM31422@poupinou.org> References: <20041112190310.GA4574@nemesis.md.0xfce3.net> <20041112195629.GL31422@poupinou.org> <20041112232257.GA5904@nemesis.md.0xfce3.net> <1100429175.9172.2.camel@RabbitsDen> <20041114122125.GA6783@spot.md.0xfce3.net> <20041115145930.GM31422@poupinou.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--/04w6evG8XlLl3ft Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 > >=20 > > 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: > >=20 > > | if (retrieve_conf_from_bios() !=3D 0) > > | return EINVAL; > >=20 > > 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: > >=20 > > | Powernow: frequency scaling yes -- voltage scaling yes > > | AMD Powernow K7 <0kHz 1075mV> > >=20 > > 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. > >=20 > > If someone has any hints, I would be as pleased as a Punch. ;) > >=20 >=20 > There is two way to get the configuration from the bios for the > powernow-k7 technology: > - from acpi, > - from bios tables. >=20 > 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 (>=3D 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 --=20 Gordon Bergling <GBergling@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" --/04w6evG8XlLl3ft Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBmNUSk7nTK8dvAqARAk59AJ9jRvONGw/B/PNmFrIiKBxULt++ZwCfVFTl bXLaRbhR/ldWH4c4eeZKAZA= =ylV3 -----END PGP SIGNATURE----- --/04w6evG8XlLl3ft--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041115161059.GA1273>