Page 1 of 1

General Protection Fault #GP

Posted: Sun Apr 08, 2012 12:26 pm
by dilipcs1992
hi,
my os throwing General Protection Fault #GP, and it is causing double fault
i think problem is with IDT
so what could be the problem,and what is the #GP
please help
i have read the Intel 3a Manual but still not getting

Re: General Protection Fault #GP

Posted: Sun Apr 08, 2012 1:46 pm
by xenos
  • Use a debugger.
  • Find out the instruction causing the #GP.
  • Examine the #GP error code.
  • Find out the reason for the #GP.
  • Check your IDT & kernel stack.
  • Find the reason for the #DF.