Linux-2.6.18 fails to boot on AMD64 machine
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
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
@@ -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++) {