From owner-freebsd-arm@FreeBSD.ORG Sun Dec 22 10:53:54 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7DDAC27C for ; Sun, 22 Dec 2013 10:53:54 +0000 (UTC) Received: from mail-oa0-f53.google.com (mail-oa0-f53.google.com [209.85.219.53]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 42CDC138D for ; Sun, 22 Dec 2013 10:53:53 +0000 (UTC) Received: by mail-oa0-f53.google.com with SMTP id m1so4667448oag.40 for ; Sun, 22 Dec 2013 02:53:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=Totb9wj01GCYf+y+i06E5vMv62o4jP5vYAPX9gY9wXQ=; b=PalNGVNQxkH6P+0caT2t+1RV+XjXOFH0YHk/yP3jtVbHW+ktMleAHsKvJPN/i1R5n7 iCfjSLiLBLj7BCYG94hCMpnUkmYUINwFWtBRsrZQPQTjzqDbteDP4f33J7yVi1Gsl6NK ppaSWPc6VrCwjRowAMre2T7dzuw0aLR35pSXi65i6HLHJCM42uUW8yyZHHdzwKVl9iZx rdfkudkEQU6fmYID7jUFlmcCzkUk48PJVqf7cZTydym8zJdctGt+N+Uesx5mpVNXyFX6 iS3sowFWg2RtRiV9gCL863DpkG2xo5lSU0lLDabMuxkeF2zW6pmN5+ErQQy5f15JA4q7 grbw== X-Gm-Message-State: ALoCoQkGJUjEZSy+JzSpC0o0janJtXHpMiMPROHGgLfmuKUyQRQD9APh19Ffb4cI34PijqOfE1YB MIME-Version: 1.0 X-Received: by 10.182.230.135 with SMTP id sy7mr13689383obc.24.1387709627113; Sun, 22 Dec 2013 02:53:47 -0800 (PST) Received: by 10.182.103.231 with HTTP; Sun, 22 Dec 2013 02:53:47 -0800 (PST) In-Reply-To: <20131222092913.GA89153@mail.bsdpad.com> References: <20131220125638.GA5132@mail.bsdpad.com> <20131222092913.GA89153@mail.bsdpad.com> Date: Sun, 22 Dec 2013 11:53:47 +0100 Message-ID: Subject: Re: arm SMP on Cortex-A15 From: Wojciech Macek To: Ruslan Bukin Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Dec 2013 10:53:54 -0000 Thanks, so it seems that there is still something wrong... >From what I observed, the place where you got the panic was the most likely to fail if there are issues with TLB cache. I guess your case can also have the same root case. Nevertheless, I'll try to reproduce your setup and debug it futher. Regards, Wojtek 2013/12/22 Ruslan Bukin > On Fri, Dec 20, 2013 at 04:56:39PM +0400, Ruslan Bukin wrote: > > On Thu, Dec 19, 2013 at 12:41:59PM +0100, Wojciech Macek wrote: > > > Hi, > > > > > > Finally, I'm able to run FreeBSD stable on Cortex-A15. The TLB issue > which > > > was observed, was caused by an aggressive A15 feature called "L2 TLB > > > prefetch". > > > > > > > Great!? I successfully run buildworld with these patches on SMP-enabled > > dual-core Cortex-A15 machine (Exynos5250) with no problems at all. > > > > My timings: > > kernel-toolchain - ~3h > > buildkernel - ~1h > > buildworld - ~16h > > > > Note I used NFS for mount source and obj using USB-based ethernet. > > The next test I will try to produce is to adding -j2 option. > > > > With -j2 it always goes panic, not immediately, > but after a few minutes of compilation, like this. > > -Ruslan >