OSDev.org

The Place to Start for Operating System Developers
It is currently Wed May 15, 2024 2:15 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Bochs: "CPU_LOOP 1" message
PostPosted: Mon Apr 10, 2006 4:55 pm 
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?


Top
  
 
 Post subject: Re:Bochs: "CPU_LOOP 1" message
PostPosted: Mon Apr 10, 2006 5:26 pm 
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 :)


Top
  
 
 Post subject: Re:Bochs: "CPU_LOOP 1" message
PostPosted: Thu Apr 13, 2006 6:10 am 
"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.


Top
  
 
 Post subject: Re:Bochs: "CPU_LOOP 1" message
PostPosted: Thu Apr 13, 2006 7:40 am 
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...


Top
  
 
 Post subject: Re:Bochs: "CPU_LOOP 1" message
PostPosted: Thu Apr 13, 2006 10:13 am 
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.


Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Google [Bot], Kaius and 70 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group