Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
redox
redox
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 211
    • Issues 211
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 9
    • Merge Requests 9
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • redox-os
  • redoxredox
  • Issues
  • #1222

Closed
Open
Opened Dec 23, 2018 by Mark@RebelAlliance1 of 1 task completed1/1 task

Redox boot failure via QEMU

  • I agree that I have searched opened and closed issues to prevent duplicates.

Description

Built QEMU on my VirtualBox VM running Lubuntu. Tried booting via QEMU and getting a boot failure:

osboxes@osboxes:~/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

qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.01H:ECX.vmx [bit 5]

qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.01H:ECX.vmx [bit 5]

qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.01H:ECX.vmx [bit 5]

qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.01H:ECX.vmx [bit 5]

Kernel: 100000:9BA450

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=514f05e6-10f2-449c-8137-49a8298e6788")

Page fault: 0000000000000000

RFLAG: 0000000000000206

CS: 0000000000000023

RIP: 0000000000433B3E

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: FFFFFE80000133A0

FFFFFE80000133A0: FFFFFF000014CFA8

FFFFFF000014CEE0+00C8

kernel::arch::x86_64::interrupt::exception::page::inner::hfecd20ca023add12

FFFFFE8000013420: FFFFFF000014CEBB

FFFFFF000014CE90+002B

kernel::arch::x86_64::interrupt::exception::page::hefb8e42f8c701204

0000008000000018: EMPTY RETURN

SIGNAL 11, CPU 0, PID ContextId(2)

NAME initfs:bin/init

2: 0 not found for exit vfork unblock

Environment info

  • Redox OS Release:
  • Operating system: Win10 64-bits running VirtualBox VM Linux Lubuntu
  • uname -a: Linux osboxes 4.15.0-42-generic #45-Ubuntu SMP Thu Nov 15 19:32:57 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
  • rustc -V: rustc 1.32.0-nightly (15d770400 2018-11-06)
  • git rev-parse HEAD: 17cecaf3

Steps to reproduce

osboxes@osboxes:~/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

qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.01H:ECX.vmx [bit 5]

qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.01H:ECX.vmx [bit 5]

qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.01H:ECX.vmx [bit 5]

qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.01H:ECX.vmx [bit 5]

Behavior

  • Expected behavior: Boot to completion.
  • Actual behavior: Boot failure.
  • Proposed solution: Looks like a boot disk is missing perhaps

-Screenshot:

image

Optional references

Related to:

Blocked by:

Optional extras

Edited Dec 23, 2018 by Mark
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: redox-os/redox#1222