o8vm/octox

Illegal instruction (core dumped)

ScottKane opened this issue · 0 comments

When I clone the repo and try to run I get:

warning: `libkernel` (lib) generated 7 warnings (run `cargo fix --lib -p libkernel` to apply 1 suggestion)
warning: octox@0.1.0: nmeta 70 (boot, super, log blocks 30 inode blocks 13, bitmap blocks 25) blocks 199930 total 200000
warning: octox@0.1.0: mkfs:balloc: first 3275 blocks have benen allocated
warning: octox@0.1.0: mkfs:balloc: write bitmap block at sector 45
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.34s
     Running `target/riscv64gc-unknown-none-elf/debug/octox`
Illegal instruction (core dumped)

lsb_release -a
LSB Version: n/a
Distributor ID: NobaraLinux
Description: Nobara Linux 39 (GNOME Edition)
Release: 39
Codename: n/a

Based on Fedora

rustc --version
rustc 1.77.1 (7cf61ebde 2024-03-27)

qemu-system-riscv64 --version
QEMU emulator version 8.1.3 (qemu-8.1.3-4.fc39)
Copyright (c) 2003-2023 Fabrice Bellard and the QEMU Project developers