Hi Ciro,

Thanks a ton for sharing your solution, I have successfully gotten past the
point where I am not getting any disk not found messages.

But when i run the command ./build/X86_MESI_Two_Level/gem5.opt
configs/example/fs.py

I get the following message, is the fatal error received at the end normal?
I was hoping to test m5term command.

gem5 compiled Apr 22 2018 23:00:24
gem5 started Apr 23 2018 18:38:25
gem5 executing on ram-VirtualBox, pid 19581
command line: ./build/X86_MESI_Two_Level/gem5.opt configs/example/fs.py

Global frequency set at 1000000000000 ticks per second
warn: DRAM device capacity (8192 Mbytes) does not match the address range
assigned (512 Mbytes)
info: kernel located at:
/home/ram/gem5/PARSEC/m5_system_2.0b3/binaries/x86_64-vmlinux-2.6.22.9
Listening for com_1 connection on port 3456
      0: rtc: Real-time clock set to Sun Jan  1 00:00:00 2012
0: system.remote_gdb: listening for remote gdb on port 7000
warn: Reading current count from inactive timer.
*fatal:* Kernel is mapped to invalid location (not memory). kernelStart
0x(fffffc0000310000) - kernelEnd 0x(fffffc0000899860)
0xfffffc0000310000:0xfffffc0000899860
Memory Usage: 696048 KBytes

Raman

On Mon, Apr 23, 2018 at 8:48 AM, Ciro Santilli <ciro.santi...@gmail.com>
wrote:

> In case you can't get that setup working, here is an alternative
> working Parsec setup:
> https://github.com/cirosantilli/linux-kernel-module-cheat/
> tree/14965a40d27c8d9d1ff5b023ace827b288a024ef#parsec-benchmark
>
> On Mon, Apr 23, 2018 at 10:23 AM, Raman Arora <mail.arorara...@gmail.com>
> wrote:
> > Hi All,
> >
> > I am trying to compile the full system files by following the document
> >
> > https://docs.google.com/document/d/1B7nZSqMLwkwoVNEj_58tMPTk
> 4bKWvoEMbokOAjqeC-k/edit
> >
> > But i am getting the following error
> >
> > gem5 executing on ram-VirtualBox, pid 23656
> > command line: ./build/X86_MESI_Two_Level/gem5.opt configs/example/fs.py
> >
> > Traceback (most recent call last):
> >   File "<string>", line 1, in <module>
> >   File "/home/ram/gem5/src/python/m5/main.py", line 435, in main
> >     exec filecode in scope
> >   File "configs/example/fs.py", line 344, in <module>
> >     test_sys = build_test_system(np)
> >   File "configs/example/fs.py", line 99, in build_test_system
> >     options.ruby, cmdline=cmdline)
> >   File "/home/ram/gem5/configs/common/FSConfig.py", line 637, in
> > makeLinuxX86System
> >     makeX86System(mem_mode, numCPUs, mdesc, self, Ruby)
> >   File "/home/ram/gem5/configs/common/FSConfig.py", line 562, in
> > makeX86System
> >     disk0.childImage(mdesc.disk())
> >   File "/home/ram/gem5/configs/common/Benchmarks.py", line 62, in disk
> >     return env.get('LINUX_IMAGE', disk('linux-parsec-2-1-m5.img'))
> >   File "/home/ram/gem5/configs/common/SysPaths.py", line 67, in __call__
> >     raise IOError, "Can't find file '%s' on path." % filename
> > IOError: Can't find file 'linux-parsec-2-1-m5.img' on path.
> >
> >
> > I have the heirarchy where disks folder sits in the main gem5 directory,
> > alongside folders such as configs, src
> >
> > build       CONTRIBUTING.md  ext      m5out        README      src
>  tests
> > build_opts  COPYING          include  MAINTAINERS  SConstruct  system
> util
> > configs     disks            LICENSE  parsetab.py  site_scons  test
> >
> >
> >
> > The contents of disks are as follows
> > linux-parsec-2-1-m5.img  m5_system_2.0b3
> >
> > I have replaced the name of environment variable as M5_PATH as
> > /home/ram/gem5/disks
> >
> > but still i am getting the above error. I would be really grateful if
> > someone could help me debugging this.
> >
> > Thanks and Regards.
> >
> > Raman
> >
> > _______________________________________________
> > 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