From owner-freebsd-arm@FreeBSD.ORG Tue Nov 18 18:53:17 2014 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 AA978796 for ; Tue, 18 Nov 2014 18:53:17 +0000 (UTC) Received: from mo6-p00-ob.smtp.rzone.de (mo6-p00-ob.smtp.rzone.de [IPv6:2a01:238:20a:202:5300::6]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.smtp.rzone.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3DD6A2B1 for ; Tue, 18 Nov 2014 18:53:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1416336769; l=1640; s=domk; d=ulrich-grey.de; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References: In-Reply-To:Subject:Cc:To:From:Date; bh=0NNhn61bIIfhlzCTBgfKFmDZsoE=; b=UQq2JS18QS373ovC7zBzfnfLYdeHV62yRBtJKPqjqeAnDxz++EBdT8I5rlHsf0YF9aK Gfv5eKGCd2ITDru+lULn6Sk+3Po6uuRzueWCt1OST7jVG7/L2YOgGGphIHfUjzNSXs1hl WM9SXqv3cSVbSlp1xzTx1ZF53cMyQOPQkL4= X-RZG-AUTH: :OX8Be0W8W+pMC3rDLL/lo2xV/LZTbZkYhOcjg8suic3iYr/B8J9Lzp3TJg48v8v5Nss= X-RZG-CLASS-ID: mo00 Received: from bbu (p54869347.dip0.t-ipconnect.de [84.134.147.71]) by smtp.strato.de (RZmta 35.12 DYNA|AUTH) with ESMTPSA id m02c17qAIIqcJBu (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate); Tue, 18 Nov 2014 19:52:38 +0100 (CET) Date: Tue, 18 Nov 2014 19:52:36 +0100 From: Ulrich Grey To: Ian Lepore Subject: Re: Compilation x11/libX11 fails with panic Message-Id: <20141118195236.418c332234f1ab951fc3d538@ulrich-grey.de> In-Reply-To: <1416335248.1147.57.camel@revolution.hippie.lan> References: <20141118191625.ec7749080739e8472405a645@ulrich-grey.de> <1416335248.1147.57.camel@revolution.hippie.lan> Organization: - X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.22; armv6-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: Tue, 18 Nov 2014 18:53:17 -0000 I had read the posting from J=FCrgen Weiss. Hence I had disabled superpages. Here are the settings during the crash: root@quad:~ # uname -a FreeBSD quad 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r274634M: Tue Nov 18 00:44:36 UTC 2014 gwgpi@quad:/usr/local/DEVEL/obj/usr/local/DEVEL/SRC/head/sys/WANDBOARD-QUAD arm=20 root@quad:~ # sysctl vm.pmap.sp_enabled vm.pmap.sp_enabled: 0 ---------------------------------- On Tue, 18 Nov 2014 11:27:28 -0700 Ian Lepore wrote: > On Tue, 2014-11-18 at 19:16 +0100, Ulrich Grey wrote: > > I am trying to compile x11/libX11 with a Wandboard-Quad: > >=20 > > FreeBSD 11.0-CURRENT #0 r274634M: Tue Nov 18 00:44:36 UTC 2014 > > gwgpi@quad:/usr/local/DEVEL/obj/usr/local/DEVEL/SRC/head/sys/WANDBO= ARD-QUAD > > arm > > FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) > > 20140512 CPU: Cortex A9-r2 rev 10 (Cortex-A core) > > Supported features: ARM_ISA THUMB2 JAZELLE THUMBEE ARMv4 > > Security_Ext > >=20 > > The compilation fails with this message: > >=20 > > --- XKBGeom.lo > > --- CC > > XKBGeom.lo > > --- XKBSetGeom.lo > > --- CC > > XKBSetGeom.lo : jemalloc_arena.c:600: Failed assertion: > > "arena_mapbits_unzeroed_get(chunk, i) =3D=3D unzeroed" =20 > [...] >=20 > I'm curious whether the workaround mentioned recently by Jurgen Weiss > also works for you, that is, setting: >=20 > vm.pmap.sp_enabled=3D0 >=20 > in loader.conf or using sysctl. It's not a fix of course, but it > might help you make progress, and it would be a clue where we should > start looking for trouble. >=20 > -- Ian >=20 >=20