pmap_demote_section: No l2_bucket for wired mapping panic

Ian Lepore ian at freebsd.org
Sat Apr 11 02:36:02 UTC 2015


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 at 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




More information about the freebsd-hackers mailing list