Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Feb 2019 21:12:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 235846] panic: pmap_demote_pde: firstpte and newpte map different physical addresses
Message-ID:  <bug-235846-227-W3MTdWT02p@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-235846-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-235846-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235846

Mark Johnston <markj@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|bugs@FreeBSD.org            |markj@FreeBSD.org

--- Comment #3 from Mark Johnston <markj@FreeBSD.org> ---
Could you please try to reproduce the panic with the assertion below?  We d=
on't
dump page table pages in minidumps, which makes this one a little harder to
track down.

diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c
index 94ad7d1d856a..261500adac65 100644
--- a/sys/amd64/amd64/pmap.c
+++ b/sys/amd64/amd64/pmap.c
@@ -4103,6 +4103,8 @@ pmap_demote_pde_locked(pmap_t pmap, pd_entry_t *pde,
vm_offset_t va,
                KASSERT((oldpde & PG_W) =3D=3D 0,
                    ("pmap_demote_pde: page table page for a wired mapping"
                    " is missing"));
+               KASSERT(mpte !=3D NULL || pmap !=3D kernel_pmap,
+                   ("pmap_demote_pde: missing PT page for va %#lx", va));

                /*
                 * Invalidate the 2MB page mapping and return "failure" if =
the

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-235846-227-W3MTdWT02p>