All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Harald Dunkel" <harald.dunkel@t-online.de>
To: linux-kernel@vger.kernel.org
Cc: Harald Dunkel <harald.dunkel@t-online.de>
Subject: Re: amd64, 2.6.7: several problems
Date: Sun, 18 Jul 2004 11:57:33 +0200	[thread overview]
Message-ID: <40FA498D.7040309@t-online.de> (raw)
In-Reply-To: <40FA1A69.4090902@t-online.de>

Harald Dunkel wrote:
> 
> Next powernow-k8 refuses to load on my PC:
> 
> # modprobe powernow-k8
> FATAL: Error inserting powernow_k8 
> (/lib/modules/2.6.7/kernel/arch/x86_64/kernel/cpufreq/powernow-k8.ko): 
> No such device
> 
> This is strange. AFAIK all amd64 CPUs do have Powernow.
> The ACPI modules (expecially processor), freq_table and cpuid
> were all loaded. Whats wrong here?
> 

PS: dmesg said

powernow-k8: Found 1 AMD Athlon 64 / Opteron processors (version 1.00.09b)
powernow-k8: BIOS error - no PSB

I found this in powernow-k8.c.

:
if (powernow_k8_cpu_init_acpi(data)) {
	/*
	 * Use the PSB BIOS structure. This is only availabe on
	 * an UP version, and is deprecated by AMD.
	 */

	if (pol->cpu != 0) {
:
:

i.e. PSB is deprecated. Only if some lookup via ACPI fails, then
the kernel tries PSB. If this fails, too, then it prints an error
message.

The problem is, why does the kernel print an error message
just about the deprecated PSB, if some ACPI stuff doesn't work
as expected?

Would it be possible to add a warning message to
powernow_k8_cpu_init_acpi(), saying something like

	powernow-k8: initialization via ACPI failed,
		trying deprecated PSB structure


Regards

Harri


  reply	other threads:[~2004-07-18  9:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-18  6:36 amd64, 2.6.7: several problems Harald Dunkel
2004-07-18  9:57 ` Harald Dunkel [this message]
2004-07-18 11:10 ` R. J. Wysocki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40FA498D.7040309@t-online.de \
    --to=harald.dunkel@t-online.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.