zCore icon indicating copy to clipboard operation
zCore copied to clipboard

Fail to run Zircon program on macOS and Ubuntu

Open whichxjy opened this issue 4 years ago • 2 comments

macOS 10.14.5: Bus error: 10

RUST_LOG=debug cargo run --release -p zircon-loader prebuilt/zircon

1

Ubuntu 20.04: Segmentation fault

RUST_LOG=debug cargo run --release -p zircon-loader prebuilt/zircon

2

whichxjy avatar Jun 07 '20 23:06 whichxjy

Using "cargo run -p zircon-loader prebuilt/zircon" method to run zcore, zcore is running in user-mode of Linux. I think the REAL problem is there are no simulated device(like qemu) in user-mode zcore.

chyyuu avatar Jun 21 '20 00:06 chyyuu

The old version of zCore in user mode can run in linux. Please try

cd zCore; git check e0ea3b01f92a ;  cargo run --release -p zircon-loader prebuilt/zircon

commit e0ea3b01f92a10180a2868d19d50ca632f8bc953 Author: Runji Wang [email protected] Date: Sun Apr 19 01:41:18 2020 +0800

fix serial_read on hal-unix. now shell is working on zircon libos on Linux!

@whichxjy If you have some free time, please find the bug in current zCore.

chyyuu avatar Jun 21 '20 08:06 chyyuu