Re: [ACPI] Re: PROBLEM: ACPI freezes 2.6.1 on boot

From: Karol Kozimor
Date: Thu Jan 22 2004 - 07:10:10 EST


Thus wrote Georg C. F. Greve:
> So the problem we've been seeing seems to be related to the
> interaction between local APIC support and ACPI.

We've definitely had those problems before (with ASUS L3800C), there's
even a patch fixing this issue (attached below) you might try.
I guess that's another of those lost and forgotten bugzilla bugs :)

--
Karol 'sziwan' Kozimor
sziwan@xxxxxxxxxxx


diff -Bru linux-2.6.0-test8/arch/i386/kernel/apic.c patched/arch/i386/kernel/apic.c
--- linux-2.6.0-test8/arch/i386/kernel/apic.c 2003-10-18 05:43:36.000000000 +0800
+++ patched/arch/i386/kernel/apic.c 2003-10-30 23:17:50.000000000 +0800
@@ -836,8 +836,8 @@
{
unsigned int lvtt1_value, tmp_value;

- lvtt1_value = SET_APIC_TIMER_BASE(APIC_TIMER_BASE_DIV) |
- APIC_LVT_TIMER_PERIODIC | LOCAL_TIMER_VECTOR;
+ lvtt1_value = APIC_LVT_TIMER_PERIODIC | LOCAL_TIMER_VECTOR;
+
apic_write_around(APIC_LVTT, lvtt1_value);

/*
diff -Bru linux-2.6.0-test8/drivers/acpi/bus.c patched/drivers/acpi/bus.c
--- linux-2.6.0-test8/drivers/acpi/bus.c 2003-10-18 05:43:19.000000000 +0800
+++ patched/drivers/acpi/bus.c 2003-10-30 23:20:32.000000000 +0800
@@ -589,6 +589,7 @@

ACPI_FUNCTION_TRACE("acpi_bus_init");

+ disable_APIC_timer();
status = acpi_initialize_subsystem();
if (ACPI_FAILURE(status)) {
printk(KERN_ERR PREFIX "Unable to initialize the ACPI Interpreter\n");
@@ -643,6 +644,7 @@
goto error1;
}

+ enable_APIC_timer();
printk(KERN_INFO PREFIX "Interpreter enabled\n");

/*
@@ -672,6 +674,7 @@
error1:
acpi_terminate();
error0:
+ enable_APIC_timer();
return_VALUE(-ENODEV);
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/