Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run zcore in win10 docker failed #109

Open
oska874 opened this issue Jul 17, 2020 · 1 comment
Open

run zcore in win10 docker failed #109

oska874 opened this issue Jul 17, 2020 · 1 comment

Comments

@oska874
Copy link

oska874 commented Jul 17, 2020

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

@wangrunji0408
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants