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

From: Rebecca Cran <rebecca_at_bsdio.com>
Date: Sun, 25 Aug 2019 10:27:48 -0600
On 2019-08-25 08:30, Konstantin Belousov wrote:
>
> So what happens, IMO, is that for memory-less domains ds_cnt is zero
> because ds_mask is zero, which causes the exception on divide.  You
> can try the following combined patch, but I really dislike the fact
> that I cannot safely use DOMAINSET_FIXED (if my diagnosis is correct).


With that patch applied, boot gets a lot further but eventually panics
after probing pcm devices:


panic: vm_domainset_iter_first: Unknown policy 0

cpuid = 49

time = 1

KDB: stack backtrace:

...

vm_domainset_iter_first()

vm_domainset_iter_page_init()

vm_page_grab_pages()

vm_thread_stack_create()

kstack_import()

uma_zalloc_arg()

vm_thread_new()

thread_alloc()

kthread_add()

vm_pageout()

fork_exit()

fork_trampoline()


-- 
Rebecca Cran
Received on Sun Aug 25 2019 - 14:27:51 UTC

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