Re: GDT Misconfigured?
Posted: Fri May 09, 2014 10:56 pm
Ok I went back to [org 0x00], but now I get another triple fault the same as before I changed org [0x00] to [0x1000], I feel as though my gdt is not aligned correctly still or for some reason an invalid address is being passed, any ideas?
]
Code: Select all
(0).[14260274] [0x000000010048] 1000:0000000000000048 (unk. ctxt): jmp far 0008:004d ; ea4d000800
00014260274i[MEM0 ] allocate_block: block=0xd used 0x3 of 0x20
00014260274e[CPU0 ] jump_protected: gate type 0 unsupported
CPU 0: Exception 0x0d - (#GP) general protection fault occured (error_code=0x0008)
CPU 0: Interrupt 0x0d occured (error_code=0x0008)
00014260274e[CPU0 ] interrupt(): gate descriptor is not valid sys seg (vector=0x0d)
CPU 0: Exception 0x0d - (#GP) general protection fault occured (error_code=0x006a)
CPU 0: Exception 0x08 - (#DF) double fault occured (error_code=0x0000)
CPU 0: Interrupt 0x08 occured (error_code=0x0000)
00014260274e[CPU0 ] interrupt(): gate descriptor is not valid sys seg (vector=0x08)
CPU 0: Exception 0x0d - (#GP) general protection fault occured (error_code=0x0042)
00014260274i[CPU0 ] CPU is in protected mode (active)
00014260274i[CPU0 ] CS.mode = 16 bit
00014260274i[CPU0 ] SS.mode = 16 bit
00014260274i[CPU0 ] EFER = 0x00000000
00014260274i[CPU0 ] | EAX=60000011 EBX=00000000 ECX=00090000 EDX=00000000
00014260274i[CPU0 ] | ESP=0000ffc6 EBP=00000000 ESI=000e0025 EDI=0000ffac
00014260274i[CPU0 ] | IOPL=0 id vip vif ac vm RF nt of df if tf sf zf af PF cf
00014260274i[CPU0 ] | SEG sltr(index|ti|rpl) base limit G D
00014260274i[CPU0 ] | CS:1000( 0004| 0| 0) 00010000 0000ffff 0 0
00014260274i[CPU0 ] | DS:0000( 0005| 0| 0) 00000000 0000ffff 0 0
00014260274i[CPU0 ] | SS:0000( 0005| 0| 0) 00000000 0000ffff 0 0
00014260274i[CPU0 ] | ES:0000( 0005| 0| 0) 00000000 0000ffff 0 0
00014260274i[CPU0 ] | FS:0000( 0005| 0| 0) 00000000 0000ffff 0 0
00014260274i[CPU0 ] | GS:0000( 0005| 0| 0) 00000000 0000ffff 0 0
00014260274i[CPU0 ] | EIP=00000048 (00000048)
00014260274i[CPU0 ] | CR0=0x60000011 CR2=0x00000000
00014260274i[CPU0 ] | CR3=0x00000000 CR4=0x00000000
(0).[14260274] [0x000000010048] 1000:0000000000000048 (unk. ctxt): jmp far 0008:004d ; ea4d000800
00014260274e[CPU0 ] exception(): 3rd (13) exception with no resolution, shutdown status is 00h, resetting
00014260274i[SYS ] bx_pc_system_c::Reset(HARDWARE) called
00014260274i[CPU0 ] cpu hardware reset