From owner-freebsd-arm@FreeBSD.ORG Sat Apr 11 02:36:02 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C0F123B5; Sat, 11 Apr 2015 02:36:02 +0000 (UTC) Received: from relay.mailchannels.net (si-002-i39.relay.mailchannels.net [184.154.112.204]) by mx1.freebsd.org (Postfix) with ESMTP id D401FADC; Sat, 11 Apr 2015 02:36:00 +0000 (UTC) X-Sender-Id: duocircle|x-authuser|hippie Received: from smtp6.ore.mailhop.org (ip-10-213-14-133.us-west-2.compute.internal [10.213.14.133]) by relay.mailchannels.net (Postfix) with ESMTPA id 05D5E1D0AA3; Sat, 11 Apr 2015 02:20:13 +0000 (UTC) X-Sender-Id: duocircle|x-authuser|hippie Received: from smtp6.ore.mailhop.org (smtp6.ore.mailhop.org [10.45.8.167]) (using TLSv1 with cipher DHE-RSA-AES256-SHA) by 0.0.0.0:2500 (trex/5.4.8); Sat, 11 Apr 2015 02:20:13 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: duocircle|x-authuser|hippie X-MailChannels-Auth-Id: duocircle X-MC-Loop-Signature: 1428718813428:1587006772 X-MC-Ingress-Time: 1428718813427 Received: from c-73-34-117-227.hsd1.co.comcast.net ([73.34.117.227] helo=ilsoft.org) by smtp6.ore.mailhop.org with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.82) (envelope-from ) id 1Ygl1n-0007jV-Tb; Sat, 11 Apr 2015 02:20:12 +0000 Received: from revolution.hippie.lan (revolution.hippie.lan [172.22.42.240]) by ilsoft.org (8.14.9/8.14.9) with ESMTP id t3B2K9Hp009055; Fri, 10 Apr 2015 20:20:09 -0600 (MDT) (envelope-from ian@freebsd.org) X-Mail-Handler: DuoCircle Outbound SMTP X-Originating-IP: 73.34.117.227 X-Report-Abuse-To: abuse@duocircle.com (see https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information for abuse reporting information) X-MHO-User: U2FsdGVkX1/Z7zGJvfgk12j4JfBDyl1g Message-ID: <1428718809.1182.31.camel@freebsd.org> Subject: Re: pmap_demote_section: No l2_bucket for wired mapping panic From: Ian Lepore To: Pratik Singhal Date: Fri, 10 Apr 2015 20:20:09 -0600 In-Reply-To: References: Content-Type: text/plain; charset="us-ascii" X-Mailer: Evolution 3.12.10 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-AuthUser: hippie 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 02:36:02 -0000 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