Port-amd64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

assertion "(opte & (PG_V | PG_W)) != PG_W" failed



Hi,
I got this panic on a recent 5.0_STABLE i386 system:
panic: kernel diagnostic assertion "(opte & (PG_V | PG_W)) != PG_W" failed: 
file "/home/bouyer/src-5/src/sys/arch/x86/x86/pmap.c", line 637
Begin traceback...
uvm_fault(0xcef0f008, 0x72753000, 1) -> 0xe
fatal page fault in supervisor mode
trap type 6 code 0 eip c03f0311 cs 8 eflags 10246 cr2 72753f70 ilevel 0
panic: trap

unfortubably no dump nor usefull stack trace.
pmap.c line 637 is:
KASSERT((opte & (PG_V | PG_W)) != PG_W) in pmap_stats_update_bypte().

Does anyone know if this assertion is still valid ?

I had a quick look and found only one place where we could call
pmap_stats_update_bypte with a !PG_V opte, it is pmap_enter(),
around line 4137.


-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index