Yes , Set the path to full_system_images/disks. We have youtube video showing gem5 full system installation for ARM . Here is the link :
https://www.youtube.com/watch?v=gd_DtxQD5kc You can change it to X86 accordingly. On Tue, Nov 10, 2015 at 6:49 AM, Kassan Unda <[email protected]> wrote: > also check the name of the file if its different then rename it to > linux-x86.img > > On Mon, Nov 9, 2015 at 8:16 PM, Kassan Unda <[email protected]> wrote: > >> You need to set the path to the fullsystem_disk_images where ever they >> are.. >> either set the M5_PATH >> by doing something like >> sudo echo “M5_PATH=/home/kassan/full_system_images/” >> ~./bashrc >> >> or go into the syspaths.py and at the end of the file you can insert the >> paths >> >> On Mon, Nov 9, 2015 at 7:53 PM, AMEYA KATHAPURKAR <[email protected]> >> wrote: >> >>> Hello, >>> >>> Message: 5 >>> Date: Mon, 9 Nov 2015 16:52:32 +0530 >>> From: Parvathy N <[email protected]> >>> To: gem5 users mailing list <[email protected]> >>> Subject: Re: [gem5-users] linux-bigswap2.img not on path >>> Message-ID: >>> <CAHkkCSZu3r2rnXZTUesjZ+_1Zm9MM82q_r95qxLVShC6YLF= >>> [email protected]> >>> Content-Type: text/plain; charset="utf-8" >>> >>> Hi >>> I guess Error "IOError: Can't find file 'linux-bigswap2.img' on >>> path." is because in line no: 506 in gem5/configs/common/FSConfig.py we >>> have to change linux-bigswap2.img to linux-x86.img ( which is in >>> fullsystem/disks) >>> >>> On Mon, Nov 9, 2015 at 4:32 PM, AMEYA KATHAPURKAR <[email protected]> >>> wrote: >>> >>> > Hello, >>> > >>> > I am using GEM5 ISA X86 architecture and running full system >>> simulation I >>> > am getting following traceback, >>> > >>> > Traceback (most recent call last): >>> > File "<string>", line 1, in <module> >>> > File "/opt/gem5/src/python/m5/main.py", line 389, in main >>> > exec filecode in scope >>> > File "./configs/example/fs.py", line 327, in <module> >>> > test_sys = build_test_system(np) >>> > File "./configs/example/fs.py", line 96, in build_test_system >>> > options.ruby, cmdline=cmdline) >>> > File "/opt/gem5/configs/common/FSConfig.py", line 580, in >>> > makeLinuxX86System >>> > makeX86System(mem_mode, numCPUs, mdesc, self, Ruby) >>> > File "/opt/gem5/configs/common/FSConfig.py", line 506, in >>> makeX86System >>> > disk2.childImage(disk('linux-bigswap2.img')) >>> > File "/opt/gem5/configs/common/SysPaths.py", line 45, in disk >>> > return searchpath(disk.path, filename) >>> > File "/opt/gem5/configs/common/SysPaths.py", line 41, in searchpath >>> > raise IOError, "Can't find file '%s' on path." % filename >>> > IOError: Can't find file 'linux-bigswap2.img' on path. >>> > >>> > >>> > Please help me resolve this, >>> > >>> > Sincere Regards, >>> >>> >>> I tried solution said by Parvathy N but now I am getting following error, >>> >>> command line: ./build/X86/gem5.opt ./configs/example/fs.py >>> --cpu-type=timing --disk-image=/opt/gem5/disks/linux-x86.img >>> >>> Traceback (most recent call last): >>> File "<string>", line 1, in <module> >>> File "/opt/gem5/src/python/m5/main.py", line 389, in main >>> exec filecode in scope >>> File "./configs/example/fs.py", line 327, in <module> >>> test_sys = build_test_system(np) >>> File "./configs/example/fs.py", line 96, in build_test_system >>> options.ruby, cmdline=cmdline) >>> File "/opt/gem5/configs/common/FSConfig.py", line 580, in >>> makeLinuxX86System >>> makeX86System(mem_mode, numCPUs, mdesc, self, Ruby) >>> File "/opt/gem5/configs/common/FSConfig.py", line 506, in makeX86System >>> disk2.childImage(disk('linux-x86.img')) >>> File "/opt/gem5/configs/common/SysPaths.py", line 45, in disk >>> return searchpath(disk.path, filename) >>> File "/opt/gem5/configs/common/SysPaths.py", line 41, in searchpath >>> raise IOError, "Can't find file '%s' on path." % filename >>> IOError: Can't find file 'linux-x86.img' on path. >>> accomplisher@SuccessOnBoard:/opt/gem5$ >>> >>> Please let me know how many images does x86 require beacuse in >>> FSConfig.py they say there two linux images one is linux-x86.img and other >>> is linux-bigswap2.img and can you please guideme with the full system >>> simulation for x86 full system simulation on GEM5 too. >>> >>> My Sincere Regards, >>> Ameya >>> >>> >>> >>> _______________________________________________ >>> gem5-users mailing list >>> [email protected] >>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >>> >> >> > > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
