Re: 14.0-CURRENT panic in early boot

From: Karel Gardas <gardask_at_gmail.com>
Date: Thu, 18 Nov 2021 17:46:43 UTC
Completely speculating, but since you don't see ioapic's are you sure 
this is just ~2 weeks old build? If not, then it may be relevant to:

commit 1b7a2680fba589daf6f700565214919cb941ab56
Author: Jung-uk Kim <jkim@FreeBSD.org>
Date:   Thu Sep 30 16:23:21 2021 -0400

     Import ACPICA 20210930

     (cherry picked from commit c509b6ab0d7e5bafc5348b08653b8738bd40716e)

IMHO!

On 11/18/21 6:22 AM, Dustin Marquess wrote:
> I just updated a machine from a build that was ~2 weeks old. The
> latest commit when I built it was 2e946f87055.
> 
> The system boots using UEFI, if that matters. The system is panicking
> pretty early in the boot, however:
> 
> real memory  = 137438953472 (131072 MB)
> avail memory = 133651496960 (127460 MB)
> ACPI APIC Table: <LENOVO SV-INT  >
> FreeBSD/SMP: Multiprocessor System Detected: 32 CPUs
> FreeBSD/SMP: 2 package(s) x 8 core(s) x 2 hardware threads
> random: registering fast source Intel Secure Key RNG
> random: fast provider: "Intel Secure Key RNG"
> random: unblocking device.
> kernel trap 12 with interrupts disabled
> panic: vm_fault_lookup: fault on nofault entry, addr: 0xffffffff81e1d000
> cpuid = 0
> time = 1
> 
> 
> The backtrace shows:
> 
> KDB: stack backtrace:
> #0 0xffffffff806deb5b at kdb_backtrace+0x6b
> #1 0xffffffff80693b44 at vpanic+0x184
> #2 0xffffffff806939b3 at panic+0x43
> #3 0xffffffff8091d4b3 at vm_fault+0x1423
> #4 0xffffffff8091bfb0 at vm_fault_trap+0xb0
> #5 0xffffffff809c0902 at trap_pfault+0x1f2
> #6 0xffffffff809992b8 at calltrap+0x8
> #7 0xffffffff806ebcc1 at vsscanf+0x31
> #8 0xffffffff806ebc7f at sscanf+0x3f
> #9 0xffffffff806bd9ab at validate_uuid+0x8b
> #10 0xffffffff80655be0 at prison0_init+0x90
> #11 0xffffffff80623aba at proc0_init+0x29a
> #12 0xffffffff80623689 at mi_startup+0xe9
> #13 0xffffffff802e3062 at btext+0x22
> Uptime: 1s
> 
> Compared to a boot using the old working kernel:
> 
> real memory  = 137438953472 (131072 MB)
> avail memory = 133651505152 (127460 MB)
> ACPI APIC Table: <LENOVO SV-INT  >
> FreeBSD/SMP: Multiprocessor System Detected: 32 CPUs
> FreeBSD/SMP: 2 package(s) x 8 core(s) x 2 hardware threads
> random: registering fast source Intel Secure Key RNG
> random: fast provider: "Intel Secure Key RNG"
> random: unblocking device.
> ioapic0 <Version 2.0> irqs 0-23
> ioapic1 <Version 2.0> irqs 24-47
> ioapic2 <Version 2.0> irqs 48-71
> Launching APs: 1 11 28 15 18 6 29 4 16 9 24 7 3 10 27 22 14 13 12 23
> 25 20 26 30 17 5 2 21 19 8 31
> Timecounter "TSC-low" frequency 1197250876 Hz quality 1000
> 
> Has anybody else seen this?
> -Dustin
>