Triple-faults on startup [SOLVED]
Posted: Tue Mar 13, 2007 1:44 am
I keep getting triple faults on startup of my OS, and often it takes several restarts before the OS actually successfully boots.
Part of the Bochs log is below:
I think it may be a problem in my GDT, but I haven't had any trouble up until now. The only reason I can think of that would have caused this is a recent modification to my multitasker, which I took out after this started appearing.
Part of the Bochs log is below:
Code: Select all
00241772720e[CPU0 ] interrupt(): gate descriptor is not valid sys seg
00241772720e[CPU0 ] interrupt(): gate descriptor is not valid sys seg
00241772720e[CPU0 ] interrupt(): gate descriptor is not valid sys seg
00241772720i[CPU0 ] protected mode
00241772720i[CPU0 ] CS.d_b = 32 bit
00241772720i[CPU0 ] SS.d_b = 32 bit
00241772720i[CPU0 ] | EAX=0010c8a0 EBX=00108000 ECX=0019ae0f EDX=00000000
00241772720i[CPU0 ] | ESP=0019ae08 EBP=0019ae18 ESI=0002be83 EDI=0002be88
00241772720i[CPU0 ] | IOPL=0 id vip vif ac vm RF nt of df IF tf sf ZF af PF cf
00241772720i[CPU0 ] | SEG selector base limit G D
00241772720i[CPU0 ] | SEG sltr(index|ti|rpl) base limit G D
00241772720i[CPU0 ] | CS:0008( 0001| 0| 0) 00000000 000fffff 1 1
00241772720i[CPU0 ] | DS:0010( 0002| 0| 0) 00000000 000fffff 1 1
00241772720i[CPU0 ] | SS:0010( 0002| 0| 0) 00000000 000fffff 1 1
00241772720i[CPU0 ] | ES:0010( 0002| 0| 0) 00000000 000fffff 1 1
00241772720i[CPU0 ] | FS:0010( 0002| 0| 0) 00000000 000fffff 1 1
00241772720i[CPU0 ] | GS:0010( 0002| 0| 0) 00000000 000fffff 1 1
00241772720i[CPU0 ] | EIP=00104d9a (00104d9a)
00241772720i[CPU0 ] | CR0=0x00000011 CR1=0 CR2=0x00000000
00241772720i[CPU0 ] | CR3=0x00000000 CR4=0x00000000
00241772720i[CPU0 ] >> leave : C9
00241772720e[CPU0 ] exception(): 3rd (13) exception with no resolution, shutdown status is 00h, resetting