[Oops] apic, smp and k6

From: Torsten Duwe (duwe@caldera.de)
Date: Mon Nov 27 2000 - 09:11:00 EST


>>>>> "Andreas" == Andreas Jellinghaus <aj@dungeon.inka.de> writes:

    Andreas> a dual board (meant for pentium) with one k6 200 and a
    Andreas> 2.4.0-test11 kernel with APIC support enabled does oops
    Andreas> here. removed the APIC support, and now everything is fine. i
    Andreas> read here itīs a known problem ? at least someone else reported
    Andreas> this, and itīs the same problem here.

Yes, a colleague of mine has a similar beast, hence Caldera ships for quite a
while now with an appropriate patch. Now Christoph Hellwig has identified a
simpler solution (updated for -test11 by me):

--- linux/arch/i386/kernel/setup.c~ Fri Jul 7 04:42:06 2000
+++ linux/arch/i386/kernel/setup.c Tue Jul 18 19:22:48 2000
@@ -785,7 +785,8 @@
         /*
          * get boot-time SMP configuration:
          */
- if (smp_found_config)
+ if (smp_found_config && /* try only if the cpu has a local apic */
+ test_bit(X86_FEATURE_APIC, boot_cpu_data.x86_capability))
                 get_smp_config();
 #endif
 #ifdef CONFIG_X86_LOCAL_APIC

I think Alan has a similar thing in his test11-ac* series.

Hope that helps,

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



This archive was generated by hypermail 2b29 : Thu Nov 30 2000 - 21:00:17 EST