From owner-cvs-src@FreeBSD.ORG Thu Jun 15 13:56:21 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 438FF16A479; Thu, 15 Jun 2006 13:56:21 +0000 (UTC) (envelope-from arved@FreeBSD.org) Received: from jim.arved.priv.at (21322530218.direct.eti.at [213.225.30.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id D88C143D46; Thu, 15 Jun 2006 13:56:19 +0000 (GMT) (envelope-from arved@FreeBSD.org) Received: from [192.168.3.25] (minimac.arved.de [192.168.3.25]) by jim.arved.priv.at (8.13.4/8.13.4) with ESMTP id k5FDuIu5048217; Thu, 15 Jun 2006 15:56:18 +0200 (CEST) (envelope-from arved@FreeBSD.org) In-Reply-To: <200606141748.k5EHmkPE025291@repoman.freebsd.org> References: <200606141748.k5EHmkPE025291@repoman.freebsd.org> Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <128AAC30-210A-4DE3-B316-797CA19C601F@FreeBSD.org> Content-Transfer-Encoding: 7bit From: Tilman Linneweh Date: Thu, 15 Jun 2006 15:56:17 +0200 To: Alan Cox X-Mailer: Apple Mail (2.750) Cc: cvs-src@FreeBSD.org, Tilman Linneweh , src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/vm vm_map.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jun 2006 13:56:21 -0000 On Jun 14, 2006, at 19:48, Alan Cox wrote: > alc 2006-06-14 17:48:46 UTC > > FreeBSD src repository > > Modified files: > sys/vm vm_map.c > Log: > Correct an error in the previous revision that could lead to a > panic: > Found mapped cache page. Specifically, if cnt.v_free_count dips > below > cnt.v_free_reserved after p_start has been set to a non-NULL value, > then vm_map_pmap_enter() would break out of the loop and incorrectly > call pmap_enter_object() for the remaining address range. To > correct > this error, this revision truncates the address range so that > pmap_enter_object() will not map any cache pages. > Hello Alan, I am still getting "Found mapped cache page" panics with this revision on amd64 #10 0xffffffff802b5652 in panic ( fmt=0xffffffff80501330 "Found mapped cache page %p") at /usr/src/sys/kern/kern_shutdown.c:549 bootopt = 256 newpanic = 18 ap = {{gp_offset = 16, fp_offset = 48, overflow_arg_area = 0xffffffffa3f82920, reg_save_area = 0xffffffffa3f82840}} buf = "Found mapped cache page 0xffffff003ef9c520", '\0' #11 0xffffffff804362ac in vm_page_select_cache (color=13) at /usr/src/sys/vm/vm_page.c:765 object = 0x0 m = 0xffffff003ef9c520 was_trylocked = 13 #12 0xffffffff804363c9 in vm_page_alloc (object=0xffffff0002e01578, pindex=8318, req=64) at /usr/src/sys/vm/vm_page.c:841 m = 0xffffff003c328700 color = 13 flags = 0 page_req = 0 #13 0xffffffff80428615 in vm_fault (map=0xffffff0009bbc760, vaddr=34403745792, fault_type=2 '\002', fault_flags=8) at /usr/src/sys/vm/vm_fault.c:453 retry_object = 0xffffffffa3f82c00 retry_pindex = 18446744072165534544 retry_prot = 0 '\0' prot = 3 '\003' is_first_object_locked = 163301216 result = 0 growstack = 1 wired = 0 map_generation = 723 next_object = 0x0 marray = {0xffffff00232cdac0, 0xffffff0009bbc760, 0xffffffffa3f82b50, 0xffffffff80431781, 0xffffffff00000000, 0x0, 0x0, 0xffffff0007442c00, 0xffffff00232cdac0, 0x0, 0x3, 0xffffff00284b0d20, 0xffffffffa3f82b50, 0x8029ed000, 0xffffff0006b91000, 0xffffff00232cdac0} hardfault = 0 fs = {m = 0x0, object = 0xffffff0002e01578, pindex = 8318, first_m = 0x0, first_object = 0xffffff0002e01578, first_pindex = 8318, map = 0xffffff0009bbc760, entry = 0xffffff001a2ee460, lookup_still_valid = 1, vp = 0x0} regards tilman