Skip to contentSkip to conversation

Linux-2.6.18 fails to boot on AMD64 machine

Bug 7505 Chuck Ebbert 2 participants 2 messages Dec 20, 2006

lore
Share & tools
lore
#0 lore raw

In-Reply-To: <[email protected]>

Quoted 3 lines · Andrew Morton

Quoting the bug report:

general protection fault: 013b [1] PREEMPT 

That '013b' is critical information.

Bit 0: 1: exception source is external to the processor Bit 1: 1: there is a problem with an interrupt descriptor in the IDT Bit 2: n/a
Bits 15-3: index of the problem descriptor

So an external interrupt occurred, the system tried to use interrupt descriptor #39 decimal (irq 7), but the descriptor was invalid.

Signature · 1 line
MBTI: IXTP
#1 lore raw
Quoted 2 lines · Chuck Ebbert

So an external interrupt occurred, the system tried to use interrupt descriptor #39 decimal (irq 7), but the descriptor was invalid.

but the irq is disabled at that time.

can you use attached diff to verify if the irq is enable somehow?

YH

arch/x86_64/kernel/i8259.c +4 -0
index d73c79e..fedde34 100644
@@ -421,7 +421,11 @@ void __init init_ISA_irqs (void)
 {
 	int i;
 
+	if (!irqs_disabled())
+		printk("init_ISA_irqs(): -1  bug: interrupts were enabled early\n");
 	init_bsp_APIC();
+	if (!irqs_disabled())
+		printk("init_ISA_irqs(): -2  bug: interrupts were enabled early\n");
 	init_8259A(0);
 
 	for (i = 0; i < NR_IRQS; i++) {