Brendan Fitzgerald <bfitzge2 <at> binghamton.edu> writes:

> 
> 
> Could you send your configuration you used for the simulation?
> 
> On Wed, Sep 4, 2013 at 10:47 AM, SF <sfan.nju <at> gmail.com> wrote:[Sorry 
for duplicate posts -- my previous one was not well formatted.]
> Hello all,
> I encountered a problem when running an application on my own image disk, 
as
> shown below. I am just using "qemu-system-x86_64 -m 4096 -hda disk.img" 
with
> "simconfig -machine single_core".
> 00000000f6efab7d[vcpu 0] thread 0: WARNING: At cycle 30105278, 31826571 
user
> commits: no instructions have committed for 1048577 cycles; the pipeline
> could be deadlocked
> qemu-system-x86_64: ptlsim/build/core/ooo-core/ooo.cpp:876: bool
> ooo::OooCore::runcycle(void*): Assertion `0' failed.
> Aborted
> The simulation exits after this error happens. I'd like to figure out why
> this error is happening, and if there is any way to solve it in order to
> continue my simulation. I found a few people have reported the same error
> but there didn't seem to have a clear solution. In this post
> (http://comments.gmane.org/gmane.comp.emulators.marss86/448), Avadh
> suggested checking the ROB entry.
> Here is my log file: http://www.cs.duke.edu/~schfan/test4.log .
> In my log file I found this line:
> rob 2 uuid 12141238 rip 0x0000f6f46b7d ready-to-load-all  <at>  all ldd 
r42
> tr1 ld2 = r119 <at> int r0 <at> int r0 <at> int
> This load operation (load the value of r129 to r42?) seems never successes
> because quite a few following entries show "wait for rob 2".
> And below LSQ (Load-store queue) I found :
> ld2 uuid 12141238 rob 2 r42  <at> int < Data Invalid >  <at> 
0x00010999ed40
> And also something like this:
> TH 0 rfid 0  r42  state int-waiting   0xdeadbeefdeadbeef| rob 2 (uuid
> 12141238) refcount 3
> My understanding is that r42 keeps waiting for data from r129, which leads
> to the "deadlock". But I still don't fully understand the whole process 
and
> I don't know what instruction inside my application is causing this error.
> Any suggestion would be appreciated!
> Thanks in advance!
> SF
> _______________________________________________http://www.marss86.org
> Marss86-Devel mailing listMarss86-Devel <at> 
cs.binghamton.eduhttps://www.cs.binghamton.edu/mailman/listinfo/marss86-
devel
> 
> 
> 
> 
> 
> 
> <div>
> <div dir="ltr">Could you send your configuration you used for the 
simulation?</div>
> <div class="gmail_extra">
> <br><br><div class="gmail_quote">On Wed, Sep 4, 2013 at 10:47 AM, SF <span 
dir="ltr"><<a href="mailto:sfan.nju <at> gmail.com" 
target="_blank">sfan.nju <at> gmail.com</a>></span> wrote:<br><blockquote 
class="gmail_quote">[Sorry for duplicate posts -- my previous one was not 
well formatted.]<br><br>
> Hello all,<br><br>
> I encountered a problem when running an application on my own image disk, 
as<br>
> shown below. I am just using "qemu-system-x86_64 -m 4096 -hda disk.img" 
with<br>
> "simconfig -machine single_core".<br><br>
> 00000000f6efab7d[vcpu 0] thread 0: WARNING: At cycle 30105278, 31826571 
user<br>
> commits: no instructions have committed for 1048577 cycles; the 
pipeline<br>
> could be deadlocked<br>
> qemu-system-x86_64: ptlsim/build/core/ooo-core/ooo.cpp:876: bool<br>
> ooo::OooCore::runcycle(void*): Assertion `0' failed.<br>
> Aborted<br><br>
> The simulation exits after this error happens. I'd like to figure out 
why<br>
> this error is happening, and if there is any way to solve it in order 
to<br>
> continue my simulation. I found a few people have reported the same 
error<br>
> but there didn't seem to have a clear solution. In this post<br>
> (<a href="http://comments.gmane.org/gmane.comp.emulators.marss86/448"; 
target="_blank">http://comments.gmane.org/gmane.comp.emulators.marss86/448</
a>), Avadh<br>
> suggested checking the ROB entry.<br><br>
> Here is my log file: <a href="http://www.cs.duke.edu/~schfan/test4.log"; 
target="_blank">http://www.cs.duke.edu/~schfan/test4.log</a> .<br><br>
> In my log file I found this line:<br><br>
> rob 2 uuid 12141238 rip 0x0000f6f46b7d ready-to-load-all  <at> 
 all ldd r42<br>
> tr1 ld2 = r119 <at> int r0 <at> int r0 <at> int<br><br>
> This load operation (load the value of r129 to r42?) seems never 
successes<br>
> because quite a few following entries show "wait for rob 2".<br><br>
> And below LSQ (Load-store queue) I found :<br><br>
> ld2 uuid 12141238 rob 2 r42  <at> int < Data Invalid > 
 <at> 0x00010999ed40<br><br>
> And also something like this:<br><br>
> TH 0 rfid 0  r42  state int-waiting   0xdeadbeefdeadbeef| 
rob 2 (uuid<br>
> 12141238) refcount 3<br><br><br>
> My understanding is that r42 keeps waiting for data from r129, which 
leads<br>
> to the "deadlock". But I still don't fully understand the whole process 
and<br>
> I don't know what instruction inside my application is causing this error.
<br><br>
> Any suggestion would be appreciated!<br><br>
> Thanks in advance!<br>
> SF<br><br><br>
> _______________________________________________<br><a 
href="http://www.marss86.org"; target="_blank">http://www.marss86.org</a><br>
> Marss86-Devel mailing list<br><a href="mailto:Marss86-Devel <at> 
cs.binghamton.edu">Marss86-Devel <at> cs.binghamton.edu</a><br><a 
href="https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel"; 
target="_blank">https://www.cs.binghamton.edu/mailman/listinfo/marss86-
devel</a><br>
> </blockquote>
> </div>
> <br>
> </div>
> </div>
> 

Thank you for your prompt reply! 

I just used the default configuration file to compile qemu. 

$ scons -Q debug=2 c=1

And I ran qemu like this: 

$ ./qemu/qemu-system-x86_64 -m 4096 -usbdevice mouse -usbdevice keyboard -
hda disk.img 

And in the qemu window I typed:

 simconfig -machine single_core -corefreq 2G
 simconfig -loglevel 99 -logfile test4.log

Thanks!
SF



_______________________________________________
http://www.marss86.org
Marss86-Devel mailing list
[email protected]
https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel

Reply via email to