>20 tasks kills my kernel (triple fault)
Posted: Sat Feb 23, 2008 9:14 pm
This post is not only a question, but is also a bug notification to JamesM, as my kernel is based off of his tutorials (the multitasking one, btw).
I don't know whether the problem is from my code, but every time load a bunch of new tasks, QEMU triple faults. Am I out of space? Something like it? Chnaging the amount of RAM in Qemu does nothing.
Here is the output:
I'd like to know how to fix it, and request that JamesM try to reproduce the problem, as it may be from that code.
-JL
I don't know whether the problem is from my code, but every time load a bunch of new tasks, QEMU triple faults. Am I out of space? Something like it? Chnaging the amount of RAM in Qemu does nothing.
Here is the output:
Code: Select all
qemu: fatal: triple fault
EAX=dffffec0 EBX=00234000 ECX=0010426b EDX=dffffe98
ESI=00053ca9 EDI=00053caa EBP=dffffec0 ESP=dffffe98
EIP=001041bc EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =0010 00000000 ffffffff 00cf9300
CS =0008 00000000 ffffffff 00cf9a00
SS =0010 00000000 ffffffff 00cf9300
DS =0010 00000000 ffffffff 00cf9300
FS =0010 00000000 ffffffff 00cf9300
GS =0010 00000000 ffffffff 00cf9300
LDT=0000 00000000 0000ffff 00008000
TR =0000 00000000 0000ffff 00008000
GDT= 00125080 00000027
IDT= 001250c0 000007ff
CR0=e0000011 CR2=00125100 CR3=00234000 CR4=00000000
CCS=00012345 CCD=c00807b4 CCO=LOGICL
FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80
FPR0=0000000000000000 0000 FPR1=0000000000000000 0000
FPR2=0000000000000000 0000 FPR3=0000000000000000 0000
FPR4=0000000000000000 0000 FPR5=0000000000000000 0000
FPR6=0000000000000000 0000 FPR7=0000000000000000 0000
XMM00=00000000000000000000000000000000 XMM01=00000000000000000000000000000000
XMM02=00000000000000000000000000000000 XMM03=00000000000000000000000000000000
XMM04=00000000000000000000000000000000 XMM05=00000000000000000000000000000000
XMM06=00000000000000000000000000000000 XMM07=00000000000000000000000000000000
Aborted
-JL