Does anybody know what "CPU_LOOP 1" means in Bochs? I made some changes to my scheduler and now Qemu hangs, and Bochs spews out "CPU_LOOP 1" >:(
Any ideas?
Bochs: "CPU_LOOP 1" message
Re:Bochs: "CPU_LOOP 1" message
http://groups.google.com/group/alt.os.development/browse_frm/thread/8aff93d36b4b24c4
If the link doesn't work for you, go on google groups and search the archive of alt.os.development for "bochs CPU_LOOP 1".
Please, google and check the archives of a few newsgroups and forums before posting.
I even posted to that thread, and I didn't remember I had done
If the link doesn't work for you, go on google groups and search the archive of alt.os.development for "bochs CPU_LOOP 1".
Please, google and check the archives of a few newsgroups and forums before posting.
I even posted to that thread, and I didn't remember I had done
Re:Bochs: "CPU_LOOP 1" message
"CPU_LOOP 1" means your CPU restart again and again.There may be reasons as follow.
1)You may refer to an invalid TSS selector within LTR instruction.
2)A triple fault may occur.There are many reasons to cause the problem.Say, set up system registers incorrectly, invalid system desciptor and etc.
1)You may refer to an invalid TSS selector within LTR instruction.
2)A triple fault may occur.There are many reasons to cause the problem.Say, set up system registers incorrectly, invalid system desciptor and etc.
Re:Bochs: "CPU_LOOP 1" message
Thanks guys, now I know it was a triple fault, I have fixed the problem. Turns out the NULL thread wasn't being set up correctly
So whenever a triple fault occurs, Qemu just hangs? Seems a bit poor to me...
So whenever a triple fault occurs, Qemu just hangs? Seems a bit poor to me...
Re:Bochs: "CPU_LOOP 1" message
I've had these problems before, bochs tends to die horribly instead of reporting an error when I try to execute data. I'd guess the problems are very hard to pin down since the input which causes the crash is incredibly complicated (ie. a full program).
To be honest, as long as bochs runs correct code correctly, I don't quite care if it has a fit when trying to run incorrect code.
To be honest, as long as bochs runs correct code correctly, I don't quite care if it has a fit when trying to run incorrect code.