-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
We encountered a few errors when following the instructions to set up of the Elf Loader.
When we ran the following commands:
- curl --proto '=https' --tlsv1.2 -sSf https://get.kraftkit.sh | sudo sh
- git clone https://github.com/unikraft/app-elfloader elfloader
cd elfloader/ - kraft build (then choosing elfloader-qemu-x86_64-initrd-strace)
- git clone https://github.com/unikraft/dynamic-apps
- kraft run --target elfloader-qemu-x86_64-initrd-strace --plat qemu --initrd ../dynamic-apps/lang/c/helloworld/:/ -- /helloworld
We received a "path does not exist" error.
When we tried to fix this by running the following commands:
- curl --proto '=https' --tlsv1.2 -sSf https://get.kraftkit.sh | sudo sh
- git clone https://github.com/unikraft/app-elfloader elfloader
cd elfloader/ - kraft build (then chose elfloader-qemu-x86_64-initrd-strace)
- git clone https://github.com/unikraft/dynamic-apps
- kraft run (then chose elfloader-qemu-x86_64-initrd-strace)
We received "Init function at 0x16e7e0 returned error -1"
When we followed the "Quick Setup (aka TLDR)" everything worked except we had to use sudo in front of the last line below.
Sudo qemu-system-x86_64
-fsdev local,id=myid,path="/",security_model=none
-device virtio-9p-pci,fsdev=myid,mount_tag=fs1,disable-modern=on,disable-legacy=off
-kernel workdir/build/elfloader_qemu-x86_64 -nographic
-enable-kvm -cpu host
-append /bin/ls
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
No status
Status
No status