From owner-freebsd-mobile@FreeBSD.ORG Mon Nov 15 16:11:07 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 90CEC16A4D0 for ; Mon, 15 Nov 2004 16:11:07 +0000 (GMT) Received: from dd1318.kasserver.com (dd1318.kasserver.com [81.209.148.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20DA943D2D for ; Mon, 15 Nov 2004 16:11:06 +0000 (GMT) (envelope-from gbergling@0xfce3.net) Received: from spot.md.0xfce3.net (port-ip-213-211-224-164.reverse.mdcc-fun.de [213.211.224.164]) by dd1318.kasserver.com (Postfix) with ESMTP id 82941AC08A; Mon, 15 Nov 2004 17:11:04 +0100 (CET) Received: from spot.md.0xfce3.net (localhost.md.0xfce3.net [127.0.0.1]) by spot.md.0xfce3.net (8.13.1/8.13.1) with ESMTP id iAFGAxRj001323; Mon, 15 Nov 2004 17:10:59 +0100 (CET) (envelope-from gbergling@0xfce3.net) Received: (from gordon@localhost) by spot.md.0xfce3.net (8.13.1/8.13.1/Submit) id iAFGAxmA001322; Mon, 15 Nov 2004 17:10:59 +0100 (CET) (envelope-from gbergling@0xfce3.net) X-Authentication-Warning: spot.md.0xfce3.net: gordon set sender to gbergling@0xfce3.net using -f Date: Mon, 15 Nov 2004 17:10:59 +0100 From: Gordon Bergling To: Bruno Ducrot Message-ID: <20041115161059.GA1273@spot.md.0xfce3.net> 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> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/04w6evG8XlLl3ft" Content-Disposition: inline In-Reply-To: <20041115145930.GM31422@poupinou.org> User-Agent: Mutt/1.4.2.1i X-Url: X-Operating-System: FreeBSD 5.3-STABLE i386 X-Host-Uptime: 5:01PM up 27 mins, 3 users, load averages: 0.81, 0.49, 0.34 cc: Alexandre Sunny Kovalenko cc: freebsd-mobile@freebsd.org Subject: Re: amd powernow on athlon xp-m 3000+ X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Gordon Bergling List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Nov 2004 16:11:07 -0000 --/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 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--