KDB causes two of my i386 systems to hang on boot.
This happens even if KDB is turned off.

The following code snippet, borrowed from the x86_64
KDB port, fixes the hang for me.

Signed-off-by: Joe Korty <[EMAIL PROTECTED]>

Index: 2.6.26-rc9/arch/x86/kernel/io_apic_32.c
===================================================================
--- 2.6.26-rc9.orig/arch/x86/kernel/io_apic_32.c        2008-07-10 
18:30:57.000000000 -0400
+++ 2.6.26-rc9/arch/x86/kernel/io_apic_32.c     2008-07-10 18:31:11.000000000 
-0400
@@ -1188,6 +1188,10 @@
                return -ENOSPC;
        if (test_and_set_bit(vector, used_vectors))
                goto next;
+#ifdef CONFIG_KDB
+       if (vector == KDBENTER_VECTOR)
+               goto next;
+#endif
 
        current_vector = vector;
        current_offset = offset;
---------------------------
Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe.

Reply via email to