ravynsoft / ravynos

A BSD-based OS project that aims to provide source and binary compatibility with macOS® and a similar user experience.
https://www.ravynos.com
Other
5.61k stars 184 forks source link

Nightly ISO boot fails with page fault on libvirt VM #358

Open markshank opened 2 years ago

markshank commented 2 years ago

ravynOS_0.4.0pre5_f14_6521265220485120_amd64.iso

Attempting to test the Intel GVT-g mediated passthrough on a libvirt VM on Ubuntu 22.04. Booted ISO and it failed with a page fault.

serial console BdsDxe: loading Boot0001 "UEFI QEMU DVD-ROM QM00003 " from PciRoot(0x0)/Pci(0x1F,0x2)/Sata(0x1,0xFFFF,0x0) BdsDxe: starting Boot0001 "UEFI QEMU DVD-ROM QM00003 " from PciRoot(0x0)/Pci(0x1F,0x2)/Sata(0x1,0xFFFF,0x0) ... Consoles: EFI console Reading loader env vars from /efi/freebsd/loader.env Setting currdev to cd1: Staging area's size is reduced: 16384 -> 1542! FreeBSD/amd64 EFI loader, Revision 1.1 (Wed Sep 7 02:29:16 UTC 2022 root@cirrus-task-6086949000708096) Command line arguments: loader.efi Image base: 0x7dc3c000 EFI version: 2.70 EFI Firmware: EDK II (rev 1.00) Console: efi (0x20001000) Load Path: \EFI\BOOT\BOOTX64.EFI Load Device: PciRoot(0x0)/Pci(0x1F,0x2)/Sata(0x1,0xFFFF,0x0)/CDROM(0x1) BootCurrent: 0001 BootOrder: 0001[*] 0002 0000 0003 BootInfo Path: PciRoot(0x0)/Pci(0x1F,0x2)/Sata(0x1,0xFFFF,0x0) Ignoring Boot0001: Only one DP found Trying ESP: PciRoot(0x0)/Pci(0x1F,0x2)/Sata(0x1,0xFFFF,0x0)/CDROM(0x1) Setting currdev to cd1: Trying: PciRoot(0x0)/Pci(0x1F,0x2)/Sata(0x1,0xFFFF,0x0)/CDROM(0x0) Setting currdev to cd0: Loading /boot/defaults/loader.conf Loading /boot/defaults/loader.conf Loading /boot/device.hints Loading /boot/loader.conf Loading /boot/loader.conf.local \- ... ?cLoading kernel... /boot/kernel/kernel text=0x188d30 text=0xe1ca18 text=0x67106c data=0x140 data=0x1cc330+0x432cd0 0x8+0x194af0+0x8+0x1b4b2f| Loading configured modules... /boot/kernel/nullfs.ko size 0x9108 at 0x234a000 /boot/kernel/zfs.ko size 0x611008 at 0x2354000 /boot/kernel/mach.ko size 0x66128 at 0x2966000 can't find '/etc/hostid' /boot/kernel/geom_uzip.ko size 0x95c8 at 0x29cd000 /data/ramdisk.ufs size=0x1510000 /boot/kernel/cryptodev.ko size 0x7780 at 0x3ee7000 Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... staging 0x73800000 (not copying) tramp 0x7db35000 PT4 0x7db2c000 Start @ 0xffffffff80389000 ... EFI framebuffer information: addr, size 0x7e900000, 0x300000 dimensions 800 x 600 stride 800 masks 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000 GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb ---<>--- Copyright (c) 1992-2022 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 14.0-CURRENT #0 main-n747-04a6bb04385: Wed Sep 7 01:09:46 UTC 2022 root@cirrus-task-5523999047286784:/usr/obj/tmp/cirrus-ci-build/amd64.amd64/sys/RAVYN amd64 ravynOSclang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) VT(efifb): resolution 800x600 Hyper-V Version: 10.0.14393 [SP0] Features=0x232 PM Features=0x0 [C0] Features3=0x8 Timecounter "Hyper-V" frequency 10000000 Hz quality 2000 Setting sysctl vfs.zfs.arc_max failed: 22 mach services loaded - mach system calls available CPU: Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz (3600.00-MHz K8-class CPU) Origin="GenuineIntel" Id=0x906e9 Family=0x6 Model=0x9e Stepping=9 Features=0x1f83fbff Features2=0xfffab223 AMD Features=0x2c100800 AMD Features2=0x121 Structured Extended Features=0x9c47ab Structured Extended Features2=0x4 Structured Extended Features3=0xac000400 XSAVE Features=0xf IA32_ARCH_CAPS=0x4c AMD Extended Feature Extensions ID EBX=0x100d000 VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID Hypervisor: Origin = "Microsoft Hv" real memory = 8589934592 (8192 MB) avail memory = 8208437248 (7828 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 1 package(s) x 4 core(s) random: registering fast source Intel Secure Key RNG random: fast provider: "Intel Secure Key RNG" arc4random: WARNING: initial seeding bypassed the cryptographic random device because it was not yet seeded and the knob 'bypass_before_seeding' was enabled. ioapic0 irqs 0-23 Launching APs: 1 3 2 Timecounter "Hyper-V-TSC" frequency 10000000 Hz quality 3000 random: entropy device external interface md0: Preloaded image 22085632 bytes at 0xffffffff829d65c8 Fatal trap 12: page fault while in kernel mode cpuid = 1; apic id = 01 fault virtual address = 0x218 fault code = supervisor read data, page not present instruction pointer = 0x20:0xffffffff80f64915 stack pointer = 0x28:0xfffffe008569bb60 frame pointer = 0x28:0xfffffe008569bb90 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 13 (g_event) rdi: 0 rsi: 0 rdx: 1 rcx: 80 r8: 0 r9: 8080808080808080 rax: fffff800016a2740 rbx: 0 rbp: fffffe008569bb90 r10: fffff800016f2c00 r11: ffff9c9acbcac8cd r12: ffffffff812acabf r13: ffffffff8120d9c5 r14: fffffe008569bbd8 r15: 1 trap number = 12 panic: page fault cpuid = 1 time = 1 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe008569b920 vpanic() at vpanic+0x151/frame 0xfffffe008569b970 panic() at panic+0x43/frame 0xfffffe008569b9d0 trap_fatal() at trap_fatal+0x407/frame 0xfffffe008569ba30 trap_pfault() at trap_pfault+0x4f/frame 0xfffffe008569ba90 calltrap() at calltrap+0x8/frame 0xfffffe008569ba90 --- trap 0xc, rip = 0xffffffff80f64915, rsp = 0xfffffe008569bb60, rbp = 0xfffffe008569bb90 --- uma_zalloc_arg() at uma_zalloc_arg+0x35/frame 0xfffffe008569bb90 devctl_alloc_dei_sb() at devctl_alloc_dei_sb+0x54/frame 0xfffffe008569bbc0 devctl_notify() at devctl_notify+0x41/frame 0xfffffe008569bc50 g_dev_taste() at g_dev_taste+0x4c7/frame 0xfffffe008569be80 g_load_class() at g_load_class+0x15c/frame 0xfffffe008569beb0 g_run_events() at g_run_events+0x11c/frame 0xfffffe008569bef0 fork_exit() at fork_exit+0x7e/frame 0xfffffe008569bf30 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe008569bf30 --- trap 0, rip = 0, rsp = 0, rbp = 0 --- KDB: enter: panic [ thread pid 13 tid 100043 ] Stopped at kdb_enter+0x32: movq $0,0x127e2e3(%rip) db>
markshank commented 2 years ago
virtual machine configuration mds@optiplex3050:~$ virsh domxml-to-native qemu-argv --domain gvtguefi LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin HOME=/var/lib/libvirt/qemu/domain--1-gvtguefi XDG_DATA_HOME=/var/lib/libvirt/qemu/domain--1-gvtguefi/.local/share XDG_CACHE_HOME=/var/lib/libvirt/qemu/domain--1-gvtguefi/.cache XDG_CONFIG_HOME=/var/lib/libvirt/qemu/domain--1-gvtguefi/.config INTEL_DEBUG=norbc /usr/bin/qemu-system-x86_64 -name guest=gvtguefi,debug-threads=on -object '{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/var/lib/libvirt/qemu/domain--1-gvtguefi/master-key.aes"}' -blockdev '{"driver":"file","filename":"/usr/share/OVMF/OVMF_CODE_4M.fd","node-name":"libvirt-pflash0-storage","auto-read-only":true,"discard":"unmap"}' -blockdev '{"node-name":"libvirt-pflash0-format","read-only":true,"driver":"raw","file":"libvirt-pflash0-storage"}' -blockdev '{"driver":"file","filename":"/var/lib/libvirt/qemu/nvram/gvtguefi_VARS.fd","node-name":"libvirt-pflash1-storage","auto-read-only":true,"discard":"unmap"}' -blockdev '{"node-name":"libvirt-pflash1-format","read-only":false,"driver":"raw","file":"libvirt-pflash1-storage"}' -machine pc-q35-6.2,usb=off,vmport=off,dump-guest-core=off,pflash0=libvirt-pflash0-format,pflash1=libvirt-pflash1-format,memory-backend=pc.ram -accel kvm -cpu host,migratable=on,hv-time=on,hv-relaxed=on,hv-vapic=on,hv-spinlocks=0x1fff -m 8192 -object '{"qom-type":"memory-backend-ram","id":"pc.ram","size":8589934592}' -overcommit mem-lock=off -smp 4,sockets=1,dies=1,cores=4,threads=1 -uuid 24c322b3-52b5-4a49-b818-96701ee89aab -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain--1-gvtguefi/monitor.sock,server=on,wait=off -mon chardev=charmonitor,id=monitor,mode=control -rtc base=localtime,driftfix=slew -global kvm-pit.lost_tick_policy=delay -no-hpet -no-shutdown -global ICH9-LPC.disable_s3=1 -global ICH9-LPC.disable_s4=1 -boot strict=on -device pcie-root-port,port=16,chassis=1,id=pci.1,bus=pcie.0,multifunction=on,addr=0x2 -device pcie-root-port,port=17,chassis=2,id=pci.2,bus=pcie.0,addr=0x2.0x1 -device pcie-root-port,port=18,chassis=3,id=pci.3,bus=pcie.0,addr=0x2.0x2 -device pcie-root-port,port=19,chassis=4,id=pci.4,bus=pcie.0,addr=0x2.0x3 -device pcie-root-port,port=20,chassis=5,id=pci.5,bus=pcie.0,addr=0x2.0x4 -device pcie-root-port,port=21,chassis=6,id=pci.6,bus=pcie.0,addr=0x2.0x5 -device pcie-root-port,port=22,chassis=7,id=pci.7,bus=pcie.0,addr=0x2.0x6 -device pcie-root-port,port=23,chassis=8,id=pci.8,bus=pcie.0,addr=0x2.0x7 -device pcie-root-port,port=24,chassis=9,id=pci.9,bus=pcie.0,multifunction=on,addr=0x3 -device pcie-root-port,port=25,chassis=10,id=pci.10,bus=pcie.0,addr=0x3.0x1 -device pcie-root-port,port=26,chassis=11,id=pci.11,bus=pcie.0,addr=0x3.0x2 -device pcie-root-port,port=27,chassis=12,id=pci.12,bus=pcie.0,addr=0x3.0x3 -device pcie-root-port,port=28,chassis=13,id=pci.13,bus=pcie.0,addr=0x3.0x4 -device pcie-root-port,port=29,chassis=14,id=pci.14,bus=pcie.0,addr=0x3.0x5 -device qemu-xhci,p2=15,p3=15,id=usb,bus=pci.2,addr=0x0 -device virtio-serial-pci,id=virtio-serial0,bus=pci.3,addr=0x0 -blockdev '{"driver":"file","filename":"/var/lib/libvirt/images/gvtguefi.qcow2","node-name":"libvirt-2-storage","auto-read-only":true,"discard":"unmap"}' -blockdev '{"node-name":"libvirt-2-format","read-only":false,"discard":"unmap","driver":"qcow2","file":"libvirt-2-storage"}' -device virtio-blk-pci,bus=pci.4,addr=0x0,drive=libvirt-2-format,id=virtio-disk0,bootindex=2 -blockdev '{"driver":"file","filename":"/home/mds/Downloads/ravynOS_0.4.0pre5_f14_6521265220485120_amd64.iso","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"}' -blockdev '{"node-name":"libvirt-1-format","read-only":true,"driver":"raw","file":"libvirt-1-storage"}' -device ide-cd,bus=ide.1,drive=libvirt-1-format,id=sata0-0-1,bootindex=1 -netdev tap,fd=27,id=hostnet0 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:f5:44:4b,bus=pci.1,addr=0x0 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -chardev spicevmc,id=charchannel0,name=vdagent -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0 -device usb-tablet,id=input0,bus=usb.0,port=1 -audiodev '{"id":"audio1","driver":"spice"}' -spice port=0,disable-ticketing=on,gl=on,rendernode=/dev/dri/by-path/pci-0000:00:02.0-render,seamless-migration=on -device ich9-intel-hda,id=sound0,bus=pcie.0,addr=0x1b -device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0,audiodev=audio1 -chardev spicevmc,id=charredir0,name=usbredir -device usb-redir,chardev=charredir0,id=redir0,bus=usb.0,port=2 -chardev spicevmc,id=charredir1,name=usbredir -device usb-redir,chardev=charredir1,id=redir1,bus=usb.0,port=3 -device vfio-pci,id=hostdev0,sysfsdev=/sys/bus/mdev/devices/cb33ec6d-ad44-4702-b80f-c176f56afea1,display=on,bus=pci.6,addr=0x0 -device virtio-balloon-pci,id=balloon0,bus=pci.5,addr=0x0 -set device.hostdev0.x-igd-opregion=on -set device.hostdev0.ramfb=on -set device.hostdev0.driver=vfio-pci-nohotplug -set device.hostdev0.romfile=/home/mds/Downloads/vbios_gvt_uefi.rom -sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny -msg timestamp=on mds@optiplex3050:~$
markshank commented 2 years ago

I also tested this ISO on the bare metal host machine and it booted up fine to the login display. Logged in and saw the desktop. So I'm satisfied that we haven't broken anything there.

markshank commented 2 years ago

I tested this ISO on a Proxmox VM and it boots up without issue. Of course there are no graphics as I don't have GVT-g mediated passthrough configured there.

serial console Consoles: EFI console Reading loader env vars from /efi/freebsd/loader.env Setting currdev to cd1: ?cLoading kernel... /boot/kernel/kernel text=0x188d30 text=0xe1ca18 text=0x67106c data=0x140 data=0x1cc330+0x432cd0 0x8+0x194af0+0x8+0x1b4b2f| Loading configured modules... /boot/kernel/nullfs.ko size 0x9108 at 0x234a000 /boot/kernel/geom_uzip.ko size 0x95c8 at 0x2354000 /boot/kernel/cryptodev.ko size 0x7780 at 0x235e000 can't find '/etc/hostid' /data/ramdisk.ufs size=0x1510000 /boot/kernel/mach.ko size 0x66128 at 0x3876000 /boot/kernel/zfs.ko size 0x611008 at 0x38dd000 Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... staging 0x72800000 (not copying) tramp 0x7d1a6000 PT4 0x7d19d000 Start @ 0xffffffff80389000 ... EFI framebuffer information: addr, size 0xc0000000, 0x7e9000 dimensions 1920 x 1080 stride 1920 masks 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000 GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb ---<>--- Copyright (c) 1992-2022 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 14.0-CURRENT #0 main-n747-04a6bb04385: Wed Sep 7 01:09:46 UTC 2022 root@cirrus-task-5523999047286784:/usr/obj/tmp/cirrus-ci-build/amd64.amd64/sys/RAVYN amd64 ravynOSclang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) VT(efifb): resolution 1920x1080 Setting sysctl vfs.zfs.arc_max failed: 22 mach services loaded - mach system calls available CPU: Common KVM processor (2500.08-MHz K8-class CPU) Origin="AuthenticAMD" Id=0xf61 Family=0xf Model=0x6 Stepping=1 Features=0x1783fbff Features2=0x80202001 AMD Features=0x20100800 AMD Features2=0x3 Hypervisor: Origin = "KVMKVMKVM" real memory = 4294967296 (4096 MB) avail memory = 4006989824 (3821 MB) Event timer "LAPIC" quality 100 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 1 package(s) x 4 core(s) arc4random: WARNING: initial seeding bypassed the cryptographic random device because it was not yet seeded and the knob 'bypass_before_seeding' was enabled. ioapic0 irqs 0-23 Launching APs: 3 2 1 random: entropy device external interface md0: Preloaded image 22085632 bytes at 0xffffffff82365780 kbd1 at kbdmux0 kvmclock0: Timecounter "kvmclock" frequency 1000000000 Hz quality 975 kvmclock0: registered as a time-of-day clock, resolution 0.000001s efirtc0: efirtc0: registered as a time-of-day clock, resolution 1.000000s smbios0: at iomem 0x7e9d6000-0x7e9d601e smbios0: Version: 2.8, BCD Revision: 2.8 aesni0: No AES or SHA support. acpi0: acpi0: Power Button (fixed) cpu0: on acpi0 atrtc0: port 0x70-0x77 irq 8 on acpi0 atrtc0: registered as a time-of-day clock, resolution 1.000000s Event timer "RTC" frequency 32768 Hz quality 0 hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 100000000 Hz quality 950 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x608-0x60b on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 vgapci0: port 0xd320-0xd32f mem 0xc0000000-0xc0ffffff,0xc2240000-0xc224ffff at device 1.0 on pci0 vgapci0: Boot video device uhci0: port 0xd300-0xd31f irq 16 at device 26.0 on pci0 usbus0 on uhci0 usbus0: 12Mbps Full Speed USB v1.0 uhci1: port 0xd2e0-0xd2ff irq 17 at device 26.1 on pci0 usbus1 on uhci1 usbus1: 12Mbps Full Speed USB v1.0 uhci2: port 0xd2c0-0xd2df irq 18 at device 26.2 on pci0 usbus2 on uhci2 usbus2: 12Mbps Full Speed USB v1.0 ehci0: mem 0xc225a000-0xc225afff irq 19 at device 26.7 on pci0 usbus3: EHCI version 1.0 usbus3 on ehci0 usbus3: 480Mbps High Speed USB v2.0 hdac0: mem 0xc2250000-0xc2253fff irq 16 at device 27.0 on pci0 pcib1: mem 0xc2259000-0xc2259fff irq 16 at device 28.0 on pci0 pcib1: failed to allocate initial I/O port window: 0xd000-0xdfff pci1: on pcib1 pcib2: mem 0xc2258000-0xc2258fff irq 16 at device 28.1 on pci0 pci2: on pcib2 pcib3: mem 0xc2257000-0xc2257fff irq 16 at device 28.2 on pci0 pci3: on pcib3 pcib4: mem 0xc2256000-0xc2256fff irq 16 at device 28.3 on pci0 pci4: on pcib4 uhci3: port 0xd2a0-0xd2bf irq 16 at device 29.0 on pci0 usbus4 on uhci3 usbus4: 12Mbps Full Speed USB v1.0 uhci4: port 0xd280-0xd29f irq 17 at device 29.1 on pci0 usbus5 on uhci4 usbus5: 12Mbps Full Speed USB v1.0 uhci5: port 0xd260-0xd27f irq 18 at device 29.2 on pci0 usbus6 on uhci5 usbus6: 12Mbps Full Speed USB v1.0 ehci1: mem 0xc2255000-0xc2255fff irq 19 at device 29.7 on pci0 usbus7: EHCI version 1.0 usbus7 on ehci1 usbus7: 480Mbps High Speed USB v2.0 pcib5: at device 30.0 on pci0 pci5: on pcib5 pcib6: mem 0xc1800000-0xc18000ff irq 21 at device 1.0 on pci5 pci6: on pcib6 virtio_pci0: port 0x9000-0x903f mem 0xc1601000-0xc1601fff,0x800004000-0x800007fff irq 22 at device 5.0 on pci6 vtscsi0: on virtio_pci0 virtio_pci1: port 0x9040-0x905f mem 0xc1600000-0xc1600fff,0x800000000-0x800003fff irq 23 at device 18.0 on pci6 vtnet0: on virtio_pci1 vtnet0: Ethernet address: 56:68:24:ef:a5:0a vtnet0: netmap queues/slots: TX 1/256, RX 1/128 000.000360 [ 453] vtnet_netmap_attach vtnet attached txq=1, txd=256 rxq=1, rxd=128 pcib7: mem 0xc1801000-0xc18010ff irq 22 at device 2.0 on pci5 pci7: on pcib7 pcib8: mem 0xc1802000-0xc18020ff irq 23 at device 3.0 on pci5 pci8: on pcib8 pcib9: mem 0xc1803000-0xc18030ff irq 20 at device 4.0 on pci5 pci9: on pcib9 isab0: at device 31.0 on pci0 isa0: on isab0 ahci0: port 0xd240-0xd25f mem 0xc2254000-0xc2254fff irq 16 at device 31.2 on pci0 ahci0: AHCI v1.00 with 6 1.5Gbps ports, Port Multiplier not supported ahcich0: at channel 0 on ahci0 ahcich1: at channel 1 on ahci0 ahcich2: at channel 2 on ahci0 ahcich3: at channel 3 on ahci0 ahcich4: at channel 4 on ahci0 ahcich5: at channel 5 on ahci0 acpi_syscontainer0: on acpi0 vmgenc0: on acpi0 acpi_syscontainer1: port 0xb2-0xb3 on acpi0 acpi_syscontainer2: port 0xcd8-0xce3 on acpi0 acpi_syscontainer3: port 0x620-0x62f on acpi0 acpi_syscontainer4: port 0xcc0-0xcd7 on acpi0 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: console (115200,n,8,1) atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] WARNING: Device "psm" is Giant locked and may be deleted before FreeBSD 14.0. psm0: model IntelliMouse Explorer, device ID 4 attimer0: at port 0x40 on isa0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 Timecounters tick every 10.000 msec ZFS filesystem version: 5 ZFS storage pool version: features support (5000) ugen4.1: at usbus4 ugen0.1: at usbus0 ugen2.1: at usbus2 uhub0 on usbus4 uhub0: on usbus4 ugen7.1: at usbus7 uhub1 on usbus2 uhub1: on usbus2 ugen1.1: at usbus1 uhub2 on usbus7 uhub2: on usbus7 Trying to mount root from ufs:/dev/md0 [rw]... uhub3 on usbus1 ugen6.1: at usbus6 uhub3: on usbus1 ugen3.1: at usbus3 uhub4 on usbus6 uhub4: on usbus6 uhub5 on usbus3 uhub5: on usbus3 uhub6 on usbus0 uhub6: on usbus0 ugen5.1: at usbus5 uhub7 on usbus5 uhub7: on usbus5 cd0 at ahcich1 bus 0 scbus2 target 0 lun 0 cd0: Removable CD-ROM SCSI device cd0: Serial Number QM00003 cd0: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192bytes) cd0: 1427MB (731092 2048 byte sectors) da0 at vtscsi0 bus 0 scbus0 target 0 lun 0 da0: Fixed Direct Access SPC-3 SCSI device da0: 300.000MB/s transfers da0: Command Queueing enabled da0: 32768MB (67108864 512 byte sectors) random: unblocking device. uhub0: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered uhub4: 2 ports with 2 removable, self powered uhub6: 2 ports with 2 removable, self powered uhub3: 2 ports with 2 removable, self powered uhub7: 2 ports with 2 removable, self powered Root mount waiting for: usbus3 usbus7 Root mount waiting for: usbus3 usbus7 uhub2: 6 ports with 6 removable, self powered uhub5: 6 ports with 6 removable, self powered ugen7.2: at usbus7 Dual Console: Video Primary, Serial Secondary vtnet0: link state changed to UP ichsmb0: port 0xd200-0xd23f irq 16 at device 31.3 on pci0 smbus0: on ichsmb0 lo0: link state changed to UP uhid0 on uhub2 uhid0: on usbus7
virtual machine config root@epyc3000:~# qm showcmd 128 --pretty /usr/bin/kvm \ -id 128 \ -name 'ravynOS,debug-threads=on' \ -no-shutdown \ -chardev 'socket,id=qmp,path=/var/run/qemu-server/128.qmp,server=on,wait=off' \ -mon 'chardev=qmp,mode=control' \ -chardev 'socket,id=qmp-event,path=/var/run/qmeventd.sock,reconnect=5' \ -mon 'chardev=qmp-event,mode=control' \ -pidfile /var/run/qemu-server/128.pid \ -daemonize \ -smbios 'type=1,uuid=8125120d-6858-497c-951d-9b1e3b586935' \ -drive 'if=pflash,unit=0,format=raw,readonly=on,file=/usr/share/pve-edk2-firmware//OVMF_CODE_4M.secboot.fd' \ -drive 'if=pflash,unit=1,cache=writeback,format=raw,id=drive-efidisk0,size=540672,file=rbd:CephPool/vm-128-disk-1:conf=/etc/pve/ceph.conf:id=admin:keyring=/etc/pve/priv/ceph/CephPool.keyring:rbd_cache_policy=writeback' \ -smp '4,sockets=1,cores=4,maxcpus=4' \ -nodefaults \ -boot 'menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg' \ -vnc 'unix:/var/run/qemu-server/128.vnc,password=on' \ -cpu kvm64,enforce,+kvm_pv_eoi,+kvm_pv_unhalt,+lahf_lm,+sep \ -m 4096 \ -readconfig /usr/share/qemu-server/pve-q35-4.0.cfg \ -device 'vmgenid,guid=68083c2d-54ca-41a1-aa5b-900c4f1eff18' \ -device 'usb-tablet,id=tablet,bus=ehci.0,port=1' \ -chardev 'socket,id=serial0,path=/var/run/qemu-server/128.serial0,server=on,wait=off' \ -device 'isa-serial,chardev=serial0' \ -device 'vmware-svga,id=vga,bus=pcie.0,addr=0x1' \ -iscsi 'initiator-name=iqn.1993-08.org.debian:01:cdf99f5be896' \ -drive 'file=/mnt/pve/cephfs/template/iso/ravynOS_0.4.0pre5_f14_6521265220485120_amd64.iso,if=none,id=drive-ide2,media=cdrom,aio=io_uring' \ -device 'ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=100' \ -device 'virtio-scsi-pci,id=scsihw0,bus=pci.0,addr=0x5' \ -drive 'file=rbd:CephPool/vm-128-disk-0:conf=/etc/pve/ceph.conf:id=admin:keyring=/etc/pve/priv/ceph/CephPool.keyring,if=none,id=drive-scsi0,format=raw,cache=none,aio=io_uring,detect-zeroes=on' \ -device 'scsi-hd,bus=scsihw0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0,id=scsi0,bootindex=101' \ -netdev 'type=tap,id=net0,ifname=tap128i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vhost=on' \ -device 'virtio-net-pci,mac=56:68:24:EF:A5:0A,netdev=net0,bus=pci.0,addr=0x12,id=net0' \ -machine 'type=q35+pve0' root@epyc3000:~#
markshank commented 2 years ago

We have graphics!

I tinkered around with the VM configuration and worked around the issue. Still have an artifacts issue and my mouse is missing.

image

markshank commented 2 years ago
serial console BdsDxe: loading Boot0001 "UEFI QEMU DVD-ROM QM00001 " from PciRoot(0x0)/Pci(0x1,0x1)/Ata(Primary,Master,0x0) BdsDxe: starting Boot0001 "UEFI QEMU DVD-ROM QM00001 " from PciRoot(0x0)/Pci(0x1,0x1)/Ata(Primary,Master,0x0) ... Consoles: EFI console Reading loader env vars from /efi/freebsd/loader.env Setting currdev to cd1: FreeBSD/amd64 EFI loader, Revision 1.1 (Wed Sep 7 02:29:16 UTC 2022 root@cirrus-task-6086949000708096) Command line arguments: loader.efi Image base: 0xbe1cb000 EFI version: 2.70 EFI Firmware: EDK II (rev 1.00) Console: efi (0x20001000) Load Path: \EFI\BOOT\BOOTX64.EFI Load Device: PciRoot(0x0)/Pci(0x1,0x1)/Ata(0x0)/CDROM(0x1) BootCurrent: 0001 BootOrder: 0001[*] 0002 0000 0003 BootInfo Path: PciRoot(0x0)/Pci(0x1,0x1)/Ata(0x0) Ignoring Boot0001: Only one DP found Trying ESP: PciRoot(0x0)/Pci(0x1,0x1)/Ata(0x0)/CDROM(0x1) Setting currdev to cd1: Trying: PciRoot(0x0)/Pci(0x1,0x1)/Ata(0x0)/CDROM(0x0) Setting currdev to cd0: Loading /boot/defaults/loader.conf Loading /boot/defaults/loader.conf Loading /boot/device.hints Loading /boot/loader.conf Loading /boot/loader.conf.local | ... ?cLoading kernel... /boot/kernel/kernel text=0x188d30 text=0xe1ca18 text=0x67106c data=0x140 data=0x1cc330+0x432cd0 0x8+0x194af0+0x8+0x1b4b2f- Loading configured modules... /boot/kernel/nullfs.ko size 0x9108 at 0x234a000 /boot/kernel/mach.ko size 0x66128 at 0x2354000 /boot/kernel/cryptodev.ko size 0x7780 at 0x23bb000 /data/ramdisk.ufs size=0x1510000 /boot/kernel/zfs.ko size 0x611008 at 0x38d3000 can't find '/etc/hostid' /boot/kernel/geom_uzip.ko size 0x95c8 at 0x3ee5000 Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... staging 0xb3800000 (not copying) tramp 0xbe010000 PT4 0xbe007000 Start @ 0xffffffff80389000 ... EFI framebuffer information: addr, size 0xbe900000, 0x300000 dimensions 800 x 600 stride 800 masks 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000 GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb ---<>--- Copyright (c) 1992-2022 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 14.0-CURRENT #0 main-n747-04a6bb04385: Wed Sep 7 01:09:46 UTC 2022 root@cirrus-task-5523999047286784:/usr/obj/tmp/cirrus-ci-build/amd64.amd64/sys/RAVYN amd64 ravynOSclang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) VT(efifb): resolution 800x600 Setting sysctl vfs.zfs.arc_max failed: 22 mach services loaded - mach system calls available CPU: Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz (3600.14-MHz K8-class CPU) Origin="GenuineIntel" Id=0x906e9 Family=0x6 Model=0x9e Stepping=9 Features=0xf83fbff Features2=0xfffab223 AMD Features=0x2c100800 AMD Features2=0x121 Structured Extended Features=0x9c47ab Structured Extended Features2=0x4 Structured Extended Features3=0xac000400 XSAVE Features=0xf IA32_ARCH_CAPS=0x4c AMD Extended Feature Extensions ID EBX=0x100d000 VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID Hypervisor: Origin = "KVMKVMKVM" real memory = 4294967296 (4096 MB) avail memory = 4062834688 (3874 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 4 package(s) x 1 core(s) random: registering fast source Intel Secure Key RNG random: fast provider: "Intel Secure Key RNG" arc4random: WARNING: initial seeding bypassed the cryptographic random device because it was not yet seeded and the knob 'bypass_before_seeding' was enabled. ioapic0 irqs 0-23 Launching APs: 2 1 3 random: entropy device external interface md0: Preloaded image 22085632 bytes at 0xffffffff823c2780 kbd1 at kbdmux0 kvmclock0: Timecounter "kvmclock" frequency 1000000000 Hz quality 975 kvmclock0: registered as a time-of-day clock, resolution 0.000001s efirtc0: efirtc0: registered as a time-of-day clock, resolution 1.000000s smbios0: at iomem 0xbf922000-0xbf92201e smbios0: Version: 2.8, BCD Revision: 2.8 aesni0: acpi0: acpi0: Power Button (fixed) cpu0: on acpi0 atrtc0: port 0x70-0x77 irq 8 on acpi0 atrtc0: registered as a time-of-day clock, resolution 1.000000s Event timer "RTC" frequency 32768 Hz quality 0 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xb008-0xb00b on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci_link4: BIOS IRQ 10 for 0.1.INTA is invalid pci0: on pcib0 isab0: at device 1.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf380-0xf38f at device 1.1 on pci0 ata0: at channel 0 on atapci0 ata1: at channel 1 on atapci0 pci0: at device 1.3 (no driver attached) pcib1: mem 0x810015000-0x8100150ff irq 10 at device 2.0 on pci0 pci1: on pcib1 virtio_pci0: port 0xf360-0xf37f mem 0xc1687000-0xc1687fff,0x810000000-0x810003fff irq 11 at device 3.0 on pci0 vtnet0: on virtio_pci0 vtnet0: Ethernet address: 52:54:00:99:56:4a vtnet0: netmap queues/slots: TX 1/256, RX 1/128 000.000999 [ 453] vtnet_netmap_attach vtnet attached txq=1, txd=256 rxq=1, rxd=128 hdac0: mem 0xc1680000-0xc1683fff irq 11 at device 4.0 on pci0 uhci0: port 0xf340-0xf35f irq 10 at device 5.0 on pci0 usbus0 on uhci0 usbus0: 12Mbps Full Speed USB v1.0 uhci1: port 0xf320-0xf33f irq 10 at device 5.1 on pci0 usbus1 on uhci1 usbus1: 12Mbps Full Speed USB v1.0 uhci2: port 0xf300-0xf31f irq 11 at device 5.2 on pci0 usbus2 on uhci2 usbus2: 12Mbps Full Speed USB v1.0 ehci0: mem 0xc1686000-0xc1686fff irq 11 at device 5.7 on pci0 usbus3: EHCI version 1.0 usbus3 on ehci0 usbus3: 480Mbps High Speed USB v2.0 virtio_pci1: port 0xf2c0-0xf2ff mem 0xc1685000-0xc1685fff,0x810004000-0x810007fff irq 10 at device 6.0 on pci0 virtio_pci2: port 0xf200-0xf27f mem 0xc1684000-0xc1684fff,0x810008000-0x81000bfff irq 11 at device 7.0 on pci0 vtblk0: on virtio_pci2 vtblk0: 20480MB (41943040 512 byte sectors) virtio_pci3: port 0xf280-0xf2bf mem 0x81000c000-0x81000ffff irq 11 at device 8.0 on pci0 vtballoon0: on virtio_pci3 pcib2: mem 0x810014000-0x8100140ff irq 10 at device 9.0 on pci0 pci2: on pcib2 pcib3: mem 0x810013000-0x8100130ff irq 10 at device 10.0 on pci0 pcib3: failed to allocate initial I/O port window: 0xf000-0xffff pci3: on pcib3 pcib4: mem 0x810012000-0x8100120ff irq 11 at device 11.0 on pci0 pci4: on pcib4 pcib5: mem 0x810011000-0x8100110ff irq 11 at device 12.0 on pci0 pci5: on pcib5 pcib6: mem 0x810010000-0x8100100ff irq 10 at device 13.0 on pci0 pci6: on pcib6 vgapci0: mem 0xc0000000-0xc0ffffff,0x800000000-0x80fffffff irq 10 at device 1.0 on pci6 acpi_syscontainer0: on acpi0 acpi_syscontainer1: port 0xaf00-0xaf0b on acpi0 acpi_syscontainer2: port 0xafe0-0xafe3 on acpi0 acpi_syscontainer3: port 0xae00-0xae17 on acpi0 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: console (115200,n,8,1) atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] WARNING: Device "psm" is Giant locked and may be deleted before FreeBSD 14.0. psm0: model IntelliMouse Explorer, device ID 4 fdc0: port 0x3f2-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: does not respond device_attach: fdc0 attach returned 6 vga0: at port 0x3b0-0x3bb iomem 0xb0000-0xb7fff pnpid PNP0900 on isa0 attimer0: at port 0x40 on isa0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 fdc0: No FDOUT register! Timecounters tick every 10.000 msec ZFS filesystem version: 5 ZFS storage pool version: features support (5000) ugen1.1: at usbus1 ugen3.1: at usbus3 ugen0.1: at usbus0 uhub0 on usbus1 uhub0: on usbus1 ugen2.1: at usbus2 uhub1 on usbus3 uhub1: on usbus3 hdacc0: at cad 0 on hdac0 hdaa0: at nid 1 on hdacc0 pcm0: at nid 3 and 5 on hdaa0 uhub2 on usbus2 uhub2: on usbus2 uhub3 on usbus0 uhub3: on usbus0 Trying to mount root from ufs:/dev/md0 [rw]... random: unblocking device. cd0 at ata0 bus 0 scbus0 target 0 lun 0 cd0: Removable CD-ROM SCSI device cd0: Serial Number QM00001 cd0: 16.700MB/s transfers (WDMA2, ATAPI 12bytes, PIO 65534bytes) cd0: 1427MB (731092 2048 byte sectors) uhub0: 2 ports with 2 removable, self powered uhub3: 2 ports with 2 removable, self powered uhub2: 2 ports with 2 removable, self powered Root mount waiting for: usbus3 Root mount waiting for: usbus3 uhub1: 6 ports with 6 removable, self powered Root mount waiting for: usbus3 ugen3.2: at usbus3 Dual Console: Serial Primary, Video Secondary 2022-09-09T18:11:12.662021+00:00 - init 1 - - RAMDisk init starting Hello. This is ravynOS 0.4.0pre5 (Pygmy Marmoset) ==> Ramdisk /init.sh running ==> Remount rootfs as read-write ==> Make mountpoints Waiting for Live media to appear found /dev/iso9660/RAVYNOS ==> Mount /cdrom ==> Configure md from system.uzip mdconfig: WARNING: opening backing store: /cdrom/data/system.uzip readonly ==> Importing ZFS pool Setting up the live environment... ==> Mounting /tmp and /proc ==> Creating root symlinks ==> Populating etc and var ==> Populating /System/Library ==> User directory ==> Loading important modules ums utouch kldload: can't load utouch: No such file or directory firewire Starting seatd. drmn0: on vgapci0 vgapci0: child drmn0 requested pci_enable_io vgapci0: child drmn0 requested pci_enable_io drmn0: [drm] Virtual GPU for Intel GVT-g detected. <5>[drm] Unable to create a private tmpfs mount, hugepage support will be disabled(-19). drmn0: [drm] iGVT-g active, disabling use of stolen memory lkpi_iic0: on drmn0 iicbus0: on lkpi_iic0 iic0: on iicbus0 lkpi_iic1: on drmn0 iicbus1: on lkpi_iic1 iic1: on iicbus1 lkpi_iic2: on drmn0 iicbus2: on lkpi_iic2 iic2: on iicbus2 drmn0: [drm] VGT ballooning configuration: drmn0: [drm] Mappable graphic memory: base 0x8a9000 size 65536KiB drmn0: [drm] Unmappable graphic memory: base 0xe7fde000 size 393216KiB drmn0: [drm] balloon space: range [ 0x10000000 - 0xe7fde000 ] 3538808 KiB. drmn0: [drm] balloon space: range [ 0xfffde000 - 0x100000000 ] 136 KiB. drmn0: [drm] balloon space: range [ 0x0 - 0x8a9000 ] 8868 KiB. drmn0: [drm] balloon space: range [ 0x48a9000 - 0x10000000 ] 187740 KiB. drmn0: [drm] VGT balloon successfully drmn0: successfully loaded firmware image 'i915/kbl_dmc_ver1_04.bin' drmn0: [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4) drmn0: [drm] *ERROR* [CRTC:51:pipe A] mismatch in infoframes.enable 0xfffffe00639720f8V drmn0: [drm] *ERROR* mismatch in avi infoframe drmn0: [drm] *ERROR* expected: drmn0: HDMI infoframe: Auxiliary Video Information (AVI), version 2, length 13 drmn0: colorspace: RGB drmn0: scan mode: No Data drmn0: colorimetry: No Data drmn0: picture aspect: No Data drmn0: active aspect: 14:9 Top drmn0: itc: No Data drmn0: extended colorimetry: xvYCC 601 drmn0: quantization range: Default drmn0: nups: Unknown Non-uniform Scaling drmn0: video code: 0 drmn0: ycc quantization range: Limited drmn0: hdmi content type: Graphics drmn0: pixel repeat: 0 drmn0: bar top 0, bottom 0, left 0, right 0 drmn0: [drm] *ERROR* found: pipe state doesn't match! sysctl_warn_reuse: can't re-use a leaf (hw.dri.debug)! lkpi_iic3: on drm1 iicbus3: on lkpi_iic3 iic3: on iicbus3 lkpi_iic4: on drm2 iicbus4: on lkpi_iic4 iic4: on iicbus4 lkpi_iic5: on drm3 iicbus5: on lkpi_iic5 iic5: on iicbus5 lkpi_iic6: on drm4 iicbus6: on lkpi_iic6 iic6: on iicbus6 <6>[drm] Initialized i915 1.6.0 20200917 for drmn0 on minor 0 VT: Replacing driver "efifb" with new "fb". start FB_INFO: type=11 height=768 width=1024 depth=32 pbase=0x8008c0000 vbase=0xfffffe00ab8c0000 name=drmn0 flags=0x0 stride=4096 bpp=32 end FB_INFO ==> Exit ramdisk init.sh com.apple.launchd 1 com.apple.launchd 1 *** launchd[1] has started up. *** com.apple.launchd 1 com.apple.launchd 1 *** Shutdown logging is enabled. *** 2022-09-09T18:11:14.250092+00:00 - launchd 1 - - starting root_jobmgr 2022-09-09T18:11:14.253872+00:00 - launchd 1 - - if jm=0x0 then launchd_mport_notify_req transfer_port=0 2022-09-09T18:11:14.254025+00:00 - launchd 1 - - kevent_modding 2022-09-09T18:11:14.254176+00:00 - launchd 1 - - jobmgr_init_session 2022-09-09T18:11:14.257175+00:00 - launchd 1 - - jobmgr created!!!! 2022-09-09T18:11:14.257376+00:00 - launchd 1 - - dispatching job j=0x822c23000 kickstart=1 com.apple.launchd 1 com.apple.launchctl.System 0 Job started. com.apple.launchd 1 com.apple.launchd 1 Incremented busy count. Now: 1 kern.coredump: 1 -> 0 2022-09-09T18:11:15.377252+00:00 - launchd 1 - - dispatching job j=0x822c23280 kickstart=0 com.apple.launchd 1 org.freebsd.getty.ttyv3 0 Job started. com.apple.launchd 1 com.apple.launchd 1 Incremented busy count. Now: 2 Loading job: org.freebsd.ttyv3.json: ok 2022-09-09T18:11:15.384917+00:00 - launchd 1 - - dispatching job j=0x822c23500 kickstart=0 com.apple.launchd 1 org.freebsd.getty.ttyv2 0 Job started. com.apple.launchd 1 com.apple.launchd 1 Incremented busy count. Now: 3 Loading job: org.freebsd.ttyv2.json: ok 2022-09-09T18:11:15.391416+00:00 - launchd 1 - - dispatching job j=0x822c23780 kickstart=0 com.apple.launchd 1 org.freebsd.getty.ttyv1 0 Job started. com.apple.launchd 1 com.apple.launchd 1 Incremented busy count. Now: 4 Loading job: org.freebsd.ttyv1.json: ok 2022-09-09T18:11:15.397361+00:00 - launchd 1 - - dispatching job j=0x822c23a00 kickstart=0 com.apple.launchd 1 org.freebsd.getty.ttyv0 0 Job started. com.apple.launchd 1 com.apple.launchd 1 Incremented busy count. Now: 5 Loading job: org.freebsd.ttyv0.json: ok 2022-09-09T18:11:15.404502+00:00 - launchd 1 - - dispatching job j=0x822c23c80 kickstart=0 com.apple.launchd 1 org.freebsd.devd 0 Job started. com.apple.launchd 1 com.apple.launchd 1 Incremented busy count. Now: 6 Loading job: org.freebsd.devd.json: ok 2022-09-09T18:11:15.411122+00:00 - launchd 1 - - dispatching job j=0x822c23f00 kickstart=0 com.apple.launchd 1 com.ravynos.WindowServer 0 Job started. com.apple.launchd 1 com.apple.launchd 1 Incremented busy count. Now: 7 Loading job: com.ravynos.WindowServer.json: ok 2022-09-09T18:11:15.418123+00:00 - launchd 1 - - dispatching job j=0x822c24180 kickstart=0 Loading job: com.apple.notifyd.json: ok intsmb0: irq 9 at device 1.3 on pci0 intsmb0: Could not allocate I/O space device_attach: intsmb0 attach returned 6 vtnet0: link state changed to UP vtcon0: on virtio_pci1 lo0: link state changed to UP dumpon: /dev/YES: No such file or directory /etc/rc: WARNING: unable to specify YES as a dump device sysctl: hw.acpi.lid_switch_state="S3": value is not available at line 34 Setting hostuuid: 477931cd-1c2e-47b5-a560-f62c2733cc8f. Setting hostid: 0x915924be. Fast boot: skipping disk checks. Mounting local filesystems:. Mounting fdescfs:2022-09-09T18:11:20.834118+00:00 - launchd 1 - - dispatching job j=0x822c24180 kickstart=0 . Mounting procfs:2022-09-09T18:11:20.834435+00:00 - launchd 1 - - dispatching job j=0x822c23f00 kickstart=0 . 2022-09-09T18:11:20.835963+00:00 - launchd 1 - - dispatching job j=0x822c23c80 kickstart=0 2022-09-09T18:11:20.837094+00:00 - launchd 1 - - dispatching job j=0x822c23a00 kickstart=0 2022-09-09T18:11:20.837582+00:00 - launchd 1 - - dispatching job j=0x822c23780 kickstart=0 2022-09-09T18:11:20.839518+00:00 - launchd 1 - - dispatching job j=0x822c23500 kickstart=0 2022-09-09T18:11:20.840723+00:00 - launchd 1 - - dispatching job j=0x822c23280 kickstart=0 2022-09-09T18:11:20.841898+00:00 - launchd 1 - - dispatching job j=0x822c23000 kickstart=0 2022-09-09T18:11:20.843145+00:00 - launchd 1 - - dispatching job j=0x822c24180 kickstart=0 2022-09-09T18:11:20.844293+00:00 - launchd 1 - - dispatching job j=0x822c23f00 kickstart=0 2022-09-09T18:11:20.845427+00:00 - launchd 1 - - dispatching job j=0x822c23c80 kickstart=0 Loading kernel modules: 2022-09-09T18:11:20.846571+00:00 - launchd 1 - - dispatching job j=0x822c23a00 kickstart=0 2022-09-09T18:11:20.848129+00:00 - launchd 1 - - dispatching job j=0x822c23780 kickstart=0 2022-09-09T18:11:20.849213+00:00 - launchd 1 - - dispatching job j=0x822c23500 kickstart=0 2022-09-09T18:11:20.850312+00:00 - launchd 1 - - dispatching job j=0x822c23280 kickstart=0 2022-09-09T18:11:20.851574+00:00 - launchd 1 - - dispatching job j=0x822c23000 kickstart=0 Cuse v0.1.37 @ /dev/cuse driver bug: Unable to set devclass (class: fdc devname: (unknown)) intsmb0: irq 9 at device 1.3 on pci0 intsmb0: Could not allocate I/O space device_attach: intsmb0 attach returned 6 kldload: can't load utouch: No such file or directory /etc/rc: WARNING: Unable to load kernel module utouch driver bug: Unable to set devclass (class: fdc devname: (unknown)) ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/lib/compat/pkg /usr/lib/perl5/5.32/mach/CORE /usr/lib/qt5 /usr/llvm13/lib 32-bit compatibility ldconfig path: Setting hostname: ravynOS. Setting up harvesting: PURE_RDRAND,[CALLOUT],[UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,[NET_ETHER],NET_TUN,MOUSE,KEYBOARD,ATTACH,CACHED Feeding entropy: . kenv: unable to get smbios.system.family uhid0 on uhub1 uhid0: on usbus3 pid 417 (WindowServer), jid 0, uid 65534: exited on signal 11 2022-09-09T18:11:22.574570+00:00 ravynOS launchd 1 - - dispatching job j=0x822c23f00 kickstart=0 Starting Network: lo0 vtnet0. lo0: flags=8049 metric 0 mtu 16384 options=680003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 inet 127.0.0.1 netmask 0xff000000 groups: lo nd6 options=23 vtnet0: flags=8863 metric 0 mtu 1500 options=4c07bb ether 52:54:00:99:56:4a inet6 fe80::5054:ff:fe99:564a%vtnet0 prefixlen 64 scopeid 0x1 inet6 2601:5c4:c500:2209:5054:ff:fe99:564a prefixlen 64 autoconf inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 media: Ethernet autoselect (10Gbase-T ) status: active nd6 options=23 Starting devd. add host 127.0.0.1: gateway lo0 fib 0: route already in table add host ::1: gateway lo0 fib 0: route already in table add net fe80::: gateway ::1 add net ff02::: gateway ::1 add net ::ffff:0.0.0.0: gateway ::1 add net ::0.0.0.0: gateway ::1 Waiting 1s for the default route interface: Creating and/or trimming log files. devfs rule: error converting to integer: cups /etc/rc: WARNING: devfs_init_rulesets: could not read rules from /etc/devfs.rules Clearing /tmp. Updating motd:. Updating /var/run/os-release done. Starting psm0 moused. Starting syslogd. Setting date via ntp. 9 Sep 18:11:31 ntpdate[1547]: step time server 159.89.86.140 offset -0.001523 sec kldload: can't load i915kms: module already loaded or in kernel Mounting late filesystems:. Starting dbus. PlatformLang is en Could not read EFI variable PlatformLang setxkbmap needs to be run from within a graphical user session --> tzsetup America/New_York --> Wrote /var/localize/include Starting seatd. Starting avahi-daemon. sysctl: hw.acpi.lid_switch_state="S3": value is not available at line 34 sysctl: unknown oid 'compat.linux.osrelease' at line 39 Configuring vt: allscreens_kbd blanktime. Starting background file system checks in 60 seconds. Fri Sep 9 14:11:31 EDT 2022
mszoek commented 2 years ago

AMAZING! Nice work! Definitely some artifacts to resolve but what a huge step forward to be able to use GPU passthrough.

markshank commented 2 years ago

I tinkered around with the VM configuration and worked around the issue.

The configuration with the page fault issue is on the left and the workaround is on the right. I changed the Chipset & Firmware options. image