CURRENT unusable again, too many panics
Alan Cox
alc at cs.rice.edu
Sun Oct 1 12:51:10 PDT 2006
Martin Blapp wrote:
>
> After doing several compiles I found out that running HEAD of
>
> 1.10.2006 panics
>
> 1.5.2006 works,
>
> 1.7.2006 panics
>
> 1.6.2006 works
>
> So it's a commit between the 1st of June and 1st of July. I'll try
> now HEAD of 15.6.2006.
Can you tell me what if anything is printed with the attached patch applied?
Regards,
Alan
-------------- next part --------------
Index: i386/i386/pmap.c
===================================================================
RCS file: /home/ncvs/src/sys/i386/i386/pmap.c,v
retrieving revision 1.575
diff -p -u -r1.575 pmap.c
--- i386/i386/pmap.c 14 Aug 2006 15:39:41 -0000 1.575
+++ i386/i386/pmap.c 1 Oct 2006 19:14:20 -0000
@@ -2790,6 +2790,9 @@ pmap_copy(pmap_t dst_pmap, pmap_t src_pm
if (srcptepaddr & PG_PS) {
if (dst_pmap->pm_pdir[ptepindex] == 0) {
+ if (srcptepaddr & PG_W)
+ printf("pmap_copy: srcptepaddr = %#jx\n",
+ (uintmax_t)srcptepaddr);
dst_pmap->pm_pdir[ptepindex] = srcptepaddr &
~PG_W;
dst_pmap->pm_stats.resident_count +=
@@ -2821,6 +2824,9 @@ pmap_copy(pmap_t dst_pmap, pmap_t src_pm
if (*dst_pte == 0 &&
pmap_try_insert_pv_entry(dst_pmap, addr,
PHYS_TO_VM_PAGE(ptetemp & PG_FRAME))) {
+ if (ptetemp & PG_W)
+ printf("pmap_copy: ptetemp = %#jx\n",
+ (uintmax_t)ptetemp);
/*
* Clear the wired, modified, and
* accessed (referenced) bits
More information about the freebsd-current
mailing list