>From my own experience, I put these two downloads into one directory. And
change the path of SysPath.py to that directory.

I think the config files are used to create a kernel, I mean if you do not
want to use the pre-compiled one from the download page.

Hope this can be help.

On Mon, Jun 4, 2012 at 12:36 AM, wael Amr <wael.amrhos...@gmail.com> wrote:

> Hello Eng.Bojun,
>
> Thank you so much for your reply.
> No,i haven't changed the SysPath.py.
> Actually i am confused in this point because i downloaded from "
> http://gem5.org/Download"; the full system for X86 :
>
>    - Full System 
> Files<http://www.m5sim.org/dist/current/x86/x86-system.tar.bz2>-- The kernel 
> used for regressions, an SMP version of it, and a disk image
>    - config files<http://www.m5sim.org/dist/current/x86/config-x86.tar.bz2>-- 
> Config files for both of the above kernels, 2.6.25.1 and 2.6.28.4
>
> So which files should i include in the SysPath.py ?
>
> What is the usage of the config files ?
>
> I would appreciate if you could reply at your earliest convenience.
>
> Thanks
>
> Best Regards
>
> Wael Amr
> On Sun, Jun 3, 2012 at 10:56 PM, Bojun Ma <boj...@mtu.edu> wrote:
>
>> 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
>>
>
>
> _______________________________________________
> 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