Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Aug 2019 17:29:23 -0600
From:      Rebecca Cran <rebecca@bsdio.com>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Panic on boot with r351461 (AMD ThreadRipper 2990WX)
Message-ID:  <f15ba651-28ef-d9db-3646-ab8cb49b3d18@bsdio.com>
In-Reply-To: <20190824230801.GK71821@kib.kiev.ua>
References:  <6e5687b2-ab3f-a570-37ab-72c8a9776167@bsdio.com> <20190824203305.GF71821@kib.kiev.ua> <d7200dbc-62b3-fd86-ca61-32d559987338@bsdio.com> <20190824230801.GK71821@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f15ba651-28ef-d9db-3646-ab8cb49b3d18>