On Mon, 14 Aug 2017, msheremet wrote: > I get kernel panic trying to boot snapshot image install61.iso on the > amd64 QEMU virtual machine. the problem started to happen with late > July snapshots. And it still happens with the latest snapshot I can > obtain (Aug 11). Here is the output of the boot process:
Try to choose a different emulated cpu in qemu. For this cpu type, openbsd tries to make special MSR settings to work around cpu erratas, but qemu does not emulate those MSRs. At least that was the problem with some other similar panic I got reported. Cheers, Stefan > > > > OpenBSD/amd64 CDBOOT 3.28 > boot> boot /6.1/amd64/bsd.rd > cannot open cd0a:/etc/random.seed: No such file or directory > booting cd0a:/6.1/amd64/bsd.rd: 3361576+1459200+3877592+0+602112 > [72+426552+281440]=0x98d060 > entry point at 0x1000158 > Copyright (c) 1982, 1986, 1989, 1991, 1993 > The Regents of the University of California. All rights reserved. > Copyright (c) 1995-2017 OpenBSD. All rights reserved. https://www.OpenBSD.org > > OpenBSD 6.1-current (RAMDISK_CD) #1: Fri Aug 11 21:30:26 MDT 2017 > [email protected]:/usr/src/sys/arch/amd64/compile/RAMDISK_CD > real mem = 1056833536 (1007MB) > avail mem = 1021108224 (973MB) > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xf68e0 (9 entries) > bios0: vendor SeaBIOS version "1.10.2-20170228_101828-anatol" date 04/01/2014 > bios0: QEMU Standard PC (i440FX + PIIX, 1996) > acpi0 at bios0: rev 0 > acpi0: tables DSDT FACP APIC > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: AMD Opteron 23xx (Gen 3 Class Opteron), 3415.63 MHz > cpu0: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,CX16,x2APIC,POPCNT,HV,NXE,LONG,LAHF,ABM,SSE4A,MASSE > cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line > 16-way L2 cache, 16MB 64b/line 16-way L3 cache > cpu0: ITLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped > cpu0: DTLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped > uvm_fault(0xffffffff81872dd0, 0xfffffff78183f2b0, 0, 1) -> e > fatal page fault in supervisor mode > trap type 6 code 0 rip ffffffff811c17a0 cs 8 rflags 10286 cr2 > fffffff78183f2b0 cpl e rsp ffffffff81a058a0 > panic: trap type 6, code=0, pc=ffffffff811c17a0 > > The operating system has halted. > Please press any key to reboot. > > > 6.1 release image and earlier snapshots boot fine. > > Could you please shed some light on this issue for I cannot find the > reason myself. > > Thanks, > Maksym > >

