Did you do what the error suggests?

  This error may be caused by a too restrictive setting   in the file
'/proc/sys/kernel/perf_event_paranoid'  The default value was changed to 2
in kernel 4.6  A value greater than 1 prevents gem5 from making  the
syscall to perf_event_open.

You need to run something like the following (as root).

# echo -1 > /proc/sys/kernel/perf_event_paranoid

Cheers.
Jason

On Mon, Feb 10, 2020 at 7:42 AM Muhammet Abdullah Soytürk <
muhammetabdullahsoyt...@gmail.com> wrote:

> Hi all,
>
> I am trying to run PageRank application in GAP Benchmark with full system
> simulation. I followed the following npb tutorial:
> https://gem5art.readthedocs.io/en/latest/tutorials/npb-tutorial.html. and
> changed the necessary files to make my application work but I am getting a
> KVM error that I have not seen before. Does anyone have any idea about
> solving it? I could not find anything online.
>
> Here is the simerr file content:
>
> warn: DRAM device capacity (32768 Mbytes) does not match the address range
> assigned (128 Mbytes)
> info: kernel located at: linux-stable/vmlinux-4.19.83
> warn: Sockets disabled, not accepting terminal connections
> warn: Sockets disabled, not accepting gdb connections
> warn: CoherentXBar system.cpu.mmucache.mmubus has no snooping ports
> attached!
> warn: Reading current count from inactive timer.
> info: KVM: Coalesced MMIO disabled by config.
> warn: x86 cpuid family 0x0000: unimplemented function 2
> warn: x86 cpuid family 0x0000: unimplemented function 3
> warn: x86 cpuid family 0x0000: unimplemented function 4
> warn: x86 cpuid family 0x0000: unimplemented function 5
> warn: x86 cpuid family 0x0000: unimplemented function 6
> info: Entering event queue @ 0.  Starting simulation...
>
>
>
>
>
> *panic: PerfKvmCounter::attach recieved error EACCESS  This error may be
> caused by a too restrictive setting  in the file
> '/proc/sys/kernel/perf_event_paranoid'  The default value was changed to 2
> in kernel 4.6  A value greater than 1 prevents gem5 from making  the
> syscall to perf_event_open*
> Memory Usage: 4532020 KBytes
> Program aborted at tick 0
> --- BEGIN LIBC BACKTRACE ---
> gem5/build/X86/gem5.opt(_Z15print_backtracev+0x2c)[0x559fcda3ae0c]
> gem5/build/X86/gem5.opt(_Z12abortHandleri+0x4a)[0x559fcda4d07a]
> /lib/x86_64-linux-gnu/libpthread.so.0(+0x12890)[0x7fa31b84b890]
> /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7)[0x7fa31a059e97]
> /lib/x86_64-linux-gnu/libc.so.6(abort+0x141)[0x7fa31a05b801]
> gem5/build/X86/gem5.opt(+0x51e42f)[0x559fcca7f42f]
>
> gem5/build/X86/gem5.opt(_ZN14PerfKvmCounter6attachER20PerfKvmCounterConfigii+0x127)[0x559fcd981a47]
>
> gem5/build/X86/gem5.opt(_ZN10BaseKvmCPU13setupCountersEv+0xcc)[0x559fcd9753ac]
>
> gem5/build/X86/gem5.opt(_ZN10BaseKvmCPU13startupThreadEv+0x57)[0x559fcd9767c7]
> gem5/build/X86/gem5.opt(_ZN10EventQueue10serviceOneEv+0xd9)[0x559fcda43019]
> gem5/build/X86/gem5.opt(_Z9doSimLoopP10EventQueue+0x87)[0x559fcda63917]
> gem5/build/X86/gem5.opt(+0x1502c4f)[0x559fcda63c4f]
> /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xbd66f)[0x7fa31aa7f66f]
> /lib/x86_64-linux-gnu/libpthread.so.0(+0x76db)[0x7fa31b8406db]
> /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7fa31a13c88f]
> --- END LIBC BACKTRACE ---
> _______________________________________________
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to