General Protection Fault #GP

All off topic discussions go here. Everything from the funny thing your cat did to your favorite tv shows. Non-programming computer questions are ok too.
Post Reply
dilipcs1992
Posts: 5
Joined: Sat Dec 03, 2011 8:58 am

General Protection Fault #GP

Post 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
User avatar
xenos
Member
Member
Posts: 1118
Joined: Thu Aug 11, 2005 11:00 pm
Libera.chat IRC: xenos1984
Location: Tartu, Estonia
Contact:

Re: General Protection Fault #GP

Post 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.
Programmers' Hardware Database // GitHub user: xenos1984; OS project: NOS
Post Reply