Re: [gem5-users] PerfKvmCounter Error

2020-02-10 Thread Jason Lowe-Power
You need to run that command *on the host*, not on the guest. Jason On Mon, Feb 10, 2020 at 11:58 AM Muhammet Abdullah Soytürk < muhammetabdullahsoyt...@gmail.com> wrote: > Yes I did but still I am getting the same error message. I have tried > > echo "12345" | echo -1 >

Re: [gem5-users] PerfKvmCounter Error

2020-02-10 Thread Muhammet Abdullah Soytürk
By the way I am using vmlinux-4.19.83. Muhammet Abdullah Soytürk , 10 Şub 2020 Pzt, 19:45 tarihinde şunu yazdı: > Yes I did but still I am getting the same error message. I have tried > > echo "12345" | echo -1 > /proc/sys/kernel/perf_event_paranoid > > and > > echo "12345" | sudo sysctl -w

Re: [gem5-users] PerfKvmCounter Error

2020-02-10 Thread Muhammet Abdullah Soytürk
Yes I did but still I am getting the same error message. I have tried echo "12345" | echo -1 > /proc/sys/kernel/perf_event_paranoid and echo "12345" | sudo sysctl -w kernel.perf_event_paranoid=1 in the equivalent file to npb-install.sh. It does not change anything.

Re: [gem5-users] PerfKvmCounter Error

2020-02-10 Thread Jason Lowe-Power
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

[gem5-users] PerfKvmCounter Error

2020-02-10 Thread Muhammet Abdullah Soytürk
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

Re: [gem5-users] PerfKvmCounter error

2018-07-15 Thread Ciro Santilli
Glad you found it. How to check gem5 version: git log. You must build learn to build your own from source and do it often, or else it becomes hard to give help. On Sun, Jul 15, 2018 at 10:11 PM, Ryan Wang wrote: > I figured it out, i have to use sudo > > On Sat, Jul 14, 2018 at 8:16 PM, Ryan

Re: [gem5-users] PerfKvmCounter error

2018-07-15 Thread Ryan Wang
I figured it out, i have to use sudo On Sat, Jul 14, 2018 at 8:16 PM, Ryan Wang wrote: > Hi Ciro, > I am using the image and kernel provided from the gem5 website, see the > command line below. Not sure how to check the gem5 version, but I > downloaded it 3 months ago. > > build/X86/gem5.opt

Re: [gem5-users] PerfKvmCounter error

2018-07-14 Thread Ryan Wang
Hi Ciro, I am using the image and kernel provided from the gem5 website, see the command line below. Not sure how to check the gem5 version, but I downloaded it 3 months ago. build/X86/gem5.opt configs/example/fs.py --disk-image=linux-x86.img --cpu-type=X86KvmCPU --kernel=x86_64-vmlinux-2.6.22.9

Re: [gem5-users] PerfKvmCounter error

2018-07-14 Thread Ciro Santilli
What is your image, kernel, gem5 revision, full gem5 command line, are there any terminal messages. On Sat, Jul 14, 2018 at 2:43 AM, Ryan Wang wrote: > Hi, > I was trying to use x86KvmCPU, and got a panic in the beginning of the > run: panic: PerfKvmCounter::open failed (13) > > I saw that

[gem5-users] PerfKvmCounter error

2018-07-13 Thread Ryan Wang
Hi, I was trying to use x86KvmCPU, and got a panic in the beginning of the run: panic: PerfKvmCounter::open failed (13) I saw that there are some patches from Jason that should solve a different error seen by some others, which I don't think related to this. I have kvm enabled in my machine and I