Re: CURRENT unusable again, too many panics

From: Alan Cox <alc_at_cs.rice.edu>
Date: Sun, 01 Oct 2006 14:51:07 -0500
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


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
_at__at_ -2790,6 +2790,9 _at__at_ 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 +=
_at__at_ -2821,6 +2824,9 _at__at_ 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
Received on Sun Oct 01 2006 - 17:51:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:01 UTC