On Sat, Jan 05, 2019 at 05:59:07PM +1300, Mytchel Hammond wrote:
> Hello,
> 
> I've just replaced the cpu in my machine with a i5-7600k and openbsd will no
> longer boot. The boot loader starts and loads the kernel which runs until
> acpicpu is loaded which prints "Unknown opcode: 0018 @ 1cb4". This happens
> on 6.4 and the latest snapshot but booting from the ram disk works without a
> problem. This occurs on both bsd.sp and bsd (mp). I've attached the dmesg
> from the ram disk but this doesn't show the problem.
> 
> I've taken photos of the trace and the dmesg from the crash.
> 
> trace:
> 
> https://ibb.co/7tXpFVf
> https://ibb.co/j6DC8fn
> 
> dmesg:
> 
> https://ibb.co/6Df5x92
> https://ibb.co/h8Sdg0B
> https://ibb.co/xFvtGjt
> https://ibb.co/hKDpwGY
> 
> The motherboard is a Asrock H110M-ITX/ac which has had the bios updated to
> support kaby lake. It worked without any problems before with a skylake
> pentium g4400.
> 
> Cheers, Mytchel.

I think you mentioned on IRC that you could get a complete boot with disabling
acpicpu. Could you run acpidump, tar up the output, and reply with that here?

Thanks.

-ml


> OpenBSD 6.4-current (RAMDISK_CD) #537: Fri Jan  4 12:23:30 MST 2019
>     [email protected]:/usr/src/sys/arch/amd64/compile/RAMDISK_CD
> real mem = 8246497280 (7864MB)
> avail mem = 7992590336 (7622MB)
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.8 @ 0x772f6000 (25 entries)
> bios0: vendor American Megatrends Inc. version "P7.20" date 03/01/2018
> bios0: ASRock H110M-ITX/ac
> acpi0 at bios0: rev 2
> acpi0: tables DSDT FACP APIC FPDT FIDT MCFG HPET SSDT LPIT SSDT DBGP DBG2 
> SSDT AAFT SSDT UEFI SSDT BGRT DMAR
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Intel(R) Core(TM) i5-7600K CPU @ 3.80GHz, 3801.10 MHz, 06-9e-09
> 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,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN
> cpu0: 256KB 64b/line 8-way L2 cache
> cpu0: apic clock running at 23MHz
> cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1, IBE
> ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 120 pins
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus -1 (PEG0)
> acpiprt2 at acpi0: bus -1 (PEG1)
> acpiprt3 at acpi0: bus -1 (PEG2)
> acpiprt4 at acpi0: bus 2 (RP09)
> acpiprt5 at acpi0: bus -1 (RP10)
> acpiprt6 at acpi0: bus -1 (RP11)
> acpiprt7 at acpi0: bus -1 (RP12)
> acpiprt8 at acpi0: bus -1 (RP13)
> acpiprt9 at acpi0: bus -1 (RP01)
> acpiprt10 at acpi0: bus -1 (RP02)
> acpiprt11 at acpi0: bus -1 (RP03)
> acpiprt12 at acpi0: bus -1 (RP04)
> acpiprt13 at acpi0: bus 1 (RP05)
> acpiprt14 at acpi0: bus -1 (RP06)
> acpiprt15 at acpi0: bus -1 (RP07)
> acpiprt16 at acpi0: bus -1 (RP08)
> 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 (RP14)
> acpiprt22 at acpi0: bus -1 (RP15)
> acpiprt23 at acpi0: bus -1 (RP16)
> acpiec0 at acpi0: not present
> acpicpu at acpi0 not configured
> acpipwrres at acpi0 not configured
> acpipwrres at acpi0 not configured
> acpipwrres at acpi0 not configured
> acpipwrres at acpi0 not configured
> acpipwrres at acpi0 not configured
> acpipwrres at acpi0 not configured
> acpipwrres at acpi0 not configured
> acpipwrres at acpi0 not configured
> acpipwrres at acpi0 not configured
> acpipwrres at acpi0 not configured
> acpipwrres at acpi0 not configured
> acpipwrres at acpi0 not configured
> acpipwrres at acpi0 not configured
> acpipwrres at acpi0 not configured
> acpipwrres at acpi0 not configured
> acpipwrres at acpi0 not configured
> acpipwrres at acpi0 not configured
> acpipwrres at acpi0 not configured
> acpipwrres at acpi0 not configured
> acpipwrres at acpi0 not configured
> "PNP0A08" at acpi0 not configured
> "PNP0B00" at acpi0 not configured
> "PNP0C0E" at acpi0 not configured
> "INT33A1" at acpi0 not configured
> "PNP0C0C" at acpi0 not configured
> pci0 at mainbus0 bus 0
> pchb0 at pci0 dev 0 function 0 vendor "Intel", unknown product 0x591f rev 0x05
> "Intel HD Graphics 630" rev 0x04 at pci0 dev 2 function 0 not configured
> xhci0 at pci0 dev 20 function 0 "Intel 100 Series xHCI" rev 0x31: msi, xHCI 
> 1.0
> 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
> "Intel 100 Series Thermal" rev 0x31 at pci0 dev 20 function 2 not configured
> "Intel 100 Series MEI" rev 0x31 at pci0 dev 22 function 0 not configured
> ahci0 at pci0 dev 23 function 0 "Intel 100 Series AHCI" rev 0x31: msi, AHCI 
> 1.3.1
> ahci0: port 0: 6.0Gb/s
> ahci0: port 1: 6.0Gb/s
> ahci0: port 2: 6.0Gb/s
> ahci0: PHY offline on port 3
> scsibus0 at ahci0: 32 targets
> sd0 at scsibus0 targ 0 lun 0: <ATA, Apacer AS220 128, AP00> SCSI3 0/direct 
> fixed naa.5000000000000000
> sd0: 122104MB, 512 bytes/sector, 250069680 sectors, thin
> sd1 at scsibus0 targ 1 lun 0: <ATA, WDC WD10EZEX-00W, 01.0> SCSI3 0/direct 
> fixed naa.50014ee0aecf1649
> sd1: 953868MB, 512 bytes/sector, 1953523055 sectors
> sd2 at scsibus0 targ 2 lun 0: <ATA, Samsung SSD 840, EXT0> SCSI3 0/direct 
> fixed naa.50025388a04b1b6c
> sd2: 114473MB, 512 bytes/sector, 234441648 sectors, thin
> ppb0 at pci0 dev 28 function 0 "Intel 100 Series PCIE" rev 0xf1: msi
> pci1 at ppb0 bus 1
> ppb1 at pci0 dev 29 function 0 "Intel 100 Series PCIE" rev 0xf1: msi
> pci2 at ppb1 bus 2
> iwm0 at pci2 dev 0 function 0 "Intel Dual Band Wireless AC 3160" rev 0x83, msi
> "Intel H110 LPC" rev 0x31 at pci0 dev 31 function 0 not configured
> "Intel 100 Series PMC" rev 0x31 at pci0 dev 31 function 2 not configured
> "Intel 100 Series HD Audio" rev 0x31 at pci0 dev 31 function 3 not configured
> "Intel 100 Series SMBus" rev 0x31 at pci0 dev 31 function 4 not configured
> em0 at pci0 dev 31 function 6 "Intel I219-V" rev 0x31: msi, address 
> d0:50:99:ac:dc:69
> isa0 at mainbus0
> pckbc0 at isa0 port 0x60/5 irq 1 irq 12
> pckbd0 at pckbc0 (kbd slot)
> wskbd0 at pckbd0: console keyboard
> efifb0 at mainbus0: 1920x1200, 32bpp
> wsdisplay0 at efifb0 mux 1: console (std, vt100 emulation), using wskbd0
> "vendor 0x8087 product 0x07dc" rev 2.00/0.01 addr 2 at uhub0 port 2 not 
> configured
> umass0 at uhub0 port 3 configuration 1 interface 0 "UFD 2.0 Silicon-Power8G" 
> rev 2.00/1.00 addr 3
> umass0: using SCSI over Bulk-Only
> scsibus1 at umass0: 2 targets, initiator 0
> sd3 at scsibus1 targ 1 lun 0: <UFD 2.0, Silicon-Power8G, 1.00> SCSI4 0/direct 
> removable serial.13fe4100000000001139
> sd3: 7474MB, 512 bytes/sector, 15308799 sectors
> uhub1 at uhub0 port 5 configuration 1 interface 0 "vendor 0x05e3 USB2.0 Hub" 
> rev 2.00/32.98 addr 4
> uhidev0 at uhub1 port 1 configuration 1 interface 0 "Mytchel Trackball" rev 
> 2.00/1.00 addr 5
> uhidev0: iclass 3/1
> uhid at uhidev0 not configured
> uhidev1 at uhub1 port 3 configuration 1 interface 0 "Mytchel Keyboard" rev 
> 2.00/1.00 addr 6
> uhidev1: iclass 3/1
> ukbd0 at uhidev1
> wskbd1 at ukbd0 mux 1
> wskbd1: connecting to wsdisplay0
> softraid0 at root
> scsibus2 at softraid0: 256 targets
> root on rd0a swap on rd0b dump on rd0b
> iwm0: could not read firmware iwm-3160-16 (error 2)
> iwm0: failed to load init firmware

Reply via email to