Hello, it would help if you could run it with gdb, place a breakpoint in 
BaseKVMCPU::setOneReg and tell us which register gem5 is trying to set



Kind Regards



Giacomo

From: 何雨彬 via gem5-users <gem5-users@gem5.org>
Date: Tuesday, 15 August 2023 at 07:00
To: gem5 <gem5-users@gem5.org>
Cc: 何雨彬 <bjutheyu...@emails.bjut.edu.cn>
Subject: [gem5-users] boot arm with kvm

hello!

i am using gem5's KVM to accelerate my simulation, but in version 22.0, I 
encountered the following issue:

**** REAL SIMULATION ****
build/ARM/cpu/kvm/base.cc:150: info: KVM: Coalesced MMIO disabled by config.
build/ARM/dev/arm/energy_ctrl.cc:252: warn: Existing EnergyCtrl, but no enabled 
DVFSHandler found.
build/ARM/sim/simulate.cc:192: info: Entering event queue @ 0.  Starting 
simulation...
build/ARM/cpu/kvm/base.cc:863: panic: KVM: Failed to set register 
(0x6030000000100042) value (errno: 22)


I found a similar error in the email list before, but after checking the 
patches, I realized that the patches were all there but the issue still wasn't 
resolved.

After that, I switched the gem5 version to 20.1.0.5, but after running it, the 
gem5's output remained stuck, and there was no output in m5term.

Here is my command line:




sudo ./build/ARM/gem5.opt ./configs/example/fs.py 
--disk=/home/lyq/gem5/benchmark/itecgo/itecgo/expand-aarch64-ubuntu-trusty-headless.img
  --kernel=/home/lyq/gem5/benchmark/itecgo/itecgo/vmlinux.euler --mem-size=12GB 
--bootloader=/home/lyq/gem5/benchmark/itecgo/boot.arm64  
--script=/home/lyq/gem5/benchmark/RCS/403.gcc.rcS --caches 
--cpu-type=ArmV8KvmCPU

Is there anything I should check? I can provide more information if needed.



Thank you for any help!

mike

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-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org

Reply via email to