Triple failting when jump to PMode
-
FlashBurn
Triple failting when jump to PMode
What could a PC triple fault when he?s jumoing to PMode? I have a right GDT and my jump is also OK! What else could it be?
-
drizzt
Re:Triple failting when jump to PMode
A triple fault occurs when:
- some invalid info in GDT,
- bad IDT setup
- you try to access an invalid selector (for example load a data selector into CS),
- push/pop without a valid stack pointer,
- invalid opcode,
- DOUBLE fault exception not handled,
- ... i don't remember other things..
- some invalid info in GDT,
- bad IDT setup
- you try to access an invalid selector (for example load a data selector into CS),
- push/pop without a valid stack pointer,
- invalid opcode,
- DOUBLE fault exception not handled,
- ... i don't remember other things..
-
FlashBurn
Re:Triple failting when jump to PMode
Ok, maybe someone have a look at the code. It is a bootstrap for my own filesystem. So if you don?t understand why I?m doing something in my bootstrap, please ask!
Edit::
Maybe my problem is not clear! The bootstrap is triple faulting.
you can download it at :
http://flashburn.bei.t-online.de/boot-NFS.zip
Edit::
Maybe my problem is not clear! The bootstrap is triple faulting.
you can download it at :
http://flashburn.bei.t-online.de/boot-NFS.zip
-
FlashBurn
Re:Triple failting when jump to PMode
Ok I uploaded my old bootstrap which is working! Although there aren?t many changes (hard changes) the new code is triple faulting.
http://flashburn.bei.t-online.de/boot-NFS-old.zip
http://flashburn.bei.t-online.de/boot-NFS-old.zip
-
FlashBurn
Re:Triple failting when jump to PMode
Ok, I found it. Thanks to all who have looked at my code. When someone is interessted in the working code I will post it!