Hello,

I'm trying to run Android Kitkat on Gem5 with ARM multi-core FS simulation.
It boots successfully with single-core configuration.

However, if I set multi-core configuration, it crashes during booting
Android platform.
(I added "--num-cpus=4" to configuration and set dts file as
"vexpress-v2p-ca15-tc1-gem5_4cpus.dtb")

I put a command as "./build/ARM/gem5.opt configs/example/fs.py
--cpu-type=minor --checkpoint-dir=./cpts-ver11-4cores-inorder
--dtb-filename=./dts/vexpress-v2p-ca15-tc1-gem5_4cpus.dtb
--kernel=vmlinux.arm.kk.ver11
--disk=gem5-aosp-4.4.4_r2-ver11-4cores-inorder.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".
Then I could find an following crash log.

I have tried to resolve this problem, but I could not find clear solution.

As I know, this crash message is added on 9th December, last year.
(Reviewboard: http://reviews.gem5.org/r/3255/diff/2/)
I wonder if this crash message is caused by Android-specific configurations.

---- CRASH LOG ----
info: Entering event queue @ 9617385779000.  Starting simulation...
warn: CP14 unimplemented crn[12], opc1[5], crm[10], sopc2[7]
warn: CP14 unimplemented crn[8], opc1[1], crm[0], opc2[3]
warn: CP14 unimplemented crn[12], opc1[0], crm[0], opc2[3]
warn: CP14 unimplemented crn[4], opc1[0], crm[0], opc2[3]
panic condition !invalidate && !pkt->hasSharers() occurred:
system.cpu0.dcache is passing a Modified line through WriteReq to
0xd65a8f40, but keeping the block
 @ tick 14463045058500
[handleSnoop:build/ARM/mem/cache/cache.cc, line 2055]
Memory Usage: 3324228 KBytes
Program aborted at tick 14463045058500
--- BEGIN LIBC BACKTRACE ---
./build/ARM/gem5.opt(_Z15print_backtracev+0x15)[0x924b15]
./build/ARM/gem5.opt(_Z12abortHandleri+0x36)[0x939a86]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x10330)[0x7f32cfa08330]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37)[0x7f32cdf54c37]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x148)[0x7f32cdf58028]
./build/ARM/gem5.opt(_Z15__exit_epilogueiPKcS0_iS0_+0x1ec)[0x995dac]
./build/ARM/gem5.opt(_Z14__exit_messageIISsSsmEEvPKciS1_S1_iS1_DpRKT_+0x97)[0xb41f87]
./build/ARM/gem5.opt(_ZN5Cache11handleSnoopEP6PacketP8CacheBlkbbb+0xb32)[0xb3ece2]
./build/ARM/gem5.opt(_ZN5Cache18recvTimingSnoopReqEP6Packet+0x511)[0xb40d61]
./build/ARM/gem5.opt(_ZN12CoherentXBar13forwardTimingEP6PacketsRKSt6vectorIP15QueuedSlavePortSaIS4_EE+0x116)[0xad4716]
./build/ARM/gem5.opt(_ZN12CoherentXBar13recvTimingReqEP6Packets+0xa43)[0xad5353]
./build/ARM/gem5.opt(_ZN5Cache20sendWriteQueuePacketEP15WriteQueueEntry+0x17d)[0xb393ed]
./build/ARM/gem5.opt(_ZN5Cache19CacheReqPacketQueue18sendDeferredPacketEv+0xa1)[0xb37bb1]
./build/ARM/gem5.opt(_ZN10EventQueue10serviceOneEv+0xb1)[0x92fdf1]
./build/ARM/gem5.opt(_Z9doSimLoopP10EventQueue+0x38)[0x95a498]
./build/ARM/gem5.opt(_Z8simulatem+0x1fb)[0x95aa1b]
./build/ARM/gem5.opt[0xda8e5c]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x45f7)[0x7f32cf620af7]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x80d)[0x7f32cf62254d]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x48d8)[0x7f32cf620dd8]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x4b59)[0x7f32cf621059]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x4b59)[0x7f32cf621059]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x80d)[0x7f32cf62254d]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCode+0x32)[0x7f32cf622682]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x563e)[0x7f32cf621b3e]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x80d)[0x7f32cf62254d]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x48d8)[0x7f32cf620dd8]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x80d)[0x7f32cf62254d]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCode+0x32)[0x7f32cf622682]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyRun_StringFlags+0x79)[0x7f32cf61c4b9]
./build/ARM/gem5.opt(_Z6m5MainiPPc+0x7f)[0x93808f]
./build/ARM/gem5.opt(main+0x33)[0x8e4fa3]
--- END LIBC BACKTRACE ---

Sincerely,
Gyeonghwan Hong.
-- 

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

Reply via email to