Page 1 of 1

bochs exception 13

Posted: Thu Jul 08, 2004 8:25 pm
by firas981
what is the meaning of this bochs message :

[CPU ] exception(): 3rd (13) exception with no resolution

thanks

Re:bochs exception 13

Posted: Thu Jul 15, 2004 7:55 am
by Pype.Clicker
it means that your kernel issued an illegal instruction that raised a General Protection Fault (invalid segment loading, or something alike), but that you have no proper IDT or exception handler installed for that one, therefore a triple fault occured.

Check out the EIP and other registers values reported by bochs to trace back what went wrong.

Re:bochs exception 13

Posted: Fri Jul 16, 2004 1:53 pm
by firas981
thanks

Re:bochs exception 13

Posted: Fri Jul 16, 2004 3:54 pm
by jinksys
>edit<
n/m
thought you were someone else with a similar problem.

Re:bochs exception 13

Posted: Sat Jul 17, 2004 1:23 am
by Therx
Just a side thought. A while ago I tried searching the intel manual (vol 3) for "triple fault" and it didn't turn up once IIRC. Does intel try to hide that it exists?

Pete

Re:bochs exception 13

Posted: Sat Jul 17, 2004 2:24 am
by Brendan
Hi,
Pete wrote: Just a side thought. A while ago I tried searching the intel manual (vol 3) for "triple fault" and it didn't turn up once IIRC. Does intel try to hide that it exists?
Have a look in the double fault (int 0x08) docs:

"If another exception occurs while attempting to call the double-fault handler, the processor
enters shutdown mode. This mode is similar to the state following execution of an HLT instruction.
In this mode, the processor stops executing instructions until an NMI interrupt, SMI interrupt,
hardware reset, or INIT# is received. The processor generates a special bus cycle to
indicate that it has entered shutdown mode. Software designers may need to be aware of the
response of hardware when it goes into shutdown mode. For example, hardware may turn on an
indicator light on the front panel, generate an NMI interrupt to record diagnostic information,
invoke reset initialization, generate an INIT initialization, or generate an SMI."

I think the term "triple fault" isn't Intel's...

Cheers,

Brendan