Date: Sun, 01 Oct 2006 14:51:07 -0500 From: Alan Cox <alc@cs.rice.edu> To: Martin Blapp <mb@imp.ch> Cc: alc@freebsd.org, current@freebsd.org Subject: Re: CURRENT unusable again, too many panics Message-ID: <45201C2B.7080706@cs.rice.edu> In-Reply-To: <20061001132422.O91466@godot.imp.ch> References: <20060928195536.Y91466@godot.imp.ch> <20061001132422.O91466@godot.imp.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------030204010107050904050908 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 --------------030204010107050904050908 Content-Type: text/plain; name="pmap_copy_printf.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="pmap_copy_printf.patch" 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 --------------030204010107050904050908--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45201C2B.7080706>