Mandi Das
2018-09-25 22:18:57 UTC
Dear all,
Iâm trying to run full system simulation on ARM architecture.
I have followed all the steps mentioned in the gem5.org resources.
And I get this error while running the simulation:
panic: panic condition sz != 2 occurred: Couldn't read magic bytes from object file
Can anyone please tell me what this error is about?
Iâm running gem5 on Ubuntu 18.04.1 LTS
And the fullsystem files: aarch-system-20180409.tar.xz
Any help is appreciated
Thanks
Regards,
Mandi Das
From the terminal
command line: build/ARM/gem5.opt configs/example/fs.py --disk-image=/home/md3kq/fullsysimg/disks/aarch64-ubuntu-trusty-headless.img
--kernel=/home/md3kq/fullsysimg/binaries/vmlinux.vexpress_emm64 âdtb-filename=/home/md3kq/fullsysimg/binaries/vexpress-v2p-ca15-tc1-gem5_dvfs_1cpus.dtb
Global frequency set at 1000000000000 ticks per second
warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (512 Mbytes)
panic: panic condition sz != 2 occurred: Couldn't read magic bytes from object file
Memory Usage: 757604 KBytes
Program aborted at tick 0
--- BEGIN LIBC BACKTRACE ---
build/ARM/gem5.opt(_Z15print_backtracev+0x2c)[0x559eec498b5c]
build/ARM/gem5.opt(_Z12abortHandleri+0x4a)[0x559eec4ae50a]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x12890)[0x7f56c871d890]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7)[0x7f56c737fe97]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x141)[0x7f56c7381801]
build/ARM/gem5.opt(+0x7331cf)[0x559eebe621cf]
build/ARM/gem5.opt(_Z16createObjectFileRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb+0x352)[0x559eec447cc2]
build/ARM/gem5.opt(_ZN6SystemC1EP12SystemParams+0x8ad)[0x559eec4cea4d]
build/ARM/gem5.opt(_ZN9ArmSystemC2EP15ArmSystemParams+0x36)[0x559eec7157d6]
build/ARM/gem5.opt(_ZN14LinuxArmSystemC2EP20LinuxArmSystemParams+0x2f)[0x559eec6e846f]
build/ARM/gem5.opt(_ZN20LinuxArmSystemParams6createEv+0x21)[0x559eec6e9d21]
build/ARM/gem5.opt(+0xbea92a)[0x559eec31992a]
build/ARM/gem5.opt(+0xa8e41b)[0x559eec1bd41b]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6ff3)[0x7f56c89d81b3]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7d8)[0x7f56c8b09278]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x5bf6)[0x7f56c89d6db6]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7d8)[0x7f56c8b09278]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x5bf6)[0x7f56c89d6db6]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7d8)[0x7f56c8b09278]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x5bf6)[0x7f56c89d6db6]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7d8)[0x7f56c8b09278]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x5bf6)[0x7f56c89d6db6]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7d8)[0x7f56c8b09278]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCode+0x19)[0x7f56c89d1029]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6ac0)[0x7f56c89d7c80]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7d8)[0x7f56c8b09278]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x5bf6)[0x7f56c89d6db6]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7d8)[0x7f56c8b09278]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCode+0x19)[0x7f56c89d1029]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyRun_StringFlags+0x76)[0x7f56c8a74546]
build/ARM/gem5.opt(_Z6m5MainiPPc+0x63)[0x559eec4ad173]
build/ARM/gem5.opt(main+0x33)[0x559eebe05243]
--- END LIBC BACKTRACE ---
Aborted (core dumped)
Sent from Mail for Windows 10
Iâm trying to run full system simulation on ARM architecture.
I have followed all the steps mentioned in the gem5.org resources.
And I get this error while running the simulation:
panic: panic condition sz != 2 occurred: Couldn't read magic bytes from object file
Can anyone please tell me what this error is about?
Iâm running gem5 on Ubuntu 18.04.1 LTS
And the fullsystem files: aarch-system-20180409.tar.xz
Any help is appreciated
Thanks
Regards,
Mandi Das
From the terminal
command line: build/ARM/gem5.opt configs/example/fs.py --disk-image=/home/md3kq/fullsysimg/disks/aarch64-ubuntu-trusty-headless.img
--kernel=/home/md3kq/fullsysimg/binaries/vmlinux.vexpress_emm64 âdtb-filename=/home/md3kq/fullsysimg/binaries/vexpress-v2p-ca15-tc1-gem5_dvfs_1cpus.dtb
Global frequency set at 1000000000000 ticks per second
warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (512 Mbytes)
panic: panic condition sz != 2 occurred: Couldn't read magic bytes from object file
Memory Usage: 757604 KBytes
Program aborted at tick 0
--- BEGIN LIBC BACKTRACE ---
build/ARM/gem5.opt(_Z15print_backtracev+0x2c)[0x559eec498b5c]
build/ARM/gem5.opt(_Z12abortHandleri+0x4a)[0x559eec4ae50a]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x12890)[0x7f56c871d890]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7)[0x7f56c737fe97]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x141)[0x7f56c7381801]
build/ARM/gem5.opt(+0x7331cf)[0x559eebe621cf]
build/ARM/gem5.opt(_Z16createObjectFileRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb+0x352)[0x559eec447cc2]
build/ARM/gem5.opt(_ZN6SystemC1EP12SystemParams+0x8ad)[0x559eec4cea4d]
build/ARM/gem5.opt(_ZN9ArmSystemC2EP15ArmSystemParams+0x36)[0x559eec7157d6]
build/ARM/gem5.opt(_ZN14LinuxArmSystemC2EP20LinuxArmSystemParams+0x2f)[0x559eec6e846f]
build/ARM/gem5.opt(_ZN20LinuxArmSystemParams6createEv+0x21)[0x559eec6e9d21]
build/ARM/gem5.opt(+0xbea92a)[0x559eec31992a]
build/ARM/gem5.opt(+0xa8e41b)[0x559eec1bd41b]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6ff3)[0x7f56c89d81b3]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7d8)[0x7f56c8b09278]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x5bf6)[0x7f56c89d6db6]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7d8)[0x7f56c8b09278]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x5bf6)[0x7f56c89d6db6]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7d8)[0x7f56c8b09278]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x5bf6)[0x7f56c89d6db6]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7d8)[0x7f56c8b09278]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x5bf6)[0x7f56c89d6db6]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7d8)[0x7f56c8b09278]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCode+0x19)[0x7f56c89d1029]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6ac0)[0x7f56c89d7c80]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7d8)[0x7f56c8b09278]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x5bf6)[0x7f56c89d6db6]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7d8)[0x7f56c8b09278]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCode+0x19)[0x7f56c89d1029]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyRun_StringFlags+0x76)[0x7f56c8a74546]
build/ARM/gem5.opt(_Z6m5MainiPPc+0x63)[0x559eec4ad173]
build/ARM/gem5.opt(main+0x33)[0x559eebe05243]
--- END LIBC BACKTRACE ---
Aborted (core dumped)
Sent from Mail for Windows 10