Have you changed the Path in SysPath.py?

On Sun, Jun 3, 2012 at 12:36 PM, wael Amr <wael.amrhos...@gmail.com> wrote:

> Hello,
>
> I need to run gem5 under Full System on Ubuntu using virtual machine .
> So i typed the following commands for mount the linux-x86.img:
>
> sudo python util/gem5img.py mount
> FullSystemStuff/x86-system/disks/linux-x86.img /mnt
>
> sudo umount /mnt
>
> Then i typed :command line: ./build/x86/gem5.opt configs/example/fs.py
> --disk-image=/media
>
>  But i got this error :
>
> ================
>
> warning: add_child('terminal'): child 'terminal' already has parent
>
> Traceback (most recent call last):
>
> File "<string>", line 1, in <module>
>
> File "/home/wael/Mac/gem5/src/python/m5/main.py", line 357, in main
>
> exec filecode in scope
>
> File "configs/example/fs.py", line 102, in <module>
>
> test_sys = makeLinuxX86System(test_mem_mode, options.num_cpus, bm[0])
>
> File "/home/wael/Mac/gem5/configs/common/FSConfig.py", line 518, in
> makeLinuxX86System
>
> makeX86System(mem_mode, numCPUs, mdesc, self, Ruby)
>
> File "/home/wael/Mac/gem5/configs/common/FSConfig.py", line 447, in
> makeX86System
>
> disk0.childImage(mdesc.disk())
>
> File "/home/wael/Mac/gem5/configs/common/Benchmarks.py", line 53, in disk
>
> return disk(self.diskname)
>
> File "/home/wael/Mac/gem5/configs/common/SysPaths.py", line 37, in disk
>
> system()
>
> File "/home/wael/Mac/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.
>
> ================
>
> So Is there anything missing for installing the Full System mode?
>
> Any help for this error will be highly appreciated.
>
> Thank so much in advance for your time and support.
>
> Thanks
>
> Best Regards
>
> Wael Amr
>
>
> _______________________________________________
> 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

Reply via email to