Re: Apollo Lake kernel panic
I cannot check it right now, but I am pretty sure I have disabled the C states and as well CSM. Also I have upgrade the firmware to the latest. At the beginning I also had some troubles. The system was crashing at different times. Now it is stable. I am running 6.2 -current not Release. Às 06:00 de 04/11/2017, Predrag Punosevac escreveu: I copied the bsd.mp kernel from a working machine. Here is the dmesg. I also disabled C states in BIOS and was able cleanly to halt machine OpenBSD 6.2 (GENERIC) #132: Tue Oct 3 21:18:21 MDT 2017 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC real mem = 16799846400 (16021MB) avail mem = 16283758592 (15529MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 3.0 @ 0xed450 (18 entries) bios0: vendor American Megatrends Inc. version "P1.30" date 04/18/2017 bios0: ASRock J4205-ITX acpi0 at bios0: rev 2 acpi0: sleep states S0 S4 S5 acpi0: tables DSDT FACP FPDT FIDT MCFG DBG2 DBGP LPIT APIC NPKT PRAM WSMT SSDT SSDT AAFT SSDT SSDT SSDT SSDT SSDT UEFI BERT WDAT NHLT acpi0: wakeup devices SIO1(S4) PS2K(S4) HDAS(S3) XHC_(S4) XDCI(S4) BRCM(S0) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) PXSX(S4) RP05(S4) [...] acpitimer0 at acpi0: 3579545 Hz, 32 bits acpimcfg0 at acpi0 addr 0xe000, bus 0-255 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Pentium(R) CPU J4205 @ 1.50GHz, 1497.60 MHz 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,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,FSGSBASE,SMEP,ERMS,MPX,RDSEED,SMAP,CLFLUSHOPT,PT,SHA,SENSOR,ARAT cpu0: 1MB 64b/line 16-way L2 cache cpu0: TSC frequency 149760 Hz cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges cpu0: apic clock running at 19MHz cpu0: mwait min=64, max=64, C-substates=0.2.0.2.4.2.1.1, IBE cpu at mainbus0: not configured cpu at mainbus0: not configured cpu at mainbus0: not configured ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 120 pins acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (RP03) acpiprt2 at acpi0: bus 2 (RP04) acpiprt3 at acpi0: bus 3 (RP05) acpiprt4 at acpi0: bus 4 (RP06) acpiec0 at acpi0: not present acpicpu0 at acpi0: C1(@1 halt!), PSS acpipwrres0 at acpi0: FN00, resource for FAN0 acpitz0 at acpi0: critical temperature is 100 degC acpibtn0 at acpi0: PWRB "INT3452" at acpi0 not configured "INT3452" at acpi0 not configured "INT3452" at acpi0 not configured "INT3452" at acpi0 not configured "INT33A1" at acpi0 not configured "PNP0C0B" at acpi0 not configured acpivideo0 at acpi0: GFX0 acpivout0 at acpivideo0: DD1F cpu0: Enhanced SpeedStep 1497 MHz: speeds: 1501, 1500, 1400, 1300, 1200, 1100, 1000, 900, 800 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 vendor "Intel", unknown product 0x5af0 rev 0x0b inteldrm0 at pci0 dev 2 function 0 vendor "Intel", unknown product 0x5a84 rev 0x0b drm0 at inteldrm0 inteldrm0: msi error: [drm:pid0:i915_firmware_load_error_print] *ERROR* failed to load firmware i915/bxt_dmc_ver1.bin (-22) error: [drm:pid0:i915_gem_init_hw] *ERROR* Failed to initialize GuC, error -8 (ignored) inteldrm0: 1440x900, 32bpp Unclaimed register detected after writing to register 0x68980 wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (std, vt100 emulation) azalia0 at pci0 dev 14 function 0 vendor "Intel", unknown product 0x5a98 rev 0x0b: msi azalia0: codecs: Realtek/0x0892, 0x/0x, using Realtek/0x0892 audio0 at azalia0 vendor "Intel", unknown product 0x5a9a (class communications subclass miscellaneous, rev 0x0b) at pci0 dev 15 function 0 not configured ahci0 at pci0 dev 18 function 0 vendor "Intel", unknown product 0x5ae3 rev 0x0b: msi, AHCI 1.3.1 ahci0: port 0: 6.0Gb/s ahci0: port 1: 6.0Gb/s scsibus1 at ahci0: 32 targets sd0 at scsibus1 targ 0 lun 0:SCSI3 0/direct fixed naa.5000c500a20c8afc sd0: 1907729MB, 512 bytes/sector, 3907029168 sectors sd1 at scsibus1 targ 1 lun 0: SCSI3 0/direct fixed naa.5000c500a20c72e9 sd1: 1907729MB, 512 bytes/sector, 3907029168 sectors ppb0 at pci0 dev 19 function 0 vendor "Intel", unknown product 0x5ad8 rev 0xfb: msi pci1 at ppb0 bus 1 re0 at pci1 dev 0 function 0 "Realtek 8168" rev 0x11: RTL8168G/8111G (0x4c00), msi, address 70:85:c2:4a:bf:5b rgephy0 at re0 phy 7: RTL8251 PHY, rev. 0 ppb1 at pci0 dev 19 function 1 vendor "Intel", unknown product 0x5ad9 rev 0xfb: msi pci2 at ppb1 bus 2 ppb2 at pci0 dev 19 function 2 vendor "Intel", unknown product 0x5ada rev 0xfb: msi pci3 at ppb2 bus 3 ahci1 at pci3 dev 0 function 0 "ASMedia ASM1061 AHCI" rev 0x02: msi, AHCI 1.2 ahci1: port 0: 1.5Gb/s scsibus2 at ahci1: 32
Re: Apollo Lake kernel panic
I copied the bsd.mp kernel from a working machine. Here is the dmesg. I also disabled C states in BIOS and was able cleanly to halt machine OpenBSD 6.2 (GENERIC) #132: Tue Oct 3 21:18:21 MDT 2017 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC real mem = 16799846400 (16021MB) avail mem = 16283758592 (15529MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 3.0 @ 0xed450 (18 entries) bios0: vendor American Megatrends Inc. version "P1.30" date 04/18/2017 bios0: ASRock J4205-ITX acpi0 at bios0: rev 2 acpi0: sleep states S0 S4 S5 acpi0: tables DSDT FACP FPDT FIDT MCFG DBG2 DBGP LPIT APIC NPKT PRAM WSMT SSDT SSDT AAFT SSDT SSDT SSDT SSDT SSDT UEFI BERT WDAT NHLT acpi0: wakeup devices SIO1(S4) PS2K(S4) HDAS(S3) XHC_(S4) XDCI(S4) BRCM(S0) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) PXSX(S4) RP05(S4) [...] acpitimer0 at acpi0: 3579545 Hz, 32 bits acpimcfg0 at acpi0 addr 0xe000, bus 0-255 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Pentium(R) CPU J4205 @ 1.50GHz, 1497.60 MHz 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,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,FSGSBASE,SMEP,ERMS,MPX,RDSEED,SMAP,CLFLUSHOPT,PT,SHA,SENSOR,ARAT cpu0: 1MB 64b/line 16-way L2 cache cpu0: TSC frequency 149760 Hz cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges cpu0: apic clock running at 19MHz cpu0: mwait min=64, max=64, C-substates=0.2.0.2.4.2.1.1, IBE cpu at mainbus0: not configured cpu at mainbus0: not configured cpu at mainbus0: not configured ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 120 pins acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (RP03) acpiprt2 at acpi0: bus 2 (RP04) acpiprt3 at acpi0: bus 3 (RP05) acpiprt4 at acpi0: bus 4 (RP06) acpiec0 at acpi0: not present acpicpu0 at acpi0: C1(@1 halt!), PSS acpipwrres0 at acpi0: FN00, resource for FAN0 acpitz0 at acpi0: critical temperature is 100 degC acpibtn0 at acpi0: PWRB "INT3452" at acpi0 not configured "INT3452" at acpi0 not configured "INT3452" at acpi0 not configured "INT3452" at acpi0 not configured "INT33A1" at acpi0 not configured "PNP0C0B" at acpi0 not configured acpivideo0 at acpi0: GFX0 acpivout0 at acpivideo0: DD1F cpu0: Enhanced SpeedStep 1497 MHz: speeds: 1501, 1500, 1400, 1300, 1200, 1100, 1000, 900, 800 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 vendor "Intel", unknown product 0x5af0 rev 0x0b inteldrm0 at pci0 dev 2 function 0 vendor "Intel", unknown product 0x5a84 rev 0x0b drm0 at inteldrm0 inteldrm0: msi error: [drm:pid0:i915_firmware_load_error_print] *ERROR* failed to load firmware i915/bxt_dmc_ver1.bin (-22) error: [drm:pid0:i915_gem_init_hw] *ERROR* Failed to initialize GuC, error -8 (ignored) inteldrm0: 1440x900, 32bpp Unclaimed register detected after writing to register 0x68980 wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (std, vt100 emulation) azalia0 at pci0 dev 14 function 0 vendor "Intel", unknown product 0x5a98 rev 0x0b: msi azalia0: codecs: Realtek/0x0892, 0x/0x, using Realtek/0x0892 audio0 at azalia0 vendor "Intel", unknown product 0x5a9a (class communications subclass miscellaneous, rev 0x0b) at pci0 dev 15 function 0 not configured ahci0 at pci0 dev 18 function 0 vendor "Intel", unknown product 0x5ae3 rev 0x0b: msi, AHCI 1.3.1 ahci0: port 0: 6.0Gb/s ahci0: port 1: 6.0Gb/s scsibus1 at ahci0: 32 targets sd0 at scsibus1 targ 0 lun 0:SCSI3 0/direct fixed naa.5000c500a20c8afc sd0: 1907729MB, 512 bytes/sector, 3907029168 sectors sd1 at scsibus1 targ 1 lun 0: SCSI3 0/direct fixed naa.5000c500a20c72e9 sd1: 1907729MB, 512 bytes/sector, 3907029168 sectors ppb0 at pci0 dev 19 function 0 vendor "Intel", unknown product 0x5ad8 rev 0xfb: msi pci1 at ppb0 bus 1 re0 at pci1 dev 0 function 0 "Realtek 8168" rev 0x11: RTL8168G/8111G (0x4c00), msi, address 70:85:c2:4a:bf:5b rgephy0 at re0 phy 7: RTL8251 PHY, rev. 0 ppb1 at pci0 dev 19 function 1 vendor "Intel", unknown product 0x5ad9 rev 0xfb: msi pci2 at ppb1 bus 2 ppb2 at pci0 dev 19 function 2 vendor "Intel", unknown product 0x5ada rev 0xfb: msi pci3 at ppb2 bus 3 ahci1 at pci3 dev 0 function 0 "ASMedia ASM1061 AHCI" rev 0x02: msi, AHCI 1.2 ahci1: port 0: 1.5Gb/s scsibus2 at ahci1: 32 targets cd0 at scsibus2 targ 0 lun 0: ATAPI 5/cdrom removable ppb3 at pci0 dev 19 function 3 vendor "Intel", unknown product 0x5adb rev 0xfb: msi pci4 at ppb3 bus 4 xhci0 at pci0 dev 21 function 0 vendor "Intel", unknown product 0x5aa8 rev 0x0b: msi usb0 at xhci0: USB revision 3.0 uhub0 at usb0 configuration 1
Re: Apollo Lake kernel panic
I was able to boot machine which crashed with bsd.sp kernel. Please see message below. That kernel is non-patched kernel as I was running normally bsd.mp kernel. Also I forgot to say in my previous message that I didn't mess with C states (BIOS option). I was also using legacy (not pure UEFI boot) as the the original installation was done on the system which didn't support UEFI boot. OpenBSD 6.2 (GENERIC) #132: Tue Oct 3 21:18:21 MDT 2017 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC real mem = 16799846400 (16021MB) avail mem = 16283758592 (15529MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 3.0 @ 0xed450 (18 entries) bios0: vendor American Megatrends Inc. version "P1.30" date 04/18/2017 bios0: ASRock J4205-ITX acpi0 at bios0: rev 2 acpi0: sleep states S0 S4 S5 acpi0: tables DSDT FACP FPDT FIDT MCFG DBG2 DBGP LPIT APIC NPKT PRAM WSMT SSDT SSDT AAFT SSDT SSDT SSDT SSDT SSDT UEFI BERT WDAT NHLT acpi0: wakeup devices SIO1(S4) PS2K(S4) UAR1(S4) HDAS(S3) XHC_(S4) XDCI(S4) BRCM(S0) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) PXSX(S4) [...] acpitimer0 at acpi0: 3579545 Hz, 32 bits acpimcfg0 at acpi0 addr 0xe000, bus 0-255 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Pentium(R) CPU J4205 @ 1.50GHz, 1497.60 MHz 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,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,FSGSBASE,SMEP,ERMS,MPX,RDSEED,SMAP,CLFLUSHOPT,PT,SHA,SENSOR,ARAT cpu0: 1MB 64b/line 16-way L2 cache cpu0: TSC frequency 149760 Hz cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges cpu0: apic clock running at 19MHz cpu0: mwait min=64, max=64, C-substates=0.2.0.2.4.2.1.1, IBE cpu at mainbus0: not configured cpu at mainbus0: not configured cpu at mainbus0: not configured ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 120 pins acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (RP03) acpiprt2 at acpi0: bus 2 (RP04) acpiprt3 at acpi0: bus 3 (RP05) acpiprt4 at acpi0: bus 4 (RP06) acpiec0 at acpi0: not present acpicpu0 at acpi0: C3(10@150 mwait.1@0x60), C2(10@50 mwait.1@0x21), C1(1000@1 mwait.1@0x1), PSS acpipwrres0 at acpi0: FN00, resource for FAN0 acpitz0 at acpi0: critical temperature is 100 degC acpibtn0 at acpi0: PWRB "INT3452" at acpi0 not configured "INT3452" at acpi0 not configured "INT3452" at acpi0 not configured "INT3452" at acpi0 not configured "INT33A1" at acpi0 not configured "PNP0C0B" at acpi0 not configured acpivideo0 at acpi0: GFX0 acpivout0 at acpivideo0: DD1F cpu0: Enhanced SpeedStep 1497 MHz: speeds: 1501, 1500, 1400, 1300, 1200, 1100, 1000, 900, 800 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 vendor "Intel", unknown product 0x5af0 rev 0x0b inteldrm0 at pci0 dev 2 function 0 vendor "Intel", unknown product 0x5a84 rev 0x0b drm0 at inteldrm0 inteldrm0: msi error: [drm:pid0:i915_firmware_load_error_print] *ERROR* failed to load firmware i915/bxt_dmc_ver1.bin (-22) error: [drm:pid0:i915_gem_init_hw] *ERROR* Failed to initialize GuC, error -8 (ignored) inteldrm0: 1440x900, 32bpp Unclaimed register detected after writing to register 0x68980 wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (std, vt100 emulation) azalia0 at pci0 dev 14 function 0 vendor "Intel", unknown product 0x5a98 rev 0x0b: msi azalia0: codecs: Realtek/0x0892, 0x/0x, using Realtek/0x0892 audio0 at azalia0 vendor "Intel", unknown product 0x5a9a (class communications subclass miscellaneous, rev 0x0b) at pci0 dev 15 function 0 not configured ahci0 at pci0 dev 18 function 0 vendor "Intel", unknown product 0x5ae3 rev 0x0b: msi, AHCI 1.3.1 ahci0: port 0: 6.0Gb/s ahci0: port 1: 6.0Gb/s scsibus1 at ahci0: 32 targets sd0 at scsibus1 targ 0 lun 0:SCSI3 0/direct fixed naa.5000c500a20c8afc sd0: 1907729MB, 512 bytes/sector, 3907029168 sectors sd1 at scsibus1 targ 1 lun 0: SCSI3 0/direct fixed naa.5000c500a20c72e9 sd1: 1907729MB, 512 bytes/sector, 3907029168 sectors ppb0 at pci0 dev 19 function 0 vendor "Intel", unknown product 0x5ad8 rev 0xfb: msi pci1 at ppb0 bus 1 re0 at pci1 dev 0 function 0 "Realtek 8168" rev 0x11: RTL8168G/8111G (0x4c00), msi, address 70:85:c2:4a:bf:5b rgephy0 at re0 phy 7: RTL8251 PHY, rev. 0 ppb1 at pci0 dev 19 function 1 vendor "Intel", unknown product 0x5ad9 rev 0xfb: msi pci2 at ppb1 bus 2 ppb2 at pci0 dev 19 function 2 vendor "Intel", unknown product 0x5ada rev 0xfb: msi pci3 at ppb2 bus 3 ahci1 at pci3 dev 0 function 0 "ASMedia ASM1061 AHCI" rev 0x02: msi, AHCI 1.2 ahci1: port 0: 1.5Gb/s scsibus2 at ahci1: 32 targets cd0 at scsibus2 targ 0 lun 0:
Re: Apollo Lake kernel panic
Pedro Ramos wrote: > Please find attached the dmesg from ASRock J4205-ITX. > > > Best regards, > Pedro Ramos > > > ["asrock.j4205-itx.dmesg.gz" (application/x-gzip)] Unfortunatelly I got one of those few weeks ago and it is nothing but the trouble. The first one died but NewEgg sent me the second one. I don't know where to begin. With the default ACPI configuration options 1. Suspend to RAM enabled 2. ACPI HPET Table enabled one can't clearly shut down 6.2 stable. This is what I got www.devio.us/~ppunosevac/kernel-panic-1.jpg The system was frozen to the point that I could not get crash trace. With suspend to RAM and HPET table disabled I could finally do shutdown -p now without crashing kernel. I see that even on 6.2 current dmesg which was sent bunch of errors in dmesg pchb0 at pci0 dev 0 function 0 vendor "Intel", unknown product 0x5af0 rev 0x0b inteldrm0 at pci0 dev 2 function 0 vendor "Intel", unknown product 0x5a84 rev 0x0b drm0 at inteldrm0 inteldrm0: msi error: [drm:pid0:i915_firmware_load_error_print] *ERROR* failed to load firmware i915/bxt_dmc_ver1.bin (-22) error: [drm:pid0:i915_gem_init_hw] *ERROR* Failed to initialize GuC, error -8 (ignored) Unfortunatelly at this point my system is trashed so I can't post dmesg from of 6.2 stable. Namely after trying to start Chrome I got kernel panic again but I was able this time to trace it www.devio.us/~ppunosevac/kernel-panic-2.jpg Now the system hangs on the boot with the message entry point at 0x1000158 My boot device was RAID 1 and I would appreciate if somebody could give me a suggestion if I can recover the system (I do have the backup for data). Few more things. I could not get X running on my DVI-D 4:3 monitor. However both VGA output and HDMI were working. HDMI had no problem using my high definition Panasonic TV. If you attach HDD to ASMedia ASM1061 SATA ports (there are 2 of those and there are two of SATA3 6.0Gb/s Connectors, support NCQ, AHCI and Hot Plug) S.M.A.R.T. daemon will refuse to start. I have not investigated this further. Sound Realtek ALC892 did work as well as Realtek 8111GR Gigabit LAN. I could not make a use of 1 x PCI Express 2.0 x1 Slot. Note also that M.2 is only for WiFi not for storage device. I am not feeling good about this purchase right now. Maybe somebody could give me some pointers. Best, Predrag