Discussion:
vmm page fault with VM upgraded from Ubuntu 18LTS to 20LTS
Noah
2021-03-27 19:37:59 UTC
Permalink
vmm crashes during boot after upgrading a VM from Ubuntu 18 to Ubuntu 20.
Host is running 6.8 with all syspatches

vmd -dvvv output provides a log entry of:
vcpu_run_loop: vm 7 / vcpu 0 run ioctl failed: Bad address

and this coincides with a kernel message:
vmx_fault_page: uvm_fault returns 14, GPA=0xfe001818, rip=0xffffffffb98a31b4

vmd output (piped through uniq to remove thousands of dupe messages),
dmesg, vm.conf and vmctl status output follows.



[***@chimaera ~]$ cat vmd.out | uniq
startup
/etc/vm.conf:4: switch "local" registered
/etc/vm.conf:8: switch "bridged" registered
vm_register: registering vm 1
/etc/vm.conf:20: vm "OBSD-Stable.vm" registered (disabled)
vm_register: registering vm 2
/etc/vm.conf:32: vm "OBSD-Current.vm" registered (disabled)
vm_register: registering vm 3
/etc/vm.conf:45: vm "Alpine.vm" registered (disabled)
vm_register: registering vm 4
/etc/vm.conf:58: vm "Blackarch.vm" registered (disabled)
vm_register: registering vm 5
/etc/vm.conf:70: vm "Ubuntu.vm" registered (disabled)
vm_priv_brconfig: interface bridge0 description switch1-local
vm_priv_brconfig: interface bridge2 description switch2-bridged
vmd_configure: setting staggered start configuration to parallelism: 4 and
delay: 30
vmd_configure: starting vms in staggered fashion
start_vm_batch: starting batch of 4 vms
start_vm_batch: not starting vm OBSD-Stable.vm (disabled)
start_vm_batch: not starting vm OBSD-Current.vm (disabled)
start_vm_batch: not starting vm Alpine.vm (disabled)
start_vm_batch: not starting vm Blackarch.vm (disabled)
start_vm_batch: not starting vm Ubuntu.vm (disabled)
start_vm_batch: done starting vms
config_getconfig: vmm retrieving config
config_getconfig: priv retrieving config
config_getconfig: control retrieving config
vm_opentty: vm Ubuntu.vm tty /dev/ttyp3 uid 1000 gid 4 mode 620
vm_register: registering vm 5
vm_priv_ifconfig: interface tap0 description vm5-if0-Ubuntu.vm
vm_priv_ifconfig: switch "local" interface bridge0 add tap0
Ubuntu.vm: started vm 5 successfully, tty /dev/ttyp3
loadfile_bios: loaded BIOS image
run_vm: initializing hardware for vm Ubuntu.vm
pic_set_elcr: setting level triggered mode for irq 3
pic_set_elcr: setting level triggered mode for irq 5
virtio_init: vm "Ubuntu.vm" vio0 lladdr fe:e1:ba:d0:eb:af
pic_set_elcr: setting level triggered mode for irq 6
qc2_open: qcow2 disk version 3 size 42949672960 end 8361213952 snap 0
qc2_open: qcow2 disk version 3 size 42949672960 end 393216 snap 0
pic_set_elcr: setting level triggered mode for irq 7
run_vm: starting vcpu threads for vm Ubuntu.vm
vcpu_reset: resetting vcpu 0 for vm 7
run_vm: waiting on events for VM Ubuntu.vm
vcpu_exit_fw_cfg: selector 0x0000
vcpu_exit_fw_cfg: selector 0x0001
fw_cfg_handle_dma: selector 0x0004
fw_cfg_handle_dma: selector 0x000d
fw_cfg_select: unhandled selector d
fw_cfg_handle_dma: selector 0x000f
fw_cfg_select: unhandled selector f
fw_cfg_handle_dma: selector 0x8000
fw_cfg_select: unhandled selector 8000
fw_cfg_handle_dma: selector 0x8001
fw_cfg_select: unhandled selector 8001
fw_cfg_handle_dma: selector 0x0019
fw_cfg_file_dir: file directory with 1 files
4B 0020 etc/screen-and-debug
fw_cfg_handle_dma: selector 0x8003
fw_cfg_select: unhandled selector 8003
i8259_write_datareg: master pic, reset IRQ vector to 0x8
i8259_write_datareg: slave pic, reset IRQ vector to 0x70
fw_cfg_handle_dma: selector 0x000f
fw_cfg_select: unhandled selector f
fw_cfg_handle_dma: selector 0x0005
fw_cfg_select: unhandled selector 5
vcpu_exit_i8253: channel 0 reset, mode=2, start=65535
fw_cfg_handle_dma: selector 0x0020
fw_cfg_select_file: accessing file etc/screen-and-debug
virtio_blk_io: device reset
vcpu_process_com_lcr: set baudrate = 115200
vcpu_exit_i8253_misc: counter 2 clear, returning 0x0
vcpu_exit_i8253_misc: discarding data written to PIT misc port
vcpu_exit_i8253: channel 2 reset, mode=0, start=65535
vcpu_exit_i8253_misc: counter 2 clear, returning 0x0
vcpu_exit_i8253_misc: discarding data written to PIT misc port
vcpu_exit_i8253_misc: counter 2 clear, returning 0x0
vcpu_exit_i8253_misc: counter 2 fired, returning 0x20
vcpu_exit_i8253_misc: discarding data written to PIT misc port
i8259_write_datareg: master pic, reset IRQ vector to 0x30
i8259_write_datareg: slave pic, reset IRQ vector to 0x38
vcpu_exit_i8253: channel 0 reset, mode=2, start=4773
virtio_net_io: device reset
virtio_blk_io: device reset
vcpu_process_com_lcr: set baudrate = 115200
vcpu_run_loop: vm 7 / vcpu 0 run ioctl failed: Bad address
vmm_sighdlr: handling signal 20
vmm_sighdlr: terminated vm Ubuntu.vm (id 5)
vm_remove: vmm vmm_sighdlr removing vm 5 from running config
vm_stop: vmm vmm_sighdlr stopping vm 5
vm_stop: parent vmd_dispatch_vmm stopping vm 5
[***@chimaera ~]$ dmesg
OpenBSD 6.8 (GENERIC.MP) #5: Mon Feb 22 04:36:10 MST 2021
***@syspatch-68-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/
GENERIC.MP
real mem = 16774819840 (15997MB)
avail mem = 16251387904 (15498MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 3.2 @ 0x6cbac000 (70 entries)
bios0: vendor LENOVO version "N2WET26W (1.16 )" date 01/21/2021
bios0: LENOVO 20U9S1QP00
acpi0 at bios0: ACPI 6.1
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT SSDT SSDT SSDT SSDT TPM2 SSDT HPET APIC MCFG
ECDT SSDT SSDT SSDT NHLT BOOT SSDT LPIT WSMT SSDT DBGP DBG2 MSDM BATB DMAR
ASF! UEFI FPDT
acpi0: wakeup devices GLAN(S4) XHC_(S3) XDCI(S4) HDAS(S4) RP01(S4) PXSX(S4)
RP02(S4) PXSX(S4) PXSX(S4) RP04(S4) PXSX(S4) RP05(S4) PXSX(S4) RP06(S4)
PXSX(S4) RP07(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 23999999 Hz
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i7-10610U CPU @ 1.80GHz, 7893.85 MHz, 06-8e-0c
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 24MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i7-10610U CPU @ 1.80GHz, 1797.32 MHz, 06-8e-0c
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Core(TM) i7-10610U CPU @ 1.80GHz, 1795.82 MHz, 06-8e-0c
cpu2:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 6 (application processor)
cpu3: Intel(R) Core(TM) i7-10610U CPU @ 1.80GHz, 1795.82 MHz, 06-8e-0c
cpu3:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 0, core 3, package 0
cpu4 at mainbus0: apid 1 (application processor)
cpu4: Intel(R) Core(TM) i7-10610U CPU @ 1.80GHz, 1795.82 MHz, 06-8e-0c
cpu4:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu4: 256KB 64b/line 8-way L2 cache
cpu4: smt 1, core 0, package 0
cpu5 at mainbus0: apid 3 (application processor)
cpu5: Intel(R) Core(TM) i7-10610U CPU @ 1.80GHz, 1795.82 MHz, 06-8e-0c
cpu5:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu5: 256KB 64b/line 8-way L2 cache
cpu5: smt 1, core 1, package 0
cpu6 at mainbus0: apid 5 (application processor)
cpu6: Intel(R) Core(TM) i7-10610U CPU @ 1.80GHz, 1795.82 MHz, 06-8e-0c
cpu6:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu6: 256KB 64b/line 8-way L2 cache
cpu6: smt 1, core 2, package 0
cpu7 at mainbus0: apid 7 (application processor)
cpu7: Intel(R) Core(TM) i7-10610U CPU @ 1.80GHz, 1795.82 MHz, 06-8e-0c
cpu7:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu7: 256KB 64b/line 8-way L2 cache
cpu7: smt 1, core 3, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 120 pins
acpimcfg0 at acpi0
acpimcfg0: addr 0xf0000000, bus 0-127
acpiec0 at acpi0
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (RP01)
acpiprt2 at acpi0: bus -1 (RP02)
acpiprt3 at acpi0: bus -1 (RP03)
acpiprt4 at acpi0: bus -1 (RP04)
acpiprt5 at acpi0: bus -1 (RP05)
acpiprt6 at acpi0: bus -1 (RP06)
acpiprt7 at acpi0: bus -1 (RP07)
acpiprt8 at acpi0: bus -1 (RP08)
acpiprt9 at acpi0: bus 3 (RP09)
acpiprt10 at acpi0: bus -1 (RP10)
acpiprt11 at acpi0: bus -1 (RP11)
acpiprt12 at acpi0: bus -1 (RP12)
acpiprt13 at acpi0: bus 5 (RP13)
acpiprt14 at acpi0: bus -1 (RP14)
acpiprt15 at acpi0: bus -1 (RP15)
acpiprt16 at acpi0: bus -1 (RP16)
acpiprt17 at acpi0: bus -1 (RP17)
acpiprt18 at acpi0: bus -1 (RP18)
acpiprt19 at acpi0: bus -1 (RP19)
acpiprt20 at acpi0: bus -1 (RP20)
acpiprt21 at acpi0: bus -1 (RP21)
acpiprt22 at acpi0: bus -1 (RP22)
acpiprt23 at acpi0: bus -1 (RP23)
acpiprt24 at acpi0: bus -1 (RP24)
acpipci0 at acpi0 PCI0: 0x00000000 0x00000011 0x00000001
acpithinkpad0 at acpi0: version 2.0
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT0 model "5B10W13932" serial 2289 type LiP oem
"Celxpert"
"INT33D3" at acpi0 not configured
"LEN0111" at acpi0 not configured
"LEN0100" at acpi0 not configured
"INT3403" at acpi0 not configured
"INT3403" at acpi0 not configured
"LEN0130" at acpi0 not configured
acpicmos0 at acpi0
"INT34BB" at acpi0 not configured
"SYNA8006" at acpi0 not configured
"PNP0C14" at acpi0 not configured
"INT0E0C" at acpi0 not configured
acpibtn0 at acpi0: SLPB
"PNP0C14" at acpi0 not configured
"PNP0C14" at acpi0 not configured
"INT33A1" at acpi0 not configured
acpihid0 at acpi0: HIDD
acpibtn1 at acpi0: LID_
"PNP0C14" at acpi0 not configured
"PNP0C14" at acpi0 not configured
"PNP0C14" at acpi0 not configured
"PNP0C14" at acpi0 not configured
"PNP0C14" at acpi0 not configured
"INT3400" at acpi0 not configured
"STM0125" at acpi0 not configured
"USBC000" at acpi0 not configured
acpipwrres0 at acpi0: PUBS, resource for XHC_
acpipwrres1 at acpi0: BTPR, resource for HS10
acpipwrres2 at acpi0: USBC, resource for XDCI
acpipwrres3 at acpi0: PXP_, resource for RP01, PXSX
acpipwrres4 at acpi0: PXP_, resource for RP13
acpipwrres5 at acpi0: V0PR
acpipwrres6 at acpi0: V1PR
acpipwrres7 at acpi0: V2PR
acpipwrres8 at acpi0: WRST
acpicpu0 at acpi0: C3(***@1034 ***@0x60), C2(***@151 ***@0x33),
C1(***@1 mwait.1), PSS
acpicpu1 at acpi0: C3(***@1034 ***@0x60), C2(***@151 ***@0x33),
C1(***@1 mwait.1), PSS
acpicpu2 at acpi0: C3(***@1034 ***@0x60), C2(***@151 ***@0x33),
C1(***@1 mwait.1), PSS
acpicpu3 at acpi0: C3(***@1034 ***@0x60), C2(***@151 ***@0x33),
C1(***@1 mwait.1), PSS
acpicpu4 at acpi0: C3(***@1034 ***@0x60), C2(***@151 ***@0x33),
C1(***@1 mwait.1), PSS
acpicpu5 at acpi0: C3(***@1034 ***@0x60), C2(***@151 ***@0x33),
C1(***@1 mwait.1), PSS
acpicpu6 at acpi0: C3(***@1034 ***@0x60), C2(***@151 ***@0x33),
C1(***@1 mwait.1), PSS
acpicpu7 at acpi0: C3(***@1034 ***@0x60), C2(***@151 ***@0x33),
C1(***@1 mwait.1), PSS
acpitz0 at acpi0: critical temperature is 128 degC
acpipwrres9 at acpi0: PIN_
acpipwrres10 at acpi0: PINP
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD1F
cpu0: Enhanced SpeedStep 7893 MHz: speeds: 2301, 2300, 2200, 2000, 1800,
1700, 1600, 1500, 1300, 1200, 1100, 900, 800, 700, 500, 400 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 vendor "Intel", unknown product 0x9b61 rev
0x0c
inteldrm0 at pci0 dev 2 function 0 vendor "Intel", unknown product 0x9b41
rev 0x02
drm0 at inteldrm0
inteldrm0: msi, COFFEELAKE, gen 9
"Intel Core 6G Thermal" rev 0x0c at pci0 dev 4 function 0 not configured
"Intel Core GMM" rev 0x00 at pci0 dev 8 function 0 not configured
vendor "Intel", unknown product 0x02f9 (class DASP subclass miscellaneous,
rev 0x00) at pci0 dev 18 function 0 not configured
xhci0 at pci0 dev 20 function 0 vendor "Intel", unknown product 0x02ed rev
0x00: msi, xHCI 1.10
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev
3.00/1.00 addr 1
vendor "Intel", unknown product 0x02ef (class memory subclass RAM, rev
0x00) at pci0 dev 20 function 2 not configured
iwx0 at pci0 dev 20 function 3 "Intel Wi-Fi 6 AX201" rev 0x00, msix
dwiic0 at pci0 dev 21 function 0 vendor "Intel", unknown product 0x02e8 rev
0x00: apic 2 int 16
iic0 at dwiic0
dwiic1 at pci0 dev 21 function 1 vendor "Intel", unknown product 0x02e9 rev
0x00: apic 2 int 17
iic1 at dwiic1
ihidev0 at iic1 addr 0x2c , can't establish interrupt (polling), vendor
0x6cb product 0xcd8b, SYNA8006
ihidev0: 14 report ids
imt0 at ihidev0: clickpad, 5 contacts
wsmouse0 at imt0 mux 0
ims0 at ihidev0 reportid 2: 2 buttons
wsmouse1 at ims0 mux 0
hid at ihidev0 reportid 6 not configured
hid at ihidev0 reportid 7 not configured
hid at ihidev0 reportid 9 not configured
hid at ihidev0 reportid 10 not configured
hid at ihidev0 reportid 11 not configured
hid at ihidev0 reportid 12 not configured
hid at ihidev0 reportid 13 not configured
hid at ihidev0 reportid 14 not configured
vendor "Intel", unknown product 0x02e0 (class communications subclass
miscellaneous, rev 0x00) at pci0 dev 22 function 0 not configured
vendor "Intel", unknown product 0x02e3 (class communications subclass
serial, rev 0x00) at pci0 dev 22 function 3 not configured
ppb0 at pci0 dev 29 function 0 vendor "Intel", unknown product 0x02b0 rev
0xf0: msi
pci1 at ppb0 bus 3
nvme0 at pci1 dev 0 function 0 vendor "Toshiba", unknown product 0x011a rev
0x00: msix, NVMe 1.3
nvme0: KXG6AZNV512G TOSHIBA, firmware 5108AGLA, serial Z09F74S9F2F3
scsibus1 at nvme0: 2 targets, initiator 0
sd0 at scsibus1 targ 1 lun 0: <NVMe, KXG6AZNV512G TOS, 5108>
sd0: 488386MB, 512 bytes/sector, 1000215216 sectors
ppb1 at pci0 dev 29 function 4 vendor "Intel", unknown product 0x02b4 rev
0xf0: msi
pci2 at ppb1 bus 5
ppb2 at pci2 dev 0 function 0 "Intel JHL6540 Thunderbolt" rev 0x02
pci3 at ppb2 bus 6
ppb3 at pci3 dev 0 function 0 "Intel JHL6540 Thunderbolt" rev 0x02: msi
pci4 at ppb3 bus 7
"Intel JHL6540 Thunderbolt" rev 0x02 at pci4 dev 0 function 0 not configured
ppb4 at pci3 dev 1 function 0 "Intel JHL6540 Thunderbolt" rev 0x02: msi
pci5 at ppb4 bus 8
ppb5 at pci3 dev 2 function 0 "Intel JHL6540 Thunderbolt" rev 0x02: msi
pci6 at ppb5 bus 45
xhci1 at pci6 dev 0 function 0 "Intel JHL6540 Thunderbolt" rev 0x02: msi,
xHCI 1.10
usb1 at xhci1: USB revision 3.0
uhub1 at usb1 configuration 1 interface 0 "Intel xHCI root hub" rev
3.00/1.00 addr 1
ppb6 at pci3 dev 4 function 0 "Intel JHL6540 Thunderbolt" rev 0x02: msi
pci7 at ppb6 bus 46
pcib0 at pci0 dev 31 function 0 vendor "Intel", unknown product 0x0284 rev
0x00
azalia0 at pci0 dev 31 function 3 vendor "Intel", unknown product 0x02c8
rev 0x00: msi
azalia0: codecs: Realtek ALC285, Intel/0x280b, using Realtek ALC285
audio0 at azalia0
vendor "Intel", unknown product 0x02a3 (class serial bus subclass SMBus,
rev 0x00) at pci0 dev 31 function 4 not configured
vendor "Intel", unknown product 0x02a4 (class serial bus unknown subclass
0x80, rev 0x00) at pci0 dev 31 function 5 not configured
em0 at pci0 dev 31 function 6 "Intel I219-LM" rev 0x00: msi, address
8c:8c:aa:82:75:7c
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard
pms0 at pckbc0 (aux slot)
wsmouse2 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
vmm0 at mainbus0: VMX/EPT
efifb at mainbus0 not configured
uvideo0 at uhub0 port 8 configuration 1 interface 0 "Azurewave Integrated
Camera" rev 2.01/60.04 addr 2
video0 at uvideo0
uvideo1 at uhub0 port 8 configuration 1 interface 2 "Azurewave Integrated
Camera" rev 2.01/60.04 addr 2
video1 at uvideo1
ugen0 at uhub0 port 8 configuration 1 "Azurewave Integrated Camera" rev
2.01/60.04 addr 2
ugen1 at uhub0 port 9 "Synaptics Fingerprint Reader" rev 2.00/0.00 addr 3
ugen2 at uhub0 port 10 "Intel product 0x0026" rev 2.01/0.02 addr 4
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (070e8f68038f0234.a) swap on sd0b dump on sd0b
inteldrm0: 3840x2160, 32bpp
wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation), using wskbd0
wsdisplay0: screen 1-5 added (std, vt100 emulation)
iwx0: hw rev 0x350, fw ver 48.1335886879.0, address 84:1b:77:70:82:b7
vmx_fault_page: uvm_fault returns 14, GPA=0xfe001818, rip=0xffffffffb98a31b4
[***@chimaera ~]$ cat /etc/vm.conf
# bridge0 for VMs, NAT and dhcpd
switch "local" {
interface bridge0
}

switch "bridged" {
interface bridge2
}

# OpenBSD Stable
vm "OBSD-Stable.vm" {
disable
owner axon
memory 512M
disk "/home/axon/vmm/obsd-stable.qcow2"
interface {
switch "local"
lladdr fe:e1:ba:d0:eb:ab
}
}

# OpenBSD amd64 Snapshot
vm "OBSD-Current.vm" {
disable
owner axon
memory 512M
disk "/home/axon/vmm/obsd-current.qcow2"
interface {
switch "local"
lladdr fe:e1:ba:d0:eb:ac
}
}

# Alpine Linux
vm "Alpine.vm" {
disable
owner axon
memory 512M
disk "/home/axon/vmm/alpine.img"
disk "/home/axon/vmm/alpine2.img"
interface {
switch "local"
lladdr fe:e1:ba:d0:eb:ad
}
}

# Arch Linux
vm "Blackarch.vm" {
disable
owner axon
memory 1024M
#disk "/home/axon/vmm/arch.iso"
disk "/home/axon/vmm/blackarch.img"
interface {
switch "local"
lladdr fe:e1:ba:d0:eb:ae
}
}

# Ubuntu Linux
vm "Ubuntu.vm" {
disable
owner axon
memory 1024M
disk "/home/axon/vmm/ubuntu-derived.qcow2"
interface {
switch "local"
lladdr fe:e1:ba:d0:eb:af
}
}
[***@chimaera ~]$ vmctl status
ID PID VCPUS MAXMEM CURMEM TTY OWNER STATE NAME
1 - 1 512M - - axon stopped
OBSD-Stable.vm
2 - 1 512M - - axon stopped
OBSD-Current.vm
3 - 1 512M - - axon stopped Alpine.vm
4 - 1 1.0G - - axon stopped Blackarch.vm
5 - 1 1.0G - - axon stopped Ubuntu.vm
[***@chimaera ~]$
Dave Voutila
2021-03-27 21:14:42 UTC
Permalink
Post by Noah
vmm crashes during boot after upgrading a VM from Ubuntu 18 to Ubuntu 20.
Host is running 6.8 with all syspatches
vcpu_run_loop: vm 7 / vcpu 0 run ioctl failed: Bad address
vmx_fault_page: uvm_fault returns 14, GPA=0xfe001818, rip=0xffffffffb98a31b4
It's a known issue. Newer Ubuntu kernels are built with an Intel PMC
driver that probes mmio registers on (IIRC) Intel Skylake and newer
systems. vmm(4) and vmd(8) do not support mmio like this at the moment.

There's no way to disable the probing as it's not a kernel module, so no
combination of linux boot args will help.

There are some hacky patches that would work if you were on -current,
but unless you want to stay on bleeding edge, it's probably a bigger
hastle than it's worth. This is in my backlog, however...I have a Kaby
Lake system impacted by this.

-Dave

Loading...