On Fri, Nov 18, 2022 at 12:37:48AM +0100, Mike Fischer wrote: > On a host running OpenBSD 7.2 stable, amd64, all updates & patches using vmd > I have a VM, configured with 1 GB RAM, 40 GB virtual disk, network access > direct through host bridge0 (FAQ option #4). The VM has also been installed > with OpenBSD 7.2 stable + patches. > > For the first time in my life I wanted to try upgrading to -current. This is > what happened: > > 20221118T003040 root@vm2:~# sysupgrade -s > Fetching from https://cdn.openbsd.org/pub/OpenBSD/snapshots/amd64/ > SHA256.sig 100% |*************************************| 2144 00:00 > Signature Verified > INSTALL.amd64 100% |************************************| 43554 00:00 > base72.tgz 100% |*************************************| 332 MB 00:50 > bsd 100% |*************************************| 22479 KB 00:04 > bsd.mp 100% |*************************************| 22584 KB 00:04 > bsd.rd 100% |*************************************| 4547 KB 00:01 > comp72.tgz 100% |*************************************| 75037 KB 00:12 > game72.tgz 100% |*************************************| 2745 KB 00:01 > man72.tgz 100% |*************************************| 7609 KB 00:02 > xbase72.tgz 100% |*************************************| 52858 KB 00:09 > xfont72.tgz 100% |*************************************| 22967 KB 00:04 > xserv72.tgz 100% |*************************************| 14815 KB 00:03 > xshare72.tgz 100% |*************************************| 4573 KB 00:01 > Verifying sets. > Fetching updated firmware. > fw_update: added none; updated none; kept none > Upgrading. > syncing disks... done > vmmci0: powerdown > rebooting... > Using drive 0, partition 3. > Loading...... > probing: pc0 com0 mem[638K 1022M a20=on] > disk: hd0+ > >> OpenBSD/amd64 BOOT 3.55 > upgrade detected: switching to /bsd.upgrade > | > com0: 115200 baud > switching console to com0 > >> OpenBSD/amd64 BOOT 3.55 > boot> > booting hd0a:/bsd.upgrade: 3916484+1643520+3882152+0+704512 > [109+439944+293419]=0xa624a8 > entry point at 0xffffffff81001000 > Copyright (c) 1982, 1986, 1989, 1991, 1993 > The Regents of the University of California. All rights reserved. > Copyright (c) 1995-2022 OpenBSD. All rights reserved. https://www.OpenBSD.org > > OpenBSD 7.2-current (RAMDISK_CD) #797: Thu Nov 17 08:26:28 MST 2022 > [email protected]:/usr/src/sys/arch/amd64/compile/RAMDISK_CD > real mem = 1056952320 (1007MB) > avail mem = 1020960768 (973MB) > random: good seed from bootblocks > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf36e0 (10 entries) > bios0: vendor SeaBIOS version "1.14.0p0-OpenBSD-vmm" date 01/01/2011 > bios0: OpenBSD VMM > acpi at bios0 not configured > cpu0 at mainbus0: (uniprocessor) > fatal protection fault in supervisor mode > trap type 4 code ffffffff rip ffffffff811d7322 cs 8 rflags 10202 cr2 0 cpl e > rsp ffffffff81a06d10 > gsbase 0xffffffff818f7ff0 kgsbase 0x0 > panic: trap type 4, code=ffffffff, pc=ffffffff811d7322 > > The operating system has halted. > Please press any key to reboot. > > > Note: I tried this a few times with identical results. > > Is the snapshot broken? > Or are snapshots not supported on vmd VMs? > Or am I doing something wrong? >
Not sure if this was a one-off problem with that snapshot or not, but I just tested snapshot 800 (18 nov) and it works fine here on similar hardware in vmd. You might try the sysupgrade again. -ml > > dmesg of VM booting in 7.2 stable: > > OpenBSD 7.2 (GENERIC) #0: Wed Oct 26 11:26:29 MDT 2022 > [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC > real mem = 1056952320 (1007MB) > avail mem = 1007685632 (961MB) > random: good seed from bootblocks > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf36e0 (10 entries) > bios0: vendor SeaBIOS version "1.14.0p0-OpenBSD-vmm" date 01/01/2011 > bios0: OpenBSD VMM > acpi at bios0 not configured > cpu0 at mainbus0: (uniprocessor) > cpu0: AMD Ryzen 3 3200U with Radeon Vega Mobile Gfx, 2395.86 MHz, 17-18-01 > cpu0: > FPU,VME,DE,PSE,TSC,MSR,PAE,CX8,SEP,PGE,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,PCLMUL,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,HV,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA > cpu0: 32KB 64b/line 8-way D-cache, 64KB 64b/line 4-way I-cache, 512KB > 64b/line 8-way L2 cache, 4MB 64b/line 16-way L3 cache > cpu0: smt 0, core 0, package 0 > pvbus0 at mainbus0: OpenBSD > pvclock0 at pvbus0 > pci0 at mainbus0 bus 0 > pchb0 at pci0 dev 0 function 0 "OpenBSD VMM Host" rev 0x00 > virtio0 at pci0 dev 1 function 0 "Qumranet Virtio RNG" rev 0x00 > viornd0 at virtio0 > virtio0: irq 3 > virtio1 at pci0 dev 2 function 0 "Qumranet Virtio Network" rev 0x00 > vio0 at virtio1: address fe:e1:bb:7c:f4:7d > virtio1: irq 5 > virtio2 at pci0 dev 3 function 0 "Qumranet Virtio Storage" rev 0x00 > vioblk0 at virtio2 > scsibus1 at vioblk0: 1 targets > sd0 at scsibus1 targ 0 lun 0: <VirtIO, Block Device, > > sd0: 40960MB, 512 bytes/sector, 83886080 sectors > virtio2: irq 6 > virtio3 at pci0 dev 4 function 0 "OpenBSD VMM Control" rev 0x00 > vmmci0 at virtio3 > virtio3: irq 7 > isa0 at mainbus0 > isadma0 at isa0 > com0 at isa0 port 0x3f8/8 irq 4: ns8250, no fifo > com0: console > vscsi0 at root > scsibus2 at vscsi0: 256 targets > softraid0 at root > scsibus3 at softraid0: 256 targets > root on sd0a (08393079e7c652ee.a) swap on sd0b dump on sd0b > > > dmesg of host: > > OpenBSD 7.2 (GENERIC.MP) #0: Wed Oct 26 12:01:47 MDT 2022 > > [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP > real mem = 7960215552 (7591MB) > avail mem = 7701565440 (7344MB) > random: good seed from bootblocks > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 3.2 @ 0xde3db000 (43 entries) > bios0: vendor American Megatrends Inc. version "V1.16_P2C10M3_AMILogo" date > 05/30/2022 > bios0: Default string AM02 > acpi0 at bios0: ACPI 6.0 > acpi0: sleep states S0 S3 S4 S5 > acpi0: tables DSDT FACP APIC FPDT FIDT SSDT MSDM MCFG HPET UEFI VFCT TPM2 > IVRS SSDT CRAT CDIT SSDT SSDT SSDT WSMT SSDT > acpi0: wakeup devices GPP0(S4) GPP1(S4) GPP2(S4) GPP3(S4) GPP4(S4) GPP5(S4) > GPP6(S4) GP17(S4) XHC0(S3) XHC1(S3) GP18(S4) > acpitimer0 at acpi0: 3579545 Hz, 32 bits > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: AMD Ryzen 3 3200U with Radeon Vega Mobile Gfx, 2395.63 MHz, 17-18-01 > cpu0: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES > cpu0: 32KB 64b/line 8-way D-cache, 64KB 64b/line 4-way I-cache, 512KB > 64b/line 8-way L2 cache, 4MB 64b/line 16-way L3 cache > cpu0: smt 0, core 0, package 0 > mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges > cpu0: apic clock running at 24MHz > cpu0: mwait min=64, max=64, C-substates=1.1, IBE > cpu1 at mainbus0: apid 1 (application processor) > cpu1: AMD Ryzen 3 3200U with Radeon Vega Mobile Gfx, 2395.51 MHz, 17-18-01 > cpu1: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES > cpu1: 32KB 64b/line 8-way D-cache, 64KB 64b/line 4-way I-cache, 512KB > 64b/line 8-way L2 cache, 4MB 64b/line 16-way L3 cache > cpu1: smt 1, core 0, package 0 > cpu2 at mainbus0: apid 2 (application processor) > cpu2: AMD Ryzen 3 3200U with Radeon Vega Mobile Gfx, 2395.51 MHz, 17-18-01 > cpu2: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES > cpu2: 32KB 64b/line 8-way D-cache, 64KB 64b/line 4-way I-cache, 512KB > 64b/line 8-way L2 cache, 4MB 64b/line 16-way L3 cache > cpu2: smt 0, core 1, package 0 > cpu3 at mainbus0: apid 3 (application processor) > cpu3: AMD Ryzen 3 3200U with Radeon Vega Mobile Gfx, 2395.51 MHz, 17-18-01 > cpu3: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES > cpu3: 32KB 64b/line 8-way D-cache, 64KB 64b/line 4-way I-cache, 512KB > 64b/line 8-way L2 cache, 4MB 64b/line 16-way L3 cache > cpu3: smt 1, core 1, package 0 > ioapic0 at mainbus0: apid 5 pa 0xfec00000, version 21, 24 pins > ioapic1 at mainbus0: apid 6 pa 0xfec01000, version 21, 32 pins > acpimcfg0 at acpi0 > acpimcfg0: addr 0xf8000000, bus 0-63 > acpihpet0 at acpi0: 14318180 Hz > acpiprt0 at acpi0: bus 0 (PCI0) > acpiprt1 at acpi0: bus 1 (GPP0) > acpiprt2 at acpi0: bus 2 (GPP1) > acpiprt3 at acpi0: bus -1 (GPP2) > acpiprt4 at acpi0: bus -1 (GPP3) > acpiprt5 at acpi0: bus -1 (GPP4) > acpiprt6 at acpi0: bus -1 (GPP5) > acpiprt7 at acpi0: bus -1 (GPP6) > acpiprt8 at acpi0: bus 3 (GP17) > acpiprt9 at acpi0: bus 4 (GP18) > acpipci0 at acpi0 PCI0: 0x00000010 0x00000011 0x00000000 > acpicmos0 at acpi0 > acpibtn0 at acpi0: PWRB > amdgpio0 at acpi0 GPIO uid 0 addr 0xfed81500/0x400 irq 7, 184 pins > dwiic0 at acpi0 I2CC addr 0xfedc4000/0x1000 irq 14 > iic0 at dwiic0 > tpm0 at acpi0 TPM_: unsupported TPM2 start method 2 > acpicpu0 at acpi0: C2(0@400 io@0x414), C1(0@1 mwait), PSS > acpicpu1 at acpi0: C2(0@400 io@0x414), C1(0@1 mwait), PSS > acpicpu2 at acpi0: C2(0@400 io@0x414), C1(0@1 mwait), PSS > acpicpu3 at acpi0: C2(0@400 io@0x414), C1(0@1 mwait), PSS > acpivideo0 at acpi0: VGA_ > acpivout0 at acpivideo0: LCD_ > cpu0: 2395 MHz: speeds: 2400 1700 1400 MHz > pci0 at mainbus0 bus 0 > ksmn0 at pci0 dev 0 function 0 "AMD 17h/1xh Root Complex" rev 0x00 > "AMD 17h/1xh IOMMU" rev 0x00 at pci0 dev 0 function 2 not configured > pchb0 at pci0 dev 1 function 0 "AMD 17h PCIE" rev 0x00 > ppb0 at pci0 dev 1 function 1 vendor "AMD", unknown product 0x145d rev 0x00: > msi > pci1 at ppb0 bus 1 > re0 at pci1 dev 0 function 0 "Realtek 8168" rev 0x15: RTL8168H/8111H > (0x5400), msi, address 00:e0:4c:f4:13:4f > rgephy0 at re0 phy 7: RTL8251 PHY, rev. 0 > ppb1 at pci0 dev 1 function 2 vendor "AMD", unknown product 0x145d rev 0x00: > msi > pci2 at ppb1 bus 2 > iwm0 at pci2 dev 0 function 0 "Intel AC 7265" rev 0x59, msi > pchb1 at pci0 dev 8 function 0 "AMD 17h PCIE" rev 0x00 > ppb2 at pci0 dev 8 function 1 "AMD 17h/1xh PCIE" rev 0x00 > pci3 at ppb2 bus 3 > amdgpu0 at pci3 dev 0 function 0 "ATI Picasso" rev 0xc5 > drm0 at amdgpu0 > amdgpu0: msi > azalia0 at pci3 dev 0 function 1 "ATI Radeon Vega HD Audio" rev 0x00: msi > azalia0: no supported codecs > ccp0 at pci3 dev 0 function 2 "AMD 17h/1xh Crypto" rev 0x00 > xhci0 at pci3 dev 0 function 3 vendor "AMD", unknown product 0x15e5 rev 0x00: > msi, xHCI 1.10 > usb0 at xhci0: USB revision 3.0 > uhub0 at usb0 configuration 1 interface 0 "AMD xHCI root hub" rev 3.00/1.00 > addr 1 > "AMD 17h/1xh I2S Audio" rev 0x00 at pci3 dev 0 function 5 not configured > azalia1 at pci3 dev 0 function 6 "AMD 17h/1xh HD Audio" rev 0x00: apic 6 int > 30 > azalia1: codecs: Realtek ALC269 > audio0 at azalia1 > ppb3 at pci0 dev 8 function 2 "AMD 17h/1xh PCIE" rev 0x00 > pci4 at ppb3 bus 4 > ahci0 at pci4 dev 0 function 0 "AMD FCH AHCI" rev 0x61: msi, AHCI 1.3.1 > ahci0: port 1: 6.0Gb/s > scsibus1 at ahci0: 32 targets > sd0 at scsibus1 targ 1 lun 0: <ATA, FPT310M8SSD256G, HAFE> > t10.ATA_FPT310M8SSD256G_220913A00335_ > sd0: 244198MB, 512 bytes/sector, 500118192 sectors, thin > piixpm0 at pci0 dev 20 function 0 "AMD FCH SMBus" rev 0x61: SMI > iic1 at piixpm0 > iic2 at piixpm0 > pcib0 at pci0 dev 20 function 3 "AMD FCH LPC" rev 0x51 > pchb2 at pci0 dev 24 function 0 "AMD 17h/1xh Data Fabric" rev 0x00 > pchb3 at pci0 dev 24 function 1 "AMD 17h/1xh Data Fabric" rev 0x00 > pchb4 at pci0 dev 24 function 2 "AMD 17h/1xh Data Fabric" rev 0x00 > pchb5 at pci0 dev 24 function 3 "AMD 17h/1xh Data Fabric" rev 0x00 > pchb6 at pci0 dev 24 function 4 "AMD 17h/1xh Data Fabric" rev 0x00 > pchb7 at pci0 dev 24 function 5 "AMD 17h/1xh Data Fabric" rev 0x00 > pchb8 at pci0 dev 24 function 6 "AMD 17h/1xh Data Fabric" rev 0x00 > pchb9 at pci0 dev 24 function 7 "AMD 17h/1xh Data Fabric" rev 0x00 > isa0 at pcib0 > isadma0 at isa0 > pcppi0 at isa0 port 0x61 > spkr0 at pcppi0 > vmm0 at mainbus0: SVM/RVI > efifb at mainbus0 not configured > uhub1 at uhub0 port 5 configuration 1 interface 0 "Mitsumi Electric Hub in > Apple Extended USB Keyboard" rev 1.10/4.10 addr 2 > uhidev0 at uhub1 port 3 configuration 1 interface 0 "Mitsumi Electric Apple > Extended USB Keyboard" rev 1.10/4.10 addr 3 > uhidev0: iclass 3/1 > ukbd0 at uhidev0: 8 variable keys, 6 key codes, country code 13 > wskbd0 at ukbd0: console keyboard > uhidev1 at uhub1 port 3 configuration 1 interface 1 "Mitsumi Electric Apple > Extended USB Keyboard" rev 1.10/4.10 addr 3 > uhidev1: iclass 3/0, 3 report ids > uhid0 at uhidev1 reportid 2: input=1, output=0, feature=0 > ucc0 at uhidev1 reportid 3: 4 usages, 4 keys, enum > wskbd1 at ucc0 mux 1 > ugen0 at uhub0 port 6 "Intel Bluetooth" rev 2.00/0.03 addr 4 > vscsi0 at root > scsibus2 at vscsi0: 256 targets > softraid0 at root > scsibus3 at softraid0: 256 targets > root on sd0a (ce453c5ec57e555c.a) swap on sd0b dump on sd0b > iwm0: hw rev 0x210, fw ver 17.3216344376.0, address 5c:e4:2a:07:34:9c > [drm] failed to load ucode RLC_RESTORE_LIST_CNTL(0x11) [drm] psp gfx command > LOAD_IP_FW(0x6) failed and response status is (0xFFFF300F) > [drm] failed to load ucode RLC_RESTORE_LIST_GPM_MEM(0x12) [drm] psp gfx > command LOAD_IP_FW(0x6) failed and response status is (0xFFFF000F) > [drm] failed to load ucode RLC_RESTORE_LIST_SRM_MEM(0x13) [drm] psp gfx > command LOAD_IP_FW(0x6) failed and response status is (0xFFFF000F) > amdgpu0: RAVEN2 3 CU rev 0x09 > amdgpu0: 1680x1050, 32bpp > wsdisplay0 at amdgpu0 mux 1: console (std, vt100 emulation), using wskbd0 > wskbd1: connecting to wsdisplay0 > wsdisplay0: screen 1-5 added (std, vt100 emulation) > > > Thanks! > Mike
