Yeah. I would suggest working on a native linux machine if you're going to
use KVM. If you're not using KVM, then WSL *should* (no promises ;)) work
OK.

Cheers,
Jason

On Thu, Sep 23, 2021 at 3:21 PM Reiko Matsuda-dunn <
reiko.matsudad...@colorado.edu> wrote:

> Thanks for the resources! Seems like quite a can of worms.It's almost
> looking like it could be easier to partition a computer for Linux and start
> over. Would you recommend that as an alternative?
>
> All th
>
> On Thu, Sep 23, 2021 at 1:36 PM Jason Lowe-Power via gem5-users <
> gem5-users@gem5.org> wrote:
>
>> Hi Reiko,
>>
>> The KVM CPU requires that the host platform supports KVM. Given that
>> you're using WSL, this means that you need to have nested virtualization
>> enabled and implemented on your WSL kernel.
>> https://www.reddit.com/r/bashonubuntuonwindows/comments/ldbyxa/what_is_the_current_state_of_kvm_acceleration_on/
>> has more information.
>>
>> We can try to help you with this, but currently we only support KVM on
>> native Linux hosts.
>>
>> Cheers,
>> Jason
>>
>> On Thu, Sep 23, 2021 at 11:36 AM Reiko Matsuda-dunn via gem5-users <
>> gem5-users@gem5.org> wrote:
>>
>>> Hello,
>>>
>>> I'm trying to troubleshoot this error (output below).  I've looked at
>>> prior posts in this mailing list and was able to change perf_event_paranoid
>>> to -1 ( I confirmed this with $cat /proc/sys/kernel/perf_event_paranoid,
>>> which returns -1, although it resets to 2 every time I reboot). It looks
>>> like there's some mention of a patch, but I haven't been able to find that
>>> patch. If anyone could point me to that, or offer other suggestions I would
>>> be grateful!
>>>
>>> I'm using gem5 21, WSL2, and have otherwise follower the tutorial here:
>>> https://www.gem5.org/documentation/gem5art/tutorials/spec-tutorial
>>> <https://secure-web.cisco.com/17IBO0xQxkZZIebcGCBpl1G0BsdiJYaESwCqShOyCJRixJFvPEMpbaePLfLril03_Qv4GGBoSf1-s_RSxDFuTNEd3nZ6jb0A1cTSgSVFF0TlW1yWTMajw2VxDcgoQK9MBNdDMxXseHmenbOhFoHzv2_nSqldKvC5u8wj1QXxh6AWAgT-lqcyDlX3wNkRQ-RubhrlVql0h1nLr5X3xLcaS9VTm2VvIJRRkiCZ9AUQeNGn0Tw2BWM1jWjW9qSghZtSB-ir8AP83Di1pPW25Q2ALWnuR-YoVfQ9JL4eL6Aql49G8VUkDU4LtTjLHprwIYfe7xfz-J2mBNwAs6Cy_qgF8Z7M1c6GbEc_4GBF_QUvdVYZhz4L46EEpidbJb2txcdtl4NghPNs9ua1gBj5wynZ2j1GynRoxrrc_Y_sJnfR_xMQxGI9EcqCfe9zm2-St2Zq3clFno40v_7K-s8JTR5a8GA/https%3A%2F%2Fwww.gem5.org%2Fdocumentation%2Fgem5art%2Ftutorials%2Fspec-tutorial>
>>>
>>> My launch_spec2017_experiment.py has been modified slightly for the
>>> paths and gem5 version.
>>>
>>> Thanks for all your help,
>>> Reiko
>>>
>>> build/X86/mem/mem_interface.cc:791: warn:
>>> DRAM device capacity (32768 Mbytes) does not match the address range 
>>> assigned (1024 Mbytes)
>>> build/X86/mem/mem_interface.cc:791: warn:
>>> DRAM device capacity (32768 Mbytes) does not match the address range 
>>> assigned (1024 Mbytes)
>>> build/X86/mem/mem_interface.cc:791: warn:
>>> DRAM device capacity (32768 Mbytes) does not match the address range 
>>> assigned (1024 Mbytes)
>>> build/X86/mem/mem_interface.cc:791: warn:
>>> DRAM device capacity (32768 Mbytes) does not match the address range 
>>> assigned (1024 Mbytes)
>>> build/X86/mem/mem_interface.cc:791: warn:
>>> DRAM device capacity (32768 Mbytes) does not match the address range 
>>> assigned (1024 Mbytes)
>>> build/X86/mem/mem_interface.cc:791: warn:
>>> DRAM device capacity (32768 Mbytes) does not match the address range 
>>> assigned (1024 Mbytes)
>>> build/X86/mem/mem_interface.cc:791: warn:
>>> DRAM device capacity (32768 Mbytes) does not match the address range 
>>> assigned (1024 Mbytes)
>>> build/X86/mem/mem_interface.cc:791: warn:
>>> DRAM device capacity (32768 Mbytes) does not match the address range 
>>> assigned (1024 Mbytes)
>>> build/X86/mem/mem_interface.cc:791: warn:
>>> DRAM device capacity (32768 Mbytes) does not match the address range 
>>> assigned (128 Mbytes)
>>> build/X86/sim/kernel_workload.cc:46: info: kernel located at:
>>> vmlinux-4.19.83
>>> build/X86/dev/serial/terminal.cc:170: warn:
>>> Sockets disabled, not accepting terminal connections
>>> build/X86/base/remote_gdb.cc:377: warn:
>>> Sockets disabled, not accepting gdb connections
>>> build/X86/mem/coherent_xbar.cc:140: warn:
>>> CoherentXBar system.cpu.mmucache.mmubus has no snooping ports attached!
>>> build/X86/dev/intel_8254_timer.cc:125: warn:
>>> Reading current count from inactive timer.
>>> build/X86/cpu/kvm/base.cc:152: info: KVM:
>>> Coalesced MMIO disabled by config.
>>> build/X86/arch/x86/cpuid.cc:180: warn: x86 cpuid family 0x0000:
>>> unimplemented function 2
>>> build/X86/arch/x86/cpuid.cc:180: warn: x86 cpuid family 0x0000:
>>> unimplemented function 3
>>> build/X86/arch/x86/cpuid.cc:180: warn: x86 cpuid family 0x0000:
>>> unimplemented function 4
>>> build/X86/arch/x86/cpuid.cc:180: warn: x86 cpuid family 0x0000:
>>> unimplemented function 5
>>> build/X86/arch/x86/cpuid.cc:180: warn: x86 cpuid family 0x0000:
>>> unimplemented function 6
>>> build/X86/arch/x86/cpuid.cc:180: warn: x86 cpuid family 0x0000:
>>> unimplemented function 8
>>> build/X86/cpu/kvm/base.cc:152: info: KVM:
>>> Coalesced MMIO disabled by config.
>>> build/X86/arch/x86/cpuid.cc:180: warn: x86 cpuid family 0x0000:
>>> unimplemented function 2
>>> build/X86/arch/x86/cpuid.cc:180: warn: x86 cpuid family 0x0000:
>>> unimplemented function 3
>>> build/X86/arch/x86/cpuid.cc:180: warn: x86 cpuid family 0x0000:
>>> unimplemented function 4
>>> build/X86/arch/x86/cpuid.cc:180: warn: x86 cpuid family 0x0000:
>>> unimplemented function 5
>>> build/X86/arch/x86/cpuid.cc:180: warn: x86 cpuid family 0x0000:
>>> unimplemented function 6
>>> build/X86/arch/x86/cpuid.cc:180: warn: x86 cpuid family 0x0000:
>>> unimplemented function 8
>>> build/X86/sim/simulate.cc:107: info:
>>> Entering event queue @ 0.  Starting simulation...
>>> build/X86/cpu/kvm/perfevent.cc:183: panic:
>>> PerfKvmCounter::attach failed (2)
>>> Memory Usage: 8738772 KBytes
>>> build/X86/cpu/kvm/perfevent.cc:183: panic:
>>> PerfKvmCounter::attach failed (2)
>>> Memory Usage: 8738772 KBytes
>>> Program aborted at tick 0
>>> _______________________________________________
>>> gem5-users mailing list -- gem5-users@gem5.org
>>> To unsubscribe send an email to gem5-users-le...@gem5.org
>>> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
>>
>> _______________________________________________
>> gem5-users mailing list -- gem5-users@gem5.org
>> To unsubscribe send an email to gem5-users-le...@gem5.org
>> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
>
>
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to