From owner-freebsd-arm@freebsd.org Sun Jun 3 06:30:53 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BDC2DEFD228 for ; Sun, 3 Jun 2018 06:30:53 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5D23372994 for ; Sun, 3 Jun 2018 06:30:53 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smtp.greenhost.nl ([213.108.110.112]) by smarthost1.greenhost.nl with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1fPMXS-0005vk-6G; Sun, 03 Jun 2018 08:30:50 +0200 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: "Warner Losh" , "Konstantin Belousov" Cc: freebsd-arm@freebsd.org Subject: Re: panic: Assertion td->td_lock == TDQ_LOCKPTR(tdq) failed at /usr/src/sys/kern/sched_ule.c:2137 References: <20180601154153.GA62632@www.zefox.net> <20180602091606.63a1ab37.freebsd.ed.lists@sumeritec.com> <20180602150549.GA68197@www.zefox.net> <20180602193255.GA68908@www.zefox.net> <20180602210450.GK3789@kib.kiev.ua> Date: Sun, 03 Jun 2018 08:30:51 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Ronald Klop" Message-ID: In-Reply-To: <20180602210450.GK3789@kib.kiev.ua> User-Agent: Opera Mail/12.16 (FreeBSD) X-Authenticated-As-Hash: 398f5522cb258ce43cb679602f8cfe8b62a256d1 X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: / X-Spam-Score: -0.2 X-Spam-Status: No, score=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 autolearn=disabled version=3.4.0 X-Scan-Signature: 4b95630a2805109a2fafe329e7ec4fd6 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jun 2018 06:30:53 -0000 On Sat, 02 Jun 2018 23:04:50 +0200, Konstantin Belousov wrote: > On Sat, Jun 02, 2018 at 02:39:00PM -0600, Warner Losh wrote: >> On Sat, Jun 2, 2018, 1:32 PM bob prohaska wrote: >> >> > On Sat, Jun 02, 2018 at 09:14:18AM -0600, Warner Losh wrote: >> > > >> > > Do you have r334508? It fixes the OOM falsely triggering. >> > > >> > At the moment sources are at 334456, world and kernel are at >> > 334276. >> > >> > Might it be feasible to stop the present buildworld, update >> > sources and then try to build a new kernel before building >> > world? >> > >> >> That's recent enough that you should be fine. There might be an lld vs >> binutils ld issue. There was on i386 recently, but I think it was i386 >> specific. It's a good risk. > > This happens on arm64 ? In fact, try this. > I did not even compiled the change. > > diff --git a/sys/arm64/arm64/swtch.S b/sys/arm64/arm64/swtch.S > index c9843303b1d..4c2c3aca583 100644 > --- a/sys/arm64/arm64/swtch.S > +++ b/sys/arm64/arm64/swtch.S > @@ -165,10 +165,9 @@ ENTRY(cpu_switch) > mov x0, x19 > /* > - * Release the old thread. This doesn't need to be a store-release > - * as the above dsb instruction will provide release semantics. > + * Release the old thread. > */ > - str x2, [x0, #TD_LOCK] > + stlr x2, [x0, #TD_LOCK] > #if defined(SCHED_ULE) && defined(SMP) > /* Spin if TD_LOCK points to a blocked_lock */ > ldr x2, =_C_LABEL(blocked_lock) Thanks, I will try. Is this patch for the TDQ_LOCKPTR assert in the subject? Or for the OOM message which hijacked this thread a little bit? As a data point: my RPI3 paniced again on the TDQ_LOCKPTR this night. Regards, Ronald. From owner-freebsd-arm@freebsd.org Sun Jun 3 06:40:36 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AC1DAEFE3F1; Sun, 3 Jun 2018 06:40:36 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49C087312F; Sun, 3 Jun 2018 06:40:36 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smtp.greenhost.nl ([213.108.110.112]) by smarthost1.greenhost.nl with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1fPMgt-0000Jz-3Q; Sun, 03 Jun 2018 08:40:35 +0200 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: freebsd-arm@freebsd.org Date: Sun, 03 Jun 2018 08:40:36 +0200 Cc: "FreeBSD Current" Subject: cpu_reset failed (RPI-3B+) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Ronald Klop" Message-ID: User-Agent: Opera Mail/12.16 (FreeBSD) X-Authenticated-As-Hash: 398f5522cb258ce43cb679602f8cfe8b62a256d1 X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: / X-Spam-Score: -0.2 X-Spam-Status: No, score=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 autolearn=disabled version=3.4.0 X-Scan-Signature: a07cf4f22b7e0347d98fbeb4081a69be X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jun 2018 06:40:36 -0000 Hello, Under normal conditions my RPI3 reboots normally, but from the panic command in the debugger after a crash I get: "cpu_reset failed". See screenshot: https://imagebin.ca/v/43zEQRdQYLMZ I installed the snapshot image from FreeBSD.org from last Tuesday: FreeBSD rpi3 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r334337: Tue May 29 18:14:46 UTC 2018 root@releng3.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64 Any thoughts? Can I try a patch? Regards, Ronald. From owner-freebsd-arm@freebsd.org Sun Jun 3 12:17:26 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 16152F73789 for ; Sun, 3 Jun 2018 12:17:26 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 83E0B81FAE for ; Sun, 3 Jun 2018 12:17:25 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTP id w53CHD2v035737; Sun, 3 Jun 2018 15:17:16 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua w53CHD2v035737 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id w53CHCZZ035731; Sun, 3 Jun 2018 15:17:12 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Sun, 3 Jun 2018 15:17:12 +0300 From: Konstantin Belousov To: Ronald Klop Cc: Warner Losh , freebsd-arm@freebsd.org Subject: Re: panic: Assertion td->td_lock == TDQ_LOCKPTR(tdq) failed at /usr/src/sys/kern/sched_ule.c:2137 Message-ID: <20180603121712.GL3789@kib.kiev.ua> References: <20180601154153.GA62632@www.zefox.net> <20180602091606.63a1ab37.freebsd.ed.lists@sumeritec.com> <20180602150549.GA68197@www.zefox.net> <20180602193255.GA68908@www.zefox.net> <20180602210450.GK3789@kib.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.0 (2018-05-17) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on tom.home X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jun 2018 12:17:26 -0000 On Sun, Jun 03, 2018 at 08:30:51AM +0200, Ronald Klop wrote: > On Sat, 02 Jun 2018 23:04:50 +0200, Konstantin Belousov > wrote: > > > On Sat, Jun 02, 2018 at 02:39:00PM -0600, Warner Losh wrote: > >> On Sat, Jun 2, 2018, 1:32 PM bob prohaska wrote: > >> > >> > On Sat, Jun 02, 2018 at 09:14:18AM -0600, Warner Losh wrote: > >> > > > >> > > Do you have r334508? It fixes the OOM falsely triggering. > >> > > > >> > At the moment sources are at 334456, world and kernel are at > >> > 334276. > >> > > >> > Might it be feasible to stop the present buildworld, update > >> > sources and then try to build a new kernel before building > >> > world? > >> > > >> > >> That's recent enough that you should be fine. There might be an lld vs > >> binutils ld issue. There was on i386 recently, but I think it was i386 > >> specific. It's a good risk. > > > > This happens on arm64 ? In fact, try this. > > I did not even compiled the change. > > > > diff --git a/sys/arm64/arm64/swtch.S b/sys/arm64/arm64/swtch.S > > index c9843303b1d..4c2c3aca583 100644 > > --- a/sys/arm64/arm64/swtch.S > > +++ b/sys/arm64/arm64/swtch.S > > @@ -165,10 +165,9 @@ ENTRY(cpu_switch) > > mov x0, x19 > > /* > > - * Release the old thread. This doesn't need to be a store-release > > - * as the above dsb instruction will provide release semantics. > > + * Release the old thread. > > */ > > - str x2, [x0, #TD_LOCK] > > + stlr x2, [x0, #TD_LOCK] > > #if defined(SCHED_ULE) && defined(SMP) > > /* Spin if TD_LOCK points to a blocked_lock */ > > ldr x2, =_C_LABEL(blocked_lock) > > > > Thanks, I will try. Is this patch for the TDQ_LOCKPTR assert in the > subject? Or for the OOM message which hijacked this thread a little bit? > As a data point: my RPI3 paniced again on the TDQ_LOCKPTR this night. For TDQ_LOCKPTR issue. From owner-freebsd-arm@freebsd.org Sun Jun 3 21:00:49 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1AB3CFD534C for ; Sun, 3 Jun 2018 21:00:49 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 968347C4A0 for ; Sun, 3 Jun 2018 21:00:48 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id C98262CCA1 for ; Sun, 3 Jun 2018 21:00:47 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w53L0lVG079856 for ; Sun, 3 Jun 2018 21:00:47 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w53L0lAI079845 for freebsd-arm@FreeBSD.org; Sun, 3 Jun 2018 21:00:47 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201806032100.w53L0lAI079845@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: freebsd-arm@FreeBSD.org Subject: Problem reports for freebsd-arm@FreeBSD.org that need special attention Date: Sun, 3 Jun 2018 21:00:47 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jun 2018 21:00:49 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- New | 220297 | arch(7) rename arm64 to aarch64 respecting `uname 1 problems total for which you should take action. From owner-freebsd-arm@freebsd.org Mon Jun 4 07:54:06 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5A772FE19E3 for ; Mon, 4 Jun 2018 07:54:06 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id CB49978B63 for ; Mon, 4 Jun 2018 07:54:05 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id w547sAtN077072 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 4 Jun 2018 00:54:11 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id w547s9ZH077071; Mon, 4 Jun 2018 00:54:09 -0700 (PDT) (envelope-from fbsd) Date: Mon, 4 Jun 2018 00:54:09 -0700 From: bob prohaska To: Warner Losh Cc: Erich Dollansky , freebsd-arm@freebsd.org, bob prohaska Subject: OOM errors, was Re: panic: Assertion td->td_lock == TDQ_LOCKPTR(tdq) failed at /usr/src/sys/kern/sched_ule.c:2137 Message-ID: <20180604075409.GA76017@www.zefox.net> References: <20180601154153.GA62632@www.zefox.net> <20180602091606.63a1ab37.freebsd.ed.lists@sumeritec.com> <20180602150549.GA68197@www.zefox.net> <20180602193255.GA68908@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2018 07:54:06 -0000 > > > On Sat, Jun 02, 2018 at 09:14:18AM -0600, Warner Losh wrote: > > > > > > Do you have r334508? It fixes the OOM falsely triggering. > > > > The kernel is now up to 334538, but I'm still seeing OOM kills, like this: Jun 4 00:01:57 www kernel: pid 27824 (llvm-tblgen), uid 0, was killed: out of swap space Jun 4 00:01:57 www kernel: pid 27828 (llvm-tblgen), uid 0, was killed: out of swap space Jun 4 00:01:57 www kernel: pid 27832 (llvm-tblgen), uid 0, was killed: out of swap space Jun 4 00:01:57 www kernel: pid 27830 (llvm-tblgen), uid 0, was killed: out of swap space Jun 4 00:01:57 www kernel: pid 27610 (make), uid 0, was killed: out of swap space After restarting the -j4 buildworld with -DNO_CLEAN it appeared that swap use peaked around 129 MB. Four instances of llvm-tblgen entered state pfault at roughly the same time swap use peaked and then two were killed. Apparently the remaining pair died in sympathy. Have you any idea what I might be doing wrong? Thanks for reading, bob prohaska ` From owner-freebsd-arm@freebsd.org Mon Jun 4 12:38:06 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 730F3FDC9A9 for ; Mon, 4 Jun 2018 12:38:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0DC1684D53 for ; Mon, 4 Jun 2018 12:38:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 50C2CD110 for ; Mon, 4 Jun 2018 12:38:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w54Cc5pw010829 for ; Mon, 4 Jun 2018 12:38:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w54Cc54P010822 for freebsd-arm@FreeBSD.org; Mon, 4 Jun 2018 12:38:05 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 228740] Device driver for the micro uart in RPi3 Date: Mon, 04 Jun 2018 12:38:05 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: db@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2018 12:38:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228740 Bug ID: 228740 Summary: Device driver for the micro uart in RPi3 Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: db@FreeBSD.org Created attachment 193990 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D193990&action= =3Dedit diff to add mu driver Add support for the bcm2835-aux-uart. BUGS baud rate locked to 115000 CPU clock assumed to be locked to 250 Mhz --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-arm@freebsd.org Tue Jun 5 06:13:33 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D2073FDF34F for ; Tue, 5 Jun 2018 06:13:32 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic309-15.consmr.mail.bf2.yahoo.com (sonic309-15.consmr.mail.bf2.yahoo.com [74.6.129.125]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 726B782D30 for ; Tue, 5 Jun 2018 06:13:32 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: P4DuEqoVM1lvLrc00rcZ3Uji9BYFnQXRlDbhkM6tXZ7vlm3kgSY.6Avm_ngAWes BWozmLSico0v4tkW.ai6bIzS2R6Le0wH9AW1ZbD0rb5xySRol5WNPskXvLiFjxCX2yKX5gqJnBxn _AK5mYmj2UXsvfNAgmQMPM1bOuPQUmOhFxZNvcnp1wNRgo18vUGPPi5cHkmhXDciKhSADUGHH_dU jQvRoYaOGi5tJYQ2sMr3JWjy7qM_k_c7eg8Xz1MIU0YN_wJphz0koNMp9WNZ7kZF9hOfPEhNjMmw Dw7fGNJ1scwwfrYWG.x9_enm7HZssI3Dzn0zFojkcjJnTZce34RLT8lLMsw2IUiHeeys8Qrfs0iM HviT8dfht8Du1UorPuIe.ZHWQ_.9UQXEkT5hTQyIMPebwfPexWiVq3OCE4sZkJL.8mfG3Iria00S VA3uWU1IsKyzdHbgcpKS8xcEEI0ktXczJ.qU59YcF_IyIBTJGIoD8dZ7l9O6PKS88QBfc0_rEu77 sczzsNvXG0fZn6Q0TIN0LqSBE2d2RsS6Z8sZ6ATPEmAt2qET3DdGx.7PPq2uCd4vpBFWqQD2io1F h5WT9D2ozI0O.Vx.SNBpUfbr8zJkWOGBCyHCzWOCiT1POzqEaq6RnCY3ETZStWJcxFufeF0qYEzn 09PQ0Ucer1miH7J0JFGY5g5D0Y5t3M3Vwl4mvISTbKYY.ICoOcA1K1_BhijtSv.aS_.0_OSYKQax NAygMu8qaIwF5I68REpK5FeYBZ_ADCvg.gcybI4zvciYVpNllrwjwB_HEjMaSB000D.pPVcdvXxd dIXsnh_RGWHtV7vyjCpQJyYqTMcKDDwDGbyArOnwA3fbw_GQ8ZsKOlwqmPC_8t1mgNkOi8oL6UVO FhmbQZsPq3H_Ap1vKC9gNzAgOlzXq2HgTCEs.NI7U_NJxPZVW9f7iHo3iVZ.QqABz Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.bf2.yahoo.com with HTTP; Tue, 5 Jun 2018 06:13:26 +0000 Received: from ip70-189-131-151.lv.lv.cox.net (EHLO [192.168.0.109]) ([70.189.131.151]) by smtp418.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 3e73c57f710c39fcb84ed8cdb9e60688; Tue, 05 Jun 2018 06:13:24 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.4 \(3445.8.2\)) Subject: Re: svn commit: r334626 - in head: . . . [brk_test fails to build for aarch64 and stops build: no brk or sbrk to test, so undefined symbols] Message-Id: <1731A84F-4278-43F5-B498-C3501081E783@yahoo.com> Date: Mon, 4 Jun 2018 23:13:22 -0700 To: Mark Johnston , freebsd-arm@freebsd.org, FreeBSD Current X-Mailer: Apple Mail (2.3445.8.2) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2018 06:13:33 -0000 =46rom ci.freebsd.org for a -r334626 + builds: --- brk_test.full --- cc -target aarch64-unknown-freebsd12.0 = --sysroot=3D/usr/obj/usr/src/arm64.aarch64/tmp = -B/usr/obj/usr/src/arm64.aarch64/tmp/usr/bin -O2 -pipe -g = -std=3Diso9899:1999 -fstack-protector-strong -Wsystem-headers -Werror = -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign = -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable = -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality = -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef = -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum = -Wno-knr-promoted-parameter -Qunused-arguments -o brk_test.full = brk_test.o -lprivateatf-c /usr/obj/usr/src/arm64.aarch64/tmp/usr/bin/ld: error: undefined symbol: = brk >>> referenced by brk_test.c:52 = (/usr/src/lib/libc/tests/sys/brk_test.c:52) >>> brk_test.o:(atfu_brk_basic_body) /usr/obj/usr/src/arm64.aarch64/tmp/usr/bin/ld: error: undefined symbol: = sbrk >>> referenced by brk_test.c:55 = (/usr/src/lib/libc/tests/sys/brk_test.c:55) >>> brk_test.o:(atfu_brk_basic_body) . . . (and many more) . . . =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-arm@freebsd.org Tue Jun 5 12:09:33 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6A9F4FF2056; Tue, 5 Jun 2018 12:09:33 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from smtp-out-so.shaw.ca (smtp-out-so.shaw.ca [64.59.136.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D047C739CC; Tue, 5 Jun 2018 12:09:32 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([70.67.125.17]) by shaw.ca with ESMTPA id QAmAflFl45wO5QAmBfGBCb; Tue, 05 Jun 2018 06:09:25 -0600 X-Authority-Analysis: v=2.3 cv=SJtsqtnH c=1 sm=1 tr=0 a=VFtTW3WuZNDh6VkGe7fA3g==:117 a=VFtTW3WuZNDh6VkGe7fA3g==:17 a=kj9zAlcOel0A:10 a=7mUfYlMuFuIA:10 a=CjxXgO3LAAAA:8 a=6I5d2MoRAAAA:8 a=YVOhz5M6AAAA:8 a=YxBL1-UpAAAA:8 a=ZEMpZlOG56c5PBaKjhMA:9 a=CjuIK1q_8ugA:10 a=IjZwj45LgO3ly-622nXo:22 a=sbbTL3E6IKcx-RquDtO-:22 a=Ia-lj3WSrqcvXOmTRaiG:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTPS id 2F10DFB3; Tue, 5 Jun 2018 05:09:22 -0700 (PDT) Received: from slippy.cwsent.com (localhost [127.0.0.1]) by slippy.cwsent.com (8.15.2/8.15.2) with ESMTP id w55C9LrC039973; Tue, 5 Jun 2018 05:09:21 -0700 (PDT) (envelope-from Cy.Schubert@cschubert.com) Received: from slippy (cy@localhost) by slippy.cwsent.com (8.15.2/8.15.2/Submit) with ESMTP id w55C9L7f039970; Tue, 5 Jun 2018 05:09:21 -0700 (PDT) (envelope-from Cy.Schubert@cschubert.com) Message-Id: <201806051209.w55C9L7f039970@slippy.cwsent.com> X-Authentication-Warning: slippy.cwsent.com: cy owned process doing -bs X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.7.1 Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Mark Millard cc: Mark Johnston , freebsd-arm@freebsd.org, FreeBSD Current Subject: Re: svn commit: r334626 - in head: . . . [brk_test fails to build for aarch64 and stops build: no brk or sbrk to test, so undefined symbols] In-Reply-To: Message from Mark Millard of "Mon, 04 Jun 2018 23:13:22 -0700." <1731A84F-4278-43F5-B498-C3501081E783@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 05 Jun 2018 05:09:21 -0700 X-CMAE-Envelope: MS4wfKvYY+ujjVIWz030aqspTWwRuyF5xXXg9BttUMV2QhdbImSFKldFZ481mGKXRYCWpayEEyMUDUwp0wKMHDUpwlqUHKnwkqz+kluzS8NZ1Is2bE87tVF+ eUauEorscDqTEW3nAFMq5CpSArrhUJxjsFwNvxEISvYmYF0LBql4PP24sjcAclnobD7NYQUB0Bp6dHadDbqY9NI7W1yhIRLfbpd9JAfXr1sid/Jq6SDNnQq1 wmJRLeQAuwZtYLWMt8jq3rxmbPAejgV2a1oc+iP0LIc= X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2018 12:09:33 -0000 In message <1731A84F-4278-43F5-B498-C3501081E783@yahoo.com>, Mark Millard write s: > >From ci.freebsd.org for a -r334626 + builds: > > --- brk_test.full --- > cc -target aarch64-unknown-freebsd12.0 --sysroot=/usr/obj/usr/src/arm64.aarch > 64/tmp -B/usr/obj/usr/src/arm64.aarch64/tmp/usr/bin -O2 -pipe -g -std=iso9899 > :1999 -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k > -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -W > no-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-par > entheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local > -typedef -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum -Wno-knr- > promoted-parameter -Qunused-arguments -o brk_test.full brk_test.o -lprivat > eatf-c > /usr/obj/usr/src/arm64.aarch64/tmp/usr/bin/ld: error: undefined symbol: brk > >>> referenced by brk_test.c:52 (/usr/src/lib/libc/tests/sys/brk_test.c:52) > >>> brk_test.o:(atfu_brk_basic_body) > > /usr/obj/usr/src/arm64.aarch64/tmp/usr/bin/ld: error: undefined symbol: sbrk > >>> referenced by brk_test.c:55 (/usr/src/lib/libc/tests/sys/brk_test.c:55) > >>> brk_test.o:(atfu_brk_basic_body) > > . . . (and many more) . . . Do a clean build or remove the libc directory from /usr/obj, then do your build. > > === > Mark Millard > marklmi at yahoo.com > ( dsl-only.net went > away in early 2018-Mar) -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few. From owner-freebsd-arm@freebsd.org Tue Jun 5 12:35:58 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 14E04FF608B for ; Tue, 5 Jun 2018 12:35:58 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic311-13.consmr.mail.bf2.yahoo.com (sonic311-13.consmr.mail.bf2.yahoo.com [74.6.131.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A5EBD752C3 for ; Tue, 5 Jun 2018 12:35:57 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: mpgkS9kVM1nVjP4oNNl9tvAnwWF.9fB87iiIPwlAvG34t5slLw_1ky6AjVt0WBy RIAxl3YxwHwuMtww4r1wrU15a0MsoBWlolK5bgSlqlFNV6TkuJPOz03yOAKtEP0VWa0upxcZojXC mRguJS7N05zUnOjMpBhBVUdIUVqOkCV7N9yz1WDLTxiuQCK6q7q.Gs6bVx._qZ2g5EhW2WcfdliV hlaqdEzFviriek1q9e3I4cBhOkiQlkqfKiKW5Jr7HcarenGulWJUkII9vZyD80jkIV82N0zQ_LxN QLSrao3obGJmg3lLx8XwDEOWOKhO6X7fb2t1EDO7_ede8Q3jcHkqXbEsBGQBF11ufsg1A4NgYBx9 1zo6ganlWG1K8RaYI7.oDXFl_hDR6UMsxLCYQLr56A2_o4Z.wAa0HHIfZ2TBAfMrrG9Liv1w1bRz 6L8rVG0C8Jj12wAbNG0CMBoegRtIOPijk1LtiOgtz5UkBhyT7lRa2jgXwpD4sWgHjaLV8NU5U5zZ xtQ2p5TLmgiSvP401LYHojFM8Bl3vLiDJDtVyCLHS2QAITWHfjGirjJOAy6jtXAf6p0RO1FKCqB9 zkfcbN6AT.l.iADvgKfLC8pqppWYXYvkavTOGGhT0U08PG2JnO_g9f7KKwqFzr16cdUXGtfaGNA9 f0WME24uynSOZVrBz.S4Iv6LACaLQn.N3NsCnZCMr.k94bhdxKmQVosdv6gQzsk2lTv2Uo_MlkId xJvfLlHZrEMoWhAOrlw_ctFJ149uRZEY0xc4Z4B2tx49e6KU2.0BR.aW8lA6hWC76Ew4EnjIoraR 7e2y_MWU_fXcctw9mNbIX60WwTnSKfMUbBKd2_wXM8v34FZdvp1eVX8H6Kq9vr0ef3siV1HLUf3N 4mbeJpq_0zhON4hrkZbUybvRPMjLZqFfYiTTitnRNDKYIzB8HV6uiFrdtwlABi_OgBg-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.bf2.yahoo.com with HTTP; Tue, 5 Jun 2018 12:35:56 +0000 Received: from ip70-189-131-151.lv.lv.cox.net (EHLO [192.168.0.109]) ([70.189.131.151]) by smtp432.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 7d34dac76abd681352c908d9f484ef9a; Tue, 05 Jun 2018 12:35:52 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.4 \(3445.8.2\)) Subject: Re: svn commit: r334626 - in head: . . . [brk_test fails to build for aarch64 and stops build: no brk or sbrk to test, so undefined symbols] From: Mark Millard In-Reply-To: <201806051209.w55C9L7f039970@slippy.cwsent.com> Date: Tue, 5 Jun 2018 05:35:50 -0700 Cc: Mark Johnston , freebsd-arm@freebsd.org, FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: References: <201806051209.w55C9L7f039970@slippy.cwsent.com> To: Cy Schubert X-Mailer: Apple Mail (2.3445.8.2) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2018 12:35:58 -0000 On 2018-Jun-5, at 5:09 AM, Cy Schubert = wrote: > In message <1731A84F-4278-43F5-B498-C3501081E783@yahoo.com>, Mark=20 > Millard write > s: >>> =46rom ci.freebsd.org for a -r334626 + builds: >>=20 >> --- brk_test.full --- >> cc -target aarch64-unknown-freebsd12.0 = --sysroot=3D/usr/obj/usr/src/arm64.aarch >> 64/tmp -B/usr/obj/usr/src/arm64.aarch64/tmp/usr/bin -O2 -pipe -g = -std=3Diso9899 >> :1999 -fstack-protector-strong -Wsystem-headers -Werror -Wall = -Wno-format-y2k >> -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body = -Wno-string-plus-int -W >> no-unused-const-variable -Wno-tautological-compare -Wno-unused-value = -Wno-par >> entheses-equality -Wno-unused-function -Wno-enum-conversion = -Wno-unused-local >> -typedef -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum = -Wno-knr- >> promoted-parameter -Qunused-arguments -o brk_test.full brk_test.o = -lprivat >> eatf-c >> /usr/obj/usr/src/arm64.aarch64/tmp/usr/bin/ld: error: undefined = symbol: brk >>>>> referenced by brk_test.c:52 = (/usr/src/lib/libc/tests/sys/brk_test.c:52) >>>>> brk_test.o:(atfu_brk_basic_body) >>=20 >> /usr/obj/usr/src/arm64.aarch64/tmp/usr/bin/ld: error: undefined = symbol: sbrk >>>>> referenced by brk_test.c:55 = (/usr/src/lib/libc/tests/sys/brk_test.c:55) >>>>> brk_test.o:(atfu_brk_basic_body) >>=20 >> . . . (and many more) . . . >=20 > Do a clean build or remove the libc directory from /usr/obj, then do=20= > your build. You missed the first line "=46rom ci.freebsd.org . . .": It was not my build, it was a ci.freebsd.org build of FreeBSD-head-aarch64-build . It was specifically #7944 (of -r334628 ) and later. The latest #7951 (of -r334651 ) is still broken the same way. #7943 (of -r334625 ) was the last good build. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-arm@freebsd.org Tue Jun 5 13:07:53 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7093FFD0DF6; Tue, 5 Jun 2018 13:07:53 +0000 (UTC) (envelope-from lwhsu.freebsd@gmail.com) Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) (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 E876C76DC6; Tue, 5 Jun 2018 13:07:52 +0000 (UTC) (envelope-from lwhsu.freebsd@gmail.com) Received: by mail-wm0-f68.google.com with SMTP id e16-v6so4828692wmd.0; Tue, 05 Jun 2018 06:07:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=KkC+bRowpioTBE4zI9XJYX/wDNbMwguRZjhQf667tro=; b=oIHOUgzcJ24dsf31xCegNsGFivV+WARmLYE/h6ApvlYE/EbjTcMMxPPsunbogZ7RtP Y8sRrWj3xe/W4eeri0tFtFhWRG9NiA3qFkSJsV+jIUZz3aGdW6dNXSGR8lUWpZb5X0kX pnBGEaeY2shXzKrwgOqrdCpovKE5QYFXQnBTGsxhbQncnLzZpi9STZI+EmrgUNbxCCO7 9isexaxS5c/WGh8y7I0Z0w/ErquqcfRWHg5ZtUMR+dT/E0bowUTyFRrCCHWpvH9mLhDI kBxRGdEkGP8TLLE4SqCsjpGRXtIw/cFp9a8quuRwAHvBm2v9crcUxVMLjIfZXbe3C3Y6 U4BA== X-Gm-Message-State: APt69E1Hc17/AMXieM8ejZlVyycc5pDF+zYxjAuwrvJC87HdxRUMsBmC JyO2w1ua/t/O8GLxACIXyRwYrNJYmIymYLDCcPvaBQ== X-Google-Smtp-Source: ADUXVKLkWcl9gll5CU7oZ/W9RQrHjJMe4o4qTNqYkjhkosAck4fLV1Hx6Vrz1q5LIPttg+AZmO5MbJvc97k9hi751us= X-Received: by 2002:a1c:ea4a:: with SMTP id i71-v6mr10040179wmh.158.1528204065615; Tue, 05 Jun 2018 06:07:45 -0700 (PDT) MIME-Version: 1.0 References: <1731A84F-4278-43F5-B498-C3501081E783@yahoo.com> <201806051209.w55C9L7f039970@slippy.cwsent.com> In-Reply-To: <201806051209.w55C9L7f039970@slippy.cwsent.com> From: Li-Wen Hsu Date: Tue, 5 Jun 2018 09:07:34 -0400 Message-ID: Subject: Re: svn commit: r334626 - in head: . . . [brk_test fails to build for aarch64 and stops build: no brk or sbrk to test, so undefined symbols] To: Cy Schubert Cc: FreeBSD Current , Mark Johnston , Mark Millard , freebsd-arm@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2018 13:07:53 -0000 On Tue, Jun 5, 2018 at 08:10 Cy Schubert wrote: > In message <1731A84F-4278-43F5-B498-C3501081E783@yahoo.com>, Mark > Millard write > s: > > >From ci.freebsd.org for a -r334626 + builds: > > > > --- brk_test.full --- > > cc -target aarch64-unknown-freebsd12.0 > --sysroot=/usr/obj/usr/src/arm64.aarch > > 64/tmp -B/usr/obj/usr/src/arm64.aarch64/tmp/usr/bin -O2 -pipe -g > -std=iso9899 > > :1999 -fstack-protector-strong -Wsystem-headers -Werror -Wall > -Wno-format-y2k > > -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body > -Wno-string-plus-int -W > > no-unused-const-variable -Wno-tautological-compare -Wno-unused-value > -Wno-par > > entheses-equality -Wno-unused-function -Wno-enum-conversion > -Wno-unused-local > > -typedef -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum > -Wno-knr- > > promoted-parameter -Qunused-arguments -o brk_test.full brk_test.o > -lprivat > > eatf-c > > /usr/obj/usr/src/arm64.aarch64/tmp/usr/bin/ld: error: undefined symbol: > brk > > >>> referenced by brk_test.c:52 > (/usr/src/lib/libc/tests/sys/brk_test.c:52) > > >>> brk_test.o:(atfu_brk_basic_body) > > > > /usr/obj/usr/src/arm64.aarch64/tmp/usr/bin/ld: error: undefined symbol: > sbrk > > >>> referenced by brk_test.c:55 > (/usr/src/lib/libc/tests/sys/brk_test.c:55) > > >>> brk_test.o:(atfu_brk_basic_body) > > > > . . . (and many more) . . . > > Do a clean build or remove the libc directory from /usr/obj, then do > your build. Each build on ci.freebsd.org is a clean build from scratch. Li-Wen > -- Li-Wen Hsu https://lwhsu.org From owner-freebsd-arm@freebsd.org Tue Jun 5 13:42:34 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4B2CBFDCB8C; Tue, 5 Jun 2018 13:42:34 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from smtp-out-so.shaw.ca (smtp-out-so.shaw.ca [64.59.136.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 9D83779063; Tue, 5 Jun 2018 13:42:33 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([70.67.125.17]) by shaw.ca with ESMTPA id QCEHflwCz5wO5QCEJfGMY6; Tue, 05 Jun 2018 07:42:31 -0600 X-Authority-Analysis: v=2.3 cv=SJtsqtnH c=1 sm=1 tr=0 a=VFtTW3WuZNDh6VkGe7fA3g==:117 a=VFtTW3WuZNDh6VkGe7fA3g==:17 a=kj9zAlcOel0A:10 a=7mUfYlMuFuIA:10 a=xfDLHkLGAAAA:8 a=YxBL1-UpAAAA:8 a=CjxXgO3LAAAA:8 a=6I5d2MoRAAAA:8 a=2WlI2amiM7QyuENTnt0A:9 a=CjuIK1q_8ugA:10 a=IfaqVvZgccqrtc8gcwf2:22 a=Ia-lj3WSrqcvXOmTRaiG:22 a=IjZwj45LgO3ly-622nXo:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTPS id 8D8C510A7; Tue, 5 Jun 2018 06:42:29 -0700 (PDT) Received: from slippy.cwsent.com (localhost [127.0.0.1]) by slippy.cwsent.com (8.15.2/8.15.2) with ESMTP id w55DgTFE053684; Tue, 5 Jun 2018 06:42:29 -0700 (PDT) (envelope-from Cy.Schubert@cschubert.com) Received: from slippy (cy@localhost) by slippy.cwsent.com (8.15.2/8.15.2/Submit) with ESMTP id w55DgTdF053558; Tue, 5 Jun 2018 06:42:29 -0700 (PDT) (envelope-from Cy.Schubert@cschubert.com) Message-Id: <201806051342.w55DgTdF053558@slippy.cwsent.com> X-Authentication-Warning: slippy.cwsent.com: cy owned process doing -bs X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.7.1 Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Li-Wen Hsu cc: Cy Schubert , FreeBSD Current , Mark Johnston , Mark Millard , freebsd-arm@freebsd.org Subject: Re: svn commit: r334626 - in head: . . . [brk_test fails to build for aarch64 and stops build: no brk or sbrk to test, so undefined symbols] In-Reply-To: Message from Li-Wen Hsu of "Tue, 05 Jun 2018 09:07:34 -0400." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 05 Jun 2018 06:42:29 -0700 X-CMAE-Envelope: MS4wfMEU1metLZNBgtLUJIsxLJhlKnG2phVz7/qc4z+8sRniJlaJdElFh9/VG8xbU3BYRUfIcryivLpwkOsaUPOWCuPAJz/DW2JnK+uwAm3ahLmnFdxFpD9f iH8RqLMrb2Ebmw/EZF1ieSVPoIsPtbY1CSYanbSxhX0RHPLsLPrSp6lCfBLqDDBuDPiwL5oWkKYZtBLnspU4nNIFK04YQCAB5lpElgdI7Zzua2lyiHy7p2vM nwVXODdZYMZfuZHhCwKjHIjuM2Ncri5YP095ZWTj9mlsiDifTWrZFYcQBbwy0z6+ X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2018 13:42:34 -0000 In message , Li-Wen Hsu writes: > --00000000000079b474056de4bc0b > Content-Type: text/plain; charset="UTF-8" > > On Tue, Jun 5, 2018 at 08:10 Cy Schubert wrote: > > > In message <1731A84F-4278-43F5-B498-C3501081E783@yahoo.com>, Mark > > Millard write > > s: > > > >From ci.freebsd.org for a -r334626 + builds: > > > > > > --- brk_test.full --- > > > cc -target aarch64-unknown-freebsd12.0 > > --sysroot=/usr/obj/usr/src/arm64.aarch > > > 64/tmp -B/usr/obj/usr/src/arm64.aarch64/tmp/usr/bin -O2 -pipe -g > > -std=iso9899 > > > :1999 -fstack-protector-strong -Wsystem-headers -Werror -Wall > > -Wno-format-y2k > > > -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body > > -Wno-string-plus-int -W > > > no-unused-const-variable -Wno-tautological-compare -Wno-unused-value > > -Wno-par > > > entheses-equality -Wno-unused-function -Wno-enum-conversion > > -Wno-unused-local > > > -typedef -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum > > -Wno-knr- > > > promoted-parameter -Qunused-arguments -o brk_test.full brk_test.o > > -lprivat > > > eatf-c > > > /usr/obj/usr/src/arm64.aarch64/tmp/usr/bin/ld: error: undefined symbol: > > brk > > > >>> referenced by brk_test.c:52 > > (/usr/src/lib/libc/tests/sys/brk_test.c:52) > > > >>> brk_test.o:(atfu_brk_basic_body) > > > > > > /usr/obj/usr/src/arm64.aarch64/tmp/usr/bin/ld: error: undefined symbol: > > sbrk > > > >>> referenced by brk_test.c:55 > > (/usr/src/lib/libc/tests/sys/brk_test.c:55) > > > >>> brk_test.o:(atfu_brk_basic_body) > > > > > > . . . (and many more) . . . > > > > Do a clean build or remove the libc directory from /usr/obj, then do > > your build. > > > Each build on ci.freebsd.org is a clean build from scratch. I overlooked that it was ci.freebsd.org. This is a different issue than on amd64. -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few. From owner-freebsd-arm@freebsd.org Wed Jun 6 05:00:30 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 01F2EFE156B for ; Wed, 6 Jun 2018 05:00:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8A32183581 for ; Wed, 6 Jun 2018 05:00:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id A18A022154 for ; Wed, 6 Jun 2018 05:00:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w5650SDo041154 for ; Wed, 6 Jun 2018 05:00:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w5650SUR041150 for freebsd-arm@FreeBSD.org; Wed, 6 Jun 2018 05:00:28 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 228773] hang on boot before mounting / when 'verbose boot' not selected Date: Wed, 06 Jun 2018 05:00:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bobf@mrp3.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jun 2018 05:00:30 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228773 Bug ID: 228773 Summary: hang on boot before mounting / when 'verbose boot' not selected Product: Base System Version: CURRENT Hardware: arm OS: Any Status: New Severity: Affects Only Me Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: bobf@mrp3.com using rev 334665 on an RPi 2 using the older bcm2836 CPU. I have been able to consistently demonstrate this problem more than half of= the time when I boot up from a power up, or a 'reboot', or by pressing a key in= the serial console after 'poweroff'. The hang appears to happen immediately after the following text displays on= the console Releasing APs Consistently, whenever I enable verbose output as a boot option in the 'beastie' menu, the reboot takes place normally, i.e. without hanging. uname output: FreeBSD pi2c 12.0-CURRENT FreeBSD 12.0-CURRENT #2 r334665M: Tue Jun 5 21:1= 7:17 PDT 2018=20=20=20=20 bobf@hack.SFT.local:/e-drive/obj.current/e-drive/src.current/arm.armv7/sys/= RPI2 arm The problem first appeared when I obtained source yesterday and built a fre= sh version. Prior to this I had been using code that was around 3 or 4 weeks = old. This problem was reproduced several times with unmodified code and no additional overlays or kernel modules being loaded. Typical console output demonstrating problem: /boot/dtb/bcm2836-rpi-2-b.dtb size=3D0x4c49 Loaded DTB from file 'bcm2836-rpi-2-b.dtb'. Kernel entry at 0x1200100... Kernel args: (null) KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2018 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 12.0-CURRENT #2 r334665M: Tue Jun 5 21:17:17 PDT 2018 =20=20=20 bobf@hack.SFT.local:/e-drive/obj.current/e-drive/src.current/arm.armv7/sys/= RPI2 arm FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) WARNING: WITNESS option enabled, expect reduced performance. VT: init without driver. CPU: ARM Cortex-A7 r0p5 (ECO: 0x00000000) CPU Features:=20 Multiprocessing, Thumb2, Security, Virtualization, Generic Timer, VMSAv7, PXN, LPAE, Coherent Walk Optional instructions:=20 SDIV/UDIV, UMULL, SMULL, SIMD(ext) LoUU:2 LoC:3 LoUIS:2=20 Cache level 1: 32KB/64B 4-way data cache WB Read-Alloc Write-Alloc 32KB/32B 2-way instruction cache Read-Alloc Cache level 2: 512KB/64B 8-way unified cache WB Read-Alloc Write-Alloc real memory =3D 0 (0 MB) avail memory =3D 1008672768 (961 MB) FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs random: unblocking device. random: entropy device external interface kbd0 at kbdmux0 ofwbus0: simplebus0: on ofwbus0 local_intc0: mem 0x40000000-0x400000ff on simplebus0 intc0: mem 0x7e00b200-0x7e00b3ff irq 25 on simplebus0 gpio0: mem 0x7e200000-0x7e2000b3 irq 27,28,2= 9,30 on simplebus0 gpio0: read-only pins: 46-53. gpio0: reserved pins: 48-53. gpiobus0: on gpio0 generic_timer0: irq 1,2,3,4 on ofwbus0 Timecounter "ARM MPCore Timecounter" frequency 19200000 Hz quality 1000 Event timer "ARM MPCore Eventtimer" frequency 19200000 Hz quality 1000 bcm_dma0: mem 0x7e007000-0x7e007eff irq 9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24 on simplebus0 bcmwd0: mem 0x7e100000-0x7e100027 on simplebus0 bcmrng0: mem 0x7e104000-0x7e10400f on simplebus0 mbox0: mem 0x7e00b880-0x7e00b8bf irq 26 on simplebus0 gpioc0: on gpio0 uart0: mem 0x7e201000-0x7e201fff irq 31 on simpleb= us0 uart0: console (115200,n,8,1) spi0: mem 0x7e204000-0x7e204fff irq 33 on simplebus0 spibus0: on spi0 iichb0: mem 0x7e205000-0x7e205fff irq 34 on simplebus0 sdhci_bcm0: mem 0x7e300000-0x7e3000ff irq = 41 on simplebus0 mmc0: on sdhci_bcm0 iichb1: mem 0x7e804000-0x7e804fff irq 44 on simplebus0 iichb2: mem 0x7e805000-0x7e805fff irq 45 on simplebus0 bcm283x_dwcotg0: mem 0x7e980000-0x7e98ffff irq 50 on simplebus0 usbus0 on bcm283x_dwcotg0 vchiq0: mem 0x7e00b840-0x7e00b84e irq 52 on simplebus0 vchiq: local ver 8 (min 3), remote ver 8. pcm0: on vchiq0 fb0: on simplebus0 fbd0 on fb0 VT: initialize with new VT driver "fb". fb0: 656x416(656x416@0,0) 24bpp fb0: fbswap: 0, pitch 1968, base 0x3ef34000, screen_size 818688 cpulist0: on ofwbus0 cpu0: on cpulist0 bcm2835_cpufreq0: on cpu0 cpu1: on cpulist0 cpu2: on cpulist0 cpu3: on cpulist0 gpioled0: on ofwbus0 cryptosoft0: Timecounters tick every 1.000 msec usbus0: 480Mbps High Speed USB v2.0 iicbus0: on iichb0 iic0: on iicbus0 ugen0.1: at usbus0 uhub0: on usbus0 mmcsd0: 4GB at mmc0 50.0MHz/4bit/65535-block iicbus1: on iichb1 iic1: on iicbus1 iicbus2: on iichb2 iic2: on iicbus2 bcm2835_cpufreq0: ARM 600MHz, Core 250MHz, SDRAM 400MHz, Turbo OFF Release APs (this is where the hang takes place; no response to keyboard input on the serial console at this point. power cycle is only option) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-arm@freebsd.org Wed Jun 6 18:55:45 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 54187FDE9D9; Wed, 6 Jun 2018 18:55:45 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DB3E6820EC; Wed, 6 Jun 2018 18:55:44 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smtp.greenhost.nl ([213.108.110.112]) by smarthost1.greenhost.nl with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1fQdat-0004aE-Ty; Wed, 06 Jun 2018 20:55:40 +0200 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: "bob prohaska" Cc: freebsd-arm@freebsd.org, "FreeBSD Current" Subject: Re: panic: Assertion td->td_lock == TDQ_LOCKPTR(tdq) failed at /usr/src/sys/kern/sched_ule.c:2137 References: <20180601154153.GA62632@www.zefox.net> Date: Wed, 06 Jun 2018 20:55:39 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Ronald Klop" Message-ID: In-Reply-To: User-Agent: Opera Mail/12.16 (FreeBSD) X-Authenticated-As-Hash: 398f5522cb258ce43cb679602f8cfe8b62a256d1 X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: / X-Spam-Score: -0.2 X-Spam-Status: No, score=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 autolearn=disabled version=3.4.0 X-Scan-Signature: a6d9551f4f6a9cf0aa9f9bf7e32696d9 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jun 2018 18:55:45 -0000 On Sat, 02 Jun 2018 13:40:27 +0200, Ronald Klop wrote: > This happened again. Now I have a crashdump. > Anyone interested? > > Some more answers below. > > > On Fri, 01 Jun 2018 17:41:54 +0200, bob prohaska > wrote: > >> On Thu, May 31, 2018 at 05:53:12PM +0200, Ronald Klop wrote: >>> I had a crash on my RPI-3B+ running freebsd 12/aarch64 from the 29 may >>> snapshot. >>> It was building world -j4 and portsnap extract. >>> >>> I will keep it in the debugger for about an hour so if I need to >>> provide >>> more information, please mail me. >>> >>> >>> db> show panic >>> panic: Assertion td->td_lock == TDQ_LOCKPTR(tdq) failed at >>> /usr/src/sys/kern/sched_ule.c:2137 >>> >> This used to be a fairly common error on my RPI3, but I haven't seen >> it in some time. >> >> As a matter of curiosity, have you been able to run a -j4 buildworld >> to completion on your RPI3? If so, please post your setup. For several >> months now all my attempts at j4 buildworld have failed with "killed, >> out of swap" even though top seems to report minimal swap usage. It >> even happens with no -j value set at all, but usually restarting with >> -DNO_CLEAN allowed progress to pick up where it left off. How do you ever run a -j4 buildworld? My RPI3 starts building clang/llvm with sometimes 500 MB+ per process so everything starts swapping like hell and takes forever to run. Regards, Ronald. >> >> Alas, as I write this, the kernel just reported >> >> Jun 1 08:34:34 www kernel: pid 19399 (c++), uid 0, was killed: out of >> swap space >> >> top is showing >> Swap: 4096M Total, 17M Used, 4079M Free >> but since top is alive the value is stale. Nonetheless, I have seen top >> killed while still showing minimal swap usage. >> >> It seems as if the "out of swap" kills are being issued in error.. >> >> Thanks for reading, >> >> bob prohaska >> > > > I just received my RPI3 this week. It is running GENERIC with debug > options still. Building a -NODEBUG kernel from src didn't succeed yet > because of the mentioned panic. > I'm now building with -j2 to be on the safe side. > > After I have the -NODEBUG kernel it will be a bit faster and I will try > -j4 again. > > Regards, > Ronald. From owner-freebsd-arm@freebsd.org Wed Jun 6 23:57:57 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 51944FE7CD4; Wed, 6 Jun 2018 23:57:57 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A6B6172675; Wed, 6 Jun 2018 23:57:56 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id w56Nw2eg091352 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 6 Jun 2018 16:58:03 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id w56Nw2fY091351; Wed, 6 Jun 2018 16:58:02 -0700 (PDT) (envelope-from fbsd) Date: Wed, 6 Jun 2018 16:58:01 -0700 From: bob prohaska To: Ronald Klop Cc: freebsd-arm@freebsd.org, FreeBSD Current , bob prohaska Subject: Re: panic: Assertion td->td_lock == TDQ_LOCKPTR(tdq) failed at /usr/src/sys/kern/sched_ule.c:2137 Message-ID: <20180606235801.GA87339@www.zefox.net> References: <20180601154153.GA62632@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jun 2018 23:57:57 -0000 On Wed, Jun 06, 2018 at 08:55:39PM +0200, Ronald Klop wrote: > On Sat, 02 Jun 2018 13:40:27 +0200, Ronald Klop > wrote: > > > How do you ever run a -j4 buildworld? My RPI3 starts building clang/llvm > with sometimes 500 MB+ per process so everything starts swapping like hell > and takes forever to run. > Lately, never 8-) When I started playing with an RPI3, in late 2016, -j4 buildworlds worked usably well. Early in 2018 problems appeared, including Assertion td->td_lock == TDQ_LOCKPTR(tdq) failed, among others. Things didn't really go to pot until somewhat later when the swap frenzy issue reared its head and haven't improved much. Sadly, when the swap frenzy workaround of using sysctl vm.pageout_update_period=0 was suggested, a -j4 buildworld then resorted to the old td_lock issue, so it looks as if both bugs are alive and kicking. Just to complicate matters, I was in the habit of using a USB flash drive as both an outboard file system (/usr/, /var/ and /tmp/) and as a swap device. A very common reaction was to blame the flash device for the trouble, though so far as I can tell a Sandisk Extreme USB flash drive isn't much slower, if any, than a mechanical hard disk for random writes. The same USB flash devices on a Pi2 running 11-Stable seems to be fine. However, turning off the USB flash swap device does seem to reduce the number of "indefinite wait buffer" messages on the console (they're usually not fatal) so I think there is still something amiss. Whether it's the flash, the USB or the VM system is unclear to me. For now the workarounds are to run buildworld with no explicit -j value (presumably equivalent to -j1), to use only swap on the microSD card and to use the -DNO_CLEAN option for most buildworld sessions, doing an explict "make clean" or "rm -rf /usr/obj/usr" when necessary. In a few cases it seemed helpful to start with "make kernel-toolchain" then follow with make -DNO_CLEAN buildworld" but I didn't keep good enough records to be certain of the benefits. Apologies for the length, HTH bob prohaska From owner-freebsd-arm@freebsd.org Thu Jun 7 05:29:11 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 81763FF8183 for ; Thu, 7 Jun 2018 05:29:11 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic317-22.consmr.mail.gq1.yahoo.com (sonic317-22.consmr.mail.gq1.yahoo.com [98.137.66.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 067597EAE6 for ; Thu, 7 Jun 2018 05:29:10 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: NZZngb8VM1k_pUjOUZx6dlc_T.Ys5uXI5Th_dvBXhv3pNx5Tzk5zvzfrKU6rKpM V7nevM8ITO0aePjYJSN33k8LAsAjov_aBRRKsKQcBb3cOzF6J6p9S.U35upmdUa6TbAMC519xJ7u FY3b0FLbiNCL_mkt4Ylzhq.UKS7vd2eg03SF.NWYR5y3V2qHk8NZJTEAZ46MNy7_roBiBYo_u92G 4egkrZVNa8bmwx5pC.AWO2ph94ZQMTiVHJbEYFtv53u7RxkPaIUnso5YqIXuwIg4ahBvPx3yOY3r KAW7pEm9CDCnA31Obh6rlRde8IqFNSPN33_TZADqoMNVcEMHGeHg_sQ5rMRnu6eG3Te1Fxbo2RdX D2RzP7w0fZaBUDPcy8rfld.SlQu5uclLfiRSRWRzcGP2N106hwmQbhHa5eq5wrEwe0YGO6tckdIF oOV0PRi3MTu3tMkNFG8m263pC_jTOkdHrwH44OuTJerTqGzl5fqpcGLfHW7Ef1vVvIBms.z7bYvk P7LXbWL31RxCvpyx0jlS2WVkHx6dIxNhk_nUuqy6t3NaiSs6yYF807wjLu6oKPu8FMcJfUYryxYY n_denswacdpDWd2qodyT4iKe71_p1m1d2lGLKWBDXyErRmftbPOA8whQblU_eW1bSrChRa43DFFQ Wygmnmc.AwtSM_bWK11dtR6wl.pUblNRRE3mEcR0ATFAlLPOJgnRshQLln7y5q1g0PNL4WhS5CEU BCuxLxZPecuJfvC5AqC6AqzZEB_ruLHWM.KCpJjwlWTgebSyUwvDVEVltWQfv8FK5RWpZzAjFpp8 zKvst9C6f4QLQaMLrry43nNyLNy2caz9owCdE6iVHQyVEi47BiaAPQt6braghK5SJIptZSdMwb67 2SIZKQ5OASg.mLY4dauj8aSkP7EUvRweYq08IbAz9Osvv3SVKFDbqtVZBHCzENlCfx82aEA-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.gq1.yahoo.com with HTTP; Thu, 7 Jun 2018 05:29:03 +0000 Received: from ip70-189-131-151.lv.lv.cox.net (EHLO [192.168.0.109]) ([70.189.131.151]) by smtp411.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID eca1213dae89f799cd55944fbd3f215f; Thu, 07 Jun 2018 05:29:00 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.4 \(3445.8.2\)) Subject: Re: panic: Assertion td->td_lock == TDQ_LOCKPTR(tdq) failed at /usr/src/sys/kern/sched_ule.c:2137 Message-Id: <6CEF9465-3908-4D5E-BC9E-967B9D1DD6AA@yahoo.com> Date: Wed, 6 Jun 2018 22:28:58 -0700 To: bob prohaska , FreeBSD Current , freebsd-arm@freebsd.org X-Mailer: Apple Mail (2.3445.8.2) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jun 2018 05:29:11 -0000 bob prohaska fbsd at www.zefox.net wrote on Wed Jun 6 23:57:57 UTC 2018 :=20 > On Wed, Jun 06, 2018 at 08:55:39PM +0200, Ronald Klop wrote: > > On Sat, 02 Jun 2018 13:40:27 +0200, Ronald Klop > =20 > > wrote: > >=20 > >=20 > > How do you ever run a -j4 buildworld? My RPI3 starts building = clang/llvm =20 > > with sometimes 500 MB+ per process so everything starts swapping = like hell =20 > > and takes forever to run. > > >=20 > Lately, never 8-) Looks like there has been another stab at avoiding some unnecessary Out Of Memory killing of processes: Author: alc Date: Thu Jun 7 02:54:11 2018 New Revision: 334752 URL: https://svnweb.freebsd.org/changeset/base/334752 Log: . . . One visible effect of this error was that processes were being killed by the virtual memory system's OOM killer when in fact there was plentiful free memory. (I do not have access to an appropriate test context at this time.) =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-arm@freebsd.org Thu Jun 7 18:30:16 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E1A7BFE78F3 for ; Thu, 7 Jun 2018 18:30:15 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5A1337849E for ; Thu, 7 Jun 2018 18:30:15 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id w57IUR38095245 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 7 Jun 2018 11:30:28 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id w57IUQR0095244; Thu, 7 Jun 2018 11:30:26 -0700 (PDT) (envelope-from fbsd) Date: Thu, 7 Jun 2018 11:30:26 -0700 From: bob prohaska To: Konstantin Belousov Cc: Ronald Klop , freebsd-arm@freebsd.org, bob prohaska Subject: Re: panic: Assertion td->td_lock == TDQ_LOCKPTR(tdq) failed at /usr/src/sys/kern/sched_ule.c:2137 Message-ID: <20180607183025.GA95066@www.zefox.net> References: <20180601154153.GA62632@www.zefox.net> <20180602091606.63a1ab37.freebsd.ed.lists@sumeritec.com> <20180602150549.GA68197@www.zefox.net> <20180602193255.GA68908@www.zefox.net> <20180602210450.GK3789@kib.kiev.ua> <20180603121712.GL3789@kib.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180603121712.GL3789@kib.kiev.ua> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jun 2018 18:30:16 -0000 On Sun, Jun 03, 2018 at 03:17:12PM +0300, Konstantin Belousov wrote: > > On Sat, 02 Jun 2018 23:04:50 +0200, Konstantin Belousov > > wrote: > > > > > > > > diff --git a/sys/arm64/arm64/swtch.S b/sys/arm64/arm64/swtch.S > > > index c9843303b1d..4c2c3aca583 100644 > > > --- a/sys/arm64/arm64/swtch.S > > > +++ b/sys/arm64/arm64/swtch.S > > > @@ -165,10 +165,9 @@ ENTRY(cpu_switch) > > > mov x0, x19 > > > /* > > > - * Release the old thread. This doesn't need to be a store-release > > > - * as the above dsb instruction will provide release semantics. > > > + * Release the old thread. > > > */ > > > - str x2, [x0, #TD_LOCK] > > > + stlr x2, [x0, #TD_LOCK] > > > #if defined(SCHED_ULE) && defined(SMP) > > > /* Spin if TD_LOCK points to a blocked_lock */ > > > ldr x2, =_C_LABEL(blocked_lock) > > Has this been committed to -current? If not, I'm game to try it but will need some more detailed instructions; it doesn't look like something applied by saving to a file and feeding it to patch. Thanks for reading, bob prohaska From owner-freebsd-arm@freebsd.org Fri Jun 8 00:13:39 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A04871009260; Fri, 8 Jun 2018 00:13:39 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 008BB87CED; Fri, 8 Jun 2018 00:13:38 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id w580DklN096285 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 7 Jun 2018 17:13:47 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id w580DjXR096284; Thu, 7 Jun 2018 17:13:45 -0700 (PDT) (envelope-from fbsd) Date: Thu, 7 Jun 2018 17:13:45 -0700 From: bob prohaska To: Mark Millard Cc: FreeBSD Current , freebsd-arm@freebsd.org Subject: Re: panic: Assertion td->td_lock == TDQ_LOCKPTR(tdq) failed at /usr/src/sys/kern/sched_ule.c:2137 Message-ID: <20180608001345.GA96201@www.zefox.net> References: <6CEF9465-3908-4D5E-BC9E-967B9D1DD6AA@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6CEF9465-3908-4D5E-BC9E-967B9D1DD6AA@yahoo.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jun 2018 00:13:39 -0000 On Wed, Jun 06, 2018 at 10:28:58PM -0700, Mark Millard wrote: > > Looks like there has been another stab at avoiding some > unnecessary Out Of Memory killing of processes: > > Author: alc > Date: Thu Jun 7 02:54:11 2018 > New Revision: 334752 > URL: https://svnweb.freebsd.org/changeset/base/334752 > > > Log: > . . . One visible > effect of this error was that processes were being killed by the > virtual memory system's OOM killer when in fact there was plentiful > free memory. > An RPI3 kernel at 334800 still reported Jun 7 16:28:21 www kernel: pid 71329 (c++), uid 0, was killed: out of swap space during a -j4 buildworld. I wasn't watching top at the time, so I don't know how much swap was in use. Total available was 4 GB, which certainly seems like it ought to be enough. The swap was on both microSD and USB flash. I've run make clean in /usr/src/lib/clang/libllvm and restarted a -j4 buildworld with the -DNO_CLEAN option, and also set sysctl vm.pageout_update_period=0 to see what would happen. Within a few minutes buildworld stopped, the tail of the log file contained --- X86GenEVEX2VEXTables.inc --- llvm-tblgen -gen-x86-EVEX2VEX-tables -I /usr/src/contrib/llvm/include -I /usr/src/contrib/llvm/lib/Target/X86 -d X86GenEVEX2VEXTables.inc.d -o X86GenEVEX2VEXTables.inc /usr/src/contrib/llvm/lib/Target/X86/X86.td --- X86GenFastISel.inc --- llvm-tblgen -gen-fast-isel -I /usr/src/contrib/llvm/include -I /usr/src/contrib/llvm/lib/Target/X86 -d X86GenFastISel.inc.d -o X86GenFastISel.inc /usr/src/contrib/llvm/lib/Target/X86/X86.td --- X86GenDAGISel.inc --- Killed *** [X86GenDAGISel.inc] Error code 137 make[6]: stopped in /usr/src/lib/clang/libllvm 1 error make[6]: stopped in /usr/src/lib/clang/libllvm *** [all_subdir_lib/clang/libllvm] Error code 2 make[5]: stopped in /usr/src/lib/clang I'll try again, this time with USB swap turned off. Thanks for reading! bob prohaska From owner-freebsd-arm@freebsd.org Fri Jun 8 01:55:34 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 348FD100B855; Fri, 8 Jun 2018 01:55:34 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 83E9B6B63E; Fri, 8 Jun 2018 01:55:33 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id w581tkbC096632 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 7 Jun 2018 18:55:47 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id w581tkt4096631; Thu, 7 Jun 2018 18:55:46 -0700 (PDT) (envelope-from fbsd) Date: Thu, 7 Jun 2018 18:55:45 -0700 From: bob prohaska To: Mark Millard Cc: FreeBSD Current , freebsd-arm@freebsd.org Subject: Re: panic: Assertion td->td_lock == TDQ_LOCKPTR(tdq) failed at /usr/src/sys/kern/sched_ule.c:2137 Message-ID: <20180608015545.GA96590@www.zefox.net> References: <6CEF9465-3908-4D5E-BC9E-967B9D1DD6AA@yahoo.com> <20180608001345.GA96201@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180608001345.GA96201@www.zefox.net> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jun 2018 01:55:34 -0000 On Thu, Jun 07, 2018 at 05:13:45PM -0700, bob prohaska wrote: > > I'll try again, this time with USB swap turned off. The circle closed, back to the original panic in the subject line. Console, top and buildworld.log files are at http://www.zefox.net/~fbsd/rpi3/crashes/20180607 Thanks for reading, bob prohaska From owner-freebsd-arm@freebsd.org Fri Jun 8 20:01:07 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2A94BFD4680 for ; Fri, 8 Jun 2018 20:01:07 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BBD2C71940 for ; Fri, 8 Jun 2018 20:01:06 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smtp.greenhost.nl ([213.108.110.112]) by smarthost1.greenhost.nl with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1fRNZC-0008Dz-Ku; Fri, 08 Jun 2018 22:00:58 +0200 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: "Warner Losh" , "Konstantin Belousov" Cc: freebsd-arm@freebsd.org Subject: Re: panic: Assertion td->td_lock == TDQ_LOCKPTR(tdq) failed at /usr/src/sys/kern/sched_ule.c:2137 References: <20180601154153.GA62632@www.zefox.net> <20180602091606.63a1ab37.freebsd.ed.lists@sumeritec.com> <20180602150549.GA68197@www.zefox.net> <20180602193255.GA68908@www.zefox.net> <20180602210450.GK3789@kib.kiev.ua> Date: Fri, 08 Jun 2018 22:00:59 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Ronald Klop" Message-ID: In-Reply-To: <20180602210450.GK3789@kib.kiev.ua> User-Agent: Opera Mail/12.16 (FreeBSD) X-Authenticated-As-Hash: 398f5522cb258ce43cb679602f8cfe8b62a256d1 X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: / X-Spam-Score: -0.2 X-Spam-Status: No, score=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 autolearn=disabled version=3.4.0 X-Scan-Signature: 74bd734068bee68206891dc8710ce62a X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jun 2018 20:01:07 -0000 On Sat, 02 Jun 2018 23:04:50 +0200, Konstantin Belousov wrote: > On Sat, Jun 02, 2018 at 02:39:00PM -0600, Warner Losh wrote: >> On Sat, Jun 2, 2018, 1:32 PM bob prohaska wrote: >> >> > On Sat, Jun 02, 2018 at 09:14:18AM -0600, Warner Losh wrote: >> > > >> > > Do you have r334508? It fixes the OOM falsely triggering. >> > > >> > At the moment sources are at 334456, world and kernel are at >> > 334276. >> > >> > Might it be feasible to stop the present buildworld, update >> > sources and then try to build a new kernel before building >> > world? >> > >> >> That's recent enough that you should be fine. There might be an lld vs >> binutils ld issue. There was on i386 recently, but I think it was i386 >> specific. It's a good risk. > > This happens on arm64 ? In fact, try this. > I did not even compiled the change. > > diff --git a/sys/arm64/arm64/swtch.S b/sys/arm64/arm64/swtch.S > index c9843303b1d..4c2c3aca583 100644 > --- a/sys/arm64/arm64/swtch.S > +++ b/sys/arm64/arm64/swtch.S > @@ -165,10 +165,9 @@ ENTRY(cpu_switch) > mov x0, x19 > /* > - * Release the old thread. This doesn't need to be a store-release > - * as the above dsb instruction will provide release semantics. > + * Release the old thread. > */ > - str x2, [x0, #TD_LOCK] > + stlr x2, [x0, #TD_LOCK] > #if defined(SCHED_ULE) && defined(SMP) > /* Spin if TD_LOCK points to a blocked_lock */ > ldr x2, =_C_LABEL(blocked_lock) > _______________________________________________ > 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" I see this is committed: https://svnweb.freebsd.org/changeset/base/334851 Does it need confirmation still? Can take a while. :-) I finally build a -NODEBUG kernel+world on -j1 on the RPI3. Took only a couple of days. Regards, Ronald. From owner-freebsd-arm@freebsd.org Fri Jun 8 21:45:39 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6F6A3FDB868 for ; Fri, 8 Jun 2018 21:45:39 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id AD545745E3 for ; Fri, 8 Jun 2018 21:45:38 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id w58LjncC001709 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 8 Jun 2018 14:45:50 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id w58LjmKD001708; Fri, 8 Jun 2018 14:45:48 -0700 (PDT) (envelope-from fbsd) Date: Fri, 8 Jun 2018 14:45:48 -0700 From: bob prohaska To: Ronald Klop Cc: Warner Losh , Konstantin Belousov , freebsd-arm@freebsd.org Subject: Re: panic: Assertion td->td_lock == TDQ_LOCKPTR(tdq) failed at /usr/src/sys/kern/sched_ule.c:2137 Message-ID: <20180608214548.GA1678@www.zefox.net> References: <20180601154153.GA62632@www.zefox.net> <20180602091606.63a1ab37.freebsd.ed.lists@sumeritec.com> <20180602150549.GA68197@www.zefox.net> <20180602193255.GA68908@www.zefox.net> <20180602210450.GK3789@kib.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jun 2018 21:45:39 -0000 On Fri, Jun 08, 2018 at 10:00:59PM +0200, Ronald Klop wrote: > On Sat, 02 Jun 2018 23:04:50 +0200, Konstantin Belousov > wrote: > > > On Sat, Jun 02, 2018 at 02:39:00PM -0600, Warner Losh wrote: > >> On Sat, Jun 2, 2018, 1:32 PM bob prohaska wrote: > >> > >> > On Sat, Jun 02, 2018 at 09:14:18AM -0600, Warner Losh wrote: > >> > > > >> > > Do you have r334508? It fixes the OOM falsely triggering. > >> > > > >> > At the moment sources are at 334456, world and kernel are at > >> > 334276. > >> > > >> > Might it be feasible to stop the present buildworld, update > >> > sources and then try to build a new kernel before building > >> > world? > >> > > >> > >> That's recent enough that you should be fine. There might be an lld vs > >> binutils ld issue. There was on i386 recently, but I think it was i386 > >> specific. It's a good risk. > > > > This happens on arm64 ? In fact, try this. > > I did not even compiled the change. > > > > diff --git a/sys/arm64/arm64/swtch.S b/sys/arm64/arm64/swtch.S > > index c9843303b1d..4c2c3aca583 100644 > > --- a/sys/arm64/arm64/swtch.S > > +++ b/sys/arm64/arm64/swtch.S > > @@ -165,10 +165,9 @@ ENTRY(cpu_switch) > > mov x0, x19 > > /* > > - * Release the old thread. This doesn't need to be a store-release > > - * as the above dsb instruction will provide release semantics. > > + * Release the old thread. > > */ > > - str x2, [x0, #TD_LOCK] > > + stlr x2, [x0, #TD_LOCK] > > #if defined(SCHED_ULE) && defined(SMP) > > /* Spin if TD_LOCK points to a blocked_lock */ > > ldr x2, =_C_LABEL(blocked_lock) > > _______________________________________________ > > 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" > > I see this is committed: https://svnweb.freebsd.org/changeset/base/334851 > Does it need confirmation still? I didn't know that, thank you! > Can take a while. :-) I finally build a -NODEBUG kernel+world on -j1 on > the RPI3. Took only a couple of days. > Better slow than never! Thanks for your help, bob prohaska From owner-freebsd-arm@freebsd.org Sat Jun 9 17:16:17 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 34BA810118DB for ; Sat, 9 Jun 2018 17:16:17 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 92871744E2 for ; Sat, 9 Jun 2018 16:07:48 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from thor.intern.walstatt.dynvpn.de ([78.55.173.237]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MCPhl-1faAjL2Ydt-00969c for ; Sat, 09 Jun 2018 18:07:46 +0200 Date: Sat, 9 Jun 2018 18:07:11 +0200 From: "O. Hartmann" To: "freebsd-arm@freebsd.org" Subject: PINE64: aw_mmc0: controller timeout aw_mmc0: timeout updating clock Message-ID: <20180609180738.694fc3cf@thor.intern.walstatt.dynvpn.de> Organization: WALSTATT User-Agent: OutScare 3.1415926 X-Operating-System: ImNotAnOperatingSystem 3.141592527 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-Provags-ID: V03:K1:FVKC2u/X0Ty/tZbOo/WwrWu+W9XP/1DjKB/F3P4r+UvLpCd6Tsd hz99sb4FbH52BM02a2DGPIu/2E/23oasHEj4pz4UYMlapglyQS+GRA6o0Z04k9haOuxz1T2 FISZVqvxs1beUURkUsebfbNCkjI0KQhoDNdhObF5PIJk6X8LxUPiy4u//I6AyLc2785zANc uucHi2YdcqKn7qwDB3asQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:cOZQtmC+1jo=:s08gXBQpkD+7LUY29P5Y7i 8UYsd6sJIKPUsIJfs/bYh3ZSyjTQAYybfRgpswz1s2CfR7RlRQ0YVa7XRQnCvOmom6goAKLnt dHqPZpNOpniplGQM9KO2wTTsAY8jcYfBGtlTzUdkh3pfroevQ+tCNwkMXvnUbLWLhJzJEQUWt 6WJs75crF922B88dQg0Ms80KOns9vrpbDuSc5iPecgidX964OqurqYGG7eI/z+CXqD6U77RS6 6qtMWr5CQTlzCUCOUsrY8XJ3oyLX66PgEfchzuAYN82OGEOZ2JTH5oCfJhawNdDnX4B8IeIEQ TXshWfvEIqcGoJ7QyL89tTg01LaOGUtVZmZlFRqtbp08Q+BR3oAmm2ymM19ZJ5Jtk/Z1nCYo2 Tk/JY9VTwr9dkdiSKD8PSGzx8nJnR3G2/dl2ySdb9IZg2/pl6BaQ4bj3R5kolM0qxKw07nCOf t9E4hT0RMI47v3PGw6Q6hHFw9evCd0WOAH3cU/HuXw6zClBvgDdUQHkNhfBAeDJ02vQeu50BW bwjah8ilOIZT1PqwNAsvlhF1cG/Z6Xo9ZDCtsl5KicGr9lDpRW6AcyVgmLUnRDZE1gu59ojz7 M8bl4js2U0jXH5io0XNGrUynLnHp3jRitumgXhJJ7tppiDR2AkPm0X1nBbTnbRboaS3fGeLA9 feBMf98q5RGeFxr0AwR3cWGKhJ0KSTo7qJQoT1LIQPDbUAcxpTkXTPJJf7l0MgqEHB5L5qVYp sK8SqR9e56+bG7nShiM+HEYk+5nO9r4sXH3kx4KHaWwNDj3anpUoNBar68QaimC8kPa2HZ/9k KPv41PO X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jun 2018 17:16:17 -0000 LS0tLS1CRUdJTiBQR1AgU0lHTkVEIE1FU1NBR0UtLS0tLQ0KSGFzaDogU0hBNTEyDQoNClJ1bm5p bmcgYSBQSU5FNjQgd2l0aCBhIHJlY2VudCBDVVJSRU5UICggRnJlZUJTRCAxMi4wLUNVUlJFTlQg IzI3IHIzMzQ4NzQ6IFNhdCBKdW4gIDkNCjA5OjMxOjA3IENFU1QgMjAxOCBhYXJjaDY0KSBhbmQg dHJ5aW5nIHRvIHVwZGF0ZSB0aGUgc3lzdGVtIHZpYSAicGtnIEJhc2UiIChzZWxmIGNvbXBpbGVk DQpvbiBhIGFtZDY0IHN5c3RlbSksIGl0IHR1cm5zIG91dCwgdGhhdCB1cGRhdGluZyB0aGUgUGlu ZTY0IG9uIHN1Y2ggYSB3YXkgaXMgYSBldmVyDQpsYXN0aW5nIGpvYi4gDQoNCkRvd25sb2FkaW5n IGlzIGEgdGFzayBJIG5lZWQgYSBsb3Qgb2YgcGF0aWVuY2UgZXZlbiB3aXRoIHRoZSAxIEdCaXQg TklDIG9mIHRoZSBQaW5lNjQsDQpidXQgZXh0cmFjdGluZyB0dXJucyBvdXQgdG8gYmUgYSBzbG93 IGFzIHRoZSBtb3ZlbWVudCBvZiBhIGdsYWNpZXIgYW5kIG1vc3Qgb2YgdGhlIHRpbWUNCm15IFBp bmU2NCBjcmFzaGVzIGR1ZSB0byB0aGUgZXJyb3Igc2hvd24gYmVsb3cuDQoNClRoZSBTRCBjYXJk IGlzIG5vdCB0aGUgZmFzdGVzdCBvbmUsIGRtZXNnIHJlcG9ydHMNCg0KbW1jc2QwOiAxNkdCIDxT REhDIFNEMTZHIDMuMCBTTiAwMTEyNUVBMyBNRkcgMDYvMjAxNSBieSAzOSBQSD4gYXQgbW1jMA0K NTAuME1Iei80Yml0LzMyNzY4LWJsb2NrDQoNCmJ1dCBvbiBvdGhlciBzeXN0ZW1zIHRoZSBwZXJm b3JtYW5jZSBpcyBzdWZmaWNpZW50IC0gYnV0IG5vdCBvbiB0aGUgUGluZTY0LiBJIGhhdmVuJ3QN CmNoZWNrZWQgd2l0aCBvdGhlciBTRCBjYXJkcyBkdWUgdG8gdGhlIGxhY2sgb2Ygb3RoZXIgdHlw ZXMsIHNvIGlmIHRoZSByZWFzb24gZm9yIHRoZQ0KdGltaW5nIHByb2JsZW1zIGlzIHRoZSBTRCBj YXJkIGFuZCBub3QgdGhlIGRyaXZlciwgSSdsbCBjaGVjayB3aXRoIGFub3RoZXIgb25lLiANCg0K QnV0IGNvdWxkIHNvbWVvbmUgY2hlY2s/DQoNCldoYXQgaXMgYWJvdXQgTU1DQ0FNPyBJcyBpdCB3 b3J0aCBnaXZpbmcgdGhhdCBhIHRyeSBvciBpcyBpdHMgZGV2ZWxvcG1lbnQgc3RhdGUgdG8gcmlz a3kNCnJlZ2FyZGluZyB0aGUgdXNhZ2Ugb24gYSBQaW5lNjQ/DQoNClRoYW5rcyBpbiBhZHZhbmNl LA0KDQpvaA0KDQpbLi4uXQ0KUHJvY2VlZCB3aXRoIHRoaXMgYWN0aW9uPyBbeS9OXTogeQ0KWzEv Mzc5XSBVcGdyYWRpbmcgRnJlZUJTRC1ydW50aW1lLWRlYnVnIGZyb20gMTIuMC5zMjAxODA2MDIx MzIwNDIgdG8NCjEyLjAuczIwMTgwNjA5MDczMTIxLi4uIFsxLzM3OV0gRXh0cmFjdGluZyBGcmVl QlNELXJ1bnRpbWUtZGVidWctMTIuMC5zMjAxODA2MDkwNzMxMjE6DQo4OSVhd19tbWMwOiBjb250 cm9sbGVyIHRpbWVvdXQgYXdfbW1jMDogdGltZW91dCB1cGRhdGluZyBjbG9jaw0KbW1jc2QwOiBF cnJvciBpbmRpY2F0ZWQ6IDEgVGltZW91dA0KZ192ZnNfZG9uZSgpOnVmcy9yb290ZnNbV1JJVEUo b2Zmc2V0PTEzMTA3MiwgbGVuZ3RoPTMyNzY4KV1lcnJvciA9IDUNCnNvZnRkZXBfdXBkYXRlX2lu b2RlYmxvY2s6IGJ3cml0ZTogZ290IGVycm9yIDUgd2hpbGUgYWNjZXNzaW5nIGZpbGVzeXN0ZW0N CmF3X21tYzA6IGNvbnRyb2xsZXIgdGltZW91dA0KYXdfbW1jMDogdGltZW91dCB1cGRhdGluZyBj bG9jaw0KbW1jc2QwOiBFcnJvciBpbmRpY2F0ZWQ6IDEgVGltZW91dA0KZ192ZnNfZG9uZSgpOnVm cy9yb290ZnNbV1JJVEUob2Zmc2V0PTE5NjYwOCwgbGVuZ3RoPTMyNzY4KV1lcnJvciA9IDUNCmF3 X21tYzA6IGNvbnRyb2xsZXIgdGltZW91dA0KYXdfbW1jMDogdGltZW91dCB1cGRhdGluZyBjbG9j aw0KbW1jc2QwOiBFcnJvciBpbmRpY2F0ZWQ6IDEgVGltZW91dA0KZ192ZnNfZG9uZSgpOnVmcy9y b290ZnNbV1JJVEUob2Zmc2V0PTQyNTk4NCwgbGVuZ3RoPTMyNzY4KV1lcnJvciA9IDUNCmF3X21t YzA6IGNvbnRyb2xsZXIgdGltZW91dA0KYXdfbW1jMDogdGltZW91dCB1cGRhdGluZyBjbG9jaw0K bW1jc2QwOiBFcnJvciBpbmRpY2F0ZWQ6IDEgVGltZW91dA0KZ192ZnNfZG9uZSgpOnVmcy9yb290 ZnNbV1JJVEUob2Zmc2V0PTIxOTU0NTYsIGxlbmd0aD0zMjc2OCldZXJyb3IgPSA1DQphd19tbWMw OiBjb250cm9sbGVyIHRpbWVvdXQNCmF3X21tYzA6IHRpbWVvdXQgdXBkYXRpbmcgY2xvY2sNCm1t Y3NkMDogRXJyb3IgaW5kaWNhdGVkOiAxIFRpbWVvdXQNCmdfdmZzX2RvbmUoKTp1ZnMvcm9vdGZz W1dSSVRFKG9mZnNldD0yMjI4MjI0LCBsZW5ndGg9MzI3NjgpXWVycm9yID0gNQ0KDQpwa2c6IEZh aWwgdG8gdHJ1bmNhdGUNCmZpbGU6IC91c3IvbGliL2RlYnVnL3Vzci9zYmluLy5wcmFsaWFzZXMu ZGVidWcuUlZvc2xEdjVlN0REOklucHV0L291dHB1dCBlcnJvciBhd19tbWMwOg0KY29udHJvbGxl ciB0aW1lb3V0IGF3X21tYzA6IHRpbWVvdXQgdXBkYXRpbmcgY2xvY2sNCm1tY3NkMDogRXJyb3Ig aW5kaWNhdGVkOiAxIFRpbWVvdXQNCmdfdmZzX2RvbmUoKTp1ZnMvcm9vdGZzW1dSSVRFKG9mZnNl dD0yMjY0Njc4NCwgbGVuZ3RoPTQwOTYpXWVycm9yID0gNQ0KYXdfbW1jMDogY29udHJvbGxlciB0 aW1lb3V0DQphd19tbWMwOiB0aW1lb3V0IHVwZGF0aW5nIGNsb2NrDQptbWNzZDA6IEVycm9yIGlu ZGljYXRlZDogMSBUaW1lb3V0DQpnX3Zmc19kb25lKCk6dWZzL3Jvb3Rmc1tXUklURShvZmZzZXQ9 NjU0NzA0NjQwLCBsZW5ndGg9MzI3NjgpXWVycm9yID0gNQ0KDQphd19tbWMwOiBjb250cm9sbGVy IHRpbWVvdXQNCmF3X21tYzA6IHRpbWVvdXQgdXBkYXRpbmcgY2xvY2sNCm1tY3NkMDogRXJyb3Ig aW5kaWNhdGVkOiAxIFRpbWVvdXQNCmdfdmZzX2RvbmUoKTp1ZnMvcm9vdGZzW1dSSVRFKG9mZnNl dD0xMzAzMjQ4ODk2LCBsZW5ndGg9MzI3NjgpXWVycm9yID0gNQ0KYXdfbW1jMDogY29udHJvbGxl ciB0aW1lb3V0DQoNClsuLi5dDQoNCmF3X21tYzA6IGNvbnRyb2xsZXIgdGltZW91dA0KYXdfbW1j MDogdGltZW91dCB1cGRhdGluZyBjbG9jaw0KbW1jc2QwOiBFcnJvciBpbmRpY2F0ZWQ6IDEgVGlt ZW91dA0KZ192ZnNfZG9uZSgpOnBhbmljOiB2bV9mYXVsdF9ob2xkOiBmYXVsdCBvbiBub2ZhdWx0 IGVudHJ5LCBhZGRyOiAweGZmZmYwMDAwNDMzMzAwMDANCmNwdWlkID0gMQ0KdGltZSA9IDEyNjIz NDI4MzcNCktEQjogc3RhY2sgYmFja3RyYWNlOg0KIzAgMHhmZmZmMDAwMDAwMzhiMzRjIGF0IGtk Yl9iYWNrdHJhY2UrMHg2MA0KIzEgMHhmZmZmMDAwMDAwMzQzODRjIGF0IHZwYW5pYysweDFhOA0K IzIgMHhmZmZmMDAwMDAwMzQzNmEwIGF0IHBhbmljKzB4NDQNCiMzIDB4ZmZmZjAwMDAwMDYwZjY1 MCBhdCB2bV9mYXVsdF9ob2xkKzB4MjBiNA0KIzQgMHhmZmZmMDAwMDAwNjBkNTQ0IGF0IHZtX2Zh dWx0KzB4NjANCiM1IDB4ZmZmZjAwMDAwMDY2NjE1NCBhdCBkYXRhX2Fib3J0KzB4YTANCiM2IDB4 ZmZmZjAwMDAwMDY2NWZiMCBhdCBkb19lbDFoX3N5bmMrMHgxMWMNCiM3IDB4ZmZmZjAwMDAwMDY1 MDg3NCBhdCBoYW5kbGVfZWwxaF9zeW5jKzB4NzQNCiM4IDB4ZmZmZjAwMDAwMDY0ZThmOCBhdCBi b3VuY2VfYnVzX2RtYW1hcF9zeW5jKzB4MjU4DQojOSAweGZmZmYwMDAwMDA2M2M3YTAgYXQgYXdf bW1jX3JlcXVlc3QrMHgzMmMNCiMxMCAweGZmZmYwMDAwMDAxNWEzNTggYXQgbW1jX3dhaXRfZm9y X3JlcXVlc3QrMHgxMjANCiMxMSAweGZmZmYwMDAwMDAxNjMxOWMgYXQgbW1jc2RfcncrMHgxOTgN CiMxMiAweGZmZmYwMDAwMDAxNjFkOTggYXQgbW1jc2RfdGFzaysweDIyMA0KIzEzIDB4ZmZmZjAw MDAwMDMwNjQ5MCBhdCBmb3JrX2V4aXQrMHg5MA0KVXB0aW1lOiAyMG0ycw0KDQpVLUJvb3QgU1BM IDIwMTguMDMgKE1heSAyOSAyMDE4IC0gMTc6MjI6MjUgKzAwMDApDQpEUkFNOiAyMDQ4IE1pQg0K VHJ5aW5nIHRvIGJvb3QgZnJvbSBNTUMxDQoNCg0KVS1Cb290IDIwMTguMDMgKE1heSAyOSAyMDE4 IC0gMTc6MjI6MjUgKzAwMDApIEFsbHdpbm5lciBUZWNobm9sb2d5DQoNCkNQVTogICBBbGx3aW5u ZXIgQTY0IChTVU41MEkpDQpNb2RlbDogUGluZTY0Kw0KRFJBTTogIDIgR2lCDQpNTUM6ICAgU1VO WEkgU0QvTU1DOiAwDQpMb2FkaW5nIEVudmlyb25tZW50IGZyb20gRkFULi4uICoqKiBXYXJuaW5n IC0gYmFkIENSQywgdXNpbmcgZGVmYXVsdCBlbnZpcm9ubWVudA0KDQpGYWlsZWQgKC01KQ0KTG9h ZGluZyBFbnZpcm9ubWVudCBmcm9tIE1NQy4uLiAqKiogV2FybmluZyAtIGJhZCBDUkMsIHVzaW5n IGRlZmF1bHQgZW52aXJvbm1lbnQNCg0KRmFpbGVkICgtNSkNCkluOiAgICBzZXJpYWwNCk91dDog ICBzZXJpYWwNCkVycjogICBzZXJpYWwNCk5ldDogICBwaHkgaW50ZXJmYWNlNw0KZXRoMDogZXRo ZXJuZXRAMDFjMzAwMDANCnN0YXJ0aW5nIFVTQi4uLg0KVVNCMDogICBVU0IgRUhDSSAxLjAwDQpV U0IxOiAgIFVTQiBPSENJIDEuMA0Kc2Nhbm5pbmcgYnVzIDAgZm9yIGRldmljZXMuLi4gMSBVU0Ig RGV2aWNlKHMpIGZvdW5kDQogICAgICAgc2Nhbm5pbmcgdXNiIGZvciBzdG9yYWdlIGRldmljZXMu Li4gMCBTdG9yYWdlIERldmljZShzKSBmb3VuZA0KSGl0IGFueSBrZXkgdG8gc3RvcCBhdXRvYm9v dDogIDIgDQoNCi0gLS0gDQpPLiBIYXJ0bWFubg0KDQpJY2ggd2lkZXJzcHJlY2hlIGRlciBOdXR6 dW5nIG9kZXIgw5xiZXJtaXR0bHVuZyBtZWluZXIgRGF0ZW4gZsO8cg0KV2VyYmV6d2Vja2Ugb2Rl ciBmw7xyIGRpZSBNYXJrdC0gb2RlciBNZWludW5nc2ZvcnNjaHVuZyAowqcgMjggQWJzLiA0IEJE U0cpLg0KLS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0NCg0KaUxVRUFSTUtBQjBXSVFRWlZa TXpBdHdDMlQvODZUclM1MjhmeUZoWWxBVUNXeHY3U2dBS0NSRFM1MjhmeUZoWQ0KbE5uY0FmOUVs RGM5WkM5Y1NWSmJxL0xyRmdDNnhqTGN6Y0lEVUJITkdnTFR5VmVZV2lRdm8zVE44U2dDaVRnYQ0K Rml6Z2E2ZElIR3JRL1J3bUd0eGVSOHJmaVVQMkFmMFE4eVZFSTl2QTdrWDBuaUxuMUcvSXhhUVh5 OElGdzdXYw0KRm45NEMwY0pyLzJpcUVzZ1NMc3JxZk1mYVZGSGx3TkNCelM1V3IrRGkvOXk4Ujha NFFicw0KPTNZUDINCi0tLS0tRU5EIFBHUCBTSUdOQVRVUkUtLS0tLQ0K From owner-freebsd-arm@freebsd.org Sat Jun 9 17:15:11 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 894B9101065C for ; Sat, 9 Jun 2018 17:15:11 +0000 (UTC) (envelope-from muhammad.taibah@gmail.com) Received: from mail-ua0-x234.google.com (mail-ua0-x234.google.com [IPv6:2607:f8b0:400c:c08::234]) (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 5AE0A76229 for ; Sat, 9 Jun 2018 11:37:12 +0000 (UTC) (envelope-from muhammad.taibah@gmail.com) Received: by mail-ua0-x234.google.com with SMTP id c23-v6so10605880uan.3 for ; Sat, 09 Jun 2018 04:37:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:reply-to:from:date:message-id:subject:to; bh=fSl1/83R5Ki52YSdX3CqkbgXsnTadnycPoXeUndFd7Q=; b=caEATrYaxeH9m+DClpCBwEJDKvAmFPvCix/KYf1gqKOx46WDWVOOd3ipH6+DguPy2y qQm80YktU6+RbXMa86WbMOs3HeTeGzcPKejQnlVC6GNBNDlzueylTQ/oRzhM4S/SAuS5 WAHNoLdktF3tNHgPCKKNDRsiGFHEFFRkYuUgZT1rjw7QEUcUi6gk0C0xFmTn088id8fz zEbeYzS9NE3Gfbq0K4RJlVzestoixhcrYoyYCHCty0g6XHRuRcn1JivkkoRW+1pzUdQw 8mlIgqoBHXj/sXRLAX9MR90ZRfgcQjKQ9akLP8sk92LG9x22AQQBIC7tkdSjzB9sgS0A k0+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:from:date:message-id :subject:to; bh=fSl1/83R5Ki52YSdX3CqkbgXsnTadnycPoXeUndFd7Q=; b=gn9XBOzLMhljKZ3t6pON9tGbWs416Wu9GmhzGg2KpVaB3FViVJYPtbpaMWG51WHwJx xFMOJ7TuHgCqM9qLuqtYz3G6DG30XlMD23py8yPfXWms3htgROZRdaaIm0aDs0P/8xlj kLwY7KXY09VtLXWrIsuThKciYUCImF2B7jO2GMtfKiIgzi8b8UiBiuCWR0Op0LvrQfev NmIdoPnx8gGcOTRwUoNosDQnqNGVPJa5wOSBi1EzPiIU+zImfZpZtE62OGxn4p8viBhA btsNNu+wbvoy9POIrShsWTcU6z3jDPu9p/s0cLiyNlGbUlvXpKyPz6pYQY7rAIWEj2Aa eUqA== X-Gm-Message-State: APt69E2XrqwMedUHQ0ZtqVY+TdvNUYtgpGPRIudmW4CfKfLbWaF9Y6uf cV+8MdGcjuO3oSauG3NgMx+H9lnTzCYiJFHsiyWHGFCU X-Google-Smtp-Source: ADUXVKJGXiwa+62Zx/K0G9NoyaS6QsllsK+b945GauQdfVU+O9rB2hYS1DdNZRTWHf6MGgvayFsuBpRNmWHkiRpclsk= X-Received: by 2002:ab0:534d:: with SMTP id y13-v6mr6454782uay.182.1528544231595; Sat, 09 Jun 2018 04:37:11 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a67:27c3:0:0:0:0:0 with HTTP; Sat, 9 Jun 2018 04:36:51 -0700 (PDT) Reply-To: taibah@linux.com From: Muhammad Taibah Date: Sat, 9 Jun 2018 07:36:51 -0400 Message-ID: Subject: Banana Pi R2 To: freebsd-arm@freebsd.org X-Mailman-Approved-At: Sat, 09 Jun 2018 17:30:03 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jun 2018 17:15:11 -0000 Dear Sir/Madam, =E2=80=8B Would you kindly let me know if there will be any support of = the board [http://www.banana-pi.org/r2.html]. There is no FreeBSD image =E2=80=8Bavailable on their official images website [ http://forum.banana-pi.org/c/Banana-Pi-BPI-R2/bpi-r2-image]. If not would you kindly guide me to what I can do to get FreeBSD running on this board? Your fast response would be highly appreciated. Thank you very much. =E2=80=8BCheers! M =E2=80=8B =E2=80=8B u =E2=80=8B =E2=80=8B h =E2=80=8B =E2=80=8B a =E2=80=8B =E2=80=8B m =E2=80=8B =E2=80=8B m =E2=80=8B =E2=80=8B a =E2=80=8B =E2=80=8B d --The information transmitted in this email is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this email in error, please contact the sender and delete the material from any computer. From owner-freebsd-arm@freebsd.org Sat Jun 9 17:31:21 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 53A811014E25 for ; Sat, 9 Jun 2018 17:31:21 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C7B828586C for ; Sat, 9 Jun 2018 17:31:20 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id 0277ab33; Sat, 9 Jun 2018 19:31:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=be8I/SGKrlNTn3nunSwv8FpidX0=; b=k2DHHaAhtGfmijLoZxoMZly4jo7e qeo9BH5DloSJZBq3iWOEEFSp52FicK1EcZ59CeUpmk8GZQzNdus1CCCkEW+VyThb hYclo/j4FxVgMuGzsGUnMzp+oFhNC+9V3Onu+TxP8A/GHe8V7nlQo+BQcw3icnTJ ymUUvksVBNghLr8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=TPler6OdXG8Yn9/R3ZJSuYMD+wR84mV8SNvhUe+nzpEh5Kmh4T+xya+l DCsQpK4gNETNTWe/UsztEDbwyZOS2GkFIuPyJVg+Hfy889JxgicBsvTjBU80zyrt iNPVL5nuR3nlK86m6hwKmJ6d3YPzY1SPmcT9T7nhLmj52sMruLI= Received: from knuckles.blih.net (137.122.64.159 [137.122.64.159]) by mail.blih.net (OpenSMTPD) with ESMTPSA id 5cb11b9e TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Sat, 9 Jun 2018 19:31:12 +0200 (CEST) Date: Sat, 9 Jun 2018 19:31:07 +0200 From: Emmanuel Vadot To: "O. Hartmann" Cc: "freebsd-arm@freebsd.org" Subject: Re: PINE64: aw_mmc0: controller timeout aw_mmc0: timeout updating clock Message-Id: <20180609193107.077aa9342126f550a88d1f26@bidouilliste.com> In-Reply-To: <20180609180738.694fc3cf@thor.intern.walstatt.dynvpn.de> References: <20180609180738.694fc3cf@thor.intern.walstatt.dynvpn.de> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jun 2018 17:31:21 -0000 Hi, On Sat, 9 Jun 2018 18:07:11 +0200 "O. Hartmann" wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 >=20 > Running a PINE64 with a recent CURRENT ( FreeBSD 12.0-CURRENT #27 r334874= : Sat Jun 9 > 09:31:07 CEST 2018 aarch64) and trying to update the system via "pkg Base= " (self compiled > on a amd64 system), it turns out, that updating the Pine64 on such a way = is a ever > lasting job.=20 >=20 > Downloading is a task I need a lot of patience even with the 1 GBit NIC o= f the Pine64, > but extracting turns out to be a slow as the movement of a glacier and mo= st of the time > my Pine64 crashes due to the error shown below. >=20 > The SD card is not the fastest one, dmesg reports >=20 > mmcsd0: 16GB at mmc0 > 50.0MHz/4bit/32768-block >=20 > but on other systems the performance is sufficient - but not on the Pine6= 4. I haven't > checked with other SD cards due to the lack of other types, so if the rea= son for the > timing problems is the SD card and not the driver, I'll check with anothe= r one.=20 >=20 > But could someone check? I know there is still a bug somewhere in the driver that cause this, I use to be able to reproduce it with pkg install llvm50 but not anymore after my latest commits. I guess I have a new test case. What's the size of the FreeBSD-runtime-debug-12.0.s20180609073121 package ? > What is about MMCCAM? Is it worth giving that a try or is its development= state to risky > regarding the usage on a Pine64? No support for MMCCAM in this driver, kibab@ is working on it. > Thanks in advance, >=20 > oh >=20 > [...] > Proceed with this action? [y/N]: y > [1/379] Upgrading FreeBSD-runtime-debug from 12.0.s20180602132042 to > 12.0.s20180609073121... [1/379] Extracting FreeBSD-runtime-debug-12.0.s20= 180609073121: > 89%aw_mmc0: controller timeout aw_mmc0: timeout updating clock > mmcsd0: Error indicated: 1 Timeout > g_vfs_done():ufs/rootfs[WRITE(offset=3D131072, length=3D32768)]error =3D 5 > softdep_update_inodeblock: bwrite: got error 5 while accessing filesystem > aw_mmc0: controller timeout > aw_mmc0: timeout updating clock > mmcsd0: Error indicated: 1 Timeout > g_vfs_done():ufs/rootfs[WRITE(offset=3D196608, length=3D32768)]error =3D 5 > aw_mmc0: controller timeout > aw_mmc0: timeout updating clock > mmcsd0: Error indicated: 1 Timeout > g_vfs_done():ufs/rootfs[WRITE(offset=3D425984, length=3D32768)]error =3D 5 > aw_mmc0: controller timeout > aw_mmc0: timeout updating clock > mmcsd0: Error indicated: 1 Timeout > g_vfs_done():ufs/rootfs[WRITE(offset=3D2195456, length=3D32768)]error =3D= 5 > aw_mmc0: controller timeout > aw_mmc0: timeout updating clock > mmcsd0: Error indicated: 1 Timeout > g_vfs_done():ufs/rootfs[WRITE(offset=3D2228224, length=3D32768)]error =3D= 5 >=20 > pkg: Fail to truncate > file: /usr/lib/debug/usr/sbin/.praliases.debug.RVoslDv5e7DD:Input/output = error aw_mmc0: > controller timeout aw_mmc0: timeout updating clock > mmcsd0: Error indicated: 1 Timeout > g_vfs_done():ufs/rootfs[WRITE(offset=3D22646784, length=3D4096)]error =3D= 5 > aw_mmc0: controller timeout > aw_mmc0: timeout updating clock > mmcsd0: Error indicated: 1 Timeout > g_vfs_done():ufs/rootfs[WRITE(offset=3D654704640, length=3D32768)]error = =3D 5 >=20 > aw_mmc0: controller timeout > aw_mmc0: timeout updating clock > mmcsd0: Error indicated: 1 Timeout > g_vfs_done():ufs/rootfs[WRITE(offset=3D1303248896, length=3D32768)]error = =3D 5 > aw_mmc0: controller timeout >=20 > [...] >=20 > aw_mmc0: controller timeout > aw_mmc0: timeout updating clock > mmcsd0: Error indicated: 1 Timeout > g_vfs_done():panic: vm_fault_hold: fault on nofault entry, addr: 0xffff00= 0043330000 > cpuid =3D 1 > time =3D 1262342837 > KDB: stack backtrace: > #0 0xffff00000038b34c at kdb_backtrace+0x60 > #1 0xffff00000034384c at vpanic+0x1a8 > #2 0xffff0000003436a0 at panic+0x44 > #3 0xffff00000060f650 at vm_fault_hold+0x20b4 > #4 0xffff00000060d544 at vm_fault+0x60 > #5 0xffff000000666154 at data_abort+0xa0 > #6 0xffff000000665fb0 at do_el1h_sync+0x11c > #7 0xffff000000650874 at handle_el1h_sync+0x74 > #8 0xffff00000064e8f8 at bounce_bus_dmamap_sync+0x258 > #9 0xffff00000063c7a0 at aw_mmc_request+0x32c > #10 0xffff00000015a358 at mmc_wait_for_request+0x120 > #11 0xffff00000016319c at mmcsd_rw+0x198 > #12 0xffff000000161d98 at mmcsd_task+0x220 > #13 0xffff000000306490 at fork_exit+0x90 > Uptime: 20m2s >=20 > U-Boot SPL 2018.03 (May 29 2018 - 17:22:25 +0000) > DRAM: 2048 MiB > Trying to boot from MMC1 >=20 >=20 > U-Boot 2018.03 (May 29 2018 - 17:22:25 +0000) Allwinner Technology >=20 > CPU: Allwinner A64 (SUN50I) > Model: Pine64+ > DRAM: 2 GiB > MMC: SUNXI SD/MMC: 0 > Loading Environment from FAT... *** Warning - bad CRC, using default envi= ronment >=20 > Failed (-5) > Loading Environment from MMC... *** Warning - bad CRC, using default envi= ronment >=20 > Failed (-5) > In: serial > Out: serial > Err: serial > Net: phy interface7 > eth0: ethernet@01c30000 > starting USB... > USB0: USB EHCI 1.00 > USB1: USB OHCI 1.0 > scanning bus 0 for devices... 1 USB Device(s) found > scanning usb for storage devices... 0 Storage Device(s) found > Hit any key to stop autoboot: 2=20 >=20 > - --=20 > O. Hartmann >=20 > Ich widerspreche der Nutzung oder =DCbermittlung meiner Daten f=FCr > Werbezwecke oder f=FCr die Markt- oder Meinungsforschung (=A7 28 Abs. 4 B= DSG). > -----BEGIN PGP SIGNATURE----- >=20 > iLUEARMKAB0WIQQZVZMzAtwC2T/86TrS528fyFhYlAUCWxv7SgAKCRDS528fyFhY > lNncAf9ElDc9ZC9cSVJbq/LrFgC6xjLczcIDUBHNGgLTyVeYWiQvo3TN8SgCiTga > Fizga6dIHGrQ/RwmGtxeR8rfiUP2Af0Q8yVEI9vA7kX0niLn1G/IxaQXy8IFw7Wc > Fn94C0cJr/2iqEsgSLsrqfMfaVFHlwNCBzS5Wr+Di/9y8R8Z4Qbs > =3D3YP2 > -----END PGP SIGNATURE----- > _______________________________________________ > 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" --=20 Emmanuel Vadot From owner-freebsd-arm@freebsd.org Sat Jun 9 19:00:28 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 734931005F8C for ; Sat, 9 Jun 2018 19:00:28 +0000 (UTC) (envelope-from dev.madaari@gmail.com) Received: from mail-wr0-x243.google.com (mail-wr0-x243.google.com [IPv6:2a00:1450:400c:c0c::243]) (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 EA8F36EE69 for ; Sat, 9 Jun 2018 19:00:27 +0000 (UTC) (envelope-from dev.madaari@gmail.com) Received: by mail-wr0-x243.google.com with SMTP id w7-v6so16418017wrn.6 for ; Sat, 09 Jun 2018 12:00:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=fYC9Q1YbsKa4iJHO77tP4MrY8XRRK0ES0LYztVeEq+M=; b=JU+kXiMCd5uNi0IHHCPsL/y8Rf6sgYt5Gff2NmMffHN4NObKwGff0xR1jIG2i5FGBm cBcAPIynH5SIeRvoKqWONL94/bfrRUkydKF4DQE+hwL5dOGLy71XvbiWlhNacl9uDl5o 1Dt1zh+gNjY5jQzMSta5Mw9sgyICnCCXDsFsPxdnArO1CoABR7nXeTeqWtXBw+RKd/vh BrnGdpnWSJncOz2x63nxFneXGJEskkEQ7B6ik+NHKmZ98Ip9h4TSx7xTGarRST7dDwKP blgJGaaYRD8datjRJCv4O9JrCZlWGJU6LMRPAaYoySQ5EoPPwo+SiSNWLvhSHsyt7coR DiNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=fYC9Q1YbsKa4iJHO77tP4MrY8XRRK0ES0LYztVeEq+M=; b=kq4Sh6Usom1jeBnY2Q6oFQMMfoWO2Nocl28D/UrgcQc5Z9bcVY7NvwnCEo5ogu8vSB Hm5PRDvf4Zwd5XGNWXEtWXzVmhtMm0E0IwP3Q4iTPrC8h8JcMsfED6/3Z3tQ1yb8UYtS 0BaC7rCq6zHz99i99tb9YRjZ5N7rlDjDr1B5gLrTZuzaqHx9E9zezMVI1WAWaP2Ea7v7 rNbQkJ+LP/JmRZSUoAT3gynadOyw/ze3ml7+Ddt7+n9og6U5amio/7MTpKcDGDcpoCp9 +ajwNLIQ1xk+ag7d/lRdf/jwFV0aLFisdEw96CHhPvRLrGvDjzRzubkIDu/y31cEXYu5 ewMA== X-Gm-Message-State: APt69E1s42lNl8IyqqJbxrZKU9xWsAbXRHh93OwofKk/WSVZan1davyp WQ9kcDJJBNn2P4lHgU6KwfymdPpLNIdLeOXZEmQ= X-Google-Smtp-Source: ADUXVKLFx6Pj0FiR+j+Ceaukyll5prCdOUOZuZb8R9armps/TrY9H/m94CLOlkAM6VI7i4NKg1TRfl/XlGIrr4p35I4= X-Received: by 2002:adf:d4c5:: with SMTP id w5-v6mr8100195wrk.185.1528570826868; Sat, 09 Jun 2018 12:00:26 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a1c:dcd5:0:0:0:0:0 with HTTP; Sat, 9 Jun 2018 12:00:26 -0700 (PDT) In-Reply-To: References: From: Udit agarwal Date: Sun, 10 Jun 2018 00:30:26 +0530 Message-ID: Subject: Re: Banana Pi R2 To: taibah@linux.com Cc: freebsd-arm@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jun 2018 19:00:28 -0000 Hi, On Sat, Jun 9, 2018 at 5:06 PM, Muhammad Taibah wrote: > Dear Sir/Madam, > > > =E2=80=8B Would you kindly let me know if there will be any support o= f the > board [http://www.banana-pi.org/r2.html]. There is no FreeBSD image > =E2=80=8Bavailable on their official images website [ > http://forum.banana-pi.org/c/Banana-Pi-BPI-R2/bpi-r2-image]. > I don't remember FreeBSD currently supporting mtk7623N SoC. There's just some preliminary boot support(here ), but a lot more is to be done for setting up a working image. Regards, Udit agarwal > > If not would you kindly guide me to what I can do to get FreeBSD running = on > this board? Your fast response would be highly appreciated. Thank you ver= y > much. > > > =E2=80=8BCheers! > M > =E2=80=8B =E2=80=8B > u > =E2=80=8B =E2=80=8B > h > =E2=80=8B =E2=80=8B > a > =E2=80=8B =E2=80=8B > m > =E2=80=8B =E2=80=8B > m > =E2=80=8B =E2=80=8B > a > =E2=80=8B =E2=80=8B > d > > > > > --The information transmitted in this email is intended only for the pers= on > or entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or other u= se > of or taking of any action in reliance upon, this information by persons = or > entities other than the intended recipient is prohibited. If you receive= d > this email in error, please contact the sender and delete the material fr= om > any computer. > _______________________________________________ > 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" > From owner-freebsd-arm@freebsd.org Sat Jun 9 20:07:19 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6EE0E1014B78; Sat, 9 Jun 2018 20:07:19 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C575672D41; Sat, 9 Jun 2018 20:07:18 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id w59K7PBs006088 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 9 Jun 2018 13:07:26 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id w59K7PBE006087; Sat, 9 Jun 2018 13:07:25 -0700 (PDT) (envelope-from fbsd) Date: Sat, 9 Jun 2018 13:07:24 -0700 From: bob prohaska To: freebsd-arm@freebsd.org, freebsd-current@freebsd.org Subject: use of undeclared identifier 'DW_LANG_C11' Message-ID: <20180609200724.GA5728@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jun 2018 20:07:19 -0000 I'm seeing persistent --- dwarf.o --- /usr/src/cddl/contrib/opensolaris/tools/ctf/cvt/dwarf.c:1980:8: error: use of undeclared identifier 'DW_LANG_C11' case DW_LANG_C11: ^ errors very early in buildworld attempts on 334890 I've tried "make clean" in /usr/src to no avail, is there something else to try, or should I just wait for a source update? Thanks for reading, bob prohaska From owner-freebsd-arm@freebsd.org Sat Jun 9 20:13:14 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B466610161B4; Sat, 9 Jun 2018 20:13:14 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-it0-x22a.google.com (mail-it0-x22a.google.com [IPv6:2607:f8b0:4001:c0b::22a]) (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 4687C7349D; Sat, 9 Jun 2018 20:13:14 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: by mail-it0-x22a.google.com with SMTP id 188-v6so5565621ita.5; Sat, 09 Jun 2018 13:13:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=mJ606R5uACqUdT+gXv9itmjT+hG/pHdzjzCoBCXEQ2E=; b=aY2rOrEA5O98wdpdO/3p43DKUROfN1Zv1fD1UL9NywgmHT1H1fcyFm2AP15gz1AS/z BD2UJWwzzWTsFg9Hcgwem0fC4qNCeV7PfwNvKrqZTq3nmr0b4+azCPH63vWKQh5Ue5iN Ee5Ufk/UP30qDVbUYty7YWAoaDeklLm7R1c/UKszmeWAScs9EHN7W1ufJEqpFDzfxaZ4 qs5hK6rXsR7akjbgq6Xx0MnZVDwaNuzqKhocn/8TAR0HFb74RxmnM3K4FxLwCywriXxl eZuMOVMmhS6gesSJLvRWD73uZnwe5yB2tNR1N1jhCLsD1Ez3/RAB2kUjlretGYsK0yIc ApVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=mJ606R5uACqUdT+gXv9itmjT+hG/pHdzjzCoBCXEQ2E=; b=Wbd6sIOKNtIvk3RclSkeCJnoagggoGwWL3OLLwTJbmFPrMtqt5EyD+u3wOs5pTvFB4 po2ewnGMfksXkTqH4c9xWLwhEdRhQzmguDRTDT8zObdzrn2jiJn68E+XpcTh7MC5Y0Ky GauSqZwcp8hkV4vBauC7NCGJNLCkUnqn6Qwuk6kGg1PhXhUHDfPYzDLDNzO8xMy2gonq NRBoy80jB8s5ITB7w2V+lII2nb6zFDnBdeaxS/GjzSQL0ZQ07nzK3sEwHAE1adnE/vLy 5Eqvl01mGaibnW3eATtlmQailQG8V9YDsqJ4LBcxO3iSr4R6dQtgOcY1DZoupG4QPdQ7 nAgA== X-Gm-Message-State: APt69E0hMEfJ6UnAFKJ3yTKug5iEXpAHY5fjZEVFrUtHhFU0BUuEm59z flUu3/tld4RcUc4q/DG5Spj+sVAi X-Google-Smtp-Source: ADUXVKIaSa3YXtuho+RNCJuUup8rNr6c9hy07AVWNoBt+Ab9M8ClDfsWYOUF6hBvELPQq/jx79K1Pg== X-Received: by 2002:a24:d80a:: with SMTP id b10-v6mr5892815itg.141.1528575193717; Sat, 09 Jun 2018 13:13:13 -0700 (PDT) Received: from pesky ([137.122.64.159]) by smtp.gmail.com with ESMTPSA id q203-v6sm2296526itb.32.2018.06.09.13.13.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 09 Jun 2018 13:13:12 -0700 (PDT) Sender: Mark Johnston Date: Sat, 9 Jun 2018 16:13:08 -0400 From: Mark Johnston To: bob prohaska Cc: freebsd-arm@freebsd.org, freebsd-current@freebsd.org Subject: Re: use of undeclared identifier 'DW_LANG_C11' Message-ID: <20180609201308.GA13305@pesky> References: <20180609200724.GA5728@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180609200724.GA5728@www.zefox.net> User-Agent: Mutt/1.10.0 (2018-05-17) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jun 2018 20:13:14 -0000 On Sat, Jun 09, 2018 at 01:07:24PM -0700, bob prohaska wrote: > I'm seeing persistent > --- dwarf.o --- > /usr/src/cddl/contrib/opensolaris/tools/ctf/cvt/dwarf.c:1980:8: error: use of undeclared identifier 'DW_LANG_C11' > case DW_LANG_C11: > ^ > errors very early in buildworld attempts on 334890 > > I've tried "make clean" in /usr/src to no avail, is there something else > to try, or should I just wait for a source update? Please give r334892 a try. From owner-freebsd-arm@freebsd.org Sat Jun 9 21:05:08 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C177B10004E5; Sat, 9 Jun 2018 21:05:08 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3A68975FE6; Sat, 9 Jun 2018 21:05:08 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id w59L5LQm006245 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 9 Jun 2018 14:05:22 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id w59L5L1n006244; Sat, 9 Jun 2018 14:05:21 -0700 (PDT) (envelope-from fbsd) Date: Sat, 9 Jun 2018 14:05:20 -0700 From: bob prohaska To: Mark Johnston Cc: freebsd-arm@freebsd.org, freebsd-current@freebsd.org Subject: Re: use of undeclared identifier 'DW_LANG_C11' Message-ID: <20180609210520.GB5728@www.zefox.net> References: <20180609200724.GA5728@www.zefox.net> <20180609201308.GA13305@pesky> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180609201308.GA13305@pesky> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jun 2018 21:05:08 -0000 On Sat, Jun 09, 2018 at 04:13:08PM -0400, Mark Johnston wrote: > On Sat, Jun 09, 2018 at 01:07:24PM -0700, bob prohaska wrote: > > I'm seeing persistent > > --- dwarf.o --- > > /usr/src/cddl/contrib/opensolaris/tools/ctf/cvt/dwarf.c:1980:8: error: use of undeclared identifier 'DW_LANG_C11' > > case DW_LANG_C11: > > ^ > > errors very early in buildworld attempts on 334890 > > > > I've tried "make clean" in /usr/src to no avail, is there something else > > to try, or should I just wait for a source update? > > Please give r334892 a try. Thank you, bob prohaska