From owner-freebsd-arm@freebsd.org Tue Oct 13 11:49:24 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ABC7DA118EA for ; Tue, 13 Oct 2015 11:49:24 +0000 (UTC) (envelope-from onwahe@gmail.com) Received: from mail-ig0-x230.google.com (mail-ig0-x230.google.com [IPv6:2607:f8b0:4001:c05::230]) (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 77211D8D for ; Tue, 13 Oct 2015 11:49:24 +0000 (UTC) (envelope-from onwahe@gmail.com) Received: by ignr19 with SMTP id r19so33873611ign.1 for ; Tue, 13 Oct 2015 04:49:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=EZm83+Sq5Deg5Plxu0L1ffstLpyVhB9YV+OpsgCdBEU=; b=Cugea+zBq+cb4XYCYpk0qta6LjV4xlzU4bTaxnRFgKq4dJEkXFIqu9icRLq04qnKsm JDXA3v33+eUFVqkRjjuQ+0IUNBe+CBmqWxgq9epoqIcmzzixOYu5WwCE7qUXUvR64OK/ hEbFIe6ck9A3UIfuJTbCNxGLX2/oajkQ9995OgoOnSnJFTswQqSBlnF9mXZndioS63zH Gdd7+T+qPSqnps0W67IKDbWSnsvWAJ8ijI08R7hoqwj274con8xfggIN788Y8QhgYq5I CsJwwkiruGq/zjQHSsiSz8Qqnb/nCOnpZm8aUxrUpZTW8AE3exepol7gRaah/HSAUNHl X98A== MIME-Version: 1.0 X-Received: by 10.50.43.225 with SMTP id z1mr17454768igl.19.1444736963797; Tue, 13 Oct 2015 04:49:23 -0700 (PDT) Received: by 10.64.239.201 with HTTP; Tue, 13 Oct 2015 04:49:23 -0700 (PDT) In-Reply-To: <561CE841.9060203@gmail.com> References: <5614D7B8.3040604@gmail.com> <561784D9.90805@gmail.com> <20151012025044.GB97450@www.zefox.net> <561BEF4D.7050904@gmail.com> <561CE841.9060203@gmail.com> Date: Tue, 13 Oct 2015 13:49:23 +0200 Message-ID: Subject: Re: Panic running nsd-4.1.5 From: Svatopluk Kraus To: Mattia Rossi Cc: bob prohaska , freebsd-arm Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Oct 2015 11:49:24 -0000 On Tue, Oct 13, 2015 at 1:17 PM, Mattia Rossi wrote: > Hey Svata, > > I actually thought so... I was just surprised that it's trying to compile > the patched files anyway? > And the bad thing is, that it's failing to compile. You are right. I'm just testing a fix. > > Now on the other hand, I guess that compiling with TARGET=arm and > TARGET_ARCH=arm is not correct for the DREAMPLUG, and I should compile it > with TARGET=arm and TARGET_ARCH=armv5 or similar? > In which file are the TARGET architectures listed? Where can I pick them > from? IMO, TARGET=arm is for v4, v5, v6, v7 arms. TARGET_ARCH=arm is for v4 and v5 arms. TARGET_ARCH=armv6 is for v6 and v7 arms. For example, you can look at sys/conf/files.arm how files depends on "armv6". However, it's not so simple. There is, for example, TARGET_ARCH=armv6hf for v6 and v7 arm systems using hard float (which should become a standard). Maybe someone more in will answer your question. > > Cheers, > > Mat > > > Am 13.10.2015 um 12:35 schrieb Svatopluk Kraus: >> >> Hi, >> >> I'm sorry that I confused you. I'm so focused on __ARM_ARCH >= 6 that >> I did not notice that DREAMPLUG is not. And the patch is for armv6 and >> higher platforms only. It's even quoted in its name. >> >> So, I cannot help you with your problem as I do not know much about old >> ARMs. >> >> Svata >> >> >> >> On Mon, Oct 12, 2015 at 7:35 PM, Mattia Rossi >> wrote: >>> >>> On 12/10/15 04:50, bob prohaska wrote: >>>> >>>> On Fri, Oct 09, 2015 at 11:11:53AM +0200, Mattia Rossi wrote: >>>>>> >>>>>> Can you please try this: https://reviews.freebsd.org/D3617 >>>>>> Just download raw diff, apply, build new kernel, and run. >>>>>> >>>>>> >>>>> Just came around trying the patch, and it's not compiling. >>>>> I tried to find the issue here, as it doesn't make much sense, given >>>>> that cp15_ats1cpr_set has not been changed in the patch: >>>> >>>> The patch seems to apply without issue on RPI2 and appear to be helpful. >>>> Stress2 tests have been running about 2x longer with the patch, though >>>> crashes and silent hangs still occur. In some cases the debugger reports >>>> zero values, but on occasion they are not zero, for example, at >>>> www.zefox.net/~fbsd/rpi2/crashes/crash_10_11_15/console. >>>> >>>> Apart from crashes under stress2 testing (usually in the syscall tests) >>>> the Raspberry Pi seems vastly improved over a few months ago. >>>> >>> I don't know what's wrong. I've deleted all the files, updated my svn >>> copy, >>> downloaded the patch (using fetch) once more, applied it (successfully) >>> but >>> still get the error message when compiling. How do I fix that? >>> >>> Mat >>> >>> _______________________________________________ >>> freebsd-arm@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >>> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > >