Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Nov 2004 15:59:30 +0100
From:      Bruno Ducrot <ducrot@poupinou.org>
To:        Gordon Bergling <gbergling@0xfce3.net>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: amd powernow on athlon xp-m 3000+
Message-ID:  <20041115145930.GM31422@poupinou.org>
In-Reply-To: <20041114122125.GA6783@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>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



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