Syscall causes triple fault.
Posted: Wed Jan 23, 2013 7:32 pm
Whenever I do a syscall, the system triple faults. I'm not sure what's causing it. Currently I'm using the code from JamesM's tutorial, but I eventually plan on writing my own code.
I can provide source code if needed. Any pointers as to what is happening would be appreciated.
Code: Select all
00031052840i[GDBST] setting breakpoint at 103b48
00031052844i[CPU0 ] CPU is in protected mode (active)
00031052844i[CPU0 ] CS.d_b = 32 bit
00031052844i[CPU0 ] SS.d_b = 32 bit
00031052844i[CPU0 ] EFER = 0x00000000
00031052844i[CPU0 ] | RAX=0000000000000000 RBX=0000000000105664
00031052844i[CPU0 ] | RCX=000000000000000a RDX=00000000000b03d5
00031052844i[CPU0 ] | RSP=00000000dfffffb0 RBP=00000000e0000014
00031052844i[CPU0 ] | RSI=0000000000053c9d RDI=0000000000053c9e
00031052844i[CPU0 ] | R8=0000000000000000 R9=0000000000000000
00031052844i[CPU0 ] | R10=0000000000000000 R11=0000000000000000
00031052844i[CPU0 ] | R12=0000000000000000 R13=0000000000000000
00031052844i[CPU0 ] | R14=0000000000000000 R15=0000000000000000
00031052844i[CPU0 ] | IOPL=0 id vip vif ac vm RF nt of df if tf SF zf af pf cf
00031052844i[CPU0 ] | SEG selector base limit G D
00031052844i[CPU0 ] | SEG sltr(index|ti|rpl) base limit G D
00031052844i[CPU0 ] | CS:001b( 0003| 0| 3) 00000000 ffffffff 1 1
00031052844i[CPU0 ] | DS:0023( 0004| 0| 3) 00000000 ffffffff 1 1
00031052844i[CPU0 ] | SS:0023( 0004| 0| 3) 00000000 ffffffff 1 1
00031052844i[CPU0 ] | ES:0023( 0004| 0| 3) 00000000 ffffffff 1 1
00031052844i[CPU0 ] | FS:0023( 0004| 0| 3) 00000000 ffffffff 1 1
00031052844i[CPU0 ] | GS:0023( 0004| 0| 3) 00000000 ffffffff 1 1
00031052844i[CPU0 ] | MSR_FS_BASE:0000000000000000
00031052844i[CPU0 ] | MSR_GS_BASE:0000000000000000
00031052844i[CPU0 ] | RIP=0000000000103b55 (0000000000103b55)
00031052844i[CPU0 ] | CR0=0xe0000011 CR2=0x00000000fffffffc
00031052844i[CPU0 ] | CR3=0x001a3000 CR4=0x00000000
00031052844i[CPU0 ] 0x0000000000103b55>> int 0x80 : CD80
00031052844e[CPU0 ] exception(): 3rd (14) exception with no resolution, shutdown status is 00h, resetting