Running QEMU-static in wsl #13144
Unanswered
EngvallEmill
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! I have a problem with a project I have and wonder if someone here have a solution for it. I try to run Linux arm binarys in wsl with QEMU-user-static, but dpdk does not work:
emen@desktop-emen:/mnt/d/qemu/cos-core$ qemu-aarch64-static -L "/mnt/d/BuildEnv_Core/ARM-MinGW/gcc-arm-9.2-2019.12-mingw-w64-i686-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc" -E LD_LIBRARY_PATH="$LD_LIBRARY_PATH" ./fwcore
sh: 1: dmidecode: not found
sh: 1: dmidecode: not found
Using DPDK 23.11.0
EAL: Detected CPU lcores: 8
EAL: Detected NUMA nodes: 1
EAL: Static memory layout is selected, amount of reserved memory can be adjusted with -m or --socket-mem
EAL: Detected static linkage of DPDK
EAL: Multi-process socket /run/user/1000//dpdk/rte/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Failed to create shared memory!
EAL: FATAL: Cannot init memory
EAL: Cannot init memory
EAL: Error - exiting with code: 1
Cause: Error with EAL initialization
emen@desktop-emen:/mnt/d/qemu/cos-core$ grep Huge /proc/meminfo
AnonHugePages: 0 kB
ShmemHugePages: 0 kB
FileHugePages: 0 kB
HugePages_Total: 128
HugePages_Free: 128
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
Hugetlb: 262144 kB
emen@desktop-emen:/mnt/d/qemu/cos-core$ and still can't run
all help is more then welcome 😊
Beta Was this translation helpful? Give feedback.
All reactions