Boot failure
-
I agree that I have searched opened and closed issues to prevent duplicates.
Description
I built from the master branch. I had to comment out the netsurf and netdb packages to get it to build. See #1217 (closed)
Qemu showed some output but I couldn't get the the login shell or orbital.
Environment info
- Operating system: Debian buster
-
uname -a
: Linux shitfaced 4.18.0-3-amd64 #1 SMP Debian 4.18.20-2 (2018-11-23) x86_64 GNU/Linux -
rustc -V
: rustc 1.31.1 (b6c32da9b 2018-12-18) -
git rev-parse HEAD
: aa4ab62d
Steps to reproduce
- Comment out netsurf and netdb from filesystem.toml
make all
make qemu
Behavior
- Expected behavior: Expected to be able to access login shell and orbital
- Actual behavior: No response when pressing F2 or F3
/src/redox$ make qemu
SDL_VIDEO_X11_DGAMOUSE=0 qemu-system-x86_64 -serial mon:stdio -d cpu_reset -d guest_errors -smp 4 -m 2048 -machine q35 -device ich9-intel-hda -device hda-duplex -netdev user,id=net0 -device e1000,netdev=net0 -object filter-dump,id=f1,netdev=net0,file=build/network.pcap -device nec-usb-xhci,id=xhci -device usb-tablet,bus=xhci.0 -s -enable-kvm -cpu host \
-drive file=build/harddrive.bin,format=raw \
-drive file=build/extra.qcow2
Kernel: 100000:9BB9D0
Stack: FFFFFF0000080000:FFFFFF000009F000
Env: FFFFFF000009EFCF:FFFFFF000009F000
MemoryArea { base_addr: 0, length: 654336, _type: 1, acpi: 0 }
MemoryArea { base_addr: 654336, length: 1024, _type: 2, acpi: 0 }
MemoryArea { base_addr: 983040, length: 65536, _type: 2, acpi: 0 }
MemoryArea { base_addr: 1048576, length: 2146295808, _type: 1, acpi: 0 }
MemoryArea { base_addr: 2147344384, length: 139264, _type: 2, acpi: 0 }
MemoryArea { base_addr: 2952790016, length: 268435456, _type: 2, acpi: 0 }
MemoryArea { base_addr: 4275159040, length: 16384, _type: 2, acpi: 0 }
MemoryArea { base_addr: 4278173696, length: 16384, _type: 2, acpi: 0 }
MemoryArea { base_addr: 4294705152, length: 262144, _type: 2, acpi: 0 }
Using PIT
BSP: Ok(ContextId(1)) 1
Env: Ok("REDOXFS_UUID=c22d473c-0708-4956-a81c-c1692e8b5665")
Page fault: 0000000000000000
RFLAG: 0000000000010206
CS: 0000000000000023
RIP: 0000000000433AFE
CODE: 0000000000000004
RAX: 0000000000000000
RCX: 0000000080000000
RDX: 0000004000000032
RDI: 0000000000000000
RSI: 0000000000000000
R8: 0000000000000000
R9: 0000000000000000
R10: 0000000000000000
R11: 0000000000000000
RBX: 00000180000FFEF0
RBP: 0000008000000018
R12: 0000000000000000
R13: 00000180000FFEF0
R14: 0000004000000032
R15: 0000000000000000
FS: 0000000000000033
TRACE: FFFFFE80000174C0
FFFFFE80000174C0: FFFFFF0000105BA8
FFFFFF0000105AE0+00C8
kernel::arch::x86_64::interrupt::exception::page::inner::hd674581a40348a8d
FFFFFE8000017540: FFFFFF0000105ABB
FFFFFF0000105A90+002B
kernel::arch::x86_64::interrupt::exception::page::hcfed5eddf4423733
0000008000000018: EMPTY RETURN
SIGNAL 11, CPU 0, PID ContextId(2)
NAME initfs:bin/init
2: 0 not found for exit vfork unblock
/src/redox$ make qemu kvm=no
SDL_VIDEO_X11_DGAMOUSE=0 qemu-system-x86_64 -serial mon:stdio -d cpu_reset -d guest_errors -smp 4 -m 2048 -machine q35 -device ich9-intel-hda -device hda-duplex -netdev user,id=net0 -device e1000,netdev=net0 -object filter-dump,id=f1,netdev=net0,file=build/network.pcap -device nec-usb-xhci,id=xhci -device usb-tablet,bus=xhci.0 -s \
-drive file=build/harddrive.bin,format=raw \
-drive file=build/extra.qcow2
Kernel: 100000:9BB9D0
Stack: FFFFFF0000080000:FFFFFF000009F000
Env: FFFFFF000009EFCF:FFFFFF000009F000
MemoryArea { base_addr: 0, length: 654336, _type: 1, acpi: 0 }
MemoryArea { base_addr: 654336, length: 1024, _type: 2, acpi: 0 }
MemoryArea { base_addr: 983040, length: 65536, _type: 2, acpi: 0 }
MemoryArea { base_addr: 1048576, length: 2146295808, _type: 1, acpi: 0 }
MemoryArea { base_addr: 2147344384, length: 139264, _type: 2, acpi: 0 }
MemoryArea { base_addr: 2952790016, length: 268435456, _type: 2, acpi: 0 }
MemoryArea { base_addr: 4275159040, length: 16384, _type: 2, acpi: 0 }
MemoryArea { base_addr: 4294705152, length: 262144, _type: 2, acpi: 0 }
Using PIT
BSP: Ok(ContextId(1)) 1
Env: Ok("REDOXFS_UUID=c22d473c-0708-4956-a81c-c1692e8b5665")
Page fault: 0000000000000000
RFLAG: 0000000000000206
CS: 0000000000000023
RIP: 0000000000433AFE
CODE: 0000000000000004
RAX: 0000000000000000
RCX: 0000000080000000
RDX: 0000004000000032
RDI: 0000000000000000
RSI: 0000000000000000
R8: 0000000000000000
R9: 0000000000000000
R10: 0000000000000000
R11: 0000000000000000
RBX: 00000180000FFEF0
RBP: 0000008000000018
R12: 0000000000000000
R13: 00000180000FFEF0
R14: 0000004000000032
R15: 0000000000000000
FS: 0000000000000033
TRACE: FFFFFE80000174C0
FFFFFE80000174C0: FFFFFF0000105BA8
FFFFFF0000105AE0+00C8
kernel::arch::x86_64::interrupt::exception::page::inner::hd674581a40348a8d
FFFFFE8000017540: FFFFFF0000105ABB
FFFFFF0000105A90+002B
kernel::arch::x86_64::interrupt::exception::page::hcfed5eddf4423733
0000008000000018: EMPTY RETURN
SIGNAL 11, CPU 0, PID ContextId(2)
NAME initfs:bin/init
2: 0 not found for exit vfork unblock
- Proposed solution: Replace me
Optional references
Optional extras
Replace me