From 4e664bf73766eb33c5795245f848c16cb157bdc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciro=20Santilli=20=E5=85=AD=E5=9B=9B=E4=BA=8B=E4=BB=B6=20?= =?UTF-8?q?=E6=B3=95=E8=BD=AE=E5=8A=9F?= Date: Thu, 12 Dec 2019 00:00:00 +0000 Subject: [PATCH] gem5 python userland also broken obviously --- README.adoc | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/README.adoc b/README.adoc index 0257410..7b8ec72 100644 --- a/README.adoc +++ b/README.adoc @@ -14305,14 +14305,31 @@ Non-interactive usage: ./run --userland "$(./getvar buildroot_target_dir)/usr/bin/python3" --userland-args rootfs_overlay/lkmc/python/hello.py .... -LKMC 50ac89b779363774325c81157ec8b9a6bdb50a2f gem5 390a74f59934b85d91489f8a563450d8321b602da arch64: +LKMC 50ac89b779363774325c81157ec8b9a6bdb50a2f gem5 390a74f59934b85d91489f8a563450d8321b602da: + +.... +./run \ + --emulator gem5 \ + --userland "$(buildroot_target_dir)/usr/bin/python3" \ + --userland-args rootfs_overlay/lkmc/python/hello.py \ +; +.... + +fails with: + +.... +fatal: Syscall 318 out of range +.... + +which corresponds to the glorious `inotify_rm_watch` syscall: https://github.com/torvalds/linux/blob/v5.4/arch/arm/tools/syscall.tbl#L335 + +and aarch64: .... ./run \ --arch aarch64 \ --emulator gem5 \ - --userland "$(./getvar \ - --arch aarch64 buildroot_target_dir)/usr/bin/python3" \ + --userland "$(./getvar --arch aarch64 buildroot_target_dir)/usr/bin/python3" \ --userland-args rootfs_overlay/lkmc/python/hello.py \ ; ....