From owner-freebsd-arm@FreeBSD.ORG Sat Apr 11 08:15:13 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 014E198E; Sat, 11 Apr 2015 08:15:12 +0000 (UTC) Received: from mo6-p00-ob.smtp.rzone.de (mo6-p00-ob.smtp.rzone.de [IPv6:2a01:238:20a:202:5300::4]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.smtp.rzone.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 38301FFA; Sat, 11 Apr 2015 08:15:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1428740082; l=2306; s=domk; d=ulrich-grey.de; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References: In-Reply-To:Subject:Cc:To:From:Date; bh=bV9NmMBMEQC18pJp5DEZGmFDQuSpd6Y8YNX1v4ctknw=; b=RI9A1E3nwoKhoI6JxSRlwKfJ/XPJYmRb141dwVpZgRVjgDn/sVibcXdY3Yp9Q7VJUBP F6LpBQk0C44ScYHS+MWjZLwpmFSfKzQ7h5FSrnNkNrSdsxhFB3jSvlqQvkBmZ+AcXXCGU HhWQDrXcXbX7HP2KaUnPTbpq8cq7LvbgSlo= X-RZG-AUTH: :OX8Be0W8W+pMC3rDLL/lo2xV/LZTbZkYhOcjg8suic3iYr/B8J9Lzp3TJg46scv/pkmS X-RZG-CLASS-ID: mo00 Received: from quad (p5486816B.dip0.t-ipconnect.de [84.134.129.107]) by smtp.strato.de (RZmta 37.5 DYNA|AUTH) with ESMTPSA id I010cfr3B8ESBEw (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve sect571r1 with 571 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Sat, 11 Apr 2015 10:14:28 +0200 (CEST) Date: Sat, 11 Apr 2015 08:14:27 +0000 From: Ulrich Grey To: Ian Lepore Subject: Re: pmap_demote_section: No l2_bucket for wired mapping panic Message-Id: <20150411081427.2f4fc14feb08cee948734d66@ulrich-grey.de> In-Reply-To: <1428718809.1182.31.camel@freebsd.org> References: <1428718809.1182.31.camel@freebsd.org> Organization: - X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.25; armv6-portbld-freebsd11.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-hackers , "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Apr 2015 08:15:13 -0000 This kernel is running ARM_NEW_PMAP: root@wqtest:/usr/home/gwgpi # sysctl vm.pmap. vm.pmap.pv_entry_spare: 10379 vm.pmap.pv_entry_allocs: 1486593921 vm.pmap.pv_entry_frees: 1486577084 vm.pmap.pc_chunk_tryfail: 0 vm.pmap.pc_chunk_frees: 5598313 vm.pmap.pc_chunk_allocs: 5598394 vm.pmap.pc_chunk_count: 81 vm.pmap.pv_entry_count: 16837 vm.pmap.pte1.promotions: 3530 vm.pmap.pte1.p_failures: 20352 vm.pmap.pte1.mappings: 721715 vm.pmap.pte1.demotions: 508 vm.pmap.sp_enabled: 1 vm.pmap.nkpt2pg: 32 vm.pmap.shpgperproc: 200 vm.pmap.pv_entry_max: 1745184 root@wqtest:/usr/home/gwgpi # ---------------------------------- On Fri, 10 Apr 2015 20:20:09 -0600 Ian Lepore wrote: > Reply at the bottom, where it belongs. > > On Sat, 2015-04-11 at 06:58 +0530, Pratik Singhal wrote: > > I have double checked everything, recompiled kernel from scratch imade sure > > that I ncluded the line "options ARM_NEW_PMAP" in the kernel configuration > > file and I am still getting the same panic. > > > > Is there something at runtime that I can do to make sure that the kernel I > > am running is compiled with ARM_NEW_PMAP ? > > > > > > > > On Sat, Apr 11, 2015 at 4:31 AM, Svatopluk Kraus wrote: > > > > > The point of ARM_NEW_PMAP option is that there are no l2_buckets in > > > new armv6 pmap. So, as long as you get same panic, you are not running > > > kernel compiled with ARM_NEW_PMAP option. > > > > > > Svatopluk Kraus > > > > > > > [...] > > > > > > From the announcement of the ARM_NEW_PMAP option... > > If you need to check whether the new or old code is running on a > system, use "sysctl vm.pmap.pte1.promotions", if that gives an > "unknown oid" error you're running the old code. > > Other evidence: > > revolution > grep l2_bucket pmap-v6-new.c > revolution > > > You can't be getting a panic about l2_bucket stuff from code that > doesn't have anything in it about l2 buckets. Something must have gone > wrong with the way you built and installed the new kernel. > > -- Ian > > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"