Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Aug 2019 10:27:48 -0600
From:      Rebecca Cran <rebecca@bsdio.com>
To:        Konstantin Belousov <kostikbel@gmail.com>, markj@freebsd.org
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Panic on boot with r351461 (AMD ThreadRipper 2990WX)
Message-ID:  <21865c12-9cb4-6560-1075-7cea5f83b30a@bsdio.com>
In-Reply-To: <20190825143034.GO71821@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> <f15ba651-28ef-d9db-3646-ab8cb49b3d18@bsdio.com> <20190825062407.GL71821@kib.kiev.ua> <9e94aea8-7d63-0f9e-2f1e-c1492e9dc455@bsdio.com> <20190825143034.GO71821@kib.kiev.ua>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?21865c12-9cb4-6560-1075-7cea5f83b30a>