Hello,

I'm trying to simulate Android Kitkat on Gem5 with multi-core ARM
configuration.

Actually, this image runs well on "single-core ARM configuration".

However, if I add a gem5 flag option "--num-cpus=4" and change its dts file
as "vexpress-v2p-ca15-tc1-gem5_4cpus.dtb", it crashes during booting
Android platform.
(For single-core simulation, I used "vexpress-v2p-ca15-tc1-gem5.dtb".)

I found a message as following.
I guess that there is a missing configuration about snooping for multi-core
simulation.

I wonder if Gem5 officially supports multicore simulation for ARM
architecture.

Otherwise, is there any additional configuration or modification on system
setting that I should?

<ERROR LOG>
$ ./build/ARM/gem5.fast configs/example/fs.py
--dtb-filename=vexpress-v2p-ca15-tc1-gem5_4cpus.dtb --kernel=vmlinux.arm.kk
--disk=gem5-aosp-4.4.4_r2.img --os-type=android-kitkat --num-cpus=4
--enable-nomali --mem-size=2048MB --caches --l2cache --l1i_size=32kB
--l1d_size=32kB --l2_size=2MB --l1i_assoc=2 --l1d_assoc=2 --l2_assoc=16
...
panic condition !invalidate && !pkt->hasSharers() occurred:
system.cpu1.dcache is passing a Modified line through WriteReq to
0xe4a7d840, but keeping the block
 @ tick 7095687054500
[handleSnoop:build/ARM/mem/cache/cache.cc, line 2055]
Memory Usage: 2530324 KBytes
Program aborted at tick 7095687054500
--- BEGIN LIBC BACKTRACE ---
./build/ARM/gem5.fast(_Z15print_backtracev+0x1f)[0x160567f]
./build/ARM/gem5.fast(_Z12abortHandleri+0x34)[0x16057a4]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x10330)[0x7ff4849ab330]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37)[0x7ff48460cc37]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x148)[0x7ff484610028]
./build/ARM/gem5.fast(_Z15__exit_epilogueiPKcS0_iS0_+0x33a)[0x15c997a]
./build/ARM/gem5.fast[0xd1c684]
./build/ARM/gem5.fast(_ZN5Cache11handleSnoopEP6PacketP8CacheBlkbbb+0x719)[0x1127679]
./build/ARM/gem5.fast(_ZN5Cache11MemSidePort15recvAtomicSnoopEP6Packet+0x159)[0x11279e9]
./build/ARM/gem5.fast[0xe99eea]
./build/ARM/gem5.fast[0x117377b]
./build/ARM/gem5.fast(_ZN5Cache10recvAtomicEP6Packet+0xd7)[0x116e8b7]
./build/ARM/gem5.fast(_ZN15AtomicSimpleCPU8writeMemEPhjmjPm+0x48a)[0xe2af5a]
./build/ARM/gem5.fast[0xc5b891]
./build/ARM/gem5.fast(_ZNK10ArmISAInst15MicroStrDBFpUop7executeEP11ExecContextPN5Trace10InstRecordE+0x248)[0x102d4a8]
./build/ARM/gem5.fast(_ZN15AtomicSimpleCPU4tickEv+0x2a1)[0x1581661]
./build/ARM/gem5.fast(_Z9doSimLoopP10EventQueue+0x221)[0xdf5601]
./build/ARM/gem5.fast(_Z8simulatem+0x23f)[0xdf595f]
./build/ARM/gem5.fast[0xdf6025]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x45f7)[0x7ff4841feaf7]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x80d)[0x7ff48420054d]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x48d8)[0x7ff4841fedd8]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x4b59)[0x7ff4841ff059]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x4b59)[0x7ff4841ff059]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x80d)[0x7ff48420054d]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCode+0x32)[0x7ff484200682]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x563e)[0x7ff4841ffb3e]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x80d)[0x7ff48420054d]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x48d8)[0x7ff4841fedd8]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x80d)[0x7ff48420054d]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCode+0x32)[0x7ff484200682]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyRun_StringFlags+0x79)[0x7ff4841fa4b9]
--- END LIBC BACKTRACE ---
./run_android_kitkat_ver11-4cores.sh: line 34: 28390 Aborted
  (core dumped) ./build/ARM/gem5.fast configs/example/fs.py
$GEM5_BASE_OPTIONS


Sincerely,
Gyeonghwan Hong.
-- 

Gyeonghwan Hong
Ph.D Student
Embedded Software Lab.
Department of Electrical and Computer Engineering
Sungkyunkwan University
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to