[PATCH] Linux 2.6-pre-mm2 Fix crash on boot on ASUS L3800C if enabing APIC => add this machine to DMI black list

Eric Valette
2003-07-20T19:48:24Z

[-- Attachment #1: Type: text/plain, Size: 702 bytes --]

The following patch integrated in 2.5.74,

<http://lists.insecure.org/lists/linux-kernel/2003/Jun/5840.html>

really enables the APIC even if BIOS disabled it. Unfortunately,
enabling APIC really does not seem to work on this ASUS laptop and ACPI
(which is mandatory) crash the kernel in ACPI code at boot time while
"Executing all Devices _STA and_INIT methods"

Unless someones find a bug in ACPI code related to APIC management, It
is safer to add this machine in the DMI black list (along with DELL,
IBM, ...).

So, as suggested by the author of the problematic change, I added and
entry in the DMI black list. But my guess is that most laptop will soon
be present in this list....

-- eric

[-- Attachment #2: dmi_scan_black_list --]
[-- Type: text/plain, Size: 485 bytes --]

--- linux-2.6.0-test1/arch/i386/kernel/dmi_scan.c.orig 2003-07-20 17:09:10.000000000 +0200
+++ linux-2.6.0-test1/arch/i386/kernel/dmi_scan.c 2003-07-20 21:25:02.000000000 +0200
@@ -706,6 +706,12 @@
NO_MATCH, NO_MATCH
} },

+ { local_apic_kills_bios, "ASUS L3C", {
+ MATCH(DMI_BOARD_VENDOR, "ASUSTeK Computer INC."),
+ MATCH(DMI_BOARD_NAME, "P4_L3C"),
+ NO_MATCH, NO_MATCH
+ } },
+
/* Problem Intel 440GX bioses */

{ broken_pirq, "SABR1 Bios", { /* Bad $PIR */