cloudius-systems / osv

OSv, a new operating system for the cloud.
osv.io
Other
4.12k stars 605 forks source link

Failed to run RVVM in osv #1300

Open fish4terrisa-MSDSM opened 10 months ago

fish4terrisa-MSDSM commented 10 months ago

I'm porting LekKit/RVVM (A very fast riscv/riscv64 VM which can run on multiple platforms), the code is here: fish4terrisa-MSDSM/RVVM/tree/osv However, when I'm testing, I got these errors:

Command line will be set based on --run parameter                                                 Created instance: osv-rvvm-test                                                                   Setting cmdline: /release.linux.x86_64/rvvm_x86_64.so                                             OSv v0.57.0
eth0: 192.168.122.15
Booted up in 0.00 ms
Cmdline: /release.linux.x86_64/rvvm_x86_64.so
WARNING: application::prepare_argv(): missing libvdso.so -> may prevent shared libraries specifically Golang ones from functioning                                                                  Failed to load object: /release.linux.x86_64/rvvm_x86_64.so. Powering off.

The step to compile and run is:

git clone -b osv https://github.com/fish4terrisa-MSDSM/RVVM RVVM-test
cd RVVM-test
make USE_FB=0 USE_NET=1 USE_SPINLOCK_DEBUG=0 USE_TAP_LINUX=0 USE_OSV=1
capstan package compose --verbose --pull-missing --boot rvvm_test osv-rvvm-test
rm vnc-domain-socket
capstan run -e /release.linux.x86_64/rvvm_x86_64.so osv-rvvm-test

And you may see the errors. (I'm not sure whether the file meta/usr.manifest is needed -- I added it later after my test. However, in my previous tests, it didn't worked.)

P.S. Sorry for my broken English

nyh commented 10 months ago

The relevant error is

Setting cmdline: /release.linux.x86_64/rvvm_x86_64.so
...
Failed to load object: /release.linux.x86_64/rvvm_x86_64.so

Unfortunately I have zero working knowledge of Capstan (maybe @wkozaczuk can help) so I don't know how to check why this specific file doesn't exist. Do you think it should? Maybe it has a different path, and not this specific path? You are the one that specified this specific path, in the "-e" argument.

fish4terrisa-MSDSM commented 10 months ago

I don't know how to find that file, and I even can't mount the qcow2 built by capstan.(There is only an empty folder zfs in the qcow2 mounted with zfs)

wkozaczuk commented 10 months ago

Something is wrong with the filesystem on the image.

What does capstan package compose --verbose --pull-missing --boot rvvm_test osv-rvvm-test ouput? I see there is --verbose in it so capstan should list all files included if any.

There is a way to mount an OSv image on your host with openzfs (see https://github.com/cloudius-systems/osv/wiki/Filesystems#creating-and-manipulating-zfs-disks-on-host) and manipulate any way you want.

Also, you can use rofs if you do not care if your data on disk is transient.

fish4terrisa-MSDSM commented 10 months ago

Also, you can use rofs if you do not care if your data on disk is transient.

I need to include a disk image of the VM in the image, so rofs won't meet my need.

fish4terrisa-MSDSM commented 10 months ago

Something is wrong with the filesystem on the image.

What does capstan package compose --verbose --pull-missing --boot rvvm_test osv-rvvm-test ouput? I see there is --verbose in it so capstan should list all files included if any.

The output:

Command line will be set based on --boot parameters
Resolved runtime into: native
extractPackageContent: osv.bootstrap
WARN: .capstanignore not found, all files will be uploaded
.capstanignore: ignore /.git (entire folder)
.capstanignore: ignore /meta/package.yaml
.capstanignore: ignore /mpm-pkg (entire folder)
Importing osv-rvvm-test...
Importing into /home/fish4terrisa/.capstan/repository/osv-rvvm-test/osv-rvvm-test.qemu
Uploading files to /home/fish4terrisa/.capstan/repository/osv-rvvm-test/osv-rvvm-test.qemu...
Setting cmdline: --console=serial --norandom --nomount --noinit --preload-zfs-library /tools/mkfs.so; /tools/cpiod.so --prefix /zfs/zfs; /zfs.so set compression=off osv
Invoking QEMU at: /usr/bin/qemu-system-x86_64 with arguments:
  -vnc unix:vnc-domain-socket
  -m 512
  -smp 0
  -device virtio-blk-pci,id=blk0,drive=hd0
  -drive file=/home/fish4terrisa/.capstan/repository/osv-rvvm-test/osv-rvvm-test.qemu,if=none,id=hd0,aio=threads,cache=none
  -chardev stdio,mux=on,id=stdio,signal=off
  -device isa-serial,chardev=stdio
  -append
  --console=serial --norandom --nomount --noinit --preload-zfs-library /tools/mkfs.so; /tools/cpiod.so --prefix /zfs/zfs; /zfs.so set compression=off osv
  -kernel /home/fish4terrisa/.capstan/repository/osv-zfs-builder/osv-zfs-builder.qemu
  -netdev user,id=un0,net=192.168.122.0/24,host=192.168.122.1,hostfwd=tcp::10000-:10000
  -device virtio-net-pci,netdev=un0
  -chardev socket,id=charmonitor,path=,server=on,wait=off
  -mon chardev=charmonitor,id=monitor,mode=control
qemu-system-x86_64: warning: Deprecated CPU topology (considered invalid): CPU topology parameters must be greater than zero
OSv v0.57.0
eth0: 192.168.122.15
Booted up in 0.00 ms
Cmdline: /tools/mkfs.so; /tools/cpiod.so --prefix /zfs/zfs; /zfs.so set compression=off osv
Running mkfs...
Waiting for connection from host...
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/hashmap.o  --> /release.linux.x86_64/obj/hashmap.o
Adding /usr/src/RVVM-test/mpm-pkg/src/blk_io.c  --> /src/blk_io.c
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/devices/ata.d  --> /release.linux.x86_64/obj/devices/ata.d
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/devices/framebuffer.o  --> /release.linux.x86_64/obj/devices/framebuffer.o
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/devices/nvme.d  --> /release.linux.x86_64/obj/devices/nvme.d
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/devices/eth-oc.d  --> /release.linux.x86_64/obj/devices/eth-oc.d
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/spinlock.o  --> /release.linux.x86_64/obj/spinlock.o
Adding /usr/src/RVVM-test/mpm-pkg/src/devices/syscon.c  --> /src/devices/syscon.c
Adding /usr/src/RVVM-test/mpm-pkg/src/devices/rtc-goldfish.c  --> /src/devices/rtc-goldfish.c
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/riscv_csr.o  --> /release.linux.x86_64/obj/riscv_csr.o
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/rvjit/rvjit_emit.o  --> /release.linux.x86_64/obj/rvjit/rvjit_emit.o
Adding /usr/src/RVVM-test/mpm-pkg/src/cpu/riscv_i.c  --> /src/cpu/riscv_i.c
Adding /usr/src/RVVM-test/mpm-pkg/src/devices/hid-keyboard.c  --> /src/devices/hid-keyboard.c
Adding /usr/src/RVVM-test/mpm-pkg/.github  --> /.github
Adding /usr/src/RVVM-test/mpm-pkg/proc  --> /proc
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/cpu/riscv_c.32.o  --> /release.linux.x86_64/obj/cpu/riscv_c.32.o
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/cpu/riscv_m.32.o  --> /release.linux.x86_64/obj/cpu/riscv_m.32.o
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/devices/chardev_term.o  --> /release.linux.x86_64/obj/devices/chardev_term.o
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/main.o  --> /release.linux.x86_64/obj/main.o
Adding /usr/src/RVVM-test/mpm-pkg/src/devices/plic.h  --> /src/devices/plic.h
Adding /usr/src/RVVM-test/mpm-pkg/.github/ISSUE_TEMPLATE/bug_report.md  --> /.github/ISSUE_TEMPLATE/bug_report.md
Adding /usr/src/RVVM-test/mpm-pkg/LICENSE-MPL  --> /LICENSE-MPL
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/blk_io.d  --> /release.linux.x86_64/obj/blk_io.d
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/cpu/riscv_d.64.o  --> /release.linux.x86_64/obj/cpu/riscv_d.64.o
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/devices/eth-oc.o  --> /release.linux.x86_64/obj/devices/eth-oc.o
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/devices/i2c-hid.d  --> /release.linux.x86_64/obj/devices/i2c-hid.d
Adding /usr/src/RVVM-test/mpm-pkg/libenviron.so  --> /libenviron.so
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/devices/syscon.o  --> /release.linux.x86_64/obj/devices/syscon.o
Adding /usr/src/RVVM-test/mpm-pkg/src/fpu_ops.h  --> /src/fpu_ops.h
Adding /usr/src/RVVM-test/mpm-pkg/src/riscv_mmu.c  --> /src/riscv_mmu.c
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/devices/clint.d  --> /release.linux.x86_64/obj/devices/clint.d
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/devices/ps2-keyboard.o  --> /release.linux.x86_64/obj/devices/ps2-keyboard.o
Adding /usr/src/RVVM-test/mpm-pkg/src/devices/ps2-mouse.c  --> /src/devices/ps2-mouse.c
Adding /usr/src/RVVM-test/mpm-pkg/src/devices/nvme.c  --> /src/devices/nvme.c
Adding /usr/src/RVVM-test/mpm-pkg/src/rvjit/rvjit_emit.c  --> /src/rvjit/rvjit_emit.c
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/hashmap.d  --> /release.linux.x86_64/obj/hashmap.d
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/riscv_mmu.o  --> /release.linux.x86_64/obj/riscv_mmu.o
Adding /usr/src/RVVM-test/mpm-pkg/LICENSE-GPL  --> /LICENSE-GPL
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/cpu/riscv_a.32.o  --> /release.linux.x86_64/obj/cpu/riscv_a.32.o
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/devices/chardev_term.d  --> /release.linux.x86_64/obj/devices/chardev_term.d
Adding /usr/src/RVVM-test/mpm-pkg/src/devices/x11window_xlib.c  --> /src/devices/x11window_xlib.c
Adding /usr/src/RVVM-test/mpm-pkg/src/networking.c  --> /src/networking.c
Adding /usr/src/RVVM-test/mpm-pkg/dev  --> /dev
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/devices/ns16550a.d  --> /release.linux.x86_64/obj/devices/ns16550a.d
Adding /usr/src/RVVM-test/mpm-pkg/src/mem_ops.h  --> /src/mem_ops.h
Adding /usr/src/RVVM-test/mpm-pkg/src/devices/i2c-hid.h  --> /src/devices/i2c-hid.h
Adding /usr/src/RVVM-test/mpm-pkg/src/devices/i2c-oc.c  --> /src/devices/i2c-oc.c
Adding /usr/src/RVVM-test/mpm-pkg/src/hashmap.h  --> /src/hashmap.h
Adding /usr/src/RVVM-test/mpm-pkg/src/devices/chardev.h  --> /src/devices/chardev.h
Adding /usr/src/RVVM-test/mpm-pkg/src/rvjit  --> /src/rvjit
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/devices/syscon.d  --> /release.linux.x86_64/obj/devices/syscon.d
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/rvvm_x86_64.so  --> /release.linux.x86_64/rvvm_x86_64.so
Adding /usr/src/RVVM-test/mpm-pkg/run/rvvm_test  --> /run/rvvm_test
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/devices/nvme.o  --> /release.linux.x86_64/obj/devices/nvme.o
Adding /usr/src/RVVM-test/mpm-pkg/src/devices/ata.c  --> /src/devices/ata.c
Adding /usr/src/RVVM-test/mpm-pkg/src/dlib.h  --> /src/dlib.h
Adding /usr/src/RVVM-test/mpm-pkg/Makefile  --> /Makefile
Adding /usr/src/RVVM-test/mpm-pkg/src/elf_load.c  --> /src/elf_load.c
Adding /usr/src/RVVM-test/mpm-pkg/src/cpu/riscv_a.c  --> /src/cpu/riscv_a.c
Adding /usr/src/RVVM-test/mpm-pkg/src/devices/hid_dev.h  --> /src/devices/hid_dev.h
Adding /usr/src/RVVM-test/mpm-pkg/src/devices/sdl_window.c  --> /src/devices/sdl_window.c
Adding /usr/src/RVVM-test/mpm-pkg/src/elf_load.h  --> /src/elf_load.h
Adding /usr/src/RVVM-test/mpm-pkg/.github/codeql  --> /.github/codeql
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/cpu/riscv_a.64.o  --> /release.linux.x86_64/obj/cpu/riscv_a.64.o
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/dlib.d  --> /release.linux.x86_64/obj/dlib.d
Adding /usr/src/RVVM-test/mpm-pkg/src/riscv_csr.h  --> /src/riscv_csr.h
Adding /usr/src/RVVM-test/mpm-pkg/src/rvjit/rvjit_x86.h  --> /src/rvjit/rvjit_x86.h
Adding /usr/src/RVVM-test/mpm-pkg/usr  --> /usr
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/devices/ps2-altera.o  --> /release.linux.x86_64/obj/devices/ps2-altera.o
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/riscv_hart.o  --> /release.linux.x86_64/obj/riscv_hart.o
Adding /usr/src/RVVM-test/mpm-pkg/src/devices/ps2-altera.c  --> /src/devices/ps2-altera.c
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/devices/ps2-mouse.o  --> /release.linux.x86_64/obj/devices/ps2-mouse.o
Adding /usr/src/RVVM-test/mpm-pkg/src/riscv_priv.h  --> /src/riscv_priv.h
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/devices/ps2-mouse.d  --> /release.linux.x86_64/obj/devices/ps2-mouse.d
Adding /usr/src/RVVM-test/mpm-pkg/src/devices/mtd-physmap.c  --> /src/devices/mtd-physmap.c
Adding /usr/src/RVVM-test/mpm-pkg/src/riscv_hart.c  --> /src/riscv_hart.c
Adding /usr/src/RVVM-test/mpm-pkg/.github/workflows  --> /.github/workflows
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/riscv_cpu.d  --> /release.linux.x86_64/obj/riscv_cpu.d
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/rvtimer.o  --> /release.linux.x86_64/obj/rvtimer.o
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/devices/clint.o  --> /release.linux.x86_64/obj/devices/clint.o
Adding /usr/src/RVVM-test/mpm-pkg/src/devices/ns16550a.c  --> /src/devices/ns16550a.c
Adding /usr/src/RVVM-test/mpm-pkg/src/devices/rtc-goldfish.h  --> /src/devices/rtc-goldfish.h
Adding /usr/src/RVVM-test/mpm-pkg/src/riscv_cpu.h  --> /src/riscv_cpu.h
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/devices/mtd-physmap.d  --> /release.linux.x86_64/obj/devices/mtd-physmap.d
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/ringbuf.d  --> /release.linux.x86_64/obj/ringbuf.d
Adding /usr/src/RVVM-test/mpm-pkg/src/devices/fb_window.h  --> /src/devices/fb_window.h
Adding /usr/src/RVVM-test/mpm-pkg/src/devices  --> /src/devices
Adding /usr/src/RVVM-test/mpm-pkg/src/devices/clint.h  --> /src/devices/clint.h
Adding /usr/src/RVVM-test/mpm-pkg/src/devices/fb_window.c  --> /src/devices/fb_window.c
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/cpu/riscv_a.64.d  --> /release.linux.x86_64/obj/cpu/riscv_a.64.d
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/utils.o  --> /release.linux.x86_64/obj/utils.o
Adding /usr/src/RVVM-test/mpm-pkg/src/bindings  --> /src/bindings
Adding /usr/src/RVVM-test/mpm-pkg/.github/ISSUE_TEMPLATE  --> /.github/ISSUE_TEMPLATE
Adding /usr/src/RVVM-test/mpm-pkg/src/devices/mtd-physmap.h  --> /src/devices/mtd-physmap.h
Adding /usr/src/RVVM-test/mpm-pkg/src/rvjit/rvjit_arm64.h  --> /src/rvjit/rvjit_arm64.h
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/riscv_mmu.d  --> /release.linux.x86_64/obj/riscv_mmu.d
Adding /usr/src/RVVM-test/mpm-pkg/src/devices/ata.h  --> /src/devices/ata.h
Adding /usr/src/RVVM-test/mpm-pkg/src/devices/syscon.h  --> /src/devices/syscon.h
Adding /usr/src/RVVM-test/mpm-pkg/tmp  --> /tmp
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/devices/ata.o  --> /release.linux.x86_64/obj/devices/ata.o
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/devices/rtc-goldfish.o  --> /release.linux.x86_64/obj/devices/rtc-goldfish.o
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/devices/tap_user.d  --> /release.linux.x86_64/obj/devices/tap_user.d
Adding /usr/src/RVVM-test/mpm-pkg/src/fdtlib.h  --> /src/fdtlib.h
Adding /usr/src/RVVM-test/mpm-pkg/usr.manifest  --> /usr.manifest
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/blk_io.o  --> /release.linux.x86_64/obj/blk_io.o
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/cpu/riscv_d.32.d  --> /release.linux.x86_64/obj/cpu/riscv_d.32.d
Adding /usr/src/RVVM-test/mpm-pkg/src/compiler.h  --> /src/compiler.h
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/dlib.o  --> /release.linux.x86_64/obj/dlib.o
Adding /usr/src/RVVM-test/mpm-pkg/src/bindings/libretro/libretro.c  --> /src/bindings/libretro/libretro.c
Adding /usr/src/RVVM-test/mpm-pkg/src/devices/win32window.c  --> /src/devices/win32window.c
Adding /usr/src/RVVM-test/mpm-pkg/src/gd32.c  --> /src/gd32.c
Adding /usr/src/RVVM-test/mpm-pkg/.github/codeql/codeql-config.yml  --> /.github/codeql/codeql-config.yml
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/cpu/riscv_f.32.o  --> /release.linux.x86_64/obj/cpu/riscv_f.32.o
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/cpu/riscv_i.32.d  --> /release.linux.x86_64/obj/cpu/riscv_i.32.d
Adding /usr/src/RVVM-test/mpm-pkg/src/ringbuf.h  --> /src/ringbuf.h
Adding /usr/src/RVVM-test/mpm-pkg/src/rvvm.h  --> /src/rvvm.h
Adding /usr/src/RVVM-test/mpm-pkg/src/rvvmlib.h  --> /src/rvvmlib.h
Adding /usr/src/RVVM-test/mpm-pkg/src/threading.c  --> /src/threading.c
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/threading.o  --> /release.linux.x86_64/obj/threading.o
Adding /usr/src/RVVM-test/mpm-pkg/src/devices/haiku_window.cpp  --> /src/devices/haiku_window.cpp
Adding /usr/src/RVVM-test/mpm-pkg/src/devices/hid_api.h  --> /src/devices/hid_api.h
Adding /usr/src/RVVM-test/mpm-pkg/src/rvjit/rvjit.c  --> /src/rvjit/rvjit.c
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/cpu/riscv_c.32.d  --> /release.linux.x86_64/obj/cpu/riscv_c.32.d
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/elf_load.d  --> /release.linux.x86_64/obj/elf_load.d
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/ldflags.txt  --> /release.linux.x86_64/obj/ldflags.txt
Adding /usr/src/RVVM-test/mpm-pkg/run  --> /run
Adding /usr/src/RVVM-test/mpm-pkg/src/spinlock.h  --> /src/spinlock.h
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/cpu/riscv_d.64.d  --> /release.linux.x86_64/obj/cpu/riscv_d.64.d
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/devices/pci-bus.d  --> /release.linux.x86_64/obj/devices/pci-bus.d
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/rvjit  --> /release.linux.x86_64/obj/rvjit
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/fdtlib.d  --> /release.linux.x86_64/obj/fdtlib.d
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/ringbuf.o  --> /release.linux.x86_64/obj/ringbuf.o
Adding /usr/src/RVVM-test/mpm-pkg/src/cpu/riscv_d.c  --> /src/cpu/riscv_d.c
Adding /usr/src/RVVM-test/mpm-pkg/.github/ISSUE_TEMPLATE/feature_request.md  --> /.github/ISSUE_TEMPLATE/feature_request.md
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/devices/mtd-physmap.o  --> /release.linux.x86_64/obj/devices/mtd-physmap.o
Adding /usr/src/RVVM-test/mpm-pkg/src/rvjit/rvjit_arm.h  --> /src/rvjit/rvjit_arm.h
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/devices/hid-keyboard.o  --> /release.linux.x86_64/obj/devices/hid-keyboard.o
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/devices/rtl8169.d  --> /release.linux.x86_64/obj/devices/rtl8169.d
Adding /usr/src/RVVM-test/mpm-pkg/src/devices/tap_linux.c  --> /src/devices/tap_linux.c
Adding /usr/src/RVVM-test/mpm-pkg/.gitlab-ci.yml  --> /.gitlab-ci.yml
Adding /usr/src/RVVM-test/mpm-pkg/etc  --> /etc
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/cpu/riscv_a.32.d  --> /release.linux.x86_64/obj/cpu/riscv_a.32.d
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/riscv_hart.d  --> /release.linux.x86_64/obj/riscv_hart.d
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/riscv_priv.o  --> /release.linux.x86_64/obj/riscv_priv.o
Adding /usr/src/RVVM-test/mpm-pkg/src/cpu/riscv_c.c  --> /src/cpu/riscv_c.c
Adding /usr/src/RVVM-test/mpm-pkg/src/devices/ps2-altera.h  --> /src/devices/ps2-altera.h
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/cpu/riscv_c.64.d  --> /release.linux.x86_64/obj/cpu/riscv_c.64.d
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/cpu/riscv_i.32.o  --> /release.linux.x86_64/obj/cpu/riscv_i.32.o
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/cpu/riscv_i.64.d  --> /release.linux.x86_64/obj/cpu/riscv_i.64.d
Adding /usr/src/RVVM-test/mpm-pkg/tools  --> /tools
Adding /usr/src/RVVM-test/mpm-pkg/src/fdtlib.c  --> /src/fdtlib.c
Adding /usr/src/RVVM-test/mpm-pkg/src/rvvm.c  --> /src/rvvm.c
Adding /usr/src/RVVM-test/mpm-pkg/src/vma_ops.h  --> /src/vma_ops.h
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/cpu/riscv_i.64.o  --> /release.linux.x86_64/obj/cpu/riscv_i.64.o
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/cpu/riscv_m.32.d  --> /release.linux.x86_64/obj/cpu/riscv_m.32.d
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/devices/fb_window.d  --> /release.linux.x86_64/obj/devices/fb_window.d
Adding /usr/src/RVVM-test/mpm-pkg/src/devices/eth-oc.c  --> /src/devices/eth-oc.c
Adding /usr/src/RVVM-test/mpm-pkg/src/rvtimer.h  --> /src/rvtimer.h
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/cpu/riscv_d.32.o  --> /release.linux.x86_64/obj/cpu/riscv_d.32.o
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/devices  --> /release.linux.x86_64/obj/devices
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/devices/i2c-oc.d  --> /release.linux.x86_64/obj/devices/i2c-oc.d
Adding /usr/src/RVVM-test/mpm-pkg/src/devices/rtl8169.c  --> /src/devices/rtl8169.c
Adding /usr/src/RVVM-test/mpm-pkg/src/main.c  --> /src/main.c
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/elf_load.o  --> /release.linux.x86_64/obj/elf_load.o
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/rvjit/rvjit.d  --> /release.linux.x86_64/obj/rvjit/rvjit.d
Adding /usr/src/RVVM-test/mpm-pkg/src/devices/clint.c  --> /src/devices/clint.c
Adding /usr/src/RVVM-test/mpm-pkg/usr/lib  --> /usr/lib
Adding /usr/src/RVVM-test/mpm-pkg/CMakeLists.txt  --> /CMakeLists.txt
Adding /usr/src/RVVM-test/mpm-pkg/src/cpu/riscv_f.c  --> /src/cpu/riscv_f.c
Adding /usr/src/RVVM-test/mpm-pkg/src/threading.h  --> /src/threading.h
Adding /usr/src/RVVM-test/mpm-pkg/src/devices/chardev_term.c  --> /src/devices/chardev_term.c
Adding /usr/src/RVVM-test/mpm-pkg/src/hashmap.c  --> /src/hashmap.c
Adding /usr/src/RVVM-test/mpm-pkg/src/rvjit/rvjit.h  --> /src/rvjit/rvjit.h
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/cpu/riscv_f.32.d  --> /release.linux.x86_64/obj/cpu/riscv_f.32.d
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/devices/rtl8169.o  --> /release.linux.x86_64/obj/devices/rtl8169.o
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/rvjit/rvjit_emit.d  --> /release.linux.x86_64/obj/rvjit/rvjit_emit.d
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/devices/ps2-keyboard.d  --> /release.linux.x86_64/obj/devices/ps2-keyboard.d
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/gd32.o  --> /release.linux.x86_64/obj/gd32.o
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/rvtimer.d  --> /release.linux.x86_64/obj/rvtimer.d
Adding /usr/src/RVVM-test/mpm-pkg/src/utils.h  --> /src/utils.h
Adding /usr/src/RVVM-test/mpm-pkg/.github/workflows/codeql.yml  --> /.github/workflows/codeql.yml
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64  --> /release.linux.x86_64
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/devices/hid-keyboard.d  --> /release.linux.x86_64/obj/devices/hid-keyboard.d
Adding /usr/src/RVVM-test/mpm-pkg/tools/umount.so  --> /tools/umount.so
Adding /usr/src/RVVM-test/mpm-pkg/Capstanfile  --> /Capstanfile
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/riscv_priv.d  --> /release.linux.x86_64/obj/riscv_priv.d
Adding /usr/src/RVVM-test/mpm-pkg/src/devices/i2c-oc.h  --> /src/devices/i2c-oc.h
Adding /usr/src/RVVM-test/mpm-pkg/.github/workflows/build.yml  --> /.github/workflows/build.yml
Adding /usr/src/RVVM-test/mpm-pkg/src/devices/pci-bus.c  --> /src/devices/pci-bus.c
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/cpu/riscv_f.64.o  --> /release.linux.x86_64/obj/cpu/riscv_f.64.o
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/devices/i2c-oc.o  --> /release.linux.x86_64/obj/devices/i2c-oc.o
Adding /usr/src/RVVM-test/mpm-pkg/src/rvvm_types.h  --> /src/rvvm_types.h
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/devices/hid-mouse.o  --> /release.linux.x86_64/obj/devices/hid-mouse.o
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/rvvm.d  --> /release.linux.x86_64/obj/rvvm.d
Adding /usr/src/RVVM-test/mpm-pkg/src/riscv_priv.c  --> /src/riscv_priv.c
Adding /usr/src/RVVM-test/mpm-pkg/src/ringbuf.c  --> /src/ringbuf.c
Adding /usr/src/RVVM-test/mpm-pkg/src/riscv_hart.h  --> /src/riscv_hart.h
Adding /usr/src/RVVM-test/mpm-pkg/src/vma_ops.c  --> /src/vma_ops.c
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/devices/plic.o  --> /release.linux.x86_64/obj/devices/plic.o
Adding /usr/src/RVVM-test/mpm-pkg/src/cpu  --> /src/cpu
Adding /usr/src/RVVM-test/mpm-pkg/src/devices/ps2-keyboard.c  --> /src/devices/ps2-keyboard.c
Adding /usr/src/RVVM-test/mpm-pkg/etc/hosts  --> /etc/hosts
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj  --> /release.linux.x86_64/obj
Adding /usr/src/RVVM-test/mpm-pkg/src/devices/eth-oc.h  --> /src/devices/eth-oc.h
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/networking.o  --> /release.linux.x86_64/obj/networking.o
Adding /usr/src/RVVM-test/mpm-pkg/src/devices/framebuffer.c  --> /src/devices/framebuffer.c
Adding /usr/src/RVVM-test/mpm-pkg/src/rvjit/rvjit_emit.h  --> /src/rvjit/rvjit_emit.h
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/devices/pci-bus.o  --> /release.linux.x86_64/obj/devices/pci-bus.o
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/main.d  --> /release.linux.x86_64/obj/main.d
Adding /usr/src/RVVM-test/mpm-pkg/src/riscv_cpu.c  --> /src/riscv_cpu.c
Adding /usr/src/RVVM-test/mpm-pkg/src/riscv_mmu.h  --> /src/riscv_mmu.h
Adding /usr/src/RVVM-test/mpm-pkg/src/rvtimer.c  --> /src/rvtimer.c
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/gd32.d  --> /release.linux.x86_64/obj/gd32.d
Adding /usr/src/RVVM-test/mpm-pkg/src/riscv.h  --> /src/riscv.h
Adding /usr/src/RVVM-test/mpm-pkg/src/riscv_csr.c  --> /src/riscv_csr.c
Adding /usr/src/RVVM-test/mpm-pkg/src/atomics.h  --> /src/atomics.h
Adding /usr/src/RVVM-test/mpm-pkg/src/devices/framebuffer.h  --> /src/devices/framebuffer.h
Adding /usr/src/RVVM-test/mpm-pkg/src/devices/rtl8169.h  --> /src/devices/rtl8169.h
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/devices/rtc-goldfish.d  --> /release.linux.x86_64/obj/devices/rtc-goldfish.d
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/riscv_csr.d  --> /release.linux.x86_64/obj/riscv_csr.d
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/rvjit/rvjit.o  --> /release.linux.x86_64/obj/rvjit/rvjit.o
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/devices/plic.d  --> /release.linux.x86_64/obj/devices/plic.d
Adding /usr/src/RVVM-test/mpm-pkg/src/devices/ns16550a.h  --> /src/devices/ns16550a.h
Adding /usr/src/RVVM-test/mpm-pkg/etc/mnttab  --> /etc/mnttab
Adding /usr/src/RVVM-test/mpm-pkg/libvdso.so  --> /libvdso.so
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/devices/fb_window.o  --> /release.linux.x86_64/obj/devices/fb_window.o
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/cpu/riscv_m.64.o  --> /release.linux.x86_64/obj/cpu/riscv_m.64.o
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/threading.d  --> /release.linux.x86_64/obj/threading.d
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/cpu  --> /release.linux.x86_64/obj/cpu
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/networking.d  --> /release.linux.x86_64/obj/networking.d
Adding /usr/src/RVVM-test/mpm-pkg/src/cpu/riscv_m.c  --> /src/cpu/riscv_m.c
Adding /usr/src/RVVM-test/mpm-pkg/src/utils.c  --> /src/utils.c
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/devices/framebuffer.d  --> /release.linux.x86_64/obj/devices/framebuffer.d
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/devices/ns16550a.o  --> /release.linux.x86_64/obj/devices/ns16550a.o
Adding /usr/src/RVVM-test/mpm-pkg/src/devices/hid-mouse.c  --> /src/devices/hid-mouse.c
Adding /usr/src/RVVM-test/mpm-pkg/src/devices/nvme.h  --> /src/devices/nvme.h
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/vma_ops.d  --> /release.linux.x86_64/obj/vma_ops.d
Adding /usr/src/RVVM-test/mpm-pkg/src/bindings/libretro  --> /src/bindings/libretro
Adding /usr/src/RVVM-test/mpm-pkg/src/bit_ops.h  --> /src/bit_ops.h
Adding /usr/src/RVVM-test/mpm-pkg/src/rvjit/rvjit_riscv.h  --> /src/rvjit/rvjit_riscv.h
Adding /usr/src/RVVM-test/mpm-pkg/tools/mount-fs.so  --> /tools/mount-fs.so
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/spinlock.d  --> /release.linux.x86_64/obj/spinlock.d
Adding /usr/src/RVVM-test/mpm-pkg/src  --> /src
Adding /usr/src/RVVM-test/mpm-pkg/src/blk_io.h  --> /src/blk_io.h
Adding /usr/src/RVVM-test/mpm-pkg/src/devices/tap_api.h  --> /src/devices/tap_api.h
Adding /usr/src/RVVM-test/mpm-pkg/src/spinlock.c  --> /src/spinlock.c
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/cpu/riscv_m.64.d  --> /release.linux.x86_64/obj/cpu/riscv_m.64.d
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/fdtlib.o  --> /release.linux.x86_64/obj/fdtlib.o
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/riscv_cpu.o  --> /release.linux.x86_64/obj/riscv_cpu.o
Adding /usr/src/RVVM-test/mpm-pkg/src/devices/plic.c  --> /src/devices/plic.c
Adding /usr/src/RVVM-test/mpm-pkg/src/dlib.c  --> /src/dlib.c
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/devices/ps2-altera.d  --> /release.linux.x86_64/obj/devices/ps2-altera.d
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/rvvm.o  --> /release.linux.x86_64/obj/rvvm.o
Adding /usr/src/RVVM-test/mpm-pkg/src/devices/pci-bus.h  --> /src/devices/pci-bus.h
Adding /usr/src/RVVM-test/mpm-pkg/src/networking.h  --> /src/networking.h
Adding /usr/src/RVVM-test/mpm-pkg/src/vector.h  --> /src/vector.h
Adding /usr/src/RVVM-test/mpm-pkg/sys  --> /sys
Adding /usr/src/RVVM-test/mpm-pkg/README.md  --> /README.md
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/devices/hid-mouse.d  --> /release.linux.x86_64/obj/devices/hid-mouse.d
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/devices/tap_user.o  --> /release.linux.x86_64/obj/devices/tap_user.o
Adding /usr/src/RVVM-test/mpm-pkg/src/devices/tap_user.c  --> /src/devices/tap_user.c
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/cpu/riscv_f.64.d  --> /release.linux.x86_64/obj/cpu/riscv_f.64.d
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/vma_ops.o  --> /release.linux.x86_64/obj/vma_ops.o
Adding /usr/src/RVVM-test/mpm-pkg/src/bindings/libretro/rvvm_libretro.info  --> /src/bindings/libretro/rvvm_libretro.info
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/utils.d  --> /release.linux.x86_64/obj/utils.d
Adding /usr/src/RVVM-test/mpm-pkg/src/bindings/libretro/libretro.h  --> /src/bindings/libretro/libretro.h
Adding /usr/src/RVVM-test/mpm-pkg/src/devices/i2c-hid.c  --> /src/devices/i2c-hid.c
Adding /usr/src/RVVM-test/mpm-pkg/usr/lib/libgcc_s.so.1  --> /usr/lib/libgcc_s.so.1
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/cflags.txt  --> /release.linux.x86_64/obj/cflags.txt
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/cpu/riscv_c.64.o  --> /release.linux.x86_64/obj/cpu/riscv_c.64.o
Adding /usr/src/RVVM-test/mpm-pkg/release.linux.x86_64/obj/devices/i2c-hid.o  --> /release.linux.x86_64/obj/devices/i2c-hid.o
Command line set to: 'runscript /run/rvvm_test;'

(So long...I know, maybe I should package it in another folder?)

wkozaczuk commented 10 months ago

Can you add -v (for verbose) to the command when starting capstan: capstan run -v -e /release.linux.x86_64/rvvm_x86_64.so osv-rvvm-test and send the output?

fish4terrisa-MSDSM commented 10 months ago

Can you add -v (for verbose) to the command when starting capstan: capstan run -v -e /release.linux.x86_64/rvvm_x86_64.so osv-rvvm-test and send the output?

The output:

Removing orphaned instance folder: /home/fish4terrisa/.capstan/instances/qemu/osv-rvvm-test
Command line will be set based on --run parameter
Created instance: osv-rvvm-test
Setting cmdline: /release.linux.x86_64/rvvm_x86_64.so
Invoking QEMU at: /usr/bin/qemu-system-x86_64 with arguments:
  -vnc unix:/home/fish4terrisa/.capstan/instances/qemu/osv-rvvm-test/vnc-domain-socket
  -m 1024
  -smp 2
  -device virtio-blk-pci,id=blk0,bootindex=0,drive=hd0
  -drive file=/home/fish4terrisa/.capstan/instances/qemu/osv-rvvm-test/disk.qcow2,if=none,id=hd0,aio=threads,cache=none
  -chardev stdio,mux=on,id=stdio,signal=off
  -device isa-serial,chardev=stdio
  -netdev user,id=un0,net=192.168.122.0/24,host=192.168.122.1
  -device virtio-net-pci,netdev=un0
  -chardev socket,id=charmonitor,path=/home/fish4terrisa/.capstan/instances/qemu/osv-rvvm-test/osv.monitor,server=on,wait=off
  -mon chardev=charmonitor,id=monitor,mode=control
OSv v0.57.0
eth0: 192.168.122.15
Booted up in 0.00 ms
Cmdline: /release.linux.x86_64/rvvm_x86_64.so
WARNING: application::prepare_argv(): missing libvdso.so -> may prevent shared libraries specifically Golang ones from functioning
Failed to load object: /release.linux.x86_64/rvvm_x86_64.so. Powering off.
wkozaczuk commented 10 months ago

Can you run it like this capstan run -v -e '--verbose /release.linux.x86_64/rvvm_x86_64.so' osv-rvvm-test and send the output?

fish4terrisa-MSDSM commented 10 months ago

The output:

Removing orphaned instance folder: /home/fish4terrisa/.capstan/instances/qemu/osv-rvvm-test
Command line will be set based on --run parameter
Created instance: osv-rvvm-test
Setting cmdline: --verbose /release.linux.x86_64/rvvm_x86_64.so
Invoking QEMU at: /usr/bin/qemu-system-x86_64 with arguments:
  -vnc unix:/home/fish4terrisa/.capstan/instances/qemu/osv-rvvm-test/vnc-domain-socket
  -m 1024
  -smp 2
  -device virtio-blk-pci,id=blk0,bootindex=0,drive=hd0
  -drive file=/home/fish4terrisa/.capstan/instances/qemu/osv-rvvm-test/disk.qcow2,if=none,id=hd0,aio=threads,cache=none
  -chardev stdio,mux=on,id=stdio,signal=off
  -device isa-serial,chardev=stdio
  -netdev user,id=un0,net=192.168.122.0/24,host=192.168.122.1
  -device virtio-net-pci,netdev=un0
  -chardev socket,id=charmonitor,path=/home/fish4terrisa/.capstan/instances/qemu/osv-rvvm-test/osv.monitor,server=on,wait=off
  -mon chardev=charmonitor,id=monitor,mode=control
OSv v0.57.0
2 CPUs detected
Firmware vendor: Unknown
bsd: initializing - done
VFS: mounting ramfs at /
VFS: mounting devfs at /dev
net: initializing - done
vga: Add VGA device instance
eth0: ethernet address: 52:54:00:12:34:56
devfs: created device vblk0.1 for a partition at offset:4194304 with size:10733223936
virtio-blk: Add blk device instances 0 as vblk0, devsize=10737418240
Warning: No hardware source of entropy available to your platform,
        CSPRNG will rely on software source of entropy to provide high-quality randomness.
random: <Software, Yarrow> initialized
VFS: unmounting /dev
VFS: mounting rofs at /rofs
failed to mount /rofs, error = No error information
VFS: mounting virtiofs at /virtiofs
[virtiofs] Error opening device!
failed to mount /virtiofs, error = No such device or address
Could not load and/or initialize /usr/lib/fs/libsolaris.so.
[I/21 dhcp]: Broadcasting DHCPDISCOVER message with xid: [793700175]
[I/21 dhcp]: Waiting for IP...
[I/29 dhcp]: Received DHCPOFFER message from DHCP server: 192.168.122.1 regarding offerred IP address: 192.168.122.15
[I/29 dhcp]: Broadcasting DHCPREQUEST message with xid: [793700175] to SELECT offered IP: 192.168.122.15
[I/29 dhcp]: Received DHCPACK message from DHCP server: 192.168.122.1 regarding offerred IP address: 192.168.122.15
[I/29 dhcp]: Server acknowledged IP 192.168.122.15 for interface eth0 with time to lease in seconds: 86400
eth0: 192.168.122.15
[I/29 dhcp]: Configuring eth0: ip 192.168.122.15 subnet mask 255.255.255.0 gateway 192.168.122.1 MTU 1500
Booted up in 0.00 ms
Cmdline: /release.linux.x86_64/rvvm_x86_64.so
WARNING: application::prepare_argv(): missing libvdso.so -> may prevent shared libraries specifically Golang ones from functioning
Failed to load object: /release.linux.x86_64/rvvm_x86_64.so. Powering off.

maybe there is another way to build and test osv without capstan?

wkozaczuk commented 10 months ago

As I understand you are building a ZFS image. If that is the case this line from the output is key:

Could not load and/or initialize /usr/lib/fs/libsolaris.so.

Could you please add libsolaris.so to your manifest or the directory you are building the image from?