zCore icon indicating copy to clipboard operation
zCore copied to clipboard

run zcore in win10 docker failed

Open oska874 opened this issue 3 years ago • 1 comments

The way to reproduce error and the error is show below:

cargo run --release -p linux-loader /bin/busybox ls
   Compiling kernel-hal-unix v0.1.0 (/home/vimer/project/os/zCore/kernel-hal-unix)
   Compiling linux-loader v0.1.0 (/home/vimer/project/os/zCore/linux-loader)
    Finished release [optimized] target(s) in 4.80s
     Running `target/release/linux-loader /bin/busybox ls`
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: EINVAL', linux-loader/src/lib.rs:37:23
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

My environment is :

Linux 8a871de48133 4.19.76-linuxkit #1 SMP Tue May 26 11:42:35 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

image

oska874 avatar Jul 17 '20 02:07 oska874

Did you forget to run make rootfs? It seems that busybox was not found.

wangrunji0408 avatar Jul 17 '20 03:07 wangrunji0408