From owner-freebsd-arm@FreeBSD.ORG Sat Aug 10 11:53:49 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 5896CBEA for ; Sat, 10 Aug 2013 11:53:49 +0000 (UTC) (envelope-from zbb@semihalf.com) Received: from mail-qe0-f49.google.com (mail-qe0-f49.google.com [209.85.128.49]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 143DB27E8 for ; Sat, 10 Aug 2013 11:53:48 +0000 (UTC) Received: by mail-qe0-f49.google.com with SMTP id 1so2779025qec.8 for ; Sat, 10 Aug 2013 04:53:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=gvWybtL1vFNIUJXJspw/IBwO5XNhv9y1gHHYOxVsRsg=; b=Fgbe4Ed16lf30OW0Tn/Em3E774rnhsBV3N4wRk8JK0021X5v580Z4ongs4uryuOY2G t/sq/y9EW4auiiyVBIYw0OnNBaK9mojpe+ZMGHfII3DgryxaY2KnRf5hGO+N6heGWzJR 8dbdR0pMI0xBJ3t6/J3INEN3nRF/bA1ewLG+P02G4vqXkTzcQRNqzy9rd0bIg3nC0XGp SitkMMKO31h5DXY1Eu6hDBhqmvZO97PI4Is1auZtZUfLiVCoIa2SUVdYCJLActLNn+Ml lyycVbd4JL4HvKeTvemrYsA7RK3s+6Yiy73WD0P0er4Fe/u7FqEAm2gC5SivF7yN8Kj5 c8oQ== X-Gm-Message-State: ALoCoQkqLRaJWFMBF65Cyl1ql3Rm1TUWb3wuhc+oOwHSR5O9VpTiwGZIyljw/i2F+8gtFIsnC6cM MIME-Version: 1.0 X-Received: by 10.49.3.131 with SMTP id c3mr15281351qec.33.1376135175641; Sat, 10 Aug 2013 04:46:15 -0700 (PDT) Received: by 10.49.82.34 with HTTP; Sat, 10 Aug 2013 04:46:15 -0700 (PDT) In-Reply-To: <20130809232042.GA89476@freebsd.org> References: <201308070621.r776LLOs055455@svn.freebsd.org> <52022950.9060200@semihalf.com> <52036EE6.5090505@semihalf.com> <20130809232042.GA89476@freebsd.org> Date: Sat, 10 Aug 2013 13:46:15 +0200 Message-ID: Subject: Re: svn commit: r254025 - in head/sys: amd64/amd64 arm/arm arm/at91 arm/mv/armadaxp arm/s3c2xx0 arm/xscale/i80321 arm/xscale/i8134x arm/xscale/ixp425 cddl/compat/opensolaris/kern cddl/compat/opensolari... From: Zbigniew Bodek To: Olivier Houchard Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, Jeff Roberson , "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Aug 2013 11:53:49 -0000 2013/8/10 Olivier Houchard > On Fri, Aug 09, 2013 at 10:27:48AM +0200, Zbigniew Bodek wrote: > > 2013/8/8 Zbyszek Bodek > > > > > On 07.08.2013 20:55, Jeff Roberson wrote: > > > > On Wed, 7 Aug 2013, Zbyszek Bodek wrote: > > > > > > > >> On 07.08.2013 08:21, Jeff Roberson wrote: > > > >>> Author: jeff > > > >>> Date: Wed Aug 7 06:21:20 2013 > > > >>> New Revision: 254025 > > > >>> URL: http://svnweb.freebsd.org/changeset/base/254025 > > > >>> > > > >>> Log: > > > >>> Replace kernel virtual address space allocation with vmem. This > > > >>> provides > > > >>> transparent layering and better fragmentation. > > > >>> > > > >>> - Normalize functions that allocate memory to use kmem_* > > > >>> - Those that allocate address space are named kva_* > > > >>> - Those that operate on maps are named kmap_* > > > >>> - Implement recursive allocation handling for kmem_arena in > vmem. > > > >>> > > > >>> Reviewed by: alc > > > >>> Tested by: pho > > > >>> Sponsored by: EMC / Isilon Storage Division > > > >>> > > > >> > > > >> Hello Jeff, > > > >> > > > >> I'm having some trouble on my ARM platform staring from this commit. > > > >> Kernel panics on assertion very early. Please check out log below > (as > > > >> you can see bt doesn't look helpful but assertion message is > visible. I > > > >> can send you which functions are in bt if it is necessary). > > > > > > > > It would be very helpful to know which function is passing the > unaligned > > > > value. I will resolve this later today if you can get me that > > > information. > > > > > > > > Thanks, > > > > Jeff > > > > > > Hi, > > I think I fixed all the issues with vmem on arm, at least I can now boot my > board. Zbyszek, can you confirm it works for you too ? > > Thanks ! > > Olivier > Hello, Thanks a lot. Now everything works fine for me. Best regards Zbyszek Bodek