From owner-freebsd-arm@freebsd.org Sun Aug 27 08:15:46 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E1C36DEA2BF for ; Sun, 27 Aug 2017 08:15:46 +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 mx1.freebsd.org (Postfix) with ESMTPS id C579269DD5 for ; Sun, 27 Aug 2017 08:15:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v7R8FkVx024965 for ; Sun, 27 Aug 2017 08:15:46 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 221847] bsdconfig in FreeBSD-11.1-RELEASE-arm-armv6-RPI-B.img.xz can't install packages Date: Sun, 27 Aug 2017 08:15:46 +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: 11.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tarjei@online.no 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.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Aug 2017 08:15:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221847 Bug ID: 221847 Summary: bsdconfig in FreeBSD-11.1-RELEASE-arm-armv6-RPI-B.img.xz can't install packages Product: Base System Version: 11.1-RELEASE Hardware: arm OS: Any Status: New Severity: Affects Only Me Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: tarjei@online.no Created attachment 185800 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D185800&action= =3Dedit bsdconfig.log Software installed on Raspberry PI B+ pkg on command line seems to work fine.=20 installation of pkg worked fine and I could install kermit. I have checked that ftp works from the machine against ftp.freebsd.org. I have difficulty in interpreting the attached log file. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-arm@freebsd.org Tue Aug 29 19:59:00 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3E2D0DE43CC for ; Tue, 29 Aug 2017 19:59:00 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-93.reflexion.net [208.70.210.93]) (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 E2EBB6F15F for ; Tue, 29 Aug 2017 19:58:59 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 16103 invoked from network); 29 Aug 2017 19:54:10 -0000 Received: from unknown (HELO mail-cs-02.app.dca.reflexion.local) (10.81.19.2) by 0 (rfx-qmail) with SMTP; 29 Aug 2017 19:54:10 -0000 Received: by mail-cs-02.app.dca.reflexion.local (Reflexion email security v8.40.2) with SMTP; Tue, 29 Aug 2017 15:52:18 -0400 (EDT) Received: (qmail 9496 invoked from network); 29 Aug 2017 19:52:18 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 29 Aug 2017 19:52:18 -0000 Received: from [192.168.1.109] (c-67-170-167-181.hsd1.or.comcast.net [67.170.167.181]) by iron2.pdx.net (Postfix) with ESMTPSA id 9B23CEC936E; Tue, 29 Aug 2017 12:52:17 -0700 (PDT) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: stable/11 -r322591 using WITH_LLD_IS_LD= : delete-old removes . . ./usr/bin/ld Message-Id: <660AE7B2-AB5D-4D8A-9359-3D08BE6DAB7E@dsl-only.net> Date: Tue, 29 Aug 2017 12:52:16 -0700 To: FreeBSD Toolchain , freebsd-arm X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Aug 2017 19:59:00 -0000 In some build experiments for amd64 -> aarch64 cross builds/local-file-system-installs for stable/11 -r322591 with WITH_LLD_IS_LD=3D I got examples of delete-old delete-old-libs deleting the path to ld after a from-scratch build: >>> Removing old files (only deletes safe to delete libs) = /usr/obj/DESTDIRs/clang-cortexA53-installworld-dist-from-src/usr/share/man= /man4/hv_vss.4.gz /usr/obj/DESTDIRs/clang-cortexA53-installworld-dist-from-src/usr/bin/ld >>> Old files removed >>> Removing old directories = /usr/obj/DESTDIRs/clang-cortexA53-installworld-dist-from-src/usr/lib/debug= /usr/lib/private >>> Old directories removed To remove old libraries run 'make delete-old-libs'. >>> Removing old libraries Please be sure no application still uses those libraries, else you can not start such an application. Consult UPDATING for more information regarding how to cope with the removal/revision bump of a specific library. >>> Old libraries removed # ls -lT = /usr/obj/DESTDIRs/clang-cortexA53-installworld-dist-from-src/usr/bin/*ld* -r-xr-xr-x 1 root wheel 200056 Aug 29 11:40:10 2017 = /usr/obj/DESTDIRs/clang-cortexA53-installworld-dist-from-src/usr/bin/colld= ef -r-xr-xr-x 1 root wheel 199968 Aug 29 11:40:12 2017 = /usr/obj/DESTDIRs/clang-cortexA53-installworld-dist-from-src/usr/bin/fold -r-xr-xr-x 1 root wheel 25171560 Aug 29 11:40:16 2017 = /usr/obj/DESTDIRs/clang-cortexA53-installworld-dist-from-src/usr/bin/ld.ll= d -r-xr-xr-x 1 root wheel 199760 Aug 29 11:40:13 2017 = /usr/obj/DESTDIRs/clang-cortexA53-installworld-dist-from-src/usr/bin/ldd -r-xr-xr-x 1 root wheel 40441008 Aug 29 11:40:16 2017 = /usr/obj/DESTDIRs/clang-cortexA53-installworld-dist-from-src/usr/bin/lldb -r-xr-xr-x 1 root wheel 7802624 Aug 29 11:40:15 2017 = /usr/obj/DESTDIRs/clang-cortexA53-installworld-dist-from-src/usr/bin/llvm-= rtdyld So no hard or symbolic link pointing to ld.lld . Context details: # svnlite info /usr/src/ | grep "Re[plv]" Relative URL: ^/stable/11 Repository Root: svn://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 322591 Last Changed Rev: 322591 # more ~/src.configs/src.conf.cortexA53-clang-bootstrap.amd64-host TO_TYPE=3Daarch64 TOOLS_TO_TYPE=3D${TO_TYPE} # KERNCONF=3DGENERIC-NODBG TARGET=3Darm64 .if ${.MAKE.LEVEL} =3D=3D 0 TARGET_ARCH=3D${TO_TYPE} .export TARGET_ARCH .endif # WITH_CROSS_COMPILER=3D WITHOUT_SYSTEM_COMPILER=3D # WITH_LIBCPLUSPLUS=3D WITHOUT_BINUTILS_BOOTSTRAP=3D WITH_ELFTOOLCHAIN_BOOTSTRAP=3D WITH_CLANG_BOOTSTRAP=3D WITH_CLANG=3D WITH_CLANG_IS_CC=3D WITH_CLANG_FULL=3D WITH_CLANG_EXTRAS=3D WITH_LLD_BOOTSTRAP=3D WITH_LLD=3D WITH_LLD_IS_LD=3D WITH_LLDB=3D # WITH_BOOT=3D WITHOUT_LIB32=3D # WITHOUT_GCC_BOOTSTRAP=3D WITHOUT_GCC=3D WITHOUT_GCC_IS_CC=3D WITHOUT_GNUCXX=3D # NO_WERROR=3D #WERROR=3D MALLOC_PRODUCTION=3D # WITH_REPRODUCIBLE_BUILD=3D WITH_DEBUG_FILES=3D # #CROSS_BINUTILS_PREFIX=3D/usr/local/${TOOLS_TO_TYPE}-freebsd/bin/ XCFLAGS+=3D -mcpu=3Dcortex-a53 XCXXFLAGS+=3D -mcpu=3Dcortex-a53 # There is no XCPPFLAGS but XCPP gets XCFLAGS content. # more /usr/src/sys/arm64/conf/GENERIC-NODBG=20 # # GENERIC -- Custom configuration for the arm64/aarch64 # include "GENERIC" ident GENERIC-NODBG makeoptions DEBUG=3D-g # Build kernel with gdb(1) = debug symbols options ALT_BREAK_TO_DEBUGGER options KDB # Enable kernel debugger support # For minimum debugger support (stable branch) use: #options KDB_TRACE # Print a stack trace for a = panic options DDB # Enable the kernel debugger # Extra stuff: #options VERBOSE_SYSINIT # Enable verbose sysinit = messages #options BOOTVERBOSE=3D1 #options BOOTHOWTO=3DRB_VERBOSE #options KTR #options KTR_MASK=3DKTR_TRAP ##options KTR_CPUMASK=3D0xF #options KTR_VERBOSE # Disable any extra checking for. . . nooptions DEADLKRES # Enable the deadlock resolver nooptions INVARIANTS # Enable calls of extra sanity = checking nooptions INVARIANT_SUPPORT # Extra sanity checks of = internal structures, required by INVARIANTS nooptions WITNESS # Enable checks to detect = deadlocks and cycles nooptions WITNESS_SKIPSPIN # Don't run witness on spinlocks = for speed nooptions DIAGNOSTIC nooptions MALLOC_DEBUG_MAXZONES # Separate malloc(9) zones nooptions BUF_TRACKING =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-arm@freebsd.org Tue Aug 29 22:53:34 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AF05CDE7BBC; Tue, 29 Aug 2017 22:53:34 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from mail.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8EC02744D4; Tue, 29 Aug 2017 22:53:33 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from ralph.baldwin.cx (c-73-231-226-104.hsd1.ca.comcast.net [73.231.226.104]) by mail.baldwin.cx (Postfix) with ESMTPSA id 5735510AB01; Tue, 29 Aug 2017 18:53:27 -0400 (EDT) From: John Baldwin To: freebsd-arm@freebsd.org Cc: Mark Millard , FreeBSD Toolchain Subject: Re: stable/11 -r322591 using WITH_LLD_IS_LD= : delete-old removes . . ./usr/bin/ld Date: Tue, 29 Aug 2017 15:53:20 -0700 Message-ID: <1771565.Wag2HgbXxa@ralph.baldwin.cx> User-Agent: KMail/4.14.10 (FreeBSD/11.1-STABLE; KDE/4.14.30; amd64; ; ) In-Reply-To: <660AE7B2-AB5D-4D8A-9359-3D08BE6DAB7E@dsl-only.net> References: <660AE7B2-AB5D-4D8A-9359-3D08BE6DAB7E@dsl-only.net> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mail.baldwin.cx); Tue, 29 Aug 2017 18:53:27 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.99.2 at mail.baldwin.cx X-Virus-Status: Clean X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Aug 2017 22:53:34 -0000 On Tuesday, August 29, 2017 12:52:16 PM Mark Millard wrote: > In some build experiments for amd64 -> aarch64 cross > builds/local-file-system-installs for stable/11 > -r322591 with WITH_LLD_IS_LD= I got examples of > delete-old delete-old-libs deleting the path to ld > after a from-scratch build: This was fixed in HEAD in r309775 which hasn't been MFC'd. There were some followup fixes in r312897 as well. I'll merge those two to 11 in a sec. -- John Baldwin From owner-freebsd-arm@freebsd.org Wed Aug 30 10:09:44 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D4546DF4A05 for ; Wed, 30 Aug 2017 10:09:44 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-93.reflexion.net [208.70.210.93]) (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 8592E65F4A for ; Wed, 30 Aug 2017 10:09:43 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 26540 invoked from network); 30 Aug 2017 10:14:55 -0000 Received: from unknown (HELO mail-cs-01.app.dca.reflexion.local) (10.81.19.1) by 0 (rfx-qmail) with SMTP; 30 Aug 2017 10:14:55 -0000 Received: by mail-cs-01.app.dca.reflexion.local (Reflexion email security v8.40.2) with SMTP; Wed, 30 Aug 2017 06:09:42 -0400 (EDT) Received: (qmail 32279 invoked from network); 30 Aug 2017 10:09:41 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 30 Aug 2017 10:09:41 -0000 Received: from [192.168.1.109] (c-67-170-167-181.hsd1.or.comcast.net [67.170.167.181]) by iron2.pdx.net (Postfix) with ESMTPSA id 19411EC8143; Wed, 30 Aug 2017 03:09:41 -0700 (PDT) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: FYI: qemu-ppc64-static and qemu-ppc-static "live-hang" when I attempt use with poudriere; qemu-arm-static and qemu-aarch64-static work Message-Id: <7BCCF7B6-7AA0-470E-A3ED-9D116E13DBFC@dsl-only.net> Date: Wed, 30 Aug 2017 03:09:40 -0700 Cc: freebsd-arm To: FreeBSD Toolchain , FreeBSD PowerPC ML , FreeBSD Ports X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Aug 2017 10:09:45 -0000 qemu-ppc64-static and qemu-ppc-static "live-hang" when I attempt use them with poudriere, hanging at the command (showing an example process id): /usr/local/bin/qemu-ppc-static /bin/ps -ww -p 47841 -o jid=3D which eats CPU time and grows memory SIZE over time. Examples from after waiting a while in each case: PID USERNAME THR PRI NICE SIZE RES SWAP STATE C TIME = CPU COMMAND 48319 root 2 103 0 8413M 234M 0K CPU11 11 2:50 = 101.97% /usr/local/bin/qemu-ppc64-static /bin/ps -ww -p 48318 -o jid PID USERNAME THR PRI NICE SIZE RES SWAP STATE C TIME = CPU COMMAND 47842 root 2 103 0 16597M 455M 0K CPU1 1 5:25 = 96.38% /usr/local/bin/qemu-ppc-static /bin/ps -ww -p 47841 -o jid=3D By contrast I've no such problem with qemu-arm-static or qemu-aarch64-static : these were able to build lang/gcc7 (full bootstrap) in between 4 and 5 hours hours each, the prerequisites also being built in the process. # svnlite info /usr/ports/ | grep "Re[plv]" Relative URL: ^/head Repository Root: svn://svn.freebsd.org/ports Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5 Revision: 448068 Last Changed Rev: 448068 My attempts to manually use qemu-ppc64-static and qemu-ppc-static (with -L supplied) also get such results. The same for qemu-ppc*-static running a statically linked rescue program (so no -L needed). It appears that qemu-ppc64-static and qemu-ppc-static from emulators/qemu-user-static are broken. =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-arm@freebsd.org Wed Aug 30 11:00:50 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 27AA9DF5ADF; Wed, 30 Aug 2017 11:00:50 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (mail.soaustin.net [192.108.105.60]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.soaustin.net", Issuer "StartCom Class 2 IV Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0D00367842; Wed, 30 Aug 2017 11:00:49 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from lonesome.com (bones.soaustin.net [192.108.105.22]) by mail.soaustin.net (Postfix) with ESMTPSA id 2F2AD67F; Wed, 30 Aug 2017 06:00:48 -0500 (CDT) Date: Wed, 30 Aug 2017 06:00:47 -0500 From: Mark Linimon To: Mark Millard Cc: FreeBSD Toolchain , FreeBSD PowerPC ML , FreeBSD Ports , freebsd-arm Subject: Re: FYI: qemu-ppc64-static and qemu-ppc-static "live-hang" when I attempt use with poudriere; qemu-arm-static and qemu-aarch64-static work Message-ID: <20170830110046.GA32595@lonesome.com> References: <7BCCF7B6-7AA0-470E-A3ED-9D116E13DBFC@dsl-only.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7BCCF7B6-7AA0-470E-A3ED-9D116E13DBFC@dsl-only.net> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Aug 2017 11:00:50 -0000 On Wed, Aug 30, 2017 at 03:09:40AM -0700, Mark Millard wrote: > It appears that qemu-ppc64-static and qemu-ppc-static from > emulators/qemu-user-static are broken. Correct, and known for some time. (fwiw sparc64 hangs as well.) mcl From owner-freebsd-arm@freebsd.org Wed Aug 30 23:49:57 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 207CBE0CF7F for ; Wed, 30 Aug 2017 23:49:57 +0000 (UTC) (envelope-from monty11ez@gmail.com) Received: from mail-wm0-x233.google.com (mail-wm0-x233.google.com [IPv6:2a00:1450:400c:c09::233]) (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 ACB74219 for ; Wed, 30 Aug 2017 23:49:56 +0000 (UTC) (envelope-from monty11ez@gmail.com) Received: by mail-wm0-x233.google.com with SMTP id u26so19446931wma.0 for ; Wed, 30 Aug 2017 16:49:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=MrMPJRkS4grCqsbq8l8mfNVDRmoN8iTVe4YV4x6Qdb8=; b=gd2GF7AsEr9pHxhqzx5lWG8XyOpnnZ/HY24t6TfzHDtN88whaWYZMJsnmI9qzhEBPU zPvtHKStvVkj4ve0JrbWRufu4s7weAQDIU/+daS6LlIVQjcGgVEWYRRsLl6qfH2rNcEk ZKx0Nru+VubnilUD+wgfjsT2vq6MKUuyHKukpb14zCvkfbBuKOT1/cpqeS7rEZluj+B/ YmWMR2qi8Nq43n8sNDg01YA3HMtj/+kY+cbpfhpS2BxQbZRh3dU5smD2ORd91vPnCvIM vdwdFLlFBd/BZ1g8Fu2Hd7hjhU2xhNCxiWB9sf5YRqJodIwPg/C9kQVtubuK8qgdWq7q G4dQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=MrMPJRkS4grCqsbq8l8mfNVDRmoN8iTVe4YV4x6Qdb8=; b=ubyjqGbCZsYVlwaKWS4+msiFHYp/Mov1SfG1EzrTPE11NHfPt+jLzn+RtLQIls57gO VJwoiHzg9ysEX2RY8g9WDMe86Ug8YPkv+2TrE6YsU++Y1vY5QLplCsLQgTCRTR1yq6e7 P190J47dDqXxtiHBkSngZ6qasas6fiHOlXEseEvW17Pf5cGAeL7mUVdidLeYSh/QyZWd gJBKHDAIKIJPrlkyuwFqqpBaRulPg6VT6yrzMRdmiXnl8x4c9qBDDp1a96nO3w+TgpSy fQ6mgwBYjOTQJL+IJHB44VYRIUcp2fwX0RnQ9tLidDAcHy7G6/7d8q0zQt79hwfkRUWB WdFA== X-Gm-Message-State: AHYfb5jW+lTcyCw/w2ve2I3XQRgGTbXRvWb/f2scynLJoWUTulRXdSHR P3Tl57yrFoCpwP0Sys29IP2nd1xhkkK/ X-Received: by 10.80.133.34 with SMTP id 31mr18677edr.50.1504136994700; Wed, 30 Aug 2017 16:49:54 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.221.4 with HTTP; Wed, 30 Aug 2017 16:49:54 -0700 (PDT) From: Monty Chaney-Geib Date: Wed, 30 Aug 2017 19:49:54 -0400 Message-ID: Subject: 12.0 Current Kernel Build Issue To: freebsd-arm@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Aug 2017 23:49:57 -0000 I am currently having this issue building a custom kernel for my RPi3: "linking kernel.full unknown emulation: aarch64elf line 19: : expected, but got ( PROVIDE (etext = .); ^ *** Error code 1" Thanks! Monty From owner-freebsd-arm@freebsd.org Thu Aug 31 09:50:13 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4AE06E1A8C5 for ; Thu, 31 Aug 2017 09:50:13 +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 mx1.freebsd.org (Postfix) with ESMTPS id 39F8C71117 for ; Thu, 31 Aug 2017 09:50:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v7V9oDw3050783 for ; Thu, 31 Aug 2017 09:50:13 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 221951] hostname does not update /etc/rc.conf with new hostname Date: Thu, 31 Aug 2017 09:50:13 +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: 11.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tarjei@online.no 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.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Aug 2017 09:50:13 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221951 Bug ID: 221951 Summary: hostname does not update /etc/rc.conf with new hostname Product: Base System Version: 11.1-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: tarjei@online.no When I change the hostname of a server using "hostname NewHostName", the hostname entry in /etc/rc.conf is not updated to reflect the new name. This is likely to be highly confusing to both newbies and users with no previous experience with this behaviour. The script fragment below will do the job. And it might be executed from the hostname program, but it might not be paranoid enough since it contains no error detection. nl=3D$'\n' rcCont=3D`grep -v "^hostname=3D" /etc/rc.conf` rcCont=3D"${rcCont}${nl}hostname=3D\"NewHostName\"${nl}" echo "${rcCont}" > /etc/rc.conf --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-arm@freebsd.org Thu Aug 31 09:56:51 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9D32AE1AA6E for ; Thu, 31 Aug 2017 09:56:51 +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 mx1.freebsd.org (Postfix) with ESMTPS id 8B65D7152F for ; Thu, 31 Aug 2017 09:56:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v7V9up0e067245 for ; Thu, 31 Aug 2017 09:56:51 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 221951] hostname does not update /etc/rc.conf with new hostname Date: Thu, 31 Aug 2017 09:56:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: 11.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: manu@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Not A Bug X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: 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.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Aug 2017 09:56:51 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221951 Emmanuel Vadot changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed CC| |manu@freebsd.org Resolution|--- |Not A Bug --- Comment #1 from Emmanuel Vadot --- This is intended. Please see sysrc(8) to configure hostname or other rc.conf variable. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-arm@freebsd.org Thu Aug 31 10:20:23 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9F276E1B2B9 for ; Thu, 31 Aug 2017 10:20:23 +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 mx1.freebsd.org (Postfix) with ESMTPS id 8D82671E84 for ; Thu, 31 Aug 2017 10:20:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v7VAKN73043657 for ; Thu, 31 Aug 2017 10:20:23 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 221955] /etc/rc.conf should be copied first time from the /msdos file system Date: Thu, 31 Aug 2017 10:20:23 +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: 11.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: tarjei@online.no 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.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Aug 2017 10:20:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221955 Bug ID: 221955 Summary: /etc/rc.conf should be copied first time from the /msdos file system Product: Base System Version: 11.1-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: tarjei@online.no The arm servers like the Raspberry PI 3 get their operating system by copyi= ng an image to a memory card. That image contains a MSDOS compatible partition which contains files that can be edited on e.g. windows. Being able to edit the future rc.conf file would allow us to edit the name = of the server, make sure that growfs is enabled, enable ntpd, etc. By renaming the file fter use, we have a track record of the inital config = and if neccessary it can be done again. Ideally there should also be a possibility to define a non-root account tha= t is to be created the first time. Several FreeBSD derivatives uses different accounts. It would be nice to be able to log on regardless of what account = they have decided on. The definition of the account should be overwritten once it has been create= d to ensure that the password cannot be recovered after the account has been created. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-arm@freebsd.org Thu Aug 31 11:00:59 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B9573E1BD04 for ; Thu, 31 Aug 2017 11:00:59 +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 mx1.freebsd.org (Postfix) with ESMTPS id A797B73292 for ; Thu, 31 Aug 2017 11:00:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v7VB0w7X054034 for ; Thu, 31 Aug 2017 11:00:59 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 221955] /etc/rc.conf should be copied first time from the /msdos file system Date: Thu, 31 Aug 2017 11:00:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: 11.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: manu@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Not A Bug X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc resolution bug_status Message-ID: In-Reply-To: References: 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.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Aug 2017 11:00:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221955 Emmanuel Vadot changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |manu@freebsd.org Resolution|--- |Not A Bug Status|New |Closed --- Comment #1 from Emmanuel Vadot --- The rc.conf file always existed only in UFS and it will stay that way. The images generated by the release engineering team ensure that the system will boot and that the user can login either by ssh on using the serial con= sole to modify it according his needs. Thoses images have a 'freebsd' account with the password 'freebsd'. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-arm@freebsd.org Fri Sep 1 03:55:41 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3F632E18D1F for ; Fri, 1 Sep 2017 03:55:41 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [69.239.235.194]) (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 0489974BD3 for ; Fri, 1 Sep 2017 03:55:40 +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 v813UeEe068726 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 31 Aug 2017 20:30:41 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id v813UeEY068725; Thu, 31 Aug 2017 20:30:40 -0700 (PDT) (envelope-from fbsd) Date: Thu, 31 Aug 2017 20:30:39 -0700 From: bob prohaska To: freebsd-arm@freebsd.org Subject: RPI2, panic: pmap_fault: PT2MAP abort Message-ID: <20170901033039.GA68647@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.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Sep 2017 03:55:41 -0000 Has anybody else seen a panic on RPI2 that looks like this? r322942 was building world on r323029. This happened a couple of days ago, the panic repeated on restart but went away using an old kernel and the system built successfully. _That_ system then built r323029, so I thought the problem was solved. A web search on the panic message didn't produce any recent hits, only one from about a year ago. Here's the console output: panic: pmap_fault: PT2MAP abort cpuid = 2 time = 1504234464 KDB: stack backtrace: db_trace_self() at db_trace_self pc = 0xc05a2a04 lr = 0xc0155b6c (db_trace_self_wrapper+0x30) sp = 0xc1e68a98 fp = 0xc1e68bb0 db_trace_self_wrapper() at db_trace_self_wrapper+0x30 pc = 0xc0155b6c lr = 0xc02de7c4 (vpanic+0x158) sp = 0xc1e68bb8 fp = 0xc1e68bd8 r4 = 0x00000100 r5 = 0x00000001 r6 = 0xc0671211 r7 = 0xc086f1f0 vpanic() at vpanic+0x158 pc = 0xc02de7c4 lr = 0xc02de834 (kproc_shutdown) sp = 0xc1e68be0 fp = 0xc1e68be4 r4 = 0x00000000 r5 = 0xbfc909ac r6 = 0xc3cfeb04 r7 = 0x00000007 r8 = 0x00000013 r9 = 0xc09072e0 r10 = 0x00000007 kproc_shutdown() at kproc_shutdown pc = 0xc02de834 lr = 0xc05bcefc (pmap_fault+0x410) sp = 0xc1e68bec fp = 0xc1e68c18 r4 = 0xc02de834 r5 = 0xc1e68bec pmap_fault() at pmap_fault+0x410 pc = 0xc05bcefc lr = 0xc05c12f4 (abort_handler+0xec) sp = 0xc1e68c20 fp = 0xc1e68cb0 r4 = 0x056210c0 r5 = 0xbfc909ac r6 = 0x00000007 r7 = 0x00000007 r8 = 0x00000013 r9 = 0x00000000 r10 = 0xc1e68cb8 abort_handler() at abort_handler+0xec pc = 0xc05c12f4 lr = 0xc05a53dc (exception_exit) sp = 0xc1e68cb8 fp = 0xc1e68d68 r4 = 0x00000001 r5 = 0x2426bff0 r6 = 0xc3cfeb04 r7 = 0x00000006 r8 = 0xc3cfeb14 r9 = 0xc09072e0 r10 = 0x00000806 exception_exit() at exception_exit pc = 0xc05a53dc lr = 0xc02c4478 (__mtx_lock_flags+0x138) sp = 0xc1e68d48 fp = 0xc1e68d68 r0 = 0x000909ac r1 = 0xbfc00000 r2 = 0x00000000 r3 = 0xffffffff r4 = 0x00000001 r5 = 0x2426bff0 r6 = 0xc3cfeb04 r7 = 0x00000006 r8 = 0xc3cfeb14 r9 = 0xc09072e0 r10 = 0x00000806 r12 = 0xc0670a57 pmap_fault() at pmap_fault+0xd0 pc = 0xc05bcbbc lr = 0xc05c12f4 (abort_handler+0xec) sp = 0xc1e68d70 fp = 0xc1e68e00 r4 = 0x056210bf r5 = 0x2426bff0 r6 = 0x00000006 r7 = 0x00000806 r8 = 0x00000010 r9 = 0x00000000 r10 = 0xc1e68e08 abort_handler() at abort_handler+0xec pc = 0xc05c12f4 lr = 0xc05a53dc (exception_exit) sp = 0xc1e68e08 fp = 0xbfbfd108 r4 = 0x2423a008 r5 = 0x2423a024 r6 = 0x00000001 r7 = 0x00000005 r8 = 0x2423a008 r9 = 0x2426bff0 r10 = 0x2423a0f0 exception_exit() at exception_exit pc = 0xc05a53dc lr = 0x034ee574 (0x34ee574) sp = 0xc1e68e98 fp = 0xbfbfd108 r0 = 0x2426bff0 r1 = 0x00000010 r2 = 0x5a5a5a5a r3 = 0x5a5a5a5a r4 = 0x2423a008 r5 = 0x2423a024 r6 = 0x00000001 r7 = 0x00000005 r8 = 0x2423a008 r9 = 0x2426bff0 r10 = 0x2423a0f0 r12 = 0x2426bff0 Unable to unwind into user mode KDB: enter: panic [ thread pid 35088 tid 100113 ] Stopped at $d.3: ldrb r15, [r15, r15, ror r15]! db> Thanks for reading, and any insights.... bob prohaska