On 26/11/20(Thu) 09:21, AIsha Tammy wrote:
> On 11/26/20 6:51 AM, Martin Pieuchot wrote:
> > On 25/11/20(Wed) 19:41, AIsha Tammy wrote:
> >> Replicable bug that has happened from sysupgrading to snapshot.
> >> VPS was working perfectly until this sysupgrade.
> >>
> >> VPS boots - drops to kernel panic ddb
> >>
> >> Seems to be some mutex issue?
> >> Had to manually copy information cuz weird web console, so my apologies
> >> if this isn't enough information.
> > What is the date of the snapshots? If you can reproduce this could you
> > give us the output of the "trace" command?
> >
> > Thanks,
> > Martin
> >
>
> Yes, reproducible crashes on multiple reboots.
Thanks, the diff below should fix it, could you test it?
Index: uvm/uvm_page.c
===================================================================
RCS file: /cvs/src/sys/uvm/uvm_page.c,v
retrieving revision 1.151
diff -u -p -r1.151 uvm_page.c
--- uvm/uvm_page.c 24 Nov 2020 13:49:09 -0000 1.151
+++ uvm/uvm_page.c 26 Nov 2020 17:17:55 -0000
@@ -180,7 +180,7 @@ uvm_page_init(vaddr_t *kvm_startp, vaddr
TAILQ_INIT(&uvm.page_active);
TAILQ_INIT(&uvm.page_inactive_swp);
TAILQ_INIT(&uvm.page_inactive_obj);
- mtx_init(&uvm.pageqlock, IPL_NONE);
+ mtx_init(&uvm.pageqlock, IPL_VM);
mtx_init(&uvm.fpageqlock, IPL_VM);
uvm_pmr_init();