That's strange, I've never run into this problem, but my setup is quite different.  I don't get though why it didn't finish execution, since it failed at the first m5 command.  Didn't it return when it reached that point?

On 1/20/2020 10:42 PM, ABD ALRHMAN ABO ALKHEEL wrote:
Hi Dimitrios,

I have run the rcS script below and it is running forever because /sbin/m5 command needs sudo to execute it. When the image is booted i accessed the image by user name (ubuntu and pass) and try to run /sbin/m5 exit I got permission denied and it worked when i used sudo /sbin/m5 exit. May this is the problem. Any help would be appreciated.


The rcS:

#!/bin/sh
cd /home/ubuntu
/sbin/m5 resetstats
echo "HI"
/sbin/m5 dumpstats
/sbin/m5 exit

Best Regards



------------------------------------------------------------------------
*From:* Dimitrios Chasapis <dchas...@bsc.es>
*Sent:* Monday, January 20, 2020 11:41 AM
*To:* ABD ALRHMAN ABO ALKHEEL <abdkeel...@hotmail.com>; gem5 users mailing list <gem5-users@gem5.org>
*Subject:* Re: [gem5-users] Run CPU 2006 benchmark on gem5 fs mode
Output seems fine, but if I understand correctly, it never finishes
execution?  It may take days to finish and personally I have never used
this --maxinsts so I don't really know if and how it works.  Have you
been able to run gcc with test input? Does it finish properly?



http://bsc.es/disclaimer


http://bsc.es/disclaimer
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to