Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Nov 2004 13:21:25 +0100
From:      Gordon Bergling <gbergling@0xfce3.net>
To:        Alexandre Sunny Kovalenko <Alex.Kovalenko@verizon.net>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: amd powernow on athlon xp-m 3000+
Message-ID:  <20041114122125.GA6783@spot.md.0xfce3.net>
In-Reply-To: <1100429175.9172.2.camel@RabbitsDen>
References:  <20041112190310.GA4574@nemesis.md.0xfce3.net> <20041112195629.GL31422@poupinou.org> <20041112232257.GA5904@nemesis.md.0xfce3.net> <1100429175.9172.2.camel@RabbitsDen>

next in thread | previous in thread | raw e-mail | index | archive | help

--W/nzBZO5zC0uMSeA
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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 notebo=
ok
> > > > with an AMD Athlon XP-M 3000+ cpu?
> > >=20
> > > What say http://www.poupinou.org/cpufreq/bsd/dump_psb.c ?
> >=20
> > It say nothing. ;)
> >=20
> > 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() !=3D 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

	=09

--=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"

--W/nzBZO5zC0uMSeA
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBl03Ek7nTK8dvAqARAqTMAJ9dLCrr31A9oUXrXS9oDhwd6g8SMACeN3tO
F0mxwsfcvcJ4WCHUYvgUkVM=
=BQHe
-----END PGP SIGNATURE-----

--W/nzBZO5zC0uMSeA--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041114122125.GA6783>