Re: Incorrect ACPI blacklisting of ASUS P4B266 ?

Thomas Renninger
2009-04-28T17:56:51Z

On Tuesday 28 April 2009 19:15:47 Olivier Berger wrote:
> Thomas Renninger <trenn@suse.de> writes:

> I'm thinking about some kind of warning message that might be provided
> by the kernel.
>
> Currently, the blacklisting issues something like :
> xxx detected : force use of acpi=ht
>
> Maybe in some greylisted cases (like such ASUS P4B266), an additional
> message may be issued, something like :
> xxx detected : may work with acpi=force (test at own risk)
> or something like that ?
Sounds like a good idea.
Something like that (not tested at all).
I could imagine Len adds this one if you give it a try and see
the message popping up in dmesg.

ACPI: Some latest P4B266 BIOSes prefer acpi, but get blacklisted, notify user

Signed-off-by: Thomas Renninger <trenn@suse.de>

---
arch/x86/kernel/acpi/boot.c | 3 +++
1 file changed, 3 insertions(+)

Index: linux-2.6/arch/x86/kernel/acpi/boot.c
===================================================================
--- linux-2.6.orig/arch/x86/kernel/acpi/boot.c
+++ linux-2.6/arch/x86/kernel/acpi/boot.c
@@ -1496,6 +1496,9 @@ static int __init force_acpi_ht(const st
if (!acpi_force) {
printk(KERN_NOTICE "%s detected: force use of acpi=ht\n",
d->ident);
+ if (!strcmp(d->ident, "ASUS P4B266"))
+ printk(KERN_NOTICE "Latest BIOSes might work better"
+ " with acpi=force\n");
disable_acpi();
acpi_ht = 1;
} else {
\0