From owner-freebsd-mobile@FreeBSD.ORG Mon Nov 15 14:59:53 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 5822F16A4CE for ; Mon, 15 Nov 2004 14:59:53 +0000 (GMT) Received: from poup.poupinou.org (poup.poupinou.org [195.101.94.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id E82DD43D2D for ; Mon, 15 Nov 2004 14:59:52 +0000 (GMT) (envelope-from ducrot@poupinou.org) Received: from ducrot by poup.poupinou.org with local (Exim) id 1CTiKI-0000hi-00; Mon, 15 Nov 2004 15:59:30 +0100 Date: Mon, 15 Nov 2004 15:59:30 +0100 To: Gordon Bergling Message-ID: <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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041114122125.GA6783@spot.md.0xfce3.net> User-Agent: Mutt/1.5.5.1+cvs20040105i From: Bruno Ducrot 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 List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Nov 2004 14:59:53 -0000 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? Cheers, -- Bruno Ducrot -- Which is worse: ignorance or apathy? -- Don't know. Don't care.