head -r338804 boots threadripper 1950X fine; head -r338810+ do not; -r338807 seems implicated
marklmi at yahoo.com
Sat Oct 20 09:09:14 UTC 2018
On 2018-Oct-20, at 1:39 AM, Mark Millard <marklmi at yahoo.com> wrote:
> I attempted to jump from head -r334014 to -r339076
> on a threadripper 1950X board and the boot fails.
> This is both native booting and under Hyper-V,
> same machine and root file system in both cases.
I did my investigation under Hyper-V after seeing
a boot failure native.
Looks like the native failure is even earlier,
before db> is even possible, possibly during
early loader activity.
So this report is really for running under
Hyper-V: -r338804 boots and -r338810 does
not. By contrast -r334804 does not boot native.
(But I've little information for that context.)
Sorry for the confusion. I rushed the report
in hopes of getting to sleep. It was not to be.
> It fails just after the FreeBSD/SMP lines,
> reporting "kernel trap 9 with interrupts disabled".
> It fails in pmap_force_invaldiate_cache_range at
> a clflusl (%rax) instruction that produces a
> "Fatal trap 9: general protection fault while
> in kernel mode". cpudid=0 apic id= 00
> I used kernel.txz files from:
> to narrow the range of kernel builds for working -> failing
> and got:
> -r338804 boots fine
> (no amd64 kernel builds between to try)
> -r338810+ fails (any that I tried, anyway)
> In that range is -r338807 :
> Author: kib
> Date: Wed Sep 19 19:35:02 2018
> New Revision: 338807
> Convert x86 cache invalidation functions to ifuncs.
> This simplifies the runtime logic and reduces the number of
> runtime-constant branches.
> Reviewed by: alc, markj
> Sponsored by: The FreeBSD Foundation
> Approved by: re (gjb)
> Differential revision:
> END QUOTE
> There do seem to be changes associated with
> clflush(...) use. Looking at:
> it appears that pmap_force_invalidate_cache_range has not
> changed since -r338807.
> It seems that -r338806 and -r3388810 would be unlikely
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)
More information about the freebsd-stable