From owner-freebsd-current@FreeBSD.ORG Sun Oct 1 19:51:10 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3963B16A403; Sun, 1 Oct 2006 19:51:10 +0000 (UTC) (envelope-from alc@cs.rice.edu) Received: from mail.cs.rice.edu (mail.cs.rice.edu [128.42.1.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE76F43D45; Sun, 1 Oct 2006 19:51:09 +0000 (GMT) (envelope-from alc@cs.rice.edu) Received: from mail.cs.rice.edu (localhost.localdomain [127.0.0.1]) by mail.cs.rice.edu (Postfix) with ESMTP id 42DB42C2C09; Sun, 1 Oct 2006 14:51:09 -0500 (CDT) X-Virus-Scanned: by amavis-2.4.0 at mail.cs.rice.edu Received: from mail.cs.rice.edu ([127.0.0.1]) by mail.cs.rice.edu (mail.cs.rice.edu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id xuynIDQhDldb; Sun, 1 Oct 2006 14:51:08 -0500 (CDT) Received: from [216.63.78.18] (adsl-216-63-78-18.dsl.hstntx.swbell.net [216.63.78.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cs.rice.edu (Postfix) with ESMTP id 7C7702C2BFC; Sun, 1 Oct 2006 14:51:08 -0500 (CDT) Message-ID: <45201C2B.7080706@cs.rice.edu> Date: Sun, 01 Oct 2006 14:51:07 -0500 From: Alan Cox User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.10) Gecko/20050817 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Martin Blapp References: <20060928195536.Y91466@godot.imp.ch> <20061001132422.O91466@godot.imp.ch> In-Reply-To: <20061001132422.O91466@godot.imp.ch> Content-Type: multipart/mixed; boundary="------------030204010107050904050908" Cc: alc@freebsd.org, current@freebsd.org Subject: Re: CURRENT unusable again, too many panics X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Oct 2006 19:51:10 -0000 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--