Discussion:
[gem5-users] Aborted (core dumped)
Hadouda Ali
2018-06-04 09:36:17 UTC
Permalink
hi georgios,

you must use the script.rcs in the statement --bootscript :
--bootscript = / path / script.rcS.

you must generate the script.rsS file for each application, for example for
the blackscholes application of parsec 3.0,

#! / Bin / bash
PARSEC_DIR = "/ home / parsec-3.0"
cd $ PARSEC_DIR
pwd
source ./env.sh
parsecmgmt -a run -p blackscholes -c gcc-hooks -i simsmall -n 2
m5 exit

and also you must integrate the application that you use on the linaro
image.




here is a link to generate your rcS script.
https://github.com/arm-university/arm-gem5-rsk

Ali.
I think bootrscript is just an arbitrary script that your must create
yourself to run the benchmark you want, or give you a shell.
It must be being used from the /init of that image to set the m5
readfile path, and then run it.
This kind of thing allows you to checkpoint at the end of boot, but
still run different scripts of your choice after the restore.
https://github.com/cirosantilli/linux-kernel-module-cheat/tree/
c2696c978d6ca88e8b8599c92b1beeda80eb62b2#gem5-run-benchmark
You might also be interested in: fs_bigLITTLE.py setup at
https://github.com/cirosantilli/linux-kernel-module-cheat/tree/
c2696c978d6ca88e8b8599c92b1beeda80eb62b2#gem5-fs_biglittle
which is just a minimal setup that gives a shell, no init magic yet.
On Mon, Jun 4, 2018 at 9:25 AM, Georgios Bousdras
Hi,
I am new on gem5 and need your help. I am trying to run the
fs_bigLITTLE.py
(2 big, 2 little cores) but I take an error.
I understand that the error is on bootscript. By default the bootscript
is
the bootscript.rcS but I can not find this file in the gem5 folder. How
can
I export this file or where I can find it ?
./build/ARM/gem5.opt configs/example/arm/fs_bigLITTLE.py
--dtb=$M5_PATH/binaries/armv8_gem5_v1_big_little_2_2.dtb
--bootscript=%M5_PATH/binaries/boot_emm.arm64
--disk=$M5_PATH/disks/linaro-minimal-aarch64.img
--kernel=$M5_PATH/binaries/vmlinux.vexpress_gem5_v1_64 --cpu-type=timing
--caches --big-cpus=2 --little-cpus=2
panic: could not open file %M5_PATH/binaries/boot_emm.arm64
Memory Usage: 2654752 KBytes
Program aborted at tick 1402861153000
--- BEGIN LIBC BACKTRACE ---
./build/ARM/gem5.opt(_Z15print_backtracev+0x28)[0x12fc5d8]
./build/ARM/gem5.opt(_Z12abortHandleri+0x46)[0x130f156]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x11390)[0x7f9c1b3fb390]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38)[0x7f9c19e03428]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x16a)[0x7f9c19e0502a]
./build/ARM/gem5.opt[0x909eef]
./build/ARM/gem5.opt(_ZN10PseudoInst8readfileEP13Thr
eadContextmmm+0x1d4)[0x1340f94]
./build/ARM/gem5.opt(_ZNK10ArmISAInst12M5readfile647
executeEP11ExecContextPN5Trace10InstRecordE+0x17a)[0x16f8f7a]
./build/ARM/gem5.opt(_ZN5Minor7Execute10commitInstE14RefCountingPtrINS_
12MinorDynInstEEbRNS_10BranchDataERSt10shared_ptrI9FaultBaseERbSA_+0x4ac)[
0x1391d2c]
./build/ARM/gem5.opt(_ZN5Minor7Execute6commitEsbbRNS
_10BranchDataE+0x1405)[0x13954c5]
./build/ARM/gem5.opt(_ZN5Minor7Execute8evaluateEv+0x10b2)[0x1396e22]
./build/ARM/gem5.opt(_ZN5Minor8Pipeline8evaluateEv+0x19)[0x13b2f09]
./build/ARM/gem5.opt[0x13191fe]
./build/ARM/gem5.opt(_ZN10EventQueue10serviceOneEv+0xc5)[0x1302dc5]
./build/ARM/gem5.opt(_Z9doSimLoopP10EventQueue+0x50)[0x131ae50]
./build/ARM/gem5.opt(_Z8simulatem+0xd1b)[0x131bf3b]
./build/ARM/gem5.opt[0x118639a]
./build/ARM/gem5.opt[0xb4fbd7]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_
EvalFrameEx+0x7852)[0x7f9c1b6b8772]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x85c)[
0x7f9c1b7ef05c]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_
EvalFrameEx+0x6ffd)[0x7f9c1b6b7f1d]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x85c)[
0x7f9c1b7ef05c]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_
EvalFrameEx+0x6ffd)[0x7f9c1b6b7f1d]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x85c)[
0x7f9c1b7ef05c]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_
EvalFrameEx+0x6ffd)[0x7f9c1b6b7f1d]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x85c)[
0x7f9c1b7ef05c]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_
EvalCode+0x19)[0x7f9c1b6b0da9]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_
EvalFrameEx+0x613b)[0x7f9c1b6b705b]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x85c)[
0x7f9c1b7ef05c]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_
EvalFrameEx+0x6ffd)[0x7f9c1b6b7f1d]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x85c)[
0x7f9c1b7ef05c]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_
EvalCode+0x19)[0x7f9c1b6b0da9]
--- END LIBC BACKTRACE ---
Aborted (core dumped)
Can you please tell me what is my mistake?
Best Regards,
George
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
--
Cordialement Ali HADOUDA .
Loading...