DragonFly bugs List (threaded) for 2008-05
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: UP kernel crashes
Sascha Wildner wrote:
> Sepherosa Ziehau wrote:
>> Hi,
>>
>> Following line is printed immediately after copyrights prints:
>> panic: assertion: (newpte & VPTE_MANAGED) == 0 || m->flags & PG_MAPPED
>> in pmap_enter
>>
>> Back trace shows no function name.
>>
>> SMP kernel works without problem.
>
> Just for the record, I see this panic here too on my laptop.
Me too in a Qemu instance.
The following patch should fix it (works fine here).
Regards,
Michael
Index: pmap.c
===================================================================
RCS file: /home/dcvs/src/sys/platform/pc32/i386/pmap.c,v
retrieving revision 1.84
diff -u -r1.84 pmap.c
--- pmap.c 9 May 2008 07:24:46 -0000 1.84
+++ pmap.c 11 May 2008 13:49:19 -0000
@@ -2102,7 +2102,7 @@
if (newpte & PG_RW)
vm_page_flag_set(m, PG_WRITEABLE);
}
- KKASSERT((newpte & VPTE_MANAGED) == 0 || m->flags & PG_MAPPED);
+ KKASSERT((newpte & PG_MANAGED) == 0 || (m->flags & PG_MAPPED));
pmap_inval_flush(&info);
}
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]