On Fri, Jul 3, 2020 at 6:28 AM Jonathan Gray <[email protected]> wrote:

> On Fri, Jul 03, 2020 at 06:12:28AM -0500, Abel Abraham Camarillo Ojeda
> wrote:
> > On Fri, Jul 3, 2020 at 5:33 AM Stuart Henderson <[email protected]>
> wrote:
> >
> > > On 2020/07/03 03:34, Abel Abraham Camarillo Ojeda wrote:
> > > > >Synopsis: boot stuck at avail mem unless boot -c \n quit\n
> > > > >Category: kernel amd64
> > > > >Environment:
> > > > System      : OpenBSD 6.7
> > > > Details     : OpenBSD 6.7-current (GENERIC.MP) #305: Fri Jun 26
> 09:07:29
> > > > MDT 2020
> > > > [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> > > >
> > > > Architecture: OpenBSD.amd64
> > > > Machine     : amd64
> > > > >Description:
> > > > boot stucks at line:
> > > >
> > > > OpenBSD 6.7-current (GENERIC.MP) #305: Fri Jun 26 09:07:29 MDT 2020
> > > >    [email protected]:/usr/src/sys/arch/amd64/compile/
> GENERIC.MP
> > > > real mem = 17028538368 (16239MB)
> > > > avail mem = 16497426432 (15733MB)
> > > > (stops here)
> > > >
> > > > (img attached)
> > > >
> > > > machine boots if I
> > > > run 'boot -c' at bootloader and just run 'quit', if not
> > > > kernel stops after 'avail mem' line
> > > >
> > > > machine was running may 29 snapshot without boot problems,
> > > > after a upgrade to jun 26 snapshot problems started to present.
> > > >
> > > > I bisected and tried several snapshots between jun 26 - may 29
> > > > but problem still presented, then I reinstalled the *same* may 29
> > > snapshot
> > > > I was using and problems were also reproducible (but they weren't
> > > > before) I'm without a clue here.
> > > > >How-To-Repeat:
> > > > 100% reproducible, tried it a dozen times:
> > > >
> > > > boot machine, GENERIC.MP without boot -c
> > > > >Fix:
> > > > boot -c \n quit \n
> > > > and machine boots...
> > >
> > > - Try uninstalling intel-firwmare and see if that changes anything.
> > >
> >
> > Boots without problems after: pkg_delete intel-firmware;
> > gets stuck at avail mem again if I do pkg_add intel-firmware;
>
> It was thought that the intel breakage was limited to linux.
>
> https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/issues/31
>
> As that isn't the case we want the release which reverted skylake
> updates:
>
> == 20200616 Release ==
> -- Updates upon 20200609 release --
> Processor             Identifier     Version       Products
> Model        Stepping F-MO-S/PI      Old->New
> ---- new platforms ----------------------------------------
>
> ---- updated platforms ------------------------------------
> SKL-U/Y      D0       6-4e-3/c0 000000dc->000000d6 Core Gen6 Mobile
> SKL-U23e     K1       6-4e-3/c0 000000dc->000000d6 Core Gen6 Mobile
> SKL-H/S      R0/N0    6-5e-3/36 000000dc->000000d6 Core Gen6; Xeon E3 v5
>
> ---- removed platforms ------------------------------------
>
>

I confirm that with the patch my system boots OK

--- violeta-jun26dmesg-intelfw-bootc Fri Jul  3 06:02:52 2020
+++ violeta-jun26dmesg-intelfwupdate Fri Jul  3 14:52:34 2020
@@ -1,10 +1,7 @@
 OpenBSD 6.7-current (GENERIC.MP) #305: Fri Jun 26 09:07:29 MDT 2020
     [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
 real mem = 17028538368 (16239MB)
-avail mem = 16497418240 (15733MB)
-User Kernel Config
-UKC> quit
-Continuing...
+avail mem = 16497422336 (15733MB)
 random: good seed from bootblocks
 mpath0 at root
 scsibus0 at mpath0: 256 targets
@@ -21,7 +18,7 @@
 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) i3-6100U CPU @ 2.30GHz, 1316.85 MHz, 06-4e-03
+cpu0: Intel(R) Core(TM) i3-6100U CPU @ 2.30GHz, 1323.01 MHz, 06-4e-03
 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,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN
 cpu0: 256KB 64b/line 8-way L2 cache
 cpu0: TSC skew=0 observed drift=0
@@ -30,22 +27,22 @@
 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) i3-6100U CPU @ 2.30GHz, 1123.08 MHz, 06-4e-03
+cpu1: Intel(R) Core(TM) i3-6100U CPU @ 2.30GHz, 1124.76 MHz, 06-4e-03
 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,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,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN
 cpu1: 256KB 64b/line 8-way L2 cache
-cpu1: TSC skew=-19629770 observed drift=0
+cpu1: TSC skew=-29166577 observed drift=0
 cpu1: smt 0, core 1, package 0
 cpu2 at mainbus0: apid 1 (application processor)
 cpu2: Intel(R) Core(TM) i3-6100U CPU @ 2.30GHz, 1097.45 MHz, 06-4e-03
 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,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,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN
 cpu2: 256KB 64b/line 8-way L2 cache
-cpu2: TSC skew=-19629809 observed drift=0
+cpu2: TSC skew=-29166595 observed drift=0
 cpu2: smt 1, core 0, package 0
 cpu3 at mainbus0: apid 3 (application processor)
-cpu3: Intel(R) Core(TM) i3-6100U CPU @ 2.30GHz, 1079.31 MHz, 06-4e-03
+cpu3: Intel(R) Core(TM) i3-6100U CPU @ 2.30GHz, 1097.45 MHz, 06-4e-03
 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,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,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN
 cpu3: 256KB 64b/line 8-way L2 cache
-cpu3: TSC skew=-19629787 observed drift=0
+cpu3: TSC skew=-29166599 observed drift=0
 cpu3: smt 1, core 1, package 0
 ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 120 pins
 acpimcfg0 at acpi0
@@ -91,7 +88,7 @@
 acpivideo0 at acpi0: GFX0
 acpivout0 at acpivideo0: DD1F
 cpu0: using VERW MDS workaround (except on vmm entry)
-cpu0: Enhanced SpeedStep 1316 MHz: speeds: 2301, 2300, 2200, 2000, 1900,
1800, 1600, 1500, 1300, 1200, 1100, 900, 800, 700, 500, 400 MHz
+cpu0: Enhanced SpeedStep 1323 MHz: speeds: 2301, 2300, 2200, 2000, 1900,
1800, 1600, 1500, 1300, 1200, 1100, 900, 800, 700, 500, 400 MHz
 pci0 at mainbus0 bus 0
 pchb0 at pci0 dev 0 function 0 "Intel Core 6G Host" rev 0x08
 inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 520" rev 0x07



> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/sysutils/firmware/intel/Makefile,v
> retrieving revision 1.23
> diff -u -p -r1.23 Makefile
> --- Makefile    10 Jun 2020 01:36:28 -0000      1.23
> +++ Makefile    3 Jul 2020 11:22:37 -0000
> @@ -3,7 +3,7 @@
>  COMMENT=       microcode update binaries for Intel CPUs
>  FW_DRIVER=     intel
>
> -FW_VER=                20200609
> +FW_VER=                20200616
>  EPOCH=         0
>  GH_ACCOUNT=    intel
>  GH_PROJECT=    Intel-Linux-Processor-Microcode-Data-Files
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/sysutils/firmware/intel/distinfo,v
> retrieving revision 1.16
> diff -u -p -r1.16 distinfo
> --- distinfo    10 Jun 2020 01:36:28 -0000      1.16
> +++ distinfo    3 Jul 2020 11:22:43 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (firmware/intel-20200609.tar.gz) =
> bFKVJlq9A6fNyBW4W/9PmDh/gTgmqIk1kEvCu8eD1eQ=
> -SIZE (firmware/intel-20200609.tar.gz) = 3043809
> +SHA256 (firmware/intel-20200616.tar.gz) =
> 60+TlCGsbN6jxYbJ2YTsUYMg8AwH6ys9Z1QwnIPJM3E=
> +SIZE (firmware/intel-20200616.tar.gz) = 3036726
>

Reply via email to