Re: Panic on boot with r351461 (AMD ThreadRipper 2990WX)

From: Rebecca Cran <rebecca_at_bsdio.com>
Date: Sat, 24 Aug 2019 17:29:23 -0600
On 2019-08-24 17:08, Konstantin Belousov wrote:
>
> Use gdb instead.

Ah, thanks.

(gdb) info line *0xffffffff8117f67c
Line 405 of "/usr/src/sys/amd64/amd64/mp_machdep.c" starts at address
0xffffffff8117f674 <native_start_all_aps+468> and ends at
0xffffffff8117f69a <native_start_all_aps+506>


> What was the previous bootable version of the kernel ? 

I attempted to upgrade from r350575.

> Do you happen to have NUMA node without any local memory ? (Look at the
> SRAT table).  If yes, try this patch.

After applying the patch, I get a crash with the following backtrace:


vm_domainset_iter_first()

vm_domainset_iter_policy_init()

kmem_malloc_domainset()

native_start_all_aps()

cpu_mp_start()

mp_start()

mi_startup()


(gdb) info line *0xffffffff80f1027c
Line 102 of "/usr/src/sys/vm/vm_domainset.c" starts at address
0xffffffff80f10267 <vm_domainset_iter_first+151>
   and ends at 0xffffffff80f1027f <vm_domainset_iter_first+175>.

The SRAT contains:


    Type=Memory
    Flags={ENABLED}
    Base Address=0x0000000000000000
    Length=0x00000000000a0000
    Proximity Domain=0

    Type=Memory
    Flags={ENABLED}
    Base Address=0x0000000000100000
    Length=0x000000007ff00000
    Proximity Domain=0

    Type=Memory
    Flags={ENABLED}
    Base Address=0x0000000100000000
    Length=0x0000000f80000000
    Proximity Domain=0

    Type=Memory
    Flags={ENABLED}
    Base Address=0x0000001080000000
    Length=0x0000001000000000
    Proximity Domain=2


-- 

Rebecca Cran
Received on Sat Aug 24 2019 - 21:29:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:21 UTC