Hi Chang,

This is a known issue with the current GIC model in gem5. We are
planning to post a fix for this issue soon. In the meantime, just
replacing that panic with a warning should "just work".

//Andreas

On 18/07/2016 10:26, Chang Hyun Park wrote:
Hello,

I've been trying to run the Full-System simulation of ARM Aarch 64
using the kernel version 4.4 available at
https://github.com/gem5/linux-arm-gem5.

Version 4.3 works fine, but version 4.4 runs into a panic at the Gic
distributer. (Please see panic code & backtrace below)
I've also tried applying the patches from linux vanilla 4.3 thru
Gem5-Arm-4.3 onto the linux vanilla 4.4 (and did some relocating of code due
to build error)
But still, the panic persisted.

Is a fix on the way? Or does anyone have an idea on how it may be fixed?

Thanks,
Chang Hyun Park

==============================

gem5 Simulator System.  http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 compiled Jul 14 2016 17:08:59
gem5 started Jul 18 2016 16:39:28
gem5 executing on CHP-VirtualBox, pid 14386
command line: build/ARM_FS/gem5.opt configs/example/fs.py
--kernel=/tmp/linux-arm-gem5-github/vmlinux --machine-type=VExpress_GEM5_V1
--dtb-file=/tmp/bina
ries/vexpress.aarch64.20140821.dtb
--disk-image=/tmp/disks/aarch64-ubuntu-trusty-headless.img
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/heartinpiece/Downloads/linux-arm-gem5-github/vmlinux
warn: Highest ARM exception-level set to AArch32 but bootloader is for
AArch64. Assuming you wanted these to match.
Listening for system connection on port 5900
Listening for system connection on port 3456
0: system.remote_gdb.listener: listening for remote gdb #0 on port 7000
warn: ClockedObject: More than one power state change request encountered
within the same simulation tick
info: Using bootloader at address 0x10
info: Using kernel entry physical address at 0x80080000
info: Loading DTB file: /tmp/binaries/vexpress.aarch64.20140821.dtb at
address 0x88000000
**** REAL SIMULATION ****
warn: Existing EnergyCtrl, but no enabled DVFSHandler found.
info: Entering event queue @ 0.  Starting simulation...
warn: SCReg: Access to unknown device dcc0:site0:pos0:fn7:dev0
panic: Tried to write Gic distributor at offset 0x384
  @ tick 14112403500
[writeDistributor:build/ARM_FS/dev/arm/gic_pl390.cc, line 514]
Memory Usage: 832088 KBytes
Program aborted at tick 14112403500
--- BEGIN LIBC BACKTRACE ---
build/ARM_FS/gem5.opt(_Z15print_backtracev+0x15)[0x938145]
build/ARM_FS/gem5.opt(_Z12abortHandleri+0x36)[0x94cf96]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x10330)[0x7f17b3686330]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37)[0x7f17b1bd5c37]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x148)[0x7f17b1bd9028]
build/ARM_FS/gem5.opt(_Z15__exit_epilogueiPKcS0_iS0_+0x1ec)[0xa9efac]
build/ARM_FS/gem5.opt(_Z14__exit_messageIJmEEvPKciS1_S1_iS1_DpRKT_+0x77)[0x9
856e7]
build/ARM_FS/gem5.opt(_ZN5Pl39016writeDistributorEP6Packet+0x5db)[0xa3337b]
build/ARM_FS/gem5.opt(_ZN5Pl3905writeEP6Packet+0x7d)[0xa33d7d]
build/ARM_FS/gem5.opt(_ZN7PioPort10recvAtomicEP6Packet+0x66)[0x99c286]
build/ARM_FS/gem5.opt(_ZN12CoherentXBar10recvAtomicEP6Packets+0x6af)[0xaf09b
f]
build/ARM_FS/gem5.opt(_ZN15AtomicSimpleCPU8writeMemEPhjmjPm+0x337)[0xcc0fa7]
build/ARM_FS/gem5.opt(_ZN17SimpleExecContext8writeMemEPhjmjPm+0x21)[0xccbe51
]
build/ARM_FS/gem5.opt(_ZNK10ArmISAInst10STRW64_IMM7executeEP11ExecContextPN5
Trace10InstRecordE+0xe3)[0x15615d3]
build/ARM_FS/gem5.opt(_ZN15AtomicSimpleCPU4tickEv+0x277)[0xcbfb17]
build/ARM_FS/gem5.opt(_ZN10EventQueue10serviceOneEv+0xb1)[0x943421]
build/ARM_FS/gem5.opt(_Z9doSimLoopP10EventQueue+0x38)[0x96dc38]
build/ARM_FS/gem5.opt(_Z8simulatem+0x1fb)[0x96e1bb]
build/ARM_FS/gem5.opt[0xc3b87c]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x45f7)[0x7
f17b329eaf7]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x80d)[0x7f1
7b32a054d]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x48d8)[0x7
f17b329edd8]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x4b59)[0x7
f17b329f059]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x4b59)[0x7
f17b329f059]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x80d)[0x7f1
7b32a054d]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCode+0x32)[0x7f17b3
2a0682]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x563e)[0x7
f17b329fb3e]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x80d)[0x7f1
7b32a054d]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x48d8)[0x7
f17b329edd8]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x80d)[0x7f1
7b32a054d]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCode+0x32)[0x7f17b3
2a0682]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyRun_StringFlags+0x79)[0x7f17
b329a4b9]
--- END LIBC BACKTRACE ---


_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.

_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to