From owner-freebsd-arm@FreeBSD.ORG Sat Apr 11 09:14:26 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 8BB0C69E; Sat, 11 Apr 2015 09:14:26 +0000 (UTC) Received: from mail-vn0-x231.google.com (mail-vn0-x231.google.com [IPv6:2607:f8b0:400c:c0f::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 39496832; Sat, 11 Apr 2015 09:14:26 +0000 (UTC) Received: by vnbf1 with SMTP id f1so10636891vnb.5; Sat, 11 Apr 2015 02:14:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=0tgh5m+Y5ayJDVTtHp2ORpmfKq7Duu67Bc1EmSGCRss=; b=a+qNB/zTvlXkj6jHne7QtPAGLxS3qwEfUNQ9dyoggcdJINCVsFEza8JGXeO8zVv2np XxqLoE2MzkyGtrxaUiwPifUhHSmaM+YyaZnygoMIXHxQ3Fd/6XIgoxdo2O6gWPxUxQ8c D9GorrZVdzMVhOYPSoofAASuGhq9iTwibB2t/Mj35gi8+XAPECnP2y0IyLxO3A2HLyhv 87Sw8BhwoZToczPOA+gGeguRFuIiNLp3K87iWlpqCNzJvkDr0BwbSO//3+njKQdJDOxz AmCemAOp6LN1RyZAC6O0uO2jxiEDWi6vIW1Ca7DE0OBm8Hj8BksRTa6qPmYF3h8Kudh6 XpHQ== X-Received: by 10.52.78.35 with SMTP id y3mr6060073vdw.5.1428743665277; Sat, 11 Apr 2015 02:14:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.61.100 with HTTP; Sat, 11 Apr 2015 02:14:05 -0700 (PDT) In-Reply-To: <20150411084630.e424b59c1c327add498721e2@ulrich-grey.de> References: <1428718809.1182.31.camel@freebsd.org> <20150411081427.2f4fc14feb08cee948734d66@ulrich-grey.de> <20150411084630.e424b59c1c327add498721e2@ulrich-grey.de> From: Pratik Singhal Date: Sat, 11 Apr 2015 14:44:05 +0530 Message-ID: Subject: Re: pmap_demote_section: No l2_bucket for wired mapping panic To: Ulrich Grey Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: freebsd-hackers , "freebsd-arm@freebsd.org" , Ian Lepore 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 09:14:26 -0000 It seems that the issue is resolved for now, as many people suspected I was using the wrong kernel. I was making the changes in the different config file than the one from which the kernel was being compiled. I again recompiled the kenrel, this time correctly and the issue is resolved now. Regards, Pratik Singhal On Sat, Apr 11, 2015 at 2:16 PM, Ulrich Grey wrote: > > sysctl vm.pmap.pte1.promotions > > It's the figure "1" not the letter "l"! > ------------------------------------------ > On Sat, 11 Apr 2015 08:14:27 +0000 > Ulrich Grey wrote: > > > 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" > > _______________________________________________ > > 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" > _______________________________________________ > 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" > -- Regards, Pratik Singhal