Yes, I'm running in FS mode. command line: build/ARM/gem5.opt configs/example/fs.py ...
Regards Guru On Mon, May 5, 2014 at 11:39 AM, Tanmay Gadre via gem5-users < gem5-users@gem5.org> wrote: > i meant fs mode > > > > On Mon, May 5, 2014 at 8:15 PM, Tod via gem5-users <gem5-users@gem5.org>wrote: > >> Sorry, I am still in doubt. >> >> >> --disk-image is not for specifying the path to the disk image? >> >> How come it work fine while run from the command line? >> >> with the same command is used inside the shell script. >> >> >> I am using FS mode, which is clear from the fs.py script file. >> >> >> But i do not understand what do you mean by this: "no . if you want to >> run it through the disk image"? >> >> >> Thanks. >> >> >> --------- 원본 메일 --------- >> >> *보낸사람*: Tanmay Gadre <tanmay....@gmail.com> >> *받는사람* : Tod <saril...@hanmail.net>, gem5 users mailing list < >> gem5-users@gem5.org> >> *날짜*: 2014년 5월 05일 월요일, 23시 28분 49초 +0900 >> >> *제목*: Re: [gem5-users] Error while running Gem5 simulation from a Java >> program. >> no . if you want to run it through the disk image, you have to write the >> whole path in Benchmarks.py >> >> >> On Mon, May 5, 2014 at 7:30 PM, Tod via gem5-users >> <gem5-users@gem5.org<http://hanmail/mail/MailComposeFrame.daum?TO=gem5-users@gem5.org> >> > wrote: >> >>> Hi Tanmay, >>> >>> >>> I forgot to mention it that it works fine if I run the script from >>> command line. But I have to do it through Java program. >>> >>> Further, would it not be enough in this case: >>> --disk-image=/home/usr/full_system_images/disks/linux-arm-ael1.img >>> >>> >>> Which is already there and is the path to the disk image? >>> >>> >>> Best. >>> >>> >>> --------- 원본 메일 --------- >>> >>> *보낸사람*: Tanmay Gadre >>> <tanmay....@gmail.com<http://hanmail/mail/MailComposeFrame.daum?TO=tanmay....@gmail.com> >>> > >>> *받는사람* : Tod >>> <saril...@hanmail.net<http://hanmail/mail/MailComposeFrame.daum?TO=saril...@hanmail.net>>, >>> gem5 users mailing list >>> <gem5-users@gem5.org<http://hanmail/mail/MailComposeFrame.daum?TO=gem5-users@gem5.org> >>> > >>> *날짜*: 2014년 5월 05일 월요일, 22시 17분 17초 +0900 >>> *제목*: Re: [gem5-users] Error while running Gem5 simulation from a Java >>> program. >>> give the path of your disk image in Benchmarks.py line 57 . google this >>> error if still not clear . many times asked before on this forum . you will >>> get enough explanations >>> >>> >>> On Mon, May 5, 2014 at 6:38 PM, Tod via gem5-users >>> <gem5-users@gem5.org<http://hanmail/mail/MailComposeFrame.daum?TO=gem5-users@gem5.org> >>> > wrote: >>> >>>> Hi, >>>> >>>> >>>> I am trying to run my gem5 simulations from inside a Java program. >>>> >>>> The Java program runs a shell script which then issues the command to >>>> run the simulation. >>>> >>>> Here is the console trace: >>>> >>>> >>>> gem5 Simulator System. http://gem5.org >>>> >>>> gem5 is copyrighted software; use the --copyright option for details. >>>> >>>> >>>> gem5 compiled Nov 28 2013 16:00:37 >>>> >>>> gem5 started May 5 2014 16:00:17 >>>> >>>> gem5 executing on xyz >>>> >>>> command line: ./build/ARM/gem5.fast >>>> --outdir=/home/usr/gem5/my_m5out/m5out1 configs/example/fs.py >>>> --disk-image=/home/usr/full_system_images/disks/linux-arm-ael1.img >>>> --mem-size=256MB -n 4 --script=./configs/boot/hack_back_ckpt.rcS >>>> >>>> Traceback (most recent call last): >>>> >>>> File "<string>", line 1, in <module> >>>> >>>> File "/home/user/gem5/src/python/m5/main.py", line 388, in main >>>> >>>> >>>> >>>> File "configs/example/fs.py", line 116, in <module> >>>> >>>> bare_metal=options.bare_metal) >>>> >>>> File "/home/user/gem5/configs/common/FSConfig.py", line 251, in >>>> makeArmSystem >>>> >>>> self.cf0.childImage(mdesc.disk()) >>>> >>>> File "/home/user/gem5/configs/common/Benchmarks.py", line 53, in disk >>>> >>>> return disk(self.diskname) >>>> >>>> File "/home/user/gem5/configs/common/SysPaths.py", line 37, in disk >>>> >>>> system() >>>> >>>> File "/home/user/gem5/configs/common/SysPaths.py", line 59, in system >>>> >>>> raise ImportError, "Can't find a path to system files." >>>> >>>> ImportError: Can't find a path to system files. >>>> >>>> >>>> Any help? >>>> >>>> >>>> Best. >>>> >>>> _______________________________________________ >>>> gem5-users mailing list >>>> gem5-users@gem5.org<http://hanmail/mail/MailComposeFrame.daum?TO=gem5-users@gem5.org> >>>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >>>> >>> >>> >>> >>> >>> >>> _______________________________________________ >>> gem5-users mailing list >>> gem5-users@gem5.org<http://hanmail/mail/MailComposeFrame.daum?TO=gem5-users@gem5.org> >>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >>> >> >> >> >> >> >> _______________________________________________ >> gem5-users mailing list >> gem5-users@gem5.org >> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >> > > > _______________________________________________ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users