panic: assertion: pmap->pm_stats.resident_count > 0 in pmap_release_free_page

YONETANI Tomokazu qhwt+dfly at
Thu Dec 24 16:48:45 PST 2009

On Thu, Dec 24, 2009 at 10:14:06AM -0800, Matthew Dillon wrote:
> :It panicked at almost the same place as before:
>     I swapped around the pde[] assignment to 0 so print out
>     pde[p->pindex] if you can (or upload the crash dump to leaf).

I'm scp'ing the crash dump now.  In the mean while, here's the value.
No idea what to do next, though:

#5  0xc02d9cc4 in pmap_release_free_page (pmap=0x0, p=0xc1026410)
    at /usr/src/sys/platform/pc32/i386/pmap.c:1157
1157            KKASSERT(pmap->pm_stats.resident_count > 0);
(kgdb) p/x pde[p->pindex]
$5 = 0x1980e063

More information about the Bugs mailing list