Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Aug 2019 09:24:07 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Rebecca Cran <rebecca@bsdio.com>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Panic on boot with r351461 (AMD ThreadRipper 2990WX)
Message-ID:  <20190825062407.GL71821@kib.kiev.ua>
In-Reply-To: <f15ba651-28ef-d9db-3646-ab8cb49b3d18@bsdio.com>
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> <f15ba651-28ef-d9db-3646-ab8cb49b3d18@bsdio.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Aug 24, 2019 at 05:29:23PM -0600, Rebecca Cran wrote:
> 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:
What are the panic messages ?

> 
> 
> vm_domainset_iter_first()
What is the source line ?

> 
> vm_domainset_iter_policy_init()
> 
> kmem_malloc_domainset()
> 
> native_start_all_aps()
What is the source line ?

> 
> 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?20190825062407.GL71821>