Page 1 of 1

Random Double-Fault in Bochs

Posted: Mon Dec 29, 2008 3:35 pm
by JohnnyTheDon
When enabling interrupts on my BSP on bochs, I get a double-fault. It doesn't seem to be from enabling interrupts, it just always give me a double-fault exception even though no other exceptions have been triggered and interrupts have been masked during the runtime of my OS. If I handle the double-fault by doing nothing, it continues on as if nothing happens. This doesn't seem to happen on my APs. Any insights?

Re: Random Double-Fault in Bochs

Posted: Mon Dec 29, 2008 5:17 pm
by Combuster
Have you remapped the PIC (or configured the IOAPIC for MP systems)
Also, does the "double fault" push an errorcode? If it doesn't it is not a double fault but an external interrupt.

Re: Random Double-Fault in Bochs

Posted: Tue Dec 30, 2008 12:04 am
by JohnnyTheDon
Oh, that must be it, I haven't yet configured the IOAPIC. I'll try configuring the IOAPIC first.