From owner-freebsd-arm@FreeBSD.ORG Fri Apr 10 09:09:26 2015 Return-Path: Delivered-To: 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 B74C5728; Fri, 10 Apr 2015 09:09:26 +0000 (UTC) Received: from mail-vn0-x236.google.com (mail-vn0-x236.google.com [IPv6:2607:f8b0:400c:c0f::236]) (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 68B0E2BA; Fri, 10 Apr 2015 09:09:26 +0000 (UTC) Received: by vnbg190 with SMTP id g190so4038157vnb.8; Fri, 10 Apr 2015 02:09: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=dbNIlBOr6rjtIflUZAW/zX2R0h3N7+Iq6nlFpl5IM4A=; b=RacRm4oGyqYZ4spMh+xJWZ7qcrLW+JX9+h9l/pNKLiHDwV5TwhBZi56+qXN0IF4+VH jujQmWkj9LRJ8E6Csyk9L+Ch/uPKBNJJdhmRnnVvU5KorMandW1iiAxBFxMaEPo178x6 OZqF601vYo+mCuMjJKyjgogF1hxDfCb/+ORfMrEFWjLP2HXZ9SBUY0meI/K9q2KCuFZ3 5eHEwcq8oxDO2lB5Y2Lvvcigyw3Xva7HPAo4R1kdMOKvsoCQMhE6WneDKxPvv8LrJ30f rF1YTqqPXnHHhLUqTFzhGokO0XHdCvqOv/mWqVFzQJhcJeEeYaKxUQ/97RwZvSLQKJ8c 9+hw== X-Received: by 10.52.170.52 with SMTP id aj20mr486971vdc.94.1428656965513; Fri, 10 Apr 2015 02:09:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.61.100 with HTTP; Fri, 10 Apr 2015 02:09:05 -0700 (PDT) In-Reply-To: References: <1EFF2C41-456C-476E-9BA8-712E62DF0D4E@gromit.dlib.vt.edu> From: Pratik Singhal Date: Fri, 10 Apr 2015 14:39:05 +0530 Message-ID: Subject: Re: panic: pmap_demote_section: No l2_bucket for wired mapping To: Zbigniew Bodek Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "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: Fri, 10 Apr 2015 09:09:26 -0000 I am also able to reproduce the same bug on my Cubieboard 1 with freeBSD 11-current :- I am pasting the stack trace and the boot log. boot log :- http://pastie.org/10084212 stack trace :- http://pastie.org/10084214 On Mon, Mar 23, 2015 at 6:11 AM, Zbigniew Bodek wrote: > 2015-03-22 20:45 GMT+01:00 Paul Mather : > > On Mar 22, 2015, at 7:54 AM, Michael Tuexen wrote: > > > >> Dear all, > >> > >> running head on a Raspberry Pi became unstable. When running > >> r280329 for a while (the machine is exposed to the Internet, so > >> ssh logins are continuously tried), the machine panics: > >> > >> panic: pmap_demote_section: No l2_bucket for wired mapping > >> KDB: enter: panic > > > > > > I get this panic when booting to multi-user on my newly-updated BBB > (FreeBSD 11.0-CURRENT #0 r280350). As pointed out later in this thread, > setting vm.pmap.sp_enabled=0 prevents the panic (so far) and allows booting. > > > > Cheers, > > > > Paul. > > > > I was able to reproduce this on my R-Pi too. > The bug may be related to shared libraries mapping since excluding > pmap_enter_section() (the one in the pmap_enter_object() that is > responsible for doing the work for shared libraries mappings) results > in normal operation even with page promotion/demotion enabled. > I will try to find some time to look into that to ensure that this is > not just covering the problem. If it doesn't then we may consider > disabling pmap_enter_section() (by adding "return FALSE;") to have WA > (without disabling superpages) until we find the real solution. > pmap_enter_section() was being used very rarely before shared > libraries superpage mappings were enabled so it is reasonable to think > that the bug is somewhere around. Please let me know in case you find > something. > > Best regards > zbb > _______________________________________________ > 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