Dear all??
I've encountered while performing a gpu-fs simulation using the gem5
simulator. Following the instructions outlined in the
https://github.com/gem5/gem5-resources/blob/stable/src/gpu-fs/README.md, and
using the disk image obtained from
https://www.gem5.org/2023/02/13/moving-to-full-system-gpu.html, I executed the
following command:
build/VEGA_X86/gem5.opt configs/example/gpufs/vega10_kvm.py --disk-image
../gem5-resources/src/gpu-fs/disk-image/rocm42/rocm42-image/rocm42 --kernel
../gem5-resources/src/gpu-fs/vmlinux-5.4.0-105-generic --gpu-mmio-trace
../gem5-resources/src/gpu-fs/vega_mmio.log --app
../gem5-resources/src/gpu/square/bin/square During the execution, I encountered
multiple warning messages related to unsupported MSR (Model Specific Register)
accesses, followed by a panic related to the Intel 8254 timer. The specific
warning and error messages were: build/VEGA_X86/arch/x86/kvm/x86_cpu.cc:1562:
warn: kvm-x86: MSR (0xc001011f) unsupported by gem5. Skipping.
build/VEGA_X86/arch/x86/kvm/x86_cpu.cc:1562: warn: kvm-x86: MSR (0x1fc)
unsupported by gem5. Skipping. build/VEGA_X86/arch/x86/kvm/x86_cpu.cc:1562:
warn: kvm-x86: MSR (0x8b) unsupported by gem5. Skipping.
build/VEGA_X86/arch/x86/kvm/x86_cpu.cc:1562: warn: kvm-x86: MSR (0xc0010015)
unsupported by gem5. Skipping. build/VEGA_X86/arch/x86/kvm/x86_cpu.cc:1562:
warn: kvm-x86: MSR (0x4b564d05) unsupported by gem5. Skipping.
build/VEGA_X86/dev/x86/pc.cc:117: warn: Don't know what interrupt to clear for
console. build/VEGA_X86/dev/intel_8254_timer.cc:215: panic: PIT mode 0x4 is not
implemented: Memory Usage: 23051064 KBytes Program aborted at tick
2058120564000 --- BEGIN LIBC BACKTRACE ---
build/VEGA_X86/gem5.opt(+0x12471b0)[0x5576147331b0]
build/VEGA_X86/gem5.opt(+0x126b9be)[0x5576147579be]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x14420)[0x7f634f500420]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb)[0x7f634e6a700b]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x12b)[0x7f634e686859]
build/VEGA_X86/gem5.opt(+0x4ec3e5)[0x5576139d83e5]
build/VEGA_X86/gem5.opt(+0x1b1d38f)[0x55761500938f]
build/VEGA_X86/gem5.opt(+0x1cca5fa)[0x5576151b65fa]
build/VEGA_X86/gem5.opt(+0x1b03226)[0x557614fef226]
build/VEGA_X86/gem5.opt(+0x77b598)[0x557613c67598]
build/VEGA_X86/gem5.opt(+0x96b627)[0x557613e57627]
build/VEGA_X86/gem5.opt(+0xfcc34b)[0x5576144b834b]
build/VEGA_X86/gem5.opt(+0x19d159d)[0x557614ebd59d]
build/VEGA_X86/gem5.opt(+0xfcccb3)[0x5576144b8cb3]
build/VEGA_X86/gem5.opt(+0xfcb8b1)[0x5576144b78b1]
build/VEGA_X86/gem5.opt(+0x125aa22)[0x557614746a22]
build/VEGA_X86/gem5.opt(+0x1283534)[0x55761476f534]
build/VEGA_X86/gem5.opt(+0x1283b13)[0x55761476fb13]
build/VEGA_X86/gem5.opt(+0x665ab2)[0x557613b51ab2]
build/VEGA_X86/gem5.opt(+0x4ba777)[0x5576139a6777]
/lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x2a8748)[0x7f634f7b9748]
/lib/x86_64-linux-gnu/libpython3.8.so.1.0(_PyEval_EvalFrameDefault+0x8dd8)[0x7f634f58ef48]
/lib/x86_64-linux-gnu/libpython3.8.so.1.0(_PyEval_EvalCodeWithName+0x8fb)[0x7f634f6dbe4b]
/lib/x86_64-linux-gnu/libpython3.8.so.1.0(_PyFunction_Vectorcall+0x94)[0x7f634f7b9124]
/lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x74d6d)[0x7f634f585d6d]
/lib/x86_64-linux-gnu/libpython3.8.so.1.0(_PyEval_EvalFrameDefault+0x7d86)[0x7f634f58def6]
/lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x8006b)[0x7f634f59106b]
/lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x74d6d)[0x7f634f585d6d]
/lib/x86_64-linux-gnu/libpython3.8.so.1.0(_PyEval_EvalFrameDefault+0x7d86)[0x7f634f58def6]
/lib/x86_64-linux-gnu/libpython3.8.so.1.0(_PyEval_EvalCodeWithName+0x8fb)[0x7f634f6dbe4b]
/lib/x86_64-linux-gnu/libpython3.8.so.1.0(PyEval_EvalCodeEx+0x42)[0x7f634f6dc1d2]
/lib/x86_64-linux-gnu/libpython3.8.so.1.0(PyEval_EvalCode+0x1f)[0x7f634f6dc5bf]
--- END LIBC BACKTRACE --- Aborted (core dumped) Additionally, in the
m5out/system.pc.com_1.device file, I found multiple error entries related to
unchecked MSR access errors. [ 0.334614] unchecked MSR access error: RDMSR
from 0x1b0 at rIP: 0xffffffff8107688a (native_read_msr+0xa/0x30) [ 0.337428]
Call Trace: [ 0.338158] ? __switch_to_asm+0x34/0x70 [ 0.338535]
intel_epb_restore+0x1f/0x80 [ 0.339670] intel_epb_online+0x17/0x40 [
0.340786] cpuhp_invoke_callback+0x8a/0x580 [ 0.342045] ?
__schedule+0x29a/0x720 [ 0.342531] cpuhp_thread_fun+0xb8/0x120 [
0.343683] smpboot_thread_fn+0xfc/0x170 [ 0.344851] kthread+0x121/0x140 [
0.345784] ? sort_range+0x30/0x30 [ 0.346531] ? kthread_park+0x90/0x90 [
0.347606] ret_from_fork+0x22/0x40 [ 0.348640] ENERGY_PERF_BIAS: Set to
'normal', was 'performance' [ 0.350533] unchecked MSR access error: WRMSR to
0x1b0 (tried to write 0x0000000000000006) at rIP: 0xffffffff81076a88
(native_write_msr+0x8/0x30) [ 0.354238] Call Trace: [ 0.354532]
intel_epb_restore+0x4d/0x80 [ 0.355674] intel_epb_online+0x17/0x40 [
0.356785] cpuhp_invoke_callback+0x8a/0x580 [ 0.358046] ?
__schedule+0x29a/0x720 [ 0.358531] cpuhp_thread_fun+0xb8/0x120 [
0.359682] smpboot_thread_fn+0xfc/0x170 [ 0.360847] kthread+0x121/0x140 [
0.361786] ? sort_range+0x30/0x30 [ 0.362531] ? kthread_park+0x90/0x90 [
0.363754] ret_from_fork+0x22/0x40
I am unsure how to proceed with resolving these issues. I would greatly
appreciate any guidance or advice you can provide on how to address these
errors and successfully run the simulation.
Thank you for your time and assistance. I look forward to your valuable
insights.
Best regards,
Sandy.
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org