kdb
[Top] [All Lists]

[PATCH 019/19] kdb-i386-boot-hang

To: undisclosed-recipients:;
Subject: [PATCH 019/19] kdb-i386-boot-hang
From: joe.korty@xxxxxxxx
Date: Thu Jul 10 18:44:40 EDT 2008
Resent-date: Thu, 10 Jul 2008 18:48:56 -0400
Resent-from: joe.korty@xxxxxxxx
Resent-message-id: <200807102248.m6AMmunE000521@gamx.iccur.com>
Resent-to: kdb@xxxxxxxxxxx
Sender: kdb-bounce@xxxxxxxxxxx
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 <joe.korty@xxxxxxxx>

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.
<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH 019/19] kdb-i386-boot-hang, joe . korty <=