On Mon, Jul 16, 2018 at 05:02:01AM -0600, Jan Beulich wrote: > > Unfortunably there has been a crash last week: > > Hmm, looks to be still all the same as before (except for the line > number). I'm afraid I'm out of ideas, at least for the moment.
OK, FYI I commited xen 4.11 packages for NetBSD, with the attached patch. With this the hypervisor doens't panic ... -- Manuel Bouyer <bou...@antioche.eu.org> NetBSD: 26 ans d'experience feront toujours la difference --
$NetBSD: patch-zz-bouyer,v 1.1 2018/07/24 13:40:11 bouyer Exp $ Dirty hack to avoid assert failure. This has been discussed on xen-devel but no solution has been fonud so far. The box producing http://www-soc.lip6.fr/~bouyer/NetBSD-tests/xen/ is running with this patch; the printk has fired but the hypervisor keeps running. --- xen/arch/x86/mm.c.orig 2018-07-19 10:32:07.000000000 +0200 +++ xen/arch/x86/mm.c 2018-07-21 20:47:47.000000000 +0200 @@ -674,7 +674,12 @@ typeof(pg->linear_pt_count) oc; oc = arch_fetch_and_add(&pg->linear_pt_count, -1); - ASSERT(oc > 0); + if (oc <= 0) { + gdprintk(XENLOG_WARNING, + "mm.c:dec_linear_entries(): oc %d would fail assert\n", oc); + pg->linear_pt_count = 0; + } + /* ASSERT(oc > 0); */ } static bool inc_linear_uses(struct page_info *pg)
_______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel