Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Apr 2015 08:14:27 +0000
From:      Ulrich Grey <usenet@ulrich-grey.de>
To:        Ian Lepore <ian@freebsd.org>
Cc:        freebsd-hackers <freebsd-hackers@freebsd.org>, "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>, Pratik Singhal <ps06756@gmail.com>
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:  <CAGf2gkObDLv1-hWV=TmDOYuDr4FZTnpkZaKXxvBZxiqix4kHvg@mail.gmail.com> <CAFHCsPUrzm=UkGe_0gvzOmVTTxLPT=as5N-=zWJxKeJKfaUVvg@mail.gmail.com> <CAGf2gkOG_xGCXY5VyEWLq-rMM6iN_A2=6%2BDftAMa63MLcTX00Q@mail.gmail.com> <1428718809.1182.31.camel@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <ian@freebsd.org> 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 <onwahe@gmail.com> 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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150411081427.2f4fc14feb08cee948734d66>