OSDev.org
https://forum.osdev.org/

Bochs: "CPU_LOOP 1" message
https://forum.osdev.org/viewtopic.php?f=1&t=11536
Page 1 of 1

Author:  Senaus [ Mon Apr 10, 2006 4:55 pm ]
Post subject:  Bochs: "CPU_LOOP 1" message

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?

Author:  paulbarker [ Mon Apr 10, 2006 5:26 pm ]
Post subject:  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 :)

Author:  hendric [ Thu Apr 13, 2006 6:10 am ]
Post subject:  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.

Author:  Senaus [ Thu Apr 13, 2006 7:40 am ]
Post subject:  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 :P

So whenever a triple fault occurs, Qemu just hangs? Seems a bit poor to me...

Author:  paulbarker [ Thu Apr 13, 2006 10:13 am ]
Post subject:  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.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/