Date: Thu, 7 Nov 2024 15:03:43 -0500 From: Mark Johnston <markj@freebsd.org> To: Oleksandr Kryvulia <shuriku@shurik.kiev.ua> Cc: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: panic after a97f683fe3c425 Message-ID: <Zy0dH7SbNC4JOywC@nuc> In-Reply-To: <95a67972-ea73-4821-bbec-3c8857b1f2f4@shurik.kiev.ua> References: <95a67972-ea73-4821-bbec-3c8857b1f2f4@shurik.kiev.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 07, 2024 at 09:43:50PM +0200, Oleksandr Kryvulia wrote: > Hi, @current > > My laptop now panics while boot with [1]. > git bisect shows a97f683fe3c425b425cf8cc466319f54ea957c20 as offending > commit. > > [1] https://imgur.com/a/Pb6eakW I believe the patch below will fix the problem. diff --git a/sys/amd64/vmm/vmm.c b/sys/amd64/vmm/vmm.c index 77e0adda86f5..9569f8ace909 100644 --- a/sys/amd64/vmm/vmm.c +++ b/sys/amd64/vmm/vmm.c @@ -513,8 +513,9 @@ static moduledata_t vmm_kmod = { * * - VT-x initialization requires smp_rendezvous() and therefore must happen * after SMP is fully functional (after SI_SUB_SMP). + * - vmm device initialization requires an initialized devfs. */ -DECLARE_MODULE(vmm, vmm_kmod, SI_SUB_SMP + 1, SI_ORDER_ANY); +DECLARE_MODULE(vmm, vmm_kmod, MAX(SI_SUB_SMP, SI_SUB_DEVFS) + 1, SI_ORDER_ANY); MODULE_VERSION(vmm, 1); static void
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Zy0dH7SbNC4JOywC>