From owner-freebsd-arm@freebsd.org Mon Sep 21 01:43:27 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8243CA06064 for ; Mon, 21 Sep 2015 01:43:27 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [69.239.235.194]) (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 4BAED15D4 for ; Mon, 21 Sep 2015 01:43:27 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.14.9/8.14.5) with ESMTP id t8L1hK3D073414 for ; Sun, 20 Sep 2015 18:43:20 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.14.9/8.14.5/Submit) id t8L1hKBZ073413 for freebsd-arm@freebsd.org; Sun, 20 Sep 2015 18:43:20 -0700 (PDT) (envelope-from fbsd) Date: Sun, 20 Sep 2015 18:43:20 -0700 From: bob prohaska To: freebsd-arm@freebsd.org Subject: Have jails been turned on for RPI2? Message-ID: <20150921014320.GA73405@www.zefox.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Sep 2015 01:43:27 -0000 In the last week or two attempts to run stress2 started generating console messages of the form Sep 20 18:24:22 www kernel: pid 870 (swap), uid 1001, was killed: exceeded maximum CPU limit There's nothing in /etc/rc.conf or /etc/defaults/rc.conf to suggest that jails are enabled. Should I be looking elsewhere? Thanks for reading, and any guidance. bob prohaska From owner-freebsd-arm@freebsd.org Mon Sep 21 07:38:57 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2D1D1A062C1 for ; Mon, 21 Sep 2015 07:38:57 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from vps.rulingia.com (vps.rulingia.com [103.243.244.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps.rulingia.com", Issuer "CAcert Class 3 Root" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 9B47810D8 for ; Mon, 21 Sep 2015 07:38:55 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from server.rulingia.com (c220-239-242-83.belrs5.nsw.optusnet.com.au [220.239.242.83]) by vps.rulingia.com (8.15.2/8.15.2) with ESMTPS id t8L7ccGF053196 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 21 Sep 2015 17:38:44 +1000 (AEST) (envelope-from peter@rulingia.com) X-Bogosity: Ham, spamicity=0.000000 Received: from server.rulingia.com (localhost.rulingia.com [127.0.0.1]) by server.rulingia.com (8.15.2/8.15.2) with ESMTPS id t8L7cVbr045086 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 21 Sep 2015 17:38:31 +1000 (AEST) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.15.2/8.15.2/Submit) id t8L7cUvX045085; Mon, 21 Sep 2015 17:38:30 +1000 (AEST) (envelope-from peter) Date: Mon, 21 Sep 2015 17:38:30 +1000 From: Peter Jeremy To: bob prohaska Cc: freebsd-arm@freebsd.org Subject: Re: Have jails been turned on for RPI2? Message-ID: <20150921073830.GA41102@server.rulingia.com> References: <20150921014320.GA73405@www.zefox.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="GvXjxJ+pjyke8COw" Content-Disposition: inline In-Reply-To: <20150921014320.GA73405@www.zefox.net> X-PGP-Key: http://www.rulingia.com/keys/peter.pgp User-Agent: Mutt/1.5.23 (2014-03-12) X-Greylist: Sender succeeded STARTTLS authentication, not delayed by milter-greylist-4.4.3 (vps.rulingia.com [103.243.244.15]); Mon, 21 Sep 2015 17:38:44 +1000 (AEST) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Sep 2015 07:38:57 -0000 --GvXjxJ+pjyke8COw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2015-Sep-20 18:43:20 -0700, bob prohaska wrote: >In the last week or two attempts to run stress2 started >generating console messages of the form > >Sep 20 18:24:22 www kernel: pid 870 (swap), uid 1001, was killed: exceeded= maximum CPU limit This says that the "swap" process (presumably the one that's part of the stress2 set) was killed when it exceeded the CPU time limit. I'm not sure if this is expected behaviour or not - you'd need to check the documentation. >There's nothing in /etc/rc.conf or /etc/defaults/rc.conf to suggest that j= ails are enabled. >Should I be looking elsewhere? Why do you think this is anything to do with jails? --=20 Peter Jeremy --GvXjxJ+pjyke8COw Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJV/7P2XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRFRUIyOTg2QzMwNjcxRTc0RTY1QzIyN0Ux NkE1OTdBMEU0QTIwQjM0AAoJEBall6Dkogs0jsIP/3/6uMm3Wx8TacXGvzPRfDDz rvtARDwmWLDp+MvPoYPQVmIRbGRbBMCT0jQNt0kcSTjas1bZUvABlkA1vKqWYp9L +S1mMOp1MpCqJ+p45NUcg4c+cR4uO9lTQ20l+JUoyShIHshLvnnkmSR8v27IaZSN 3bC2fCzAhCz7gWnPv7nClD/zTL+g/PRHdJCzF/OarPlpQhfNmeDtIvltH/si3hPl KyUxY3oyflGxCA9yyerQqr7n9Kro3zgp1U9o3GVebmkcFBb4tqaKfKcxa50eZD1Y DGtJih9ZdjIuyDiTxTeCDcYB3jhZX2zjLGdRSaqIy9/TbXntbNMc2GE4U7x26/lb Z3/RI3gP/04txmV1k2XAtTBxg0aY/PD09zC/fepmwmjQCFP/F29mGUpw0aQlEAx+ g01bwl44XELrupHp7dQ+zqPrCz2D17ov4thW9tAU9qK0axP/oWGWPRvn6mRUXoQz 2Z9WKLz1cEC1ZHRtQVZq7HkaM+APDEKHpa5cyi3BDMA+UGlyYiJkgM5vIDBUkgQI k7mz97bJs1XmQE8d2x7Wrfabhh4fRVKp4MdV/EghZmXnS04r4UvakkimlT7WvFp2 A46sASc/KHK6X6+ZRK08c9LO+uWo80jPD6ymADMUEeY07Y09lFIy60kiMEqhBnKK UIPNk9ooohCxp3QqSsC+ =Qfz6 -----END PGP SIGNATURE----- --GvXjxJ+pjyke8COw-- From owner-freebsd-arm@freebsd.org Tue Sep 22 05:25:27 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 644BCA035BE for ; Tue, 22 Sep 2015 05:25:27 +0000 (UTC) (envelope-from rwestlun@gmail.com) Received: from mail-qg0-x22a.google.com (mail-qg0-x22a.google.com [IPv6:2607:f8b0:400d:c04::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 2006D14F3 for ; Tue, 22 Sep 2015 05:25:27 +0000 (UTC) (envelope-from rwestlun@gmail.com) Received: by qgez77 with SMTP id z77so108682101qge.1 for ; Mon, 21 Sep 2015 22:25:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=jY+7AG1fADaYyTweK/nTuIEgrjdjJPq/l3jZMOKBR0g=; b=0Ln/Q6nJNZ1mvI/brZrsIlmjV4FV66r/EhfLy5LItv4SeXNeh3I/+ylp1rS+PQDFj6 G9JcuLtpYZt7JlpB0EXg+vngx+Wdj7+UPK6C/GojTO+GLOBc8zV7NU/UCU3ZugKUWWM1 +GBTu1Hllpc4URLRrNhyECpdOu9E5dnS20MGZaaQhFyeU8ZFRrHnw+LxfiznpSvL3Ii4 Jibhsl6y2Ua4tFalwX/fv3P/tnOlUAG3ePACMjEuaXvrCQJwwkEBYz5Qc7eDn5ABH8Np fTEQLuwLO5D2ud97k5IIqhkXwaImmKEiCzyjwRw9Qra6H1UVLn6zolLhytmSVuMb4JO5 zKgg== X-Received: by 10.140.43.164 with SMTP id e33mr27090419qga.62.1442899526248; Mon, 21 Sep 2015 22:25:26 -0700 (PDT) Received: from gmail.com (c-98-216-247-110.hsd1.ma.comcast.net. [98.216.247.110]) by smtp.gmail.com with ESMTPSA id m75sm11426608qki.21.2015.09.21.22.25.25 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Sep 2015 22:25:25 -0700 (PDT) Date: Tue, 22 Sep 2015 01:25:22 -0400 From: Randy Westlund To: freebsd-arm@freebsd.org Subject: NFS Root with Raspberry Pi (nfs_diskless: no interface) Message-ID: <20150922052522.GA62140@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="gKMricLos+KVdGMg" Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Sep 2015 05:25:27 -0000 --gKMricLos+KVdGMg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I'm trying to boot a Raspberry Pi over the network so I can avoid SD card woes, but I'm stuck on something. I've taken the FreeBSD RPI-B image and moved the files to an NFS share on a server. Its fstab references the NFS root, but all other files are unchanged. Thus far, I have the pi loading U-Boot from the SD card and grabbing ubldr via TFTP. Then ubldr successfully connects to the NFS share and loads the kernel. My problem is when the kernel tries to mount root. I'm getting this error: > usbus0: 480Mbps High Speed USB v2.0 > bcm2835_cpufreq0: ARM 700MHz, Core 250MHz, SDRAM 400MHz, Turbo OFF > ugen0.1: at usbus0 > uhub0: on usbus0 > mmcsd0: 4GB at mmc0 41.6MHz/4bit/65535-block > nfs_diskless: no interface > Root mount waiting for: usbus0 > uhub0: 1 port with 1 removable, self powered > ugen0.2: at usbus0 > uhub1: on usbus0 > uhub1: MTT enabled > Root mount waiting for: usbus0 > uhub1: 3 ports with 2 removable, self powered > Root mount waiting for: usbus0 > ugen0.3: at usbus0 > smsc0: on usbus0 > Trying to mount root from nfs:192.168.1.254:/usr/raspi_root [rw]... > nfs_diskless: no interface > Mounting from nfs:192.168.1.254:/usr/raspi_root failed with error -1. > I believe "nfs_diskless: no interface" is the important part. The ethernet port is not ready by the time it tries to mount root. The pi uses ethernet over USB and FreeBSD calls the interface ue0. When I boot from the SD card, ethernet works without loading any modules, so I believe the kernel should have everything it needs. What am I doing wrong? Randy --gKMricLos+KVdGMg Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJWAOZCAAoJEGaweXjzNsmpM8AH/25KVIbSYYMifAOqA8ngcrW+ K10mi9r+NCJQuSmU15xqB468jl5bfSPTvoUID+rdcelxjH6VTCil2gBGsz1eW4Gq 3DCkAnJQxnpyqEL3YT7ccHXBkFr3i6wFRVrb6AkvRag78Gz1NT4GCDM7QHURXWBI hFJk5TFRR0EVD2mdxsGRAbhdEn6PNG3GTKbjsjfa9YGYjZwEv3ocoiJ1lWGJsGyb LF70EinmVUWygm6f2lzbRWRb6mHkt/DpPVApiGXUgbhiUIKumhImH6dLof8H4LhD sKMrfBeuwuggf3gm/qxCHMD3F7dxSv5pTSmXI8LZCY4FX1h9aDkX+qqoSWyvONU= =UQOy -----END PGP SIGNATURE----- --gKMricLos+KVdGMg-- From owner-freebsd-arm@freebsd.org Tue Sep 22 05:55:53 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E7DBCA0576F for ; Tue, 22 Sep 2015 05:55:53 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A005B1346 for ; Tue, 22 Sep 2015 05:55:53 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from chamsa.cs.huji.ac.il ([132.65.80.19]) by kabab.cs.huji.ac.il with esmtp id 1ZeGOP-000ArU-FG; Tue, 22 Sep 2015 08:45:29 +0300 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: NFS Root with Raspberry Pi (nfs_diskless: no interface) From: Daniel Braniss In-Reply-To: <20150922052522.GA62140@gmail.com> Date: Tue, 22 Sep 2015 08:45:29 +0300 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <00C49FEB-E8EF-4469-85E2-0F901215CD11@cs.huji.ac.il> References: <20150922052522.GA62140@gmail.com> To: Randy Westlund X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Sep 2015 05:55:54 -0000 > On 22 Sep 2015, at 08:25, Randy Westlund wrote: >=20 > I'm trying to boot a Raspberry Pi over the network so I can avoid SD > card woes, but I'm stuck on something. >=20 > I've taken the FreeBSD RPI-B image and moved the files to an NFS share > on a server. Its fstab references the NFS root, but all other files = are > unchanged. >=20 > Thus far, I have the pi loading U-Boot from the SD card and grabbing > ubldr via TFTP. Then ubldr successfully connects to the NFS share and > loads the kernel. >=20 > My problem is when the kernel tries to mount root. I'm getting this > error: >=20 >> usbus0: 480Mbps High Speed USB v2.0 >> bcm2835_cpufreq0: ARM 700MHz, Core 250MHz, SDRAM 400MHz, Turbo OFF >> ugen0.1: at usbus0 >> uhub0: on = usbus0 >> mmcsd0: 4GB at mmc0 = 41.6MHz/4bit/65535-block >> nfs_diskless: no interface >> Root mount waiting for: usbus0 >> uhub0: 1 port with 1 removable, self powered >> ugen0.2: at usbus0 >> uhub1: on usbus0 >> uhub1: MTT enabled >> Root mount waiting for: usbus0 >> uhub1: 3 ports with 2 removable, self powered >> Root mount waiting for: usbus0 >> ugen0.3: at usbus0 >> smsc0: on = usbus0 >> Trying to mount root from nfs:192.168.1.254:/usr/raspi_root [rw]... >> nfs_diskless: no interface >> Mounting from nfs:192.168.1.254:/usr/raspi_root failed with error -1. >>=20 >=20 > I believe "nfs_diskless: no interface" is the important part. The > ethernet port is not ready by the time it tries to mount root. >=20 > The pi uses ethernet over USB and FreeBSD calls the interface ue0. = When > I boot from the SD card, ethernet works without loading any modules, = so > I believe the kernel should have everything it needs. >=20 > What am I doing wrong? >=20 > Randy make sure the ue driver is either compiled in or loaded, you can add if_ue_load=3D=E2=80=9CYES=E2=80=9D to /boot/loader.conf danny From owner-freebsd-arm@freebsd.org Wed Sep 23 05:04:25 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 85C43A06597 for ; Wed, 23 Sep 2015 05:04:25 +0000 (UTC) (envelope-from rwestlun@gmail.com) Received: from mail-qk0-x235.google.com (mail-qk0-x235.google.com [IPv6:2607:f8b0:400d:c09::235]) (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 39FA71E22 for ; Wed, 23 Sep 2015 05:04:25 +0000 (UTC) (envelope-from rwestlun@gmail.com) Received: by qkfq186 with SMTP id q186so13202281qkf.1 for ; Tue, 22 Sep 2015 22:04:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=v3ZMQB+V3qOqObHa9dLRj4RE+X3EJdsY7q5ogFp4Y+k=; b=KduB6Fe8JRFzMqI4EdiJa62+GQasIvuXu5p9iBtMqK0En1mMjOxs2v4jtUbPsJzumb rWs+MOyzY9ZcUxdyLW5ODKhLCTgVgpx5hgtSQMw1Hgh3ntMXk2+T9HY/pD/4o4uXbQFj svJqpREFwDXHI2WKCQ1iobKo33nuMcpX612mIxHktZYLHvcfRj7WHRUdvD87z/qcSm9D GPTbOEZBbVHNVN+ZIpcqubYfsulgZ/arxcX6HAxbRvRxXCM5r/O5X/1/IOYho7RL+OU3 wEIWAi+T20xmBDf04JUnuZPg/SHppIi4a0KMz7UpvnzVAUoJOy4ZkWqb0fWcnkWwS3YB BH3w== X-Received: by 10.55.201.83 with SMTP id q80mr33325472qki.58.1442984664299; Tue, 22 Sep 2015 22:04:24 -0700 (PDT) Received: from gmail.com (c-98-216-247-110.hsd1.ma.comcast.net. [98.216.247.110]) by smtp.gmail.com with ESMTPSA id 68sm912701qgy.16.2015.09.22.22.04.23 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Sep 2015 22:04:23 -0700 (PDT) Date: Wed, 23 Sep 2015 01:04:14 -0400 From: Randy Westlund To: Daniel Braniss Cc: freebsd-arm@freebsd.org Subject: Re: NFS Root with Raspberry Pi (nfs_diskless: no interface) Message-ID: <20150923050414.GB43653@gmail.com> References: <20150922052522.GA62140@gmail.com> <00C49FEB-E8EF-4469-85E2-0F901215CD11@cs.huji.ac.il> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="hHWLQfXTYDoKhP50" Content-Disposition: inline In-Reply-To: <00C49FEB-E8EF-4469-85E2-0F901215CD11@cs.huji.ac.il> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Sep 2015 05:04:25 -0000 --hHWLQfXTYDoKhP50 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 22, 2015 at 08:45:29AM +0300, Daniel Braniss wrote: > make sure the ue driver is either compiled in or loaded, > you can add > if_ue_load=3D=E2=80=9CYES=E2=80=9D > to /boot/loader.conf >=20 > danny This has no effect. /boot/kernel/if_ue.ko doesn't exist and there's no ue man page. I'm not sure what driver it's supposed to be using. Regardless, it doesn't load any modules when booting from the SD card, so I wouldn't expect it to need any when booting over the network. Randy --hHWLQfXTYDoKhP50 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJWAjLOAAoJEGaweXjzNsmpJdoH/1lHN4Jg0vbhVjB+cT50qMNF dGB2+A4nbNI5b045u/zbl5F8shdjahJFgSRgK8MCei++3q2pSwSXpds2bPtIh/aw Ty6mF0SmuOqySEX5/H7WdcTNMfT6CMAZW/N18Im1QAks7PaKLJSYKEWpfRMpyAGP 8l+MxFYC80R1pDMUab/vcMzyQOlgFvWl9AO2nO0jTtSRpGZCpCRfB5nmyD43+q+o DaIIDhzGUXWzuzwG/GehQisLLIfTpawK+Onnlvqg0a18ves/OVogBFiypJjIbgKp oU38OoQpWIyKlOBWq23DApsL48HiW2P2F1QEuVsbZ2vZtoXXz1Gl+QLZsi1yfYQ= =gynB -----END PGP SIGNATURE----- --hHWLQfXTYDoKhP50-- From owner-freebsd-arm@freebsd.org Wed Sep 23 17:44:48 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CE216A06B40 for ; Wed, 23 Sep 2015 17:44:48 +0000 (UTC) (envelope-from rwestlun@gmail.com) Received: from mail-qk0-x229.google.com (mail-qk0-x229.google.com [IPv6:2607:f8b0:400d:c09::229]) (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 862F81B29 for ; Wed, 23 Sep 2015 17:44:48 +0000 (UTC) (envelope-from rwestlun@gmail.com) Received: by qkap81 with SMTP id p81so20323595qka.2 for ; Wed, 23 Sep 2015 10:44:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=KK/LlU6zUdweXsIDA1wOzY3NVKfgEg+XZz4baGXrbDI=; b=x5DQflnYv2gfs4qT+yvkRjotsrOOp4f892Wn+E7o90oYlZSX8UFTTSOxZn3rnq/cl0 gx1hesxjpFUGaaXgA1ySkTctx3R0yuGDMj+GNtNP8SQXoGQ8HPt5z2+BAFCxwi/9ODOt ZygNEUs/riWDUZb/CK3MW94Fam+uITuXvVcq/BovEjTTMnI/CaehSwY2t82mt+SilLDU NiGvJtDHlRmuLHPCJMOBV8rfeHs11Xyr2FqYW1vC74sHvt2hHwqrqdph7MGoZ95YdMkm iV1cdz8dGKwb3TzC3cEwu/g6h9fkoamyogz9yE32Wd9loS47gVjPBbFrXKENv3BaDUns jo3g== X-Received: by 10.55.214.70 with SMTP id t67mr37224794qki.61.1443030287476; Wed, 23 Sep 2015 10:44:47 -0700 (PDT) Received: from gmail.com (c-98-216-247-110.hsd1.ma.comcast.net. [98.216.247.110]) by smtp.gmail.com with ESMTPSA id 188sm2883578qht.21.2015.09.23.10.44.46 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 Sep 2015 10:44:46 -0700 (PDT) Date: Wed, 23 Sep 2015 13:44:45 -0400 From: Randy Westlund To: Daniel Braniss Cc: freebsd-arm@freebsd.org Subject: Re: NFS Root with Raspberry Pi (nfs_diskless: no interface) Message-ID: <20150923174445.GE43653@gmail.com> References: <20150922052522.GA62140@gmail.com> <00C49FEB-E8EF-4469-85E2-0F901215CD11@cs.huji.ac.il> <20150923050414.GB43653@gmail.com> <91AAC64E-4C38-47AA-8910-48F7654A7524@cs.huji.ac.il> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="o0ZfoUVt4BxPQnbU" Content-Disposition: inline In-Reply-To: <91AAC64E-4C38-47AA-8910-48F7654A7524@cs.huji.ac.il> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Sep 2015 17:44:48 -0000 --o0ZfoUVt4BxPQnbU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 23, 2015 at 11:54:43AM +0300, Daniel Braniss wrote: > ok, thought it was too easy. Can you send me more info so that i can repr= oduce it here? > specially the ubldr stuff? >=20 > ah! try if_smsc_load=3DYES >=20 > danny Okay, that's definitely the correct driver. Looks like the pi uses a SMSC LAN9514 ethernet module. But I see the same output regardless of whether that's in loader.conf or not. The kernel seems to be finding smsc0 just fine. It just hasn't created the interface yet. > ugen0.1: at usbus0 > uhub0: on usbus0 > mmcsd0: 4GB at mmc0 41.6= MHz/4bit/65535-block > nfs_diskless: no interface > Root mount waiting for: usbus0 > uhub0: 1 port with 1 removable, self powered > ugen0.2: at usbus0 > uhub1: o= n usbus0 > uhub1: MTT enabled > Root mount waiting for: usbus0 > uhub1: 3 ports with 2 removable, self powered > Root mount waiting for: usbus0 > ugen0.3: at usbus0 > smsc0: on usbus0 > Trying to mount root from nfs:192.168.1.254:/usr/raspi_root [rw]... > nfs_diskless: no interface > Mounting from nfs:192.168.1.254:/usr/raspi_root failed with error -1. >=20 > Loader variables: > vfs.root.mountfrom=3Dnfs:192.168.1.254:/usr/raspi_root > vfs.root.mountfrom.options=3Drw Here's the fstab that the pi is using: > cat /usr/raspi_root/etc/fstab > 192.168.1.254:/usr/raspi_root / nfs rw 0 0 Here's dhcp.conf on my router: > $ cat /etc/dhcpd.conf > authoritative; > option domain-name-servers 192.168.1.1; >=20 > subnet 192.168.1.0 netmask 255.255.255.0 { > option routers 192.168.1.1; > range 192.168.1.2 192.168.1.150; > next-server 192.168.1.254; > option root-path "/usr/raspi_root"; > } Here's what ubldr sees before it loads the kernel over NFS: > loader> show > LINES=3D24 > autoboot_delay=3D10 > boot.netif.gateway=3D0.0.0.0 > boot.netif.hwaddr=3Db8:27:eb:28:a4:f8 > boot.netif.ip=3D192.168.1.33 > boot.netif.netmask=3D255.255.255.0 > boot.nfsroot.nfshandle=3DX298684cadeaf78ee0a000400000000006ed938000000000= 000000000X > boot.nfsroot.nfshandlelen=3D28 > boot.nfsroot.path=3D/usr/raspi_root > boot.nfsroot.server=3D192.168.1.254 > bootfile=3Dkernel > console=3Duboot > currdev=3Dnet0: > interpret=3DOK > kernel=3Dkernel > kernelname=3D/boot/kernel/kernel > loaddev=3Dnet0: > loader_conf_files=3D/boot/loader.conf /boot/loader.conf.local > module_path=3D/boot/kernel;/boot/kernel;/boot/modules;/boot/dtb > prompt=3Dloader> > twiddle_divisor=3D1 The files I'm using are all taken from one of these two images (same result with both): FreeBSD-11.0-CURRENT-arm-armv6-RPI-B-20150826-r287169.img FreeBSD-10.2-STABLE-arm-armv6-RPI-B-20150917-r287929.img Let me know if you need any other info, and thanks for spending time on this. Randy --o0ZfoUVt4BxPQnbU Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJWAuUNAAoJEGaweXjzNsmp1wYH/Aj+rL/9qjYVDjEtBlEKun+K hg5FQTMaCcyAzBCtbcw6wU7/nJiG5TelC9V/p57wFPyx4BdGocoaag55lG2Y0Ax9 vh12XyDQvSC2eBpriP1RmqVBhtfyXTNvqtGIw5ku/H/Wtd4HZ6viHXUek5Y7diUF oyQr7lx3aENFOgPxiPO/CNfFWyWmYIDe/MU2fEXdXkNN8QMHTeeYEXg0toig/pnv XNfsSY30Vm5QQEfxFIV/ah3wSZDeRQwHO+dVJnZw1w4SqOQN+UFvTyb4ybDE/amk 5ojBtD2ArLyFFTNifYestyAIqCRdE2oyaMUpLBe/TiHal74BCLgFb3YWOuwo4jU= =UwVx -----END PGP SIGNATURE----- --o0ZfoUVt4BxPQnbU-- From owner-freebsd-arm@freebsd.org Thu Sep 24 05:15:17 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2EBC6A086ED for ; Thu, 24 Sep 2015 05:15:17 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: from mail-yk0-x229.google.com (mail-yk0-x229.google.com [IPv6:2607:f8b0:4002:c07::229]) (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 E853A11DB for ; Thu, 24 Sep 2015 05:15:16 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by ykdz138 with SMTP id z138so63601067ykd.2 for ; Wed, 23 Sep 2015 22:15:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Xys+l85nv5kIwBt9kHIoJ3G0jJUgOeLFIwFdfk6IGFs=; b=bsbDZKW3+s6Lt30tNsBAp1Foy8Tfj/t07H88d2o5j5fwj9TNhlmdRkPUSGfODyLJJ0 QRdAu6j+YpXzgvYTGzf73vQwjVVWJldr+CZuzdBpJ4N9561I94KWJn0AEO5RCyS+Bl+1 myiKsoZ5vOgQSmm9zOSoFDQ5xx9uAGv1npkl7n131XtCQj2R7jTuIzT6qkAsvxzLvdMV nm22j00PdImJGG5QtczFlMjBzh+rtr9KVQnKsg2jrmtNM95AIpt7NT3e5N9xU6U9SkRX NVelOwZMJugEB4Vv+WetLEErglySDl8vSesqyMYGjifEks70zOqXzYgD1uR7+Tht/DIY nQmg== MIME-Version: 1.0 X-Received: by 10.31.151.84 with SMTP id z81mr24383982vkd.14.1443071715993; Wed, 23 Sep 2015 22:15:15 -0700 (PDT) Received: by 10.31.89.135 with HTTP; Wed, 23 Sep 2015 22:15:15 -0700 (PDT) Date: Wed, 23 Sep 2015 22:15:15 -0700 Message-ID: Subject: Building Less? From: Russell Haley To: freebsd-arm Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Sep 2015 05:15:17 -0000 Hi there, I've pivoted back to my ARM board again. I noticed that when I build world, it builds all the man pages and languages and a whole bunch of other stuff. That's not too bad because I have a decent computer, but when I run installworld and install onto an sd card things get really slow. Is there a way to reduce what I am building and installing onto the sd card? Current process: make -DNO_CLEAN TARGET=arm TARGET_ARCH=armv6 -j10 buildworld make -DNO_CLEAN TARGET=arm TARGET_ARCH=armv6 KERNCONF=IMX6 -j10 buildkernel sudo mount /dev/da2s2 /usr/jails/Jailbird/mnt/ufspart make TARGET=arm TARGET_ARCH=armv6 DESTDIR=/mnt/ufspart installworld distribution Thanks, Russ From owner-freebsd-arm@freebsd.org Thu Sep 24 10:26:59 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 45816A07A52 for ; Thu, 24 Sep 2015 10:26:59 +0000 (UTC) (envelope-from onwahe@gmail.com) Received: from mail-ig0-x231.google.com (mail-ig0-x231.google.com [IPv6:2607:f8b0:4001:c05::231]) (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 F2C4C1FB8 for ; Thu, 24 Sep 2015 10:26:58 +0000 (UTC) (envelope-from onwahe@gmail.com) Received: by igcpb10 with SMTP id pb10so11557197igc.1 for ; Thu, 24 Sep 2015 03:26:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=dj3iOLqJuOOq7/G/0BL7nu5wopQhXItlHJ1PQW4+370=; b=hV4SUNgqac5fJuqgcJhLreNftOrdlFggRJ+ubnoUo7r2rF4X9njO1OXiXh38Xb3/rv aFYDksj3Hg8iiLt53bw3fTaSbalt3XLrUjVIXwQleamT/MqrKvCfQSYGuILG3+iO2lXl 3zXSxIPGVUsJlmMO9nbn+Wrliz+MJLLOMC1IBfm6+6lBiuA4vfMe++pcjHOF7pa7WxI2 X2sDb/4yMJ/YWV/0pAjJQqlqxY4ktGOE/hKwGaSOVZf2Gr9C0ZGN94nwZWcVtWvQA6MO 79EZLdhGCJJwcRE5Cx+qtJAj5TMesu9AboZgjkJFkgpEgdFi4ndxmqbP8HlNWoOTkhnd MvCg== MIME-Version: 1.0 X-Received: by 10.50.26.66 with SMTP id j2mr27346807igg.42.1443090418142; Thu, 24 Sep 2015 03:26:58 -0700 (PDT) Received: by 10.64.239.201 with HTTP; Thu, 24 Sep 2015 03:26:57 -0700 (PDT) In-Reply-To: <46e495e484.66704618@mail.schwarzes.net> References: <55A7D8CE.4020809@selasky.org> <55B23276.8090703@selasky.org> <55B73113.2020308@selasky.org> <55B8AB76.7030603@selasky.org> <55B8B297.1010008@selasky.org> <20150729154516.GH78154@funkthat.com> <55B8F5EC.2050908@selasky.org> <46ad096c958.1a82a175@mail.schwarzes.net> <55B9C3E2.5040501@selasky.org> <46ae815c7c3.447237c8@mail.schwarzes.net> <46aece00b53.3c1cdc1f@mail.schwarzes.net> <55BB2A5F.9000502@selasky.org> <46baa16c4ce.6efd29ef@mail.schwarzes.net> <55CF31A1.5080205@selasky.org> <46ce372c895.20050775@mail.schwarzes.net> <46d0a4441bb.41f6f91d@mail.schwarzes.net> <55DD5C0A.2050401@selasky.org> <46d8b55830c.48a059ec@mail.schwarzes.net> <46e495e484.66704618@mail.schwarzes.net> Date: Thu, 24 Sep 2015 12:26:57 +0200 Message-ID: Subject: Re: DWC OTG TX path optimisation for 11-current From: Svatopluk Kraus To: "freebsd-arm@freebsd.org" Cc: Hans Petter Selasky , Andreas Schwarz Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Sep 2015 10:26:59 -0000 Hi, I finally found a way how to get something what could be analyzed considering the problem with smcs warnings, slow console response, and other oddities. And it was Michal Meloun who figured out how the problem comes up. He was so enthusiastic and fast that he got me no chance, no chance at all to figure it out myself. ;)) Thanks goes to Bob Prohaska too who pointed me to stress2 which triggers the problem even with all KTR classes compiled in kernel. The fix is here: https://reviews.freebsd.org/D3722 Svata From owner-freebsd-arm@freebsd.org Thu Sep 24 11:29:01 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 168E1A07347 for ; Thu, 24 Sep 2015 11:29:01 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C13EE1ECD for ; Thu, 24 Sep 2015 11:29:00 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from chamsa.cs.huji.ac.il ([132.65.80.19]) by kabab.cs.huji.ac.il with esmtp id 1Zf4hh-000LmX-H5; Thu, 24 Sep 2015 14:28:45 +0300 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: NFS Root with Raspberry Pi (nfs_diskless: no interface) From: Daniel Braniss In-Reply-To: <20150923174445.GE43653@gmail.com> Date: Thu, 24 Sep 2015 14:28:45 +0300 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20150922052522.GA62140@gmail.com> <00C49FEB-E8EF-4469-85E2-0F901215CD11@cs.huji.ac.il> <20150923050414.GB43653@gmail.com> <91AAC64E-4C38-47AA-8910-48F7654A7524@cs.huji.ac.il> <20150923174445.GE43653@gmail.com> To: Randy Westlund X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Sep 2015 11:29:01 -0000 > On 23 Sep 2015, at 20:44, Randy Westlund wrote: >=20 > On Wed, Sep 23, 2015 at 11:54:43AM +0300, Daniel Braniss wrote: >> ok, thought it was too easy. Can you send me more info so that i can = reproduce it here? >> specially the ubldr stuff? >>=20 >> ah! try if_smsc_load=3DYES >>=20 >> danny >=20 > Okay, that's definitely the correct driver. Looks like the pi uses a > SMSC LAN9514 ethernet module. But I see the same output regardless of > whether that's in loader.conf or not. The kernel seems to be finding > smsc0 just fine. It just hasn't created the interface yet. i=E2=80=99ll try this here tomorrow, but in the meantime some ideas: did you compile the kernel with option BOOTP_NFSV3? >=20 >> ugen0.1: at usbus0 >> uhub0: on = usbus0 >> mmcsd0: 4GB at mmc0 = 41.6MHz/4bit/65535-block >> nfs_diskless: no interface >> Root mount waiting for: usbus0 >> uhub0: 1 port with 1 removable, self powered >> ugen0.2: at usbus0 >> uhub1: on usbus0 >> uhub1: MTT enabled >> Root mount waiting for: usbus0 >> uhub1: 3 ports with 2 removable, self powered >> Root mount waiting for: usbus0 >> ugen0.3: at usbus0 >> smsc0: on = usbus0 >> Trying to mount root from nfs:192.168.1.254:/usr/raspi_root [rw]... >> nfs_diskless: no interface >> Mounting from nfs:192.168.1.254:/usr/raspi_root failed with error -1. >>=20 >> Loader variables: >> vfs.root.mountfrom=3Dnfs:192.168.1.254:/usr/raspi_root >> vfs.root.mountfrom.options=3Drw >=20 > Here's the fstab that the pi is using: >=20 >> cat /usr/raspi_root/etc/fstab >> 192.168.1.254:/usr/raspi_root / nfs rw 0 0 >=20 > Here's dhcp.conf on my router: >=20 >> $ cat /etc/dhcpd.conf >> authoritative; >> option domain-name-servers 192.168.1.1; >>=20 >> subnet 192.168.1.0 netmask 255.255.255.0 { >> option routers 192.168.1.1; >> range 192.168.1.2 192.168.1.150; >> next-server 192.168.1.254; >> option root-path "/usr/raspi_root"; >> } >=20 > Here's what ubldr sees before it loads the kernel over NFS: >=20 >> loader> show >> LINES=3D24 >> autoboot_delay=3D10 >> boot.netif.gateway=3D0.0.0.0 >> boot.netif.hwaddr=3Db8:27:eb:28:a4:f8 >> boot.netif.ip=3D192.168.1.33 >> boot.netif.netmask=3D255.255.255.0 >> = boot.nfsroot.nfshandle=3DX298684cadeaf78ee0a000400000000006ed9380000000000= 00000000X >> boot.nfsroot.nfshandlelen=3D28 >> boot.nfsroot.path=3D/usr/raspi_root >> boot.nfsroot.server=3D192.168.1.254 >> bootfile=3Dkernel >> console=3Duboot >> currdev=3Dnet0: >> interpret=3DOK >> kernel=3Dkernel >> kernelname=3D/boot/kernel/kernel >> loaddev=3Dnet0: >> loader_conf_files=3D/boot/loader.conf /boot/loader.conf.local >> module_path=3D/boot/kernel;/boot/kernel;/boot/modules;/boot/dtb >> prompt=3Dloader> >> twiddle_divisor=3D1 >=20 > The files I'm using are all taken from one of these two images (same > result with both): >=20 > FreeBSD-11.0-CURRENT-arm-armv6-RPI-B-20150826-r287169.img > FreeBSD-10.2-STABLE-arm-armv6-RPI-B-20150917-r287929.img >=20 > Let me know if you need any other info, and thanks for spending time = on > this. >=20 > Randy From owner-freebsd-arm@freebsd.org Thu Sep 24 14:15:41 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 80FE9A08855 for ; Thu, 24 Sep 2015 14:15:41 +0000 (UTC) (envelope-from ganbold@gmail.com) Received: from mail-ob0-x233.google.com (mail-ob0-x233.google.com [IPv6:2607:f8b0:4003:c01::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 449BD151B for ; Thu, 24 Sep 2015 14:15:41 +0000 (UTC) (envelope-from ganbold@gmail.com) Received: by obbmp4 with SMTP id mp4so58947756obb.3 for ; Thu, 24 Sep 2015 07:15:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=VyiTyECtNmDaVYQYtmG+kZtYi/jvX7DPV1tZY7wzAZ0=; b=BgwnXIElEcd/+uCTEXwE1GQJ+owjJXtcur14bNaAT9DtRCPQnitNfnvfe3GEvOxqJM dT567uABB4pjAE5k4x0/j6GXT6QA02SOudUei1YEQhyDzUSoeQd5Oja8IIIdktWXNOVK PLYm8RzImyP9T8gGdso1nT2JPTgZKjm52t/RlCu1IA0Aaq/GsHBi+urqUtRwomcpPn4D 5inhTZ55ouR60vQSOFco1wuq4OJB/eh+0v8nZBbDgluQ+hoNIcOky4xRHMPY0fRTH1xC YixkZDFVAKBXqWxuiQ/UaboQf98O1j5qfLXGQRKJ+UrCUXDiOswXpRmUwUX9r7XcFkHk MCqA== MIME-Version: 1.0 X-Received: by 10.182.131.130 with SMTP id om2mr21861235obb.8.1443104140610; Thu, 24 Sep 2015 07:15:40 -0700 (PDT) Received: by 10.182.125.42 with HTTP; Thu, 24 Sep 2015 07:15:40 -0700 (PDT) In-Reply-To: References: Date: Thu, 24 Sep 2015 23:15:40 +0900 Message-ID: Subject: Re: Building Less? From: Ganbold Tsagaankhuu To: Russell Haley Cc: freebsd-arm Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Sep 2015 14:15:41 -0000 On Thu, Sep 24, 2015 at 2:15 PM, Russell Haley wrote: > Hi there, > > I've pivoted back to my ARM board again. I noticed that when I build world, > it builds all the man pages and languages and a whole bunch of other stuff. > That's not too bad because I have a decent computer, but when I run > installworld and install onto an sd card things get really slow. > > Is there a way to reduce what I am building and installing onto the sd > card? > > > Current process: > make -DNO_CLEAN TARGET=arm TARGET_ARCH=armv6 -j10 buildworld > > make -DNO_CLEAN TARGET=arm TARGET_ARCH=armv6 KERNCONF=IMX6 -j10 buildkernel > > sudo mount /dev/da2s2 /usr/jails/Jailbird/mnt/ufspart > make TARGET=arm TARGET_ARCH=armv6 DESTDIR=/mnt/ufspart installworld > distribution > > Maybe try to prepare image first and then write once to sd card? Something like: truncate -s 1024M imx6.img mdconfig -f imx6.img -u0 newfs /dev/md0 mount /dev/md0 /mnt # build kernel-toolchain if needed make -DNO_CLEAN TARGET=arm TARGET_ARCH=armv6 KERNCONF=IMX6 -j10 buildkernel make -DNO_CLEAN TARGET=arm TARGET_ARCH=armv6 -j10 buildworld make -DNO_CLEAN TARGET=arm TARGET_ARCH=armv6 DESTDIR=/mnt installworld distribution umount /mnt mdconfig -d -u0 sysctl kern.geom.debugflags=16 dd if=imx6.img of=/dev/da0 bs=4096k Ganbold > > > Thanks, > > Russ > _______________________________________________ > 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 Thu Sep 24 14:29:36 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A03B7A07037 for ; Thu, 24 Sep 2015 14:29:36 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from pmta2.delivery6.ore.mailhop.org (pmta2.delivery6.ore.mailhop.org [54.200.129.228]) (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 819F41D14 for ; Thu, 24 Sep 2015 14:29:36 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from ilsoft.org (unknown [73.34.117.227]) by outbound2.ore.mailhop.org (Halon Mail Gateway) with ESMTPSA; Thu, 24 Sep 2015 14:30:13 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.14.9/8.14.9) with ESMTP id t8OETYOt003333; Thu, 24 Sep 2015 08:29:34 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1443104974.1224.269.camel@freebsd.org> Subject: Re: Building Less? From: Ian Lepore To: Russell Haley Cc: freebsd-arm Date: Thu, 24 Sep 2015 08:29:34 -0600 In-Reply-To: References: Content-Type: text/plain; charset="us-ascii" X-Mailer: Evolution 3.12.10 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Sep 2015 14:29:36 -0000 On Wed, 2015-09-23 at 22:15 -0700, Russell Haley wrote: > Hi there, > > I've pivoted back to my ARM board again. I noticed that when I build world, > it builds all the man pages and languages and a whole bunch of other stuff. > That's not too bad because I have a decent computer, but when I run > installworld and install onto an sd card things get really slow. > > Is there a way to reduce what I am building and installing onto the sd card? > > > Current process: > make -DNO_CLEAN TARGET=arm TARGET_ARCH=armv6 -j10 buildworld > > make -DNO_CLEAN TARGET=arm TARGET_ARCH=armv6 KERNCONF=IMX6 -j10 buildkernel > > sudo mount /dev/da2s2 /usr/jails/Jailbird/mnt/ufspart > make TARGET=arm TARGET_ARCH=armv6 DESTDIR=/mnt/ufspart installworld > distribution > > > > Thanks, > > Russ Add to your crossbuild command line "srcconf=/some/path/src.conf" and in that src.conf file put a bunch of WITHOUT_foo commands to eliminate the things you don't need in the target system. Iirc, you need a fully- qualified pathname in the srcconf=. "man src.conf" gives you the list of WITH/WITHOUT controls you can set. Be sure to keep your crossbuild src.conf file(s) separate from your main /etc/src.conf file that's used when you build the host system. -- Ian From owner-freebsd-arm@freebsd.org Thu Sep 24 14:37:14 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BD948A07453 for ; Thu, 24 Sep 2015 14:37:14 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from erouter6.ore.mailhop.org (erouter6.ore.mailhop.org [54.187.213.119]) (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 A0E26109E for ; Thu, 24 Sep 2015 14:37:14 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from ilsoft.org (unknown [73.34.117.227]) by outbound3.ore.mailhop.org (Halon Mail Gateway) with ESMTPSA; Thu, 24 Sep 2015 14:35:56 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.14.9/8.14.9) with ESMTP id t8OEb61K003343; Thu, 24 Sep 2015 08:37:06 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1443105426.1224.272.camel@freebsd.org> Subject: Re: NFS Root with Raspberry Pi (nfs_diskless: no interface) From: Ian Lepore To: Daniel Braniss Cc: Randy Westlund , freebsd-arm@freebsd.org Date: Thu, 24 Sep 2015 08:37:06 -0600 In-Reply-To: References: <20150922052522.GA62140@gmail.com> <00C49FEB-E8EF-4469-85E2-0F901215CD11@cs.huji.ac.il> <20150923050414.GB43653@gmail.com> <91AAC64E-4C38-47AA-8910-48F7654A7524@cs.huji.ac.il> <20150923174445.GE43653@gmail.com> Content-Type: text/plain; charset="iso-8859-13" X-Mailer: Evolution 3.12.10 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Sep 2015 14:37:14 -0000 On Thu, 2015-09-24 at 14:28 +0300, Daniel Braniss wrote: > > On 23 Sep 2015, at 20:44, Randy Westlund wrote: > > > > On Wed, Sep 23, 2015 at 11:54:43AM +0300, Daniel Braniss wrote: > >> ok, thought it was too easy. Can you send me more info so that i can reproduce it here? > >> specially the ubldr stuff? > >> > >> ah! try if_smsc_load=YES > >> > >> danny > > > > Okay, that's definitely the correct driver. Looks like the pi uses a > > SMSC LAN9514 ethernet module. But I see the same output regardless of > > whether that's in loader.conf or not. The kernel seems to be finding > > smsc0 just fine. It just hasn't created the interface yet. > > iÿll try this here tomorrow, but in the meantime some ideas: > did you compile the kernel with option BOOTP_NFSV3? > > > > > >> ugen0.1: at usbus0 > >> uhub0: on usbus0 > >> mmcsd0: 4GB at mmc0 41.6MHz/4bit/65535-block > >> nfs_diskless: no interface > >> Root mount waiting for: usbus0 > >> uhub0: 1 port with 1 removable, self powered > >> ugen0.2: at usbus0 > >> uhub1: on usbus0 > >> uhub1: MTT enabled > >> Root mount waiting for: usbus0 > >> uhub1: 3 ports with 2 removable, self powered > >> Root mount waiting for: usbus0 > >> ugen0.3: at usbus0 > >> smsc0: on usbus0 > >> Trying to mount root from nfs:192.168.1.254:/usr/raspi_root [rw]... > >> nfs_diskless: no interface > >> Mounting from nfs:192.168.1.254:/usr/raspi_root failed with error -1. > >> > >> Loader variables: > >> vfs.root.mountfrom=nfs:192.168.1.254:/usr/raspi_root > >> vfs.root.mountfrom.options=rw > > > > > Here's the fstab that the pi is using: > > > >> cat /usr/raspi_root/etc/fstab > >> 192.168.1.254:/usr/raspi_root / nfs rw 0 0 > > > > Here's dhcp.conf on my router: > > > >> $ cat /etc/dhcpd.conf > >> authoritative; > >> option domain-name-servers 192.168.1.1; > >> > >> subnet 192.168.1.0 netmask 255.255.255.0 { > >> option routers 192.168.1.1; > >> range 192.168.1.2 192.168.1.150; > >> next-server 192.168.1.254; > >> option root-path "/usr/raspi_root"; > >> } > > > > Here's what ubldr sees before it loads the kernel over NFS: > > > >> loader> show > >> LINES=24 > >> autoboot_delay=10 > >> boot.netif.gateway=0.0.0.0 > >> boot.netif.hwaddr=b8:27:eb:28:a4:f8 > >> boot.netif.ip=192.168.1.33 > >> boot.netif.netmask=255.255.255.0 > >> boot.nfsroot.nfshandle=X298684cadeaf78ee0a000400000000006ed938000000000000000000X > >> boot.nfsroot.nfshandlelen=28 > >> boot.nfsroot.path=/usr/raspi_root > >> boot.nfsroot.server=192.168.1.254 > >> bootfile=kernel > >> console=uboot > >> currdev=net0: > >> interpret=OK > >> kernel=kernel > >> kernelname=/boot/kernel/kernel > >> loaddev=net0: > >> loader_conf_files=/boot/loader.conf /boot/loader.conf.local > >> module_path=/boot/kernel;/boot/kernel;/boot/modules;/boot/dtb > >> prompt=loader> > >> twiddle_divisor=1 > > > > The files I'm using are all taken from one of these two images (same > > result with both): > > > > FreeBSD-11.0-CURRENT-arm-armv6-RPI-B-20150826-r287169.img > > FreeBSD-10.2-STABLE-arm-armv6-RPI-B-20150917-r287929.img > > > > Let me know if you need any other info, and thanks for spending time on > > this. > > > > Randy Try setting boot.netif.name="ue0" in loader.conf. I've never tried that, but in looking at the code, there's some chance it could work. :) What I do is put these options into my RPi kernel config: options BOOTP options BOOTP_NFSROOT options BOOTP_NFSV3 options BOOTP_WIRED_TO=ue0 But this requires configuring a bootp or dhcp server to provide the info. It should be possible to netboot without using BOOTP. -- Ian From owner-freebsd-arm@freebsd.org Thu Sep 24 16:18:37 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C09A4A08E18 for ; Thu, 24 Sep 2015 16:18:37 +0000 (UTC) (envelope-from rwestlun@gmail.com) Received: from mail-qk0-x22a.google.com (mail-qk0-x22a.google.com [IPv6:2607:f8b0:400d:c09::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 776E3145E for ; Thu, 24 Sep 2015 16:18:37 +0000 (UTC) (envelope-from rwestlun@gmail.com) Received: by qkdw123 with SMTP id w123so31672594qkd.0 for ; Thu, 24 Sep 2015 09:18:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=f55pdKj4q8pLqVBPkWhJaaOk5n/25DmSR6bQkK0dJSA=; b=LmYRqvYzRv8nWDE06rP/vrVzvJGuStDfsmNQ2Pq4bEU5WVVFq5x+tDfTEjYWncv/s9 kB2zAlk/t6Tbb7CfOQ53qKK/D/+GArvzANPRp9Jb90pSOU933p6l/GvYM7IvjAZik31N 6WAkOGaJk4+G2ATynDPrt+Xoo3NYVwM46PyauSM4cP7NnuYOI7Tk4rsG2e8SoslFrntq VYLo8bflhNOcFNe1y1LDc39LetBYVVtBOITLFWwPBy859xoCdIk2ZQFJmQd/ptHH6CMc C9/24GnAe0VPbxYk3VNNOO7RRVsK4tds+Q0xL02UHWM6+S7E2enFOhvzLcxV24VatvpQ vcpA== X-Received: by 10.55.198.28 with SMTP id b28mr815200qkj.34.1443111516505; Thu, 24 Sep 2015 09:18:36 -0700 (PDT) Received: from gmail.com (c-98-216-247-110.hsd1.ma.comcast.net. [98.216.247.110]) by smtp.gmail.com with ESMTPSA id r16sm4772841qkl.3.2015.09.24.09.18.33 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 Sep 2015 09:18:36 -0700 (PDT) Date: Thu, 24 Sep 2015 12:18:25 -0400 From: Randy Westlund To: Daniel Braniss Cc: freebsd-arm@freebsd.org Subject: Re: NFS Root with Raspberry Pi (nfs_diskless: no interface) Message-ID: <20150924161825.GB32257@gmail.com> References: <20150922052522.GA62140@gmail.com> <00C49FEB-E8EF-4469-85E2-0F901215CD11@cs.huji.ac.il> <20150923050414.GB43653@gmail.com> <91AAC64E-4C38-47AA-8910-48F7654A7524@cs.huji.ac.il> <20150923174445.GE43653@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="7iMSBzlTiPOCCT2k" 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.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Sep 2015 16:18:37 -0000 --7iMSBzlTiPOCCT2k Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 24, 2015 at 04:07:10PM +0300, Daniel Braniss wrote: > how do you configure ubldr to do th dhcp/bootp? >=20 > danny I didn't do anything special. As I understand it, it's a combination of three things: - variables passed up from u-boot let it use the NIC - the next-server and root-path options from the DHCP server let it mount the NFS / dir and read the kernel and fstab - this line in fstab is what it passes to the kernel, which is how the kernel knows what to mount 192.168.1.254:/usr/raspi_root / nfs rw 0 0 Randy --7iMSBzlTiPOCCT2k Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJWBCJRAAoJEGaweXjzNsmpbj8H/2KJUjSqR+B3zQjxl88c+vLR VFhzNjulMWOxcUQ31meiUamXtv6mTM4KOnqPOJfS1n207rDuAgUgj7XYLBJ15VvC sWIy6ssC5h9Wp1PEoXLZmS5GsLOCgJ1W5w5OXGMRZKan6uddgBL9QezmgPuXCYDn 3rM5JsoW20eKQKX/DJwQW3+2/lPQ7aSdSqsJoTgO8QH8Wwmhi/FSdDScD6WHdwmu y63KI46lzNJahIRitTH0ceNU2X3Te2K0fIgUmCF4/d6lKx7d7ZBLt3E1xFngIVz0 hgYGbB5xh2dYGhgR6Y6JNoTt6MV7r6l9lPUjFRler2a9Xp/C8ypku4Wz+RHMal0= =ZbTV -----END PGP SIGNATURE----- --7iMSBzlTiPOCCT2k-- From owner-freebsd-arm@freebsd.org Thu Sep 24 16:37:09 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 39C32A05946 for ; Thu, 24 Sep 2015 16:37:09 +0000 (UTC) (envelope-from rwestlun@gmail.com) Received: from mail-qg0-x230.google.com (mail-qg0-x230.google.com [IPv6:2607:f8b0:400d:c04::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E4B7E10E9; Thu, 24 Sep 2015 16:37:08 +0000 (UTC) (envelope-from rwestlun@gmail.com) Received: by qgt47 with SMTP id 47so48774301qgt.2; Thu, 24 Sep 2015 09:37:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=V5REDNXtjeFRoBt+VPvmLCYu9apiLT+DDibbX6ar6tE=; b=krM/vtz2xKRMglcMixxPoj8bVxt/w5pmrauMobTECCIoW0E5zrC7T6PiSk5rkBuaYJ O7mshWaMG8j8WiZcjfTe/6JATTKOy+tEtU+/BOlz21FIKcmBX4Fr+ff0tE7M23fRMELZ Qx5TtEM63uWV3ltWGsy3LN/1duGIRgXctbk2ldH2zD7jzMgD1VIeZPD3UkJ4EJmBu+hK BbSIbawqRplOnLEYwjBE58X28o3Y5Jw62kjl0LDumrh6X+exm+JKIJD/k8dBwJN8oKPs K3oMih3Bt62PizoYxbvEtsHfjGFK55I4o/oyiUJXwaCaiDSkPRNmU9yOE6hJm9r6XV4K VXjw== X-Received: by 10.140.152.68 with SMTP id 65mr983071qhy.16.1443112628010; Thu, 24 Sep 2015 09:37:08 -0700 (PDT) Received: from gmail.com (c-98-216-247-110.hsd1.ma.comcast.net. [98.216.247.110]) by smtp.gmail.com with ESMTPSA id n23sm4798942qkl.17.2015.09.24.09.37.04 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 Sep 2015 09:37:07 -0700 (PDT) Date: Thu, 24 Sep 2015 12:36:58 -0400 From: Randy Westlund To: Ian Lepore Cc: Daniel Braniss , freebsd-arm@freebsd.org Subject: Re: NFS Root with Raspberry Pi (nfs_diskless: no interface) Message-ID: <20150924163658.GC32257@gmail.com> References: <20150922052522.GA62140@gmail.com> <00C49FEB-E8EF-4469-85E2-0F901215CD11@cs.huji.ac.il> <20150923050414.GB43653@gmail.com> <91AAC64E-4C38-47AA-8910-48F7654A7524@cs.huji.ac.il> <20150923174445.GE43653@gmail.com> <1443105426.1224.272.camel@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="TiqCXmo5T1hvSQQg" Content-Disposition: inline In-Reply-To: <1443105426.1224.272.camel@freebsd.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Sep 2015 16:37:09 -0000 --TiqCXmo5T1hvSQQg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 24, 2015 at 08:37:06AM -0600, Ian Lepore wrote: > Try setting boot.netif.name=3D"ue0" in loader.conf. I've never tried > that, but in looking at the code, there's some chance it could work. :) >=20 > What I do is put these options into my RPi kernel config: >=20 > options BOOTP > options BOOTP_NFSROOT > options BOOTP_NFSV3 > options BOOTP_WIRED_TO=3Due0 >=20 > But this requires configuring a bootp or dhcp server to provide the > info. It should be possible to netboot without using BOOTP. >=20 > -- Ian No luck with boot.netif.name. I'm using the kernel that comes in the FreeBSD RPI-B disk image. Is there a way to see what it was built with? I tried running strings on the kernel, but I'm not sure what to look for. Otherwise I guess I'll build one myself. Randy --TiqCXmo5T1hvSQQg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJWBCaqAAoJEGaweXjzNsmpJk8IAL4qDxv4iOqsWj+TLbNsTrqt XcSwSWuMfXYBXq3L0Votz9VHqNUQUFGFRG8vzkDeKd4L9ofwBt3IyviWQIlT8wIw 8zmLPeQNfBTofxtxpvyDa35RklNkqqZzKBFofdzuy17O4OHxW2BySCKVq1BuZ8m0 bLYtj4XLu7aB7KA/irZ2l+IWrkqYNxFVSY11wjWZuQTZxVjdYMR9WwFp5pFWVpDo OoAQy02n35og43S6mLlNcCFZ1QPr4Iz+ItTAAbuyrpIrS38ffLwLhVOIjbi09d99 lOe14BVt1gXIVedW1SQL/L80Dunp2Kue+gp0tnMFB/v+1o7rRYrei2k0uwJtagc= =R1X1 -----END PGP SIGNATURE----- --TiqCXmo5T1hvSQQg-- From owner-freebsd-arm@freebsd.org Thu Sep 24 17:52:43 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AC1EBA08CDB for ; Thu, 24 Sep 2015 17:52:43 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (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 6BF17107B; Thu, 24 Sep 2015 17:52:43 +0000 (UTC) (envelope-from hps@selasky.org) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id ECA811FE023; Thu, 24 Sep 2015 19:52:39 +0200 (CEST) Subject: Re: NFS Root with Raspberry Pi (nfs_diskless: no interface) To: Randy Westlund , Ian Lepore References: <20150922052522.GA62140@gmail.com> <00C49FEB-E8EF-4469-85E2-0F901215CD11@cs.huji.ac.il> <20150923050414.GB43653@gmail.com> <91AAC64E-4C38-47AA-8910-48F7654A7524@cs.huji.ac.il> <20150923174445.GE43653@gmail.com> <1443105426.1224.272.camel@freebsd.org> <20150924163658.GC32257@gmail.com> Cc: freebsd-arm@freebsd.org From: Hans Petter Selasky Message-ID: <560438C5.3090404@selasky.org> Date: Thu, 24 Sep 2015 19:54:13 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <20150924163658.GC32257@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Sep 2015 17:52:43 -0000 On 09/24/15 18:36, Randy Westlund wrote: > On Thu, Sep 24, 2015 at 08:37:06AM -0600, Ian Lepore wrote: >> Try setting boot.netif.name="ue0" in loader.conf. I've never tried >> that, but in looking at the code, there's some chance it could work. :) >> >> What I do is put these options into my RPi kernel config: >> >> options BOOTP >> options BOOTP_NFSROOT >> options BOOTP_NFSV3 >> options BOOTP_WIRED_TO=ue0 >> >> But this requires configuring a bootp or dhcp server to provide the >> info. It should be possible to netboot without using BOOTP. >> >> -- Ian > > No luck with boot.netif.name. > > I'm using the kernel that comes in the FreeBSD RPI-B disk image. Is > there a way to see what it was built with? I tried running strings on > the kernel, but I'm not sure what to look for. Otherwise I guess I'll > build one myself. > > Randy > Hi, The problem is that the code in: sys/nfs/bootp_subr.c: SYSINIT(bootp_rootconf, SI_SUB_ROOT_CONF, SI_ORDER_FIRST, bootpc_init, NULL); doesn't wait for the USB ethernet device to be enumerated. Only the vfs_mountroot() code which is running from the init-process does so. Not sure what the best way to solve this is. Try putting: pause("W", hz * 4); Into the beginning of the "bootpc_init()" function. --HPS From owner-freebsd-arm@freebsd.org Thu Sep 24 19:16:41 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 96AFFA08CC1 for ; Thu, 24 Sep 2015 19:16:41 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x22a.google.com (mail-ig0-x22a.google.com [IPv6:2607:f8b0:4001:c05::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 672981FDC for ; Thu, 24 Sep 2015 19:16:41 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by igcrk20 with SMTP id rk20so128939178igc.1 for ; Thu, 24 Sep 2015 12:16:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=M9ddigAyS6XVWBTIYG2FLlcPY4eVljsX7j9vRIr3ABs=; b=uN8wtta4epx9LKNpjJbxZnoK50Dogvm3V4sgQjQi3pIOqDE0xl7EcwsrEXAfmp/NyI 9PR8Mo0CpJy3nqaNflu/nPBErcpIS4USd65sEiocmP5ayRCcznTfo638VJ6SsUcU0VoX N9CpG6UMXspm5GV9oVbx9DrW7H+7cPJc908YvnjWpA14elAHCIa8cTybMyA7N99JHWTe bqCD9Xl42VHEssLRjwiiWB8mtlrFzJVdv/FBmpFnJHKKCzhkfkdoSCzAbd4u8vTEukQb Q0Qi8eVxNWdit12JqOVmx7mkyL+IkhOgBpdXkg0zkepP4XhDXM+Wd7gK1wcioEUPDIok 0wyQ== MIME-Version: 1.0 X-Received: by 10.50.60.3 with SMTP id d3mr2522258igr.37.1443122200349; Thu, 24 Sep 2015 12:16:40 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.28.208 with HTTP; Thu, 24 Sep 2015 12:16:40 -0700 (PDT) Date: Thu, 24 Sep 2015 12:16:40 -0700 X-Google-Sender-Auth: HaAqOnarlXoq_dMqRMoj4jT_hUw Message-ID: Subject: Jetson TK1 support From: Adrian Chadd To: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Sep 2015 19:16:41 -0000 hiya! What's the latest on the FreeBSD SoC support for the Jetson TK1? I was just handed one and I'd like to at least get -HEAD up on the thing. Thanks! -a From owner-freebsd-arm@freebsd.org Thu Sep 24 21:24:17 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C3005A0861F for ; Thu, 24 Sep 2015 21:24:17 +0000 (UTC) (envelope-from olavi.m.kumpulainen@gmail.com) Received: from mail-la0-x22a.google.com (mail-la0-x22a.google.com [IPv6:2a00:1450:4010:c03::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 4C1F01BC6 for ; Thu, 24 Sep 2015 21:24:17 +0000 (UTC) (envelope-from olavi.m.kumpulainen@gmail.com) Received: by lacdq2 with SMTP id dq2so23155858lac.1 for ; Thu, 24 Sep 2015 14:24:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:message-id:date :to:mime-version; bh=jvsGG0nTP2hhllfjC9YJP5CBj2OEJvSWfo5/DDBcxEY=; b=XMFlA8C9DhnvBwClQ0T9Evo539ftyOfLqzMpgW9+I8XvZ584327YczXrNvlkPV1KcX /P2H8q5pkQXDidqAqzDWqLCm1fn7Hf5Ilh+NcZQQAn2Z001tp4+bj0GfF0AQaNvcBYOT 4XbVxAiqEp0KXwBnH9LECwm5mmc/FZcbOm+Aq9WXVvMKUXIOwZmArSbdGbngS3LKZef0 w1o0cpK6qbvR80CEvQERhLsPzjKj9XsCjUZUKGYvy/m3zzsUM9i44jw2XKD4Quf2/gvs IUyLlvpYXvjw6yKUKtv/yvtOxbJFdcPMeNLMvXAxjofbTPqar/7bbcjfFKngZpp0U9+m 8b/g== X-Received: by 10.112.204.67 with SMTP id kw3mr536890lbc.60.1443129855115; Thu, 24 Sep 2015 14:24:15 -0700 (PDT) Received: from [192.168.1.106] (c83-251-251-174.bredband.comhem.se. [83.251.251.174]) by smtp.gmail.com with ESMTPSA id e142sm24905lfe.27.2015.09.24.14.24.14 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 24 Sep 2015 14:24:14 -0700 (PDT) From: Olavi Kumpulainen Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: gcc-4.2.1 on armv6 and Tag_ABI_HardFP_use Message-Id: <64C9409F-7E9D-4CF2-90E1-3834908BC813@gmail.com> Date: Thu, 24 Sep 2015 23:24:12 +0200 To: freebsd-arm@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Sep 2015 21:24:18 -0000 Hi everyone, I have a question regarding armv6 gcc-4.2.1 and Tag_ABI_HardFP_use in = the generated ELF objects. I have a small c-program that looks as; #include double fn(double x, double y) { return x+y; } int main(int argc, char *argv[]) { printf("%f\n", fn(3.2, 9.7)); return 0; } Compiling this with clang 3.4.1 produces the following results; $ cc -v FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 Target: armv6--freebsd10.2-gnueabi Thread model: posix Selected GCC installation:=20 $ cc -c t.c -march=3Darmv6 -mfloat-abi=3Dsoft $ readelf -a t.o|grep ABI OS/ABI: UNIX - System V ABI Version: 0 Flags: 0x5000000, Version5 EABI Tag_ABI_FP_denormal: Needed Tag_ABI_FP_exceptions: Needed Tag_ABI_FP_number_model: IEEE 754 Tag_ABI_align8_needed: Yes Tag_ABI_align8_preserved: Yes, except leaf SP $ cc -c t.c -march=3Darmv6 -mfloat-abi=3Dsoftfp $ readelf -a t.o|grep ABI OS/ABI: UNIX - System V ABI Version: 0 Flags: 0x5000000, Version5 EABI Tag_ABI_FP_denormal: Needed Tag_ABI_FP_exceptions: Needed Tag_ABI_FP_number_model: IEEE 754 Tag_ABI_align8_needed: Yes Tag_ABI_align8_preserved: Yes, except leaf SP Then, if I build a new world using the following src.conf: $ cat /etc/src.conf WITH_GCC=3Dyes WITH_GNUCXX=3Dyes WITH_GCC_BOOTSTRAP=3Dyes WITHOUT_CLANG=3Dyes WITHOUT_CLANG_IS_CC=3Dyes WITHOUT_CLANG_BOOTSTRAP=3Dyes And the usual; make TARGET=3Darm TARGET_ARCH=3Darmv6 buildworld and; make TARGET=3Darm TARGET_ARCH=3Darmv6 buildenv # cc -v Using built-in specs. Target: armv6-undermydesk-freebsd Configured with: FreeBSD/armv6 system compiler Thread model: posix gcc version 4.2.1 20070831 patched [FreeBSD] # cc -c t.c -march=3Darmv6 -mfloat-abi=3Dsoft # readelf -A t.o |grep ABI OS/ABI: UNIX - System V ABI Version: 0 Flags: 0x4000000, Version4 EABI Tag_ABI_PCS_wchar_t: 4 Tag_ABI_FP_denormal: Needed Tag_ABI_FP_exceptions: Needed Tag_ABI_FP_number_model: IEEE 754 Tag_ABI_align8_needed: Yes Tag_ABI_align8_preserved: Yes, except leaf SP Tag_ABI_enum_size: int Tag_ABI_optimization_goals: Aggressive Debug A few more arc-specific tags, but none that strikes me as odd. But what about -mfloat-abi=3Dsoftfp? # cc -c t.c -march=3Darmv6 -mfloat-abi=3Dsoftfp # readelf -a t.o |grep ABI OS/ABI: UNIX - System V ABI Version: 0 Flags: 0x4000000, Version4 EABI Tag_ABI_PCS_wchar_t: 4 Tag_ABI_FP_denormal: Needed Tag_ABI_FP_exceptions: Needed Tag_ABI_FP_number_model: IEEE 754 Tag_ABI_align8_needed: Yes Tag_ABI_align8_preserved: Yes, except leaf SP Tag_ABI_enum_size: int Tag_ABI_HardFP_use: SP and DP Tag_ABI_optimization_goals: Aggressive Debug Are there any reasons for the appearance of the 'Tag_ABI_HardFP_use: SP = and DP=E2=80=99 here? /O From owner-freebsd-arm@freebsd.org Thu Sep 24 21:58:21 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E85D2A08B65 for ; Thu, 24 Sep 2015 21:58:20 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1b.ore.mailhop.org (outbound1b.ore.mailhop.org [54.200.247.200]) (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 CA9A11162 for ; Thu, 24 Sep 2015 21:58:20 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from ilsoft.org (unknown [73.34.117.227]) by outbound1.ore.mailhop.org (Halon Mail Gateway) with ESMTPSA; Thu, 24 Sep 2015 21:58:48 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.14.9/8.14.9) with ESMTP id t8OLwCKo004011; Thu, 24 Sep 2015 15:58:13 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1443131892.1224.312.camel@freebsd.org> Subject: Re: gcc-4.2.1 on armv6 and Tag_ABI_HardFP_use From: Ian Lepore To: Olavi Kumpulainen Cc: freebsd-arm@freebsd.org Date: Thu, 24 Sep 2015 15:58:12 -0600 In-Reply-To: <64C9409F-7E9D-4CF2-90E1-3834908BC813@gmail.com> References: <64C9409F-7E9D-4CF2-90E1-3834908BC813@gmail.com> Content-Type: text/plain; charset="iso-8859-13" X-Mailer: Evolution 3.12.10 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Sep 2015 21:58:21 -0000 On Thu, 2015-09-24 at 23:24 +0200, Olavi Kumpulainen wrote: > Hi everyone, > > I have a question regarding armv6 gcc-4.2.1 and Tag_ABI_HardFP_use in the generated ELF objects. > > I have a small c-program that looks as; > > #include > > double fn(double x, double y) > { > return x+y; > } > > int main(int argc, char *argv[]) > { > printf("%f\n", fn(3.2, 9.7)); > return 0; > } > > > Compiling this with clang 3.4.1 produces the following results; > > $ cc -v > FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 > Target: armv6--freebsd10.2-gnueabi > Thread model: posix > Selected GCC installation: > > $ cc -c t.c -march=armv6 -mfloat-abi=soft > $ readelf -a t.o|grep ABI > OS/ABI: UNIX - System V > ABI Version: 0 > Flags: 0x5000000, Version5 EABI > Tag_ABI_FP_denormal: Needed > Tag_ABI_FP_exceptions: Needed > Tag_ABI_FP_number_model: IEEE 754 > Tag_ABI_align8_needed: Yes > Tag_ABI_align8_preserved: Yes, except leaf SP > > $ cc -c t.c -march=armv6 -mfloat-abi=softfp > $ readelf -a t.o|grep ABI > OS/ABI: UNIX - System V > ABI Version: 0 > Flags: 0x5000000, Version5 EABI > Tag_ABI_FP_denormal: Needed > Tag_ABI_FP_exceptions: Needed > Tag_ABI_FP_number_model: IEEE 754 > Tag_ABI_align8_needed: Yes > Tag_ABI_align8_preserved: Yes, except leaf SP > > > Then, if I build a new world using the following src.conf: > > $ cat /etc/src.conf > WITH_GCC=yes > WITH_GNUCXX=yes > WITH_GCC_BOOTSTRAP=yes > WITHOUT_CLANG=yes > WITHOUT_CLANG_IS_CC=yes > WITHOUT_CLANG_BOOTSTRAP=yes > > And the usual; > make TARGET=arm TARGET_ARCH=armv6 buildworld > > and; > make TARGET=arm TARGET_ARCH=armv6 buildenv > > > # cc -v > Using built-in specs. > Target: armv6-undermydesk-freebsd > Configured with: FreeBSD/armv6 system compiler > Thread model: posix > gcc version 4.2.1 20070831 patched [FreeBSD] > > # cc -c t.c -march=armv6 -mfloat-abi=soft > # readelf -A t.o |grep ABI > OS/ABI: UNIX - System V > ABI Version: 0 > Flags: 0x4000000, Version4 EABI > Tag_ABI_PCS_wchar_t: 4 > Tag_ABI_FP_denormal: Needed > Tag_ABI_FP_exceptions: Needed > Tag_ABI_FP_number_model: IEEE 754 > Tag_ABI_align8_needed: Yes > Tag_ABI_align8_preserved: Yes, except leaf SP > Tag_ABI_enum_size: int > Tag_ABI_optimization_goals: Aggressive Debug > > A few more arc-specific tags, but none that strikes me as odd. > > But what about -mfloat-abi=softfp? > > # cc -c t.c -march=armv6 -mfloat-abi=softfp > # readelf -a t.o |grep ABI > OS/ABI: UNIX - System V > ABI Version: 0 > Flags: 0x4000000, Version4 EABI > Tag_ABI_PCS_wchar_t: 4 > Tag_ABI_FP_denormal: Needed > Tag_ABI_FP_exceptions: Needed > Tag_ABI_FP_number_model: IEEE 754 > Tag_ABI_align8_needed: Yes > Tag_ABI_align8_preserved: Yes, except leaf SP > Tag_ABI_enum_size: int > Tag_ABI_HardFP_use: SP and DP > Tag_ABI_optimization_goals: Aggressive Debug > > Are there any reasons for the appearance of the 'Tag_ABI_HardFP_use: SP and DPÿ here? > > > /O That "SP and DP" corresponds to a value of 0x03 in the tag, and that is now listed as a deprecated value which is a synonym for a tag value of zero (or no tag present at all). The only value these days that has any meaning for Tag_ABI_HardFP_use is 0x01 which would mean basically "use only single-precision". I think this old value still appears when using gcc 4.2 because our gcc tools are so old. If you use -mfloat-abi=softfp you get hardware floating point (in a form compatible with libraries and programs that are compiled as software-only). The performance difference between -mfloat-abi=softfp and -mfloat-abi=hard is small for most programs, but there is no real reason to use anything these days except armv6hf which is pure hardfloat. -- Ian From owner-freebsd-arm@freebsd.org Thu Sep 24 22:28:45 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 13035A0803A for ; Thu, 24 Sep 2015 22:28:45 +0000 (UTC) (envelope-from freebsd.asc@strcmp.org) Received: from olinguito.schwarzes.net (olinguito.schwarzes.net [IPv6:2a01:4f8:7d:1b5::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 7CEE2128D for ; Thu, 24 Sep 2015 22:28:43 +0000 (UTC) (envelope-from freebsd.asc@strcmp.org) Received: from [62.109.78.35] (mosquito.schwarzes.net [62.109.78.35]) (authenticated bits=0) by olinguito.schwarzes.net (8.15.2/8.15.2) with ESMTPA id t8OMSeS9082114; Fri, 25 Sep 2015 00:28:40 +0200 (CEST) (envelope-from freebsd.asc@strcmp.org) From: Andreas Schwarz To: Svatopluk Kraus CC: "freebsd-arm@freebsd.org" , Hans Petter Selasky Mail-Reply-To: Andreas Schwarz Mail-Followup-To: freebsd-arm@FreeBSD.org Date: Fri, 25 Sep 2015 00:28:39 +0200 (CEST) Message-ID: <46f856107c4.4a22ef6d@mail.schwarzes.net> In-Reply-To: References: <55A7D8CE.4020809@selasky.org> <55B23276.8090703@selasky.org> <55B73113.2020308@selasky.org> <55B8AB76.7030603@selasky.org> <55B8B297.1010008@selasky.org> <20150729154516.GH78154@funkthat.com> <55B8F5EC.2050908@selasky.org> <46ad096c958.1a82a175@mail.schwarzes.net> <55B9C3E2.5040501@selasky.org> <46ae815c7c3.447237c8@mail.schwarzes.net> <46aece00b53.3c1cdc1f@mail.schwarzes.net> <55BB2A5F.9000502@selasky.org> <46baa16c4ce.6efd29ef@mail.schwarzes.net> <55CF31A1.5080205@selasky.org> <46ce372c895.20050775@mail.schwarzes.net> <46d0a4441bb.41f6f91d@mail.schwarzes.net> <55DD5C0A.2050401@selasky.org> <46d8b55830c.48a059ec@mail.schwarzes.net> <46e495e484.66704618@mail.schwarzes.net> User-Agent: YAM/2.9p1 (MorphOS; PPC; rv:20140418r7798) Subject: Re: DWC OTG TX path optimisation for 11-current MIME-Version: 1.0 Content-Type: text/plain X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (olinguito.schwarzes.net [78.47.41.143]); Fri, 25 Sep 2015 00:28:40 +0200 (CEST) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Sep 2015 22:28:45 -0000 On 24.09.15, Svatopluk Kraus wrote: > I finally found a way how to get something what could be analyzed > considering the problem with smcs warnings, slow console response, and > other oddities. And it was Michal Meloun who figured out how the > problem comes up. He was so enthusiastic and fast that he got me no > chance, no chance at all to figure it out myself. ;)) Thanks goes to > Bob Prohaska too who pointed me to stress2 which triggers the problem > even with all KTR classes compiled in kernel. This could explain why the legacy BSD scheduler was so stable compared to ULE. I'll patch and start my buildworld loop test (which will take a week (10 loops)). -asc From owner-freebsd-arm@freebsd.org Fri Sep 25 00:54:32 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 72131A086ED for ; Fri, 25 Sep 2015 00:54:32 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from pmta2.delivery6.ore.mailhop.org (pmta2.delivery6.ore.mailhop.org [54.200.129.228]) (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 50EB11839 for ; Fri, 25 Sep 2015 00:54:32 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from ilsoft.org (unknown [73.34.117.227]) by outbound2.ore.mailhop.org (Halon Mail Gateway) with ESMTPSA; Fri, 25 Sep 2015 00:55:08 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.14.9/8.14.9) with ESMTP id t8P0sSgM004355; Thu, 24 Sep 2015 18:54:29 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1443142468.1224.322.camel@freebsd.org> Subject: Re: NFS Root with Raspberry Pi (nfs_diskless: no interface) From: Ian Lepore To: Hans Petter Selasky Cc: Randy Westlund , freebsd-arm@freebsd.org, Rick Macklem Date: Thu, 24 Sep 2015 18:54:28 -0600 In-Reply-To: <560438C5.3090404@selasky.org> References: <20150922052522.GA62140@gmail.com> <00C49FEB-E8EF-4469-85E2-0F901215CD11@cs.huji.ac.il> <20150923050414.GB43653@gmail.com> <91AAC64E-4C38-47AA-8910-48F7654A7524@cs.huji.ac.il> <20150923174445.GE43653@gmail.com> <1443105426.1224.272.camel@freebsd.org> <20150924163658.GC32257@gmail.com> <560438C5.3090404@selasky.org> Content-Type: multipart/mixed; boundary="=-JFrIpY5MfS0yWt+nRO0J" X-Mailer: Evolution 3.12.10 FreeBSD GNOME Team Port Mime-Version: 1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Sep 2015 00:54:32 -0000 --=-JFrIpY5MfS0yWt+nRO0J Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Thu, 2015-09-24 at 19:54 +0200, Hans Petter Selasky wrote: > On 09/24/15 18:36, Randy Westlund wrote: > > On Thu, Sep 24, 2015 at 08:37:06AM -0600, Ian Lepore wrote: > > >>>[orig problem description: basically nfsroot without BOOTP fails] > > >> Try setting boot.netif.name="ue0" in loader.conf. I've never tried > >> that, but in looking at the code, there's some chance it could work. :) > >> > >> What I do is put these options into my RPi kernel config: > >> > >> options BOOTP > >> options BOOTP_NFSROOT > >> options BOOTP_NFSV3 > >> options BOOTP_WIRED_TO=ue0 > >> > >> But this requires configuring a bootp or dhcp server to provide the > >> info. It should be possible to netboot without using BOOTP. > >> > >> -- Ian > > > > No luck with boot.netif.name. > > > > I'm using the kernel that comes in the FreeBSD RPI-B disk image. Is > > there a way to see what it was built with? I tried running strings on > > the kernel, but I'm not sure what to look for. Otherwise I guess I'll > > build one myself. > > > > Randy > > > > Hi, > > The problem is that the code in: > > sys/nfs/bootp_subr.c: SYSINIT(bootp_rootconf, SI_SUB_ROOT_CONF, > SI_ORDER_FIRST, bootpc_init, NULL); > > doesn't wait for the USB ethernet device to be enumerated. Only the > vfs_mountroot() code which is running from the init-process does so. > > Not sure what the best way to solve this is. Try putting: > > pause("W", hz * 4); > > Into the beginning of the "bootpc_init()" function. > > --HPS I had time to look into this today. The bootpc_init() routine *does* wait for an interface to appear. The problem in this case is that BOOTP isn't involved, and the nfs_setup_diskless() routine doesn't have a similar wait loop for slow interfaces. The attached patch adds it, and with it I can nfsmount root on my RPi without using the BOOTP_foo options I listed above. Rick, does this patch look okay to you? If no objections, I'll commit this asap. -- Ian --=-JFrIpY5MfS0yWt+nRO0J Content-Disposition: inline; filename="nfs_diskless_iface_timeout.diff" Content-Type: text/x-patch; name="nfs_diskless_iface_timeout.diff"; charset="us-ascii" Content-Transfer-Encoding: 7bit Index: sys/nfs/nfs_diskless.c =================================================================== --- sys/nfs/nfs_diskless.c (revision 288203) +++ sys/nfs/nfs_diskless.c (working copy) @@ -57,6 +57,8 @@ __FBSDID("$FreeBSD$"); #include #include +#define IFACE_TIMEOUT_SECS 10 /* Timeout for interface to appear. */ + static int inaddr_to_sockaddr(char *ev, struct sockaddr_in *sa); static int hwaddr_to_sockaddr(char *ev, struct sockaddr_dl *sa); static int decode_nfshandle(char *ev, u_char *fh, int maxfh); @@ -170,6 +172,7 @@ nfs_setup_diskless(void) char *cp; int cnt, fhlen, is_nfsv3; uint32_t len; + time_t timeout_at; if (nfs_diskless_valid != 0) return; @@ -214,6 +217,8 @@ nfs_setup_diskless(void) return; } ifa = NULL; + timeout_at = time_uptime + IFACE_TIMEOUT_SECS; +retry: CURVNET_SET(TD_TO_VNET(curthread)); IFNET_RLOCK(); TAILQ_FOREACH(ifp, &V_ifnet, if_link) { @@ -234,6 +239,10 @@ nfs_setup_diskless(void) } IFNET_RUNLOCK(); CURVNET_RESTORE(); + if (time_uptime < timeout_at) { + pause("nfssdl", hz / 5); + goto retry; + } printf("nfs_diskless: no interface\n"); return; /* no matching interface */ match_done: --=-JFrIpY5MfS0yWt+nRO0J-- From owner-freebsd-arm@freebsd.org Fri Sep 25 08:37:48 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0CF50A08927 for ; Fri, 25 Sep 2015 08:37:48 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 500D415FF; Fri, 25 Sep 2015 08:37:46 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from chamsa.cs.huji.ac.il ([132.65.80.19]) by kabab.cs.huji.ac.il with esmtp id 1ZfOVg-000AKz-1r; Fri, 25 Sep 2015 11:37:40 +0300 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: NFS Root with Raspberry Pi (nfs_diskless: no interface) From: Daniel Braniss In-Reply-To: <1443142468.1224.322.camel@freebsd.org> Date: Fri, 25 Sep 2015 11:37:39 +0300 Cc: Hans Petter Selasky , freebsd-arm@freebsd.org, Rick Macklem Message-Id: References: <20150922052522.GA62140@gmail.com> <00C49FEB-E8EF-4469-85E2-0F901215CD11@cs.huji.ac.il> <20150923050414.GB43653@gmail.com> <91AAC64E-4C38-47AA-8910-48F7654A7524@cs.huji.ac.il> <20150923174445.GE43653@gmail.com> <1443105426.1224.272.camel@freebsd.org> <20150924163658.GC32257@gmail.com> <560438C5.3090404@selasky.org> <1443142468.1224.322.camel@freebsd.org> To: Ian Lepore X-Mailer: Apple Mail (2.2104) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Sep 2015 08:37:48 -0000 > On 25 Sep 2015, at 03:54, Ian Lepore wrote: >=20 > On Thu, 2015-09-24 at 19:54 +0200, Hans Petter Selasky wrote: >> On 09/24/15 18:36, Randy Westlund wrote: >>> On Thu, Sep 24, 2015 at 08:37:06AM -0600, Ian Lepore wrote: >>=20 >>>>> [orig problem description: basically nfsroot without BOOTP fails] >>=20 >>>> Try setting boot.netif.name=3D"ue0" in loader.conf. I've never = tried >>>> that, but in looking at the code, there's some chance it could = work. :) >>>>=20 >>>> What I do is put these options into my RPi kernel config: >>>>=20 >>>> options BOOTP >>>> options BOOTP_NFSROOT >>>> options BOOTP_NFSV3 >>>> options BOOTP_WIRED_TO=3Due0 >>>>=20 >>>> But this requires configuring a bootp or dhcp server to provide the >>>> info. It should be possible to netboot without using BOOTP. >>>>=20 >>>> -- Ian >>>=20 >>> No luck with boot.netif.name. >>>=20 >>> I'm using the kernel that comes in the FreeBSD RPI-B disk image. Is >>> there a way to see what it was built with? I tried running strings = on >>> the kernel, but I'm not sure what to look for. Otherwise I guess = I'll >>> build one myself. >>>=20 >>> Randy >>>=20 >>=20 >> Hi, >>=20 >> The problem is that the code in: >>=20 >> sys/nfs/bootp_subr.c: SYSINIT(bootp_rootconf, SI_SUB_ROOT_CONF,=20 >> SI_ORDER_FIRST, bootpc_init, NULL); >>=20 >> doesn't wait for the USB ethernet device to be enumerated. Only the=20= >> vfs_mountroot() code which is running from the init-process does so. >>=20 >> Not sure what the best way to solve this is. Try putting: >>=20 >> pause("W", hz * 4); >>=20 >> Into the beginning of the "bootpc_init()" function. >>=20 >> --HPS >=20 > I had time to look into this today. The bootpc_init() routine *does* > wait for an interface to appear. The problem in this case is that = BOOTP > isn't involved, and the nfs_setup_diskless() routine doesn't have a > similar wait loop for slow interfaces. The attached patch adds it, = and > with it I can nfsmount root on my RPi without using the BOOTP_foo > options I listed above. >=20 > Rick, does this patch look okay to you? If no objections, I'll commit > this asap. >=20 > -- Ian >=20 > Index: sys/nfs/nfs_diskless.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- sys/nfs/nfs_diskless.c (revision 288203) > +++ sys/nfs/nfs_diskless.c (working copy) > @@ -57,6 +57,8 @@ __FBSDID("$FreeBSD$"); > #include > #include >=20 > +#define IFACE_TIMEOUT_SECS 10 /* Timeout for interface to = appear. */ > + > static int inaddr_to_sockaddr(char *ev, struct sockaddr_in *sa); > static int hwaddr_to_sockaddr(char *ev, struct sockaddr_dl *sa); > static int decode_nfshandle(char *ev, u_char *fh, int maxfh); > @@ -170,6 +172,7 @@ nfs_setup_diskless(void) > char *cp; > int cnt, fhlen, is_nfsv3; > uint32_t len; > + time_t timeout_at; >=20 > if (nfs_diskless_valid !=3D 0) > return; > @@ -214,6 +217,8 @@ nfs_setup_diskless(void) > return; > } > ifa =3D NULL; > + timeout_at =3D time_uptime + IFACE_TIMEOUT_SECS; > +retry: > CURVNET_SET(TD_TO_VNET(curthread)); > IFNET_RLOCK(); > TAILQ_FOREACH(ifp, &V_ifnet, if_link) { > @@ -234,6 +239,10 @@ nfs_setup_diskless(void) > } > IFNET_RUNLOCK(); > CURVNET_RESTORE(); > + if (time_uptime < timeout_at) { > + pause("nfssdl", hz / 5); > + goto retry; > + } > printf("nfs_diskless: no interface\n"); > return; /* no matching interface */ > match_done: > _______________________________________________ hi Ian, can you help me here? I need the magics to get ubldr to boot from the net, i=E2=80=99m using an image built via crochet.=20 cheers, danny From owner-freebsd-arm@freebsd.org Fri Sep 25 19:26:03 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DD061A08F28 for ; Fri, 25 Sep 2015 19:26:02 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1b.ore.mailhop.org (outbound1b.ore.mailhop.org [54.200.247.200]) (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 B253B1771 for ; Fri, 25 Sep 2015 19:26:02 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from ilsoft.org (unknown [73.34.117.227]) by outbound1.ore.mailhop.org (Halon Mail Gateway) with ESMTPSA; Fri, 25 Sep 2015 19:26:36 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.14.9/8.14.9) with ESMTP id t8PJPxnD006136; Fri, 25 Sep 2015 13:25:59 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1443209159.1224.361.camel@freebsd.org> Subject: Re: netboot configuration [was: Re: NFS Root with Raspberry Pi (nfs_diskless: no interface)] From: Ian Lepore To: freebsd-arm@freebsd.org Date: Fri, 25 Sep 2015 13:25:59 -0600 In-Reply-To: References: <20150922052522.GA62140@gmail.com> <00C49FEB-E8EF-4469-85E2-0F901215CD11@cs.huji.ac.il> <20150923050414.GB43653@gmail.com> <91AAC64E-4C38-47AA-8910-48F7654A7524@cs.huji.ac.il> <20150923174445.GE43653@gmail.com> <1443105426.1224.272.camel@freebsd.org> <20150924163658.GC32257@gmail.com> <560438C5.3090404@selasky.org> <1443142468.1224.322.camel@freebsd.org> Content-Type: text/plain; charset="iso-8859-7" X-Mailer: Evolution 3.12.10 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Sep 2015 19:26:03 -0000 On Fri, 2015-09-25 at 11:37 +0300, Daniel Braniss wrote: > > On 25 Sep 2015, at 03:54, Ian Lepore wrote: > > > > On Thu, 2015-09-24 at 19:54 +0200, Hans Petter Selasky wrote: > >> On 09/24/15 18:36, Randy Westlund wrote: > >>> On Thu, Sep 24, 2015 at 08:37:06AM -0600, Ian Lepore wrote: > >> [...stuff about problems netbooting...] > > hi Ian, > can you help me here? > I need the magics to get ubldr to boot from the net, > i¢m using an image built via crochet. > > cheers, > danny I've been struggling with how to set up a new default u-boot environment in our ports to make netbooting easier. The problem is that there are as many ways to netboot as there are different people wanting to do it. What I've been doing for years is loading both ubldr and the kernel from nfs, by configuring my dhcp server to provide all the info needed (board ip and netmask, server ip, ubldr file to load, and nfs root path), all based on the mac address of the board. I've learned that doesn't work well for most people who don't have easy control over their dhcp server. To try to keep this relatively simple, I'm going to assume that what most folks want to do is: * Load ubldr from the sdcard that has u-boot on it (not from nfs). * Make ubldr load the freebsd kernel from nfs. * Use an nfs root filesystem. So I'm assuming you've got an nfs server already serving up the root filesystem (I'm not going to detail configuring that here). That filesystem must contain an /etc/fstab that includes the ip:/rootpath entry for the root filesystem. In other words, even though the software must already know the ip:/rootpath to find the fstab file, the file still must contain a root path entry. (I find this annoying.) Now on the u-boot side you need to add a few lines to the uEnv.txt file on the FAT partition (create the file there if it doesn't already exist). You can configure a static IP address or get the IP from dhcp: For static IP (On RPi only, add one line: UserPreboot=usb start) loaderdev=net rootpath=192.168.0.240:/wand ipaddr=192.168.0.233 netmask=255.255.255.0 For DHCP (On RPi only, last line is: UserPreboot=usb start && dhcp) loaderdev=net rootpath=192.168.0.240:/wand autoload=no UserPreboot=dhcp BTW, you may notice a Netboot command in the standard u-boot env. Do NOT set bootcmd=run Netboot, that would make u-boot try to load ubldr over the network, which requires running a tftp server. -- Ian From owner-freebsd-arm@freebsd.org Fri Sep 25 23:24:49 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9B170A08EC5 for ; Fri, 25 Sep 2015 23:24:49 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-jnhn.mail.uoguelph.ca (esa-jnhn.mail.uoguelph.ca [131.104.91.44]) by mx1.freebsd.org (Postfix) with ESMTP id 288121C38; Fri, 25 Sep 2015 23:24:48 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) IronPort-PHdr: 9a23:hesTqBHOPxXLB972JSSph51GYnF86YWxBRYc798ds5kLTJ75ocWwAkXT6L1XgUPTWs2DsrQf27aQ7vmrAjBIyK3CmU5BWaQEbwUCh8QSkl5oK+++Imq/EsTXaTcnFt9JTl5v8iLzG0FUHMHjew+a+SXqvnYsExnyfTB4Ov7yUtaLyZ/ni6bvotaIP01hv3mUX/BbFF2OtwLft80b08NJC50a7V/3mEZOYPlc3mhyJFiezF7W78a0+4N/oWwL46pyv+YJa6jxfrw5QLpEF3xmdjltvIy4/SXEGCqG4DM4X30RiBcAVwnM6jn0RJr8uDD28O1n13/JE9fxSOUOWD+hp4JiQxzshSJPYyQ8+WrUjsF1pL9crw+sowR/hYXdNtLGfMFid7/QKItJDVFKWdxcAmkYWtux X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2DWAQD51gVW/61jaINdg3hpBoMkug4BDYFzhgECgV4UAQEBAQEBAQGBCYIdggcBAQEDASNWBQsCAQgYERkCAlcCBIg5CLgUlCIBAQEHAQEBAQEdhnOEfYRCFzQHgmmBQwWMf4hthRSKDoxtjCoCHwEBQoIRHIFwIjOIHIEFAQEB X-IronPort-AV: E=Sophos;i="5.17,589,1437451200"; d="scan'208";a="239321374" Received: from nipigon.cs.uoguelph.ca (HELO zcs1.mail.uoguelph.ca) ([131.104.99.173]) by esa-jnhn.mail.uoguelph.ca with ESMTP; 25 Sep 2015 19:23:39 -0400 Received: from localhost (localhost [127.0.0.1]) by zcs1.mail.uoguelph.ca (Postfix) with ESMTP id C365E15F55D; Fri, 25 Sep 2015 19:23:39 -0400 (EDT) Received: from zcs1.mail.uoguelph.ca ([127.0.0.1]) by localhost (zcs1.mail.uoguelph.ca [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id cdeC8hgbmtOn; Fri, 25 Sep 2015 19:23:39 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by zcs1.mail.uoguelph.ca (Postfix) with ESMTP id 0BF6315F563; Fri, 25 Sep 2015 19:23:39 -0400 (EDT) X-Virus-Scanned: amavisd-new at zcs1.mail.uoguelph.ca Received: from zcs1.mail.uoguelph.ca ([127.0.0.1]) by localhost (zcs1.mail.uoguelph.ca [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 3oBkE4_0ZJsh; Fri, 25 Sep 2015 19:23:38 -0400 (EDT) Received: from zcs1.mail.uoguelph.ca (zcs1.mail.uoguelph.ca [172.17.95.18]) by zcs1.mail.uoguelph.ca (Postfix) with ESMTP id D44C115F55D; Fri, 25 Sep 2015 19:23:38 -0400 (EDT) Date: Fri, 25 Sep 2015 19:23:38 -0400 (EDT) From: Rick Macklem To: Ian Lepore Cc: Hans Petter Selasky , Randy Westlund , freebsd-arm@freebsd.org, Rick Macklem Message-ID: <1384966087.11358042.1443223418540.JavaMail.zimbra@uoguelph.ca> In-Reply-To: <1443142468.1224.322.camel@freebsd.org> References: <20150922052522.GA62140@gmail.com> <91AAC64E-4C38-47AA-8910-48F7654A7524@cs.huji.ac.il> <20150923174445.GE43653@gmail.com> <1443105426.1224.272.camel@freebsd.org> <20150924163658.GC32257@gmail.com> <560438C5.3090404@selasky.org> <1443142468.1224.322.camel@freebsd.org> Subject: Re: NFS Root with Raspberry Pi (nfs_diskless: no interface) MIME-Version: 1.0 X-Originating-IP: [172.17.95.11] X-Mailer: Zimbra 8.0.9_GA_6191 (ZimbraWebClient - FF34 (Win)/8.0.9_GA_6191) Thread-Topic: NFS Root with Raspberry Pi (nfs_diskless: no interface) Thread-Index: wwsSQnpDMom4KjIkEFzE5jobUOnjEw== Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Sep 2015 23:24:49 -0000 Ian Lepore wrote: > On Thu, 2015-09-24 at 19:54 +0200, Hans Petter Selasky wrote: > > On 09/24/15 18:36, Randy Westlund wrote: > > > On Thu, Sep 24, 2015 at 08:37:06AM -0600, Ian Lepore wrote: > > > > >>>[orig problem description: basically nfsroot without BOOTP fails] > > > > >> Try setting boot.netif.name="ue0" in loader.conf. I've never tried > > >> that, but in looking at the code, there's some chance it could work. :) > > >> > > >> What I do is put these options into my RPi kernel config: > > >> > > >> options BOOTP > > >> options BOOTP_NFSROOT > > >> options BOOTP_NFSV3 > > >> options BOOTP_WIRED_TO=ue0 > > >> > > >> But this requires configuring a bootp or dhcp server to provide the > > >> info. It should be possible to netboot without using BOOTP. > > >> > > >> -- Ian > > > > > > No luck with boot.netif.name. > > > > > > I'm using the kernel that comes in the FreeBSD RPI-B disk image. Is > > > there a way to see what it was built with? I tried running strings on > > > the kernel, but I'm not sure what to look for. Otherwise I guess I'll > > > build one myself. > > > > > > Randy > > > > > > > Hi, > > > > The problem is that the code in: > > > > sys/nfs/bootp_subr.c: SYSINIT(bootp_rootconf, SI_SUB_ROOT_CONF, > > SI_ORDER_FIRST, bootpc_init, NULL); > > > > doesn't wait for the USB ethernet device to be enumerated. Only the > > vfs_mountroot() code which is running from the init-process does so. > > > > Not sure what the best way to solve this is. Try putting: > > > > pause("W", hz * 4); > > > > Into the beginning of the "bootpc_init()" function. > > > > --HPS > > I had time to look into this today. The bootpc_init() routine *does* > wait for an interface to appear. The problem in this case is that BOOTP > isn't involved, and the nfs_setup_diskless() routine doesn't have a > similar wait loop for slow interfaces. The attached patch adds it, and > with it I can nfsmount root on my RPi without using the BOOTP_foo > options I listed above. > > Rick, does this patch look okay to you? If no objections, I'll commit > this asap. > Looks fine to me. (I might have selected a name for the timeout with NFS in it, just in case someone defines IFACE_TIMEOUT_SECS for something else, but I'll leave it up to you.) Thanks for patching this, rick > -- Ian > > > > [Text Documents:nfs_diskless_iface_timeout.diff] > From owner-freebsd-arm@freebsd.org Sat Sep 26 00:24:22 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 444FEA09A61 for ; Sat, 26 Sep 2015 00:24:22 +0000 (UTC) (envelope-from venture37@gmail.com) Received: from mail-qg0-x236.google.com (mail-qg0-x236.google.com [IPv6:2607:f8b0:400d:c04::236]) (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 06760136A for ; Sat, 26 Sep 2015 00:24:22 +0000 (UTC) (envelope-from venture37@gmail.com) Received: by qgev79 with SMTP id v79so82399594qge.0 for ; Fri, 25 Sep 2015 17:24:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=D8oQ0xQQRnzCwemLxBNxcasqaHn0id0yC8pSxBw9NAM=; b=teYPjrHnO9L515HVEKC23Z+rRh5AMen/0+rW7V/RBSCMiXBo+dA7qP0AuYPXfCrPxv AOH/InvY/utZuXyWI/wXtylnMqidDpHoBgN/aKnTnHi6U+nAsL3MpiM7JJZOv4BWL2GK b7K2kHVVoEWiIb1nzNq0u0ftwrcyxKrD39x0viDEFgcC7U3466QdlChmyBhmrORU+wdn hr40NmMOtCk0wBVktJ5tr1yuxbDOXu5BucSCvlgUhtdGLB3RokMQQW9ZsOPCBKM7vzcu TLE1PFLHvHiOlztE/gBrJRQNpE8pqoRC+OY9vTx4nSHHnbV4CW0p6ZbKYgNPO8iEyAjQ y0Bg== MIME-Version: 1.0 X-Received: by 10.140.88.243 with SMTP id t106mr9721588qgd.44.1443227061111; Fri, 25 Sep 2015 17:24:21 -0700 (PDT) Received: by 10.55.24.223 with HTTP; Fri, 25 Sep 2015 17:24:21 -0700 (PDT) Date: Sat, 26 Sep 2015 01:24:21 +0100 Message-ID: Subject: Blank screen when using a HDMI>VGA adapter with Pi From: "Sevan / Venture37" To: freebsd-arm Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Sep 2015 00:24:22 -0000 Hi, Tonight I discovered that when I tried to use a HDMI to VGA (DB15) adapter with to rev2 model B Raspberry Pi I'd get a blank screen. I have access to 2 monitors, one has a HDMI port, one doesn't, so I decided to do some testing. HDMI > VGA adapter connected to both monitors results in a blank screen. Connect directly via HDMI cable works fine. The HDMI>VGA adapter works fine on both monitors if I switch from FreeBSD-current to NetBSD 7.0 RC3 on the Pi. Any pointers on what to try next on FreeBSD? The adapter is labelled camac hdmi to vga, as pictured here http://repairscomputer.co.uk/hdmi-to-vga-cable-adapter-for-pc-laptop-power-free-raspberry-pi-mhl-support Regards, Sevan / Venture37 From owner-freebsd-arm@freebsd.org Sat Sep 26 01:10:14 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C2BCAA09C7B for ; Sat, 26 Sep 2015 01:10:14 +0000 (UTC) (envelope-from venture37@gmail.com) Received: from mail-qg0-x22f.google.com (mail-qg0-x22f.google.com [IPv6:2607:f8b0:400d:c04::22f]) (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 8837E1118 for ; Sat, 26 Sep 2015 01:10:14 +0000 (UTC) (envelope-from venture37@gmail.com) Received: by qgez77 with SMTP id z77so83445285qge.1 for ; Fri, 25 Sep 2015 18:10:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=hoTqjl5SDSkDNafDIxK23FENBenCDbcdwrbSCAaAt5A=; b=O+JHDYtDrUq8Q0nJqnpOdJYh1NHFBefvzFibauQ1zIX4sxV9r59FdHN37NgJJqYAZe 3Qi7/aYLTtHqo/wWQiNeOpwINYwH5xd2IM6ZoIjEE+7OGJGS/ulyjWvtyreEgFvm7Q2e 5D8T4ZKwlzd20weKZ6DJnrTChI42ugoWpbI1X+ReIwO5ZYkm+iGs6G/o1OA3MFZrba5C GbAZIYMRuBk0l8AMLw3edfrWEqF4Kh9q3gwpxy2dDNzuxy4f3BchFtNgXNZHh9+7GYHb Ljef7DTbj3gz79fnj3+/XjzsNETHHclVRDwsAizRIz483eoTf3K3z1+ePOauyNkILfiy 7lYA== MIME-Version: 1.0 X-Received: by 10.140.95.77 with SMTP id h71mr9646328qge.8.1443229813599; Fri, 25 Sep 2015 18:10:13 -0700 (PDT) Received: by 10.55.24.223 with HTTP; Fri, 25 Sep 2015 18:10:13 -0700 (PDT) Date: Sat, 26 Sep 2015 02:10:13 +0100 Message-ID: Subject: DTrace kernel modules missing From: "Sevan / Venture37" To: freebsd-arm Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Sep 2015 01:10:14 -0000 Hello again, I've installed the latest -current snapshot (20150917-r287930) on my beagle bone black and it seems that the DTrace related kernel modules are missing? (dtraceall, dtrace, dtrace_test) DTrace related tools are present however but currently unable to function due to the missing kernel modules # dtrace -l dtrace: failed to initialize dtrace: DTrace device not available on system Sevan / Venture37 From owner-freebsd-arm@freebsd.org Sat Sep 26 12:38:49 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2C344A09FD4 for ; Sat, 26 Sep 2015 12:38:49 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D091F972; Sat, 26 Sep 2015 12:38:48 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from e-bsd.cs.huji.ac.il ([132.65.80.241] helo=outmail.cs.huji.ac.il) by kabab.cs.huji.ac.il with esmtp id 1ZfokS-0003nZ-QA; Sat, 26 Sep 2015 15:38:40 +0300 Received: from [132.65.179.20] (helo=mbpro2.bs.cs.huji.ac.il) by outmail.cs.huji.ac.il with esmtpsa id 1ZfokS-00016n-MK; Sat, 26 Sep 2015 15:38:40 +0300 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: netboot configuration [was: Re: NFS Root with Raspberry Pi (nfs_diskless: no interface)] From: Daniel Braniss In-Reply-To: <1443209159.1224.361.camel@freebsd.org> Date: Sat, 26 Sep 2015 15:38:40 +0300 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <12C96F79-2D70-408D-AD4C-F06F6B909AD3@cs.huji.ac.il> References: <20150922052522.GA62140@gmail.com> <00C49FEB-E8EF-4469-85E2-0F901215CD11@cs.huji.ac.il> <20150923050414.GB43653@gmail.com> <91AAC64E-4C38-47AA-8910-48F7654A7524@cs.huji.ac.il> <20150923174445.GE43653@gmail.com> <1443105426.1224.272.camel@freebsd.org> <20150924163658.GC32257@gmail.com> <560438C5.3090404@selasky.org> <1443142468.1224.322.camel@freebsd.org> <1443209159.1224.361.camel@freebsd.org> To: Ian Lepore X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Sep 2015 12:38:49 -0000 > On Sep 25, 2015, at 10:25 PM, Ian Lepore wrote: >=20 > On Fri, 2015-09-25 at 11:37 +0300, Daniel Braniss wrote: >>> On 25 Sep 2015, at 03:54, Ian Lepore wrote: >>>=20 >>> On Thu, 2015-09-24 at 19:54 +0200, Hans Petter Selasky wrote: >>>> On 09/24/15 18:36, Randy Westlund wrote: >>>>> On Thu, Sep 24, 2015 at 08:37:06AM -0600, Ian Lepore wrote: >>>>=20 > [...stuff about problems netbooting...] >>=20 >> hi Ian, >> can you help me here? >> I need the magics to get ubldr to boot from the net, >> i=E2=80=99m using an image built via crochet.=20 >>=20 >> cheers, >> danny >=20 > I've been struggling with how to set up a new default u-boot = environment > in our ports to make netbooting easier. The problem is that there are > as many ways to netboot as there are different people wanting to do = it. > What I've been doing for years is loading both ubldr and the kernel = from > nfs, by configuring my dhcp server to provide all the info needed = (board > ip and netmask, server ip, ubldr file to load, and nfs root path), all > based on the mac address of the board. I've learned that doesn't work > well for most people who don't have easy control over their dhcp = server. >=20 > To try to keep this relatively simple, I'm going to assume that what > most folks want to do is: >=20 > * Load ubldr from the sdcard that has u-boot on it (not from = nfs). > * Make ubldr load the freebsd kernel from nfs. > * Use an nfs root filesystem. >=20 > So I'm assuming you've got an nfs server already serving up the root > filesystem (I'm not going to detail configuring that here). That > filesystem must contain an /etc/fstab that includes the ip:/rootpath > entry for the root filesystem. In other words, even though the = software > must already know the ip:/rootpath to find the fstab file, the file > still must contain a root path entry. (I find this annoying.) >=20 > Now on the u-boot side you need to add a few lines to the uEnv.txt = file > on the FAT partition (create the file there if it doesn't already > exist). You can configure a static IP address or get the IP from = dhcp: >=20 > For static IP (On RPi only, add one line: UserPreboot=3Dusb start) >=20 > loaderdev=3Dnet > rootpath=3D192.168.0.240:/wand > ipaddr=3D192.168.0.233 > netmask=3D255.255.255.0 >=20 >=20 > For DHCP (On RPi only, last line is: UserPreboot=3Dusb start && dhcp) >=20 > loaderdev=3Dnet > rootpath=3D192.168.0.240:/wand > autoload=3Dno > UserPreboot=3Ddhcp >=20 > BTW, you may notice a Netboot command in the standard u-boot env. Do > NOT set bootcmd=3Drun Netboot, that would make u-boot try to load = ubldr > over the network, which requires running a tftp server. >=20 > =E2=80=94 Ian thanks!=20 it almost worked :-) - UserPreboot didn=E2=80=99t work, probably because I have the wrong = u-boot? stoping the boot, then typing usb start boot at the U-Boot> prompt saved the day! - if instead of boot I type dhcp, it tries to tftp u-boot, but I can=E2=80= =99t figure out how to start it :-( in any case, great! now it would be nice if we pull resources and get this diskless stuff = cleaned up danny From owner-freebsd-arm@freebsd.org Sat Sep 26 14:02:07 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A076FA08C06 for ; Sat, 26 Sep 2015 14:02:07 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1b.ore.mailhop.org (outbound1b.ore.mailhop.org [54.200.247.200]) (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 7FEF114A for ; Sat, 26 Sep 2015 14:02:07 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from ilsoft.org (unknown [73.34.117.227]) by outbound1.ore.mailhop.org (Halon Mail Gateway) with ESMTPSA; Sat, 26 Sep 2015 14:02:36 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.14.9/8.14.9) with ESMTP id t8QE1xrB007861; Sat, 26 Sep 2015 08:01:59 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1443276119.1224.382.camel@freebsd.org> Subject: Re: netboot configuration [was: Re: NFS Root with Raspberry Pi (nfs_diskless: no interface)] From: Ian Lepore To: Daniel Braniss Cc: freebsd-arm@freebsd.org Date: Sat, 26 Sep 2015 08:01:59 -0600 In-Reply-To: <12C96F79-2D70-408D-AD4C-F06F6B909AD3@cs.huji.ac.il> References: <20150922052522.GA62140@gmail.com> <00C49FEB-E8EF-4469-85E2-0F901215CD11@cs.huji.ac.il> <20150923050414.GB43653@gmail.com> <91AAC64E-4C38-47AA-8910-48F7654A7524@cs.huji.ac.il> <20150923174445.GE43653@gmail.com> <1443105426.1224.272.camel@freebsd.org> <20150924163658.GC32257@gmail.com> <560438C5.3090404@selasky.org> <1443142468.1224.322.camel@freebsd.org> <1443209159.1224.361.camel@freebsd.org> <12C96F79-2D70-408D-AD4C-F06F6B909AD3@cs.huji.ac.il> Content-Type: text/plain; charset="windows-1251" X-Mailer: Evolution 3.12.10 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Sep 2015 14:02:07 -0000 On Sat, 2015-09-26 at 15:38 +0300, Daniel Braniss wrote: > > On Sep 25, 2015, at 10:25 PM, Ian Lepore wrote: > > > > On Fri, 2015-09-25 at 11:37 +0300, Daniel Braniss wrote: > >>> On 25 Sep 2015, at 03:54, Ian Lepore wrote: > >>> > >>> On Thu, 2015-09-24 at 19:54 +0200, Hans Petter Selasky wrote: > >>>> On 09/24/15 18:36, Randy Westlund wrote: > >>>>> On Thu, Sep 24, 2015 at 08:37:06AM -0600, Ian Lepore wrote: > >>>> > > [...stuff about problems netbooting...] > >> > >> hi Ian, > >> can you help me here? > >> I need the magics to get ubldr to boot from the net, > >> i’m using an image built via crochet. > >> > >> cheers, > >> danny > > > > I've been struggling with how to set up a new default u-boot environment > > in our ports to make netbooting easier. The problem is that there are > > as many ways to netboot as there are different people wanting to do it. > > What I've been doing for years is loading both ubldr and the kernel from > > nfs, by configuring my dhcp server to provide all the info needed (board > > ip and netmask, server ip, ubldr file to load, and nfs root path), all > > based on the mac address of the board. I've learned that doesn't work > > well for most people who don't have easy control over their dhcp server. > > > > To try to keep this relatively simple, I'm going to assume that what > > most folks want to do is: > > > > * Load ubldr from the sdcard that has u-boot on it (not from nfs). > > * Make ubldr load the freebsd kernel from nfs. > > * Use an nfs root filesystem. > > > > So I'm assuming you've got an nfs server already serving up the root > > filesystem (I'm not going to detail configuring that here). That > > filesystem must contain an /etc/fstab that includes the ip:/rootpath > > entry for the root filesystem. In other words, even though the software > > must already know the ip:/rootpath to find the fstab file, the file > > still must contain a root path entry. (I find this annoying.) > > > > Now on the u-boot side you need to add a few lines to the uEnv.txt file > > on the FAT partition (create the file there if it doesn't already > > exist). You can configure a static IP address or get the IP from dhcp: > > > > For static IP (On RPi only, add one line: UserPreboot=usb start) > > > > loaderdev=net > > rootpath=192.168.0.240:/wand > > ipaddr=192.168.0.233 > > netmask=255.255.255.0 > > > > > > For DHCP (On RPi only, last line is: UserPreboot=usb start && dhcp) > > > > loaderdev=net > > rootpath=192.168.0.240:/wand > > autoload=no > > UserPreboot=dhcp > > > > BTW, you may notice a Netboot command in the standard u-boot env. Do > > NOT set bootcmd=run Netboot, that would make u-boot try to load ubldr > > over the network, which requires running a tftp server. > > > > — Ian > > thanks! > it almost worked :-) > - UserPreboot didn’t work, probably because I have the wrong u-boot? > stoping the boot, then typing > usb start > boot > at the U-Boot> prompt saved the day! > > - if instead of boot I type dhcp, it tries to tftp u-boot, but I can’t figure out > how to start it :-( > > in any case, great! > now it would be nice if we pull resources and get this diskless stuff cleaned up > > danny > > I just committed the diskless fix, r288265. It should only be needed for RPi and other systems with a usb-based NIC that initializes late in the boot process. All the u-boot ports have the UserPreboot hook in their env. Are you using an old copy of crochet? (Hmmm, or has crochet never been updated to use the u-boot ports/packages for all the boards?) Do you want it to load ubldr via tftp instead of from the sdcard? That's an option, but ubldr doesn't change very often so just using the one on the sdcard should be good enough. If you want u-boot to get an IP address via dhcp without trying to tftp an image, do "setenv autoload no" before the dhcp command. -- Ian From owner-freebsd-arm@freebsd.org Sat Sep 26 16:50:36 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 30F7DA099C1 for ; Sat, 26 Sep 2015 16:50:36 +0000 (UTC) (envelope-from jenkins-admin@FreeBSD.org) Received: from jenkins-9.freebsd.org (jenkins-9.freebsd.org [8.8.178.209]) by mx1.freebsd.org (Postfix) with ESMTP id 1548277D; Sat, 26 Sep 2015 16:50:36 +0000 (UTC) (envelope-from jenkins-admin@FreeBSD.org) Received: from jenkins-9.freebsd.org (localhost [127.0.0.1]) by jenkins-9.freebsd.org (Postfix) with ESMTP id 1B1851AC0; Sat, 26 Sep 2015 16:50:36 +0000 (UTC) Date: Sat, 26 Sep 2015 16:50:32 +0000 (GMT) From: jenkins-admin@FreeBSD.org To: bdrewery@FreeBSD.org, ian@FreeBSD.org, cem@FreeBSD.org, jenkins-admin@FreeBSD.org, freebsd-arm@FreeBSD.org Message-ID: <6945336.65.1443286235829.JavaMail.jenkins@jenkins-9.freebsd.org> Subject: FreeBSD_HEAD_arm64 - Build #1246 - Failure MIME-Version: 1.0 X-Jenkins-Job: FreeBSD_HEAD_arm64 X-Jenkins-Result: FAILURE Precedence: bulk Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Sep 2015 16:50:36 -0000 FreeBSD_HEAD_arm64 - Build #1246 - Failure: Build information: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/1246/ Full change log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/1246/changes Full build log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/1246/console Change summaries: 288271 by cem: Document bus_get_resource(9). Suggested by: Francois Tigeot Obtained from: DragonFlyBSD 09301a2b29f3ae5edd39a858f909f8770372f71e Sponsored by: EMC / Isilon Storage Division 288270 by bdrewery: Hookup mkcsmapper_static and mkesdb_static for all but install. These are only handled as 'build-tools' in Makefile.inc1. This causes 'make clean' from the top of the tree to not clean the directories. It also effectively has kept them disconnected and risks them bitrotting. The buildworld process never cleans them either. Connect them so they will always be built, cleaned, etc, but never installed. Discussed with: imp (briefly) Sponsored by: EMC / Isilon Storage Division 288269 by bdrewery: Revert r288268. Wrong change committed. 288268 by bdrewery: Hookup mkcsmapper_static and mkesdb_static for all but install. These are only handled as 'build-tools' in Makefile.inc1. This causes 'make clean' from the top of the tree to not clean the directories. It also effectively has kept them disconnected and risks them bitrotting. The buildworld process never cleans them either. Connect them so they will always be built, cleaned, etc, but never installed. Discussed with: imp (briefly) Sponsored by: EMC / Isilon Storage Division 288267 by bdrewery: Remove redundant .NOPATH. All of these are already in CLEANFILES which is added to .NOPATH in bsd.obj.mk. Sponsored by: EMC / Isilon Storage Division 288266 by bdrewery: Add more SUBDIR_PARALLEL. MFC after: 3 weeks Sponsored by: EMC / Isilon Storage Division 288265 by ian: Wait up to 10 seconds for late-initializing network interfaces to arrive. Reviewed by: rmacklem The end of the build log: [...truncated 134714 lines...] --- usr.sbin.all__D --- --- all_subdir_tcpdump --- --- print-msnlb.o --- --- usr.bin.all__D --- gzip -cn /usr/src/usr.bin/minigzip/minigzip.1 > minigzip.1.gz --- usr.sbin.all__D --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/usr.sbin/tcpdump/tcpdump -I/usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -DINET6 -DLBL_ALIGN -DHAVE_CAPSICUM -I/usr/obj/arm64.aarch64/usr/src/tmp/usr/include/openssl -DHAVE_LIBCRYPTO -DHAVE_OPENSSL_EVP_H -DHAVE_NET_PFVAR_H -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -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 -Qunused-arguments -c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-msnlb.c -o print-msnlb.o --- print-nfs.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/usr.sbin/tcpdump/tcpdump -I/usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -DINET6 -DLBL_ALIGN -DHAVE_CAPSICUM -I/usr/obj/arm64.aarch64/usr/src/tmp/usr/include/openssl -DHAVE_LIBCRYPTO -DHAVE_OPENSSL_EVP_H -DHAVE_NET_PFVAR_H -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -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 -Qunused-arguments -c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-nfs.c -o print-nfs.o --- usr.bin.all__D --- --- minigzip --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -DUSE_MMAP -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -o minigzip minigzip.o -lz --- usr.sbin.all__D --- --- all_subdir_usbdump --- ===> usr.sbin/usbdump (all) --- usr.bin.all__D --- --- all_subdir_mandoc --- --- eqn.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -DHAVE_CONFIG_H -I/usr/src/usr.bin/mandoc/../../lib/libohash/ -I/usr/src/usr.bin/mandoc/../../contrib/sqlite3 -std=gnu99 -fstack-protector -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-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Qunused-arguments -c /usr/src/usr.bin/mandoc/../../contrib/mdocml/eqn.c -o eqn.o --- usr.sbin.all__D --- --- usbdump.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -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 -Qunused-arguments -c /usr/src/usr.sbin/usbdump/usbdump.c -o usbdump.o --- usr.bin.all__D --- --- all_subdir_ministat --- ===> usr.bin/ministat (all) --- ministat.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c /usr/src/usr.bin/ministat/ministat.c -o ministat.o --- usr.sbin.all__D --- --- usbdump.8.gz --- gzip -cn /usr/src/usr.sbin/usbdump/usbdump.8 > usbdump.8.gz --- usbdump --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -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 -Qunused-arguments -o usbdump usbdump.o --- usr.bin.all__D --- --- ministat.1.gz --- gzip -cn /usr/src/usr.bin/ministat/ministat.1 > ministat.1.gz --- all_subdir_mandoc --- --- roff.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -DHAVE_CONFIG_H -I/usr/src/usr.bin/mandoc/../../lib/libohash/ -I/usr/src/usr.bin/mandoc/../../contrib/sqlite3 -std=gnu99 -fstack-protector -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-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Qunused-arguments -c /usr/src/usr.bin/mandoc/../../contrib/mdocml/roff.c -o roff.o --- usr.sbin.all__D --- --- all_subdir_utx --- ===> usr.sbin/utx (all) --- usr.bin.all__D --- --- all_subdir_ministat --- --- ministat --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -o ministat ministat.o -lm --- usr.sbin.all__D --- --- utx.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c /usr/src/usr.sbin/utx/utx.c -o utx.o --- all_subdir_tcpdump --- --- print-ntp.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/usr.sbin/tcpdump/tcpdump -I/usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -DINET6 -DLBL_ALIGN -DHAVE_CAPSICUM -I/usr/obj/arm64.aarch64/usr/src/tmp/usr/include/openssl -DHAVE_LIBCRYPTO -DHAVE_OPENSSL_EVP_H -DHAVE_NET_PFVAR_H -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -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 -Qunused-arguments -c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-ntp.c -o print-ntp.o --- all_subdir_utx --- --- utx.8.gz --- gzip -cn /usr/src/usr.sbin/utx/utx.8 > utx.8.gz --- utx --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -o utx utx.o --- all_subdir_tcpdump --- --- print-null.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/usr.sbin/tcpdump/tcpdump -I/usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -DINET6 -DLBL_ALIGN -DHAVE_CAPSICUM -I/usr/obj/arm64.aarch64/usr/src/tmp/usr/include/openssl -DHAVE_LIBCRYPTO -DHAVE_OPENSSL_EVP_H -DHAVE_NET_PFVAR_H -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -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 -Qunused-arguments -c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-null.c -o print-null.o --- usr.bin.all__D --- --- all_subdir_mandoc --- --- tbl.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -DHAVE_CONFIG_H -I/usr/src/usr.bin/mandoc/../../lib/libohash/ -I/usr/src/usr.bin/mandoc/../../contrib/sqlite3 -std=gnu99 -fstack-protector -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-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Qunused-arguments -c /usr/src/usr.bin/mandoc/../../contrib/mdocml/tbl.c -o tbl.o --- usr.sbin.all__D --- --- all_subdir_vidcontrol --- ===> usr.sbin/vidcontrol (all) --- usr.bin.all__D --- --- all_subdir_mkcsmapper --- ===> usr.bin/mkcsmapper (all) --- usr.sbin.all__D --- --- vidcontrol.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c /usr/src/usr.sbin/vidcontrol/vidcontrol.c -o vidcontrol.o --- usr.bin.all__D --- --- mkcsmapper.1.gz --- gzip -cn /usr/src/usr.bin/mkcsmapper/mkcsmapper.1 > mkcsmapper.1.gz --- usr.sbin.all__D --- --- all_subdir_tcpdump --- --- print-olsr.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/usr.sbin/tcpdump/tcpdump -I/usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -DINET6 -DLBL_ALIGN -DHAVE_CAPSICUM -I/usr/obj/arm64.aarch64/usr/src/tmp/usr/include/openssl -DHAVE_LIBCRYPTO -DHAVE_OPENSSL_EVP_H -DHAVE_NET_PFVAR_H -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -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 -Qunused-arguments -c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-olsr.c -o print-olsr.o --- usr.bin.all__D --- --- yacc.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/usr.bin/mkcsmapper -I/usr/src/usr.bin/mkcsmapper/../mkcsmapper -I/usr/src/usr.bin/mkcsmapper/../../lib/libc/iconv -I/usr/src/usr.bin/mkcsmapper/../../lib/libiconv_modules/mapper_std -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c yacc.c -o yacc.o --- usr.sbin.all__D --- --- print-openflow.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/usr.sbin/tcpdump/tcpdump -I/usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -DINET6 -DLBL_ALIGN -DHAVE_CAPSICUM -I/usr/obj/arm64.aarch64/usr/src/tmp/usr/include/openssl -DHAVE_LIBCRYPTO -DHAVE_OPENSSL_EVP_H -DHAVE_NET_PFVAR_H -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -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 -Qunused-arguments -c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-openflow.c -o print-openflow.o --- usr.bin.all__D --- --- lex.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/usr.bin/mkcsmapper -I/usr/src/usr.bin/mkcsmapper/../mkcsmapper -I/usr/src/usr.bin/mkcsmapper/../../lib/libc/iconv -I/usr/src/usr.bin/mkcsmapper/../../lib/libiconv_modules/mapper_std -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c lex.c -o lex.o --- usr.sbin.all__D --- --- print-openflow-1.0.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/usr.sbin/tcpdump/tcpdump -I/usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -DINET6 -DLBL_ALIGN -DHAVE_CAPSICUM -I/usr/obj/arm64.aarch64/usr/src/tmp/usr/include/openssl -DHAVE_LIBCRYPTO -DHAVE_OPENSSL_EVP_H -DHAVE_NET_PFVAR_H -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -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 -Qunused-arguments -c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-openflow-1.0.c -o print-openflow-1.0.o --- usr.bin.all__D --- --- all_subdir_mandoc --- --- tbl_data.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -DHAVE_CONFIG_H -I/usr/src/usr.bin/mandoc/../../lib/libohash/ -I/usr/src/usr.bin/mandoc/../../contrib/sqlite3 -std=gnu99 -fstack-protector -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-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Qunused-arguments -c /usr/src/usr.bin/mandoc/../../contrib/mdocml/tbl_data.c -o tbl_data.o --- tbl_layout.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -DHAVE_CONFIG_H -I/usr/src/usr.bin/mandoc/../../lib/libohash/ -I/usr/src/usr.bin/mandoc/../../contrib/sqlite3 -std=gnu99 -fstack-protector -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-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Qunused-arguments -c /usr/src/usr.bin/mandoc/../../contrib/mdocml/tbl_layout.c -o tbl_layout.o --- usr.sbin.all__D --- --- all_subdir_vidcontrol --- --- decode.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c /usr/src/usr.sbin/vidcontrol/decode.c -o decode.o --- vidcontrol.1.gz --- gzip -cn /usr/src/usr.sbin/vidcontrol/vidcontrol.1 > vidcontrol.1.gz --- vidcontrol --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -o vidcontrol vidcontrol.o decode.o --- usr.bin.all__D --- --- all_subdir_mkcsmapper --- --- mkcsmapper --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/usr.bin/mkcsmapper -I/usr/src/usr.bin/mkcsmapper/../mkcsmapper -I/usr/src/usr.bin/mkcsmapper/../../lib/libc/iconv -I/usr/src/usr.bin/mkcsmapper/../../lib/libiconv_modules/mapper_std -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -L/usr/src/usr.bin/mkcsmapper/../../lib/libc -o mkcsmapper lex.o yacc.o --- usr.sbin.all__D --- --- all_subdir_tcpdump --- --- print-ospf.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/usr.sbin/tcpdump/tcpdump -I/usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -DINET6 -DLBL_ALIGN -DHAVE_CAPSICUM -I/usr/obj/arm64.aarch64/usr/src/tmp/usr/include/openssl -DHAVE_LIBCRYPTO -DHAVE_OPENSSL_EVP_H -DHAVE_NET_PFVAR_H -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -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 -Qunused-arguments -c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-ospf.c -o print-ospf.o --- usr.bin.all__D --- --- all_subdir_mandoc --- --- tbl_opts.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -DHAVE_CONFIG_H -I/usr/src/usr.bin/mandoc/../../lib/libohash/ -I/usr/src/usr.bin/mandoc/../../contrib/sqlite3 -std=gnu99 -fstack-protector -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-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Qunused-arguments -c /usr/src/usr.bin/mandoc/../../contrib/mdocml/tbl_opts.c -o tbl_opts.o --- usr.sbin.all__D --- --- print-otv.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/usr.sbin/tcpdump/tcpdump -I/usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -DINET6 -DLBL_ALIGN -DHAVE_CAPSICUM -I/usr/obj/arm64.aarch64/usr/src/tmp/usr/include/openssl -DHAVE_LIBCRYPTO -DHAVE_OPENSSL_EVP_H -DHAVE_NET_PFVAR_H -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -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 -Qunused-arguments -c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-otv.c -o print-otv.o --- usr.bin.all__D --- --- chars.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -DHAVE_CONFIG_H -I/usr/src/usr.bin/mandoc/../../lib/libohash/ -I/usr/src/usr.bin/mandoc/../../contrib/sqlite3 -std=gnu99 -fstack-protector -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-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Qunused-arguments -c /usr/src/usr.bin/mandoc/../../contrib/mdocml/chars.c -o chars.o --- usr.sbin.all__D --- --- all_subdir_vigr --- ===> usr.sbin/vigr (all) --- vigr --- cp -fp /usr/src/usr.sbin/vigr/vigr.sh vigr chmod a+x vigr --- vigr.8.gz --- gzip -cn /usr/src/usr.sbin/vigr/vigr.8 > vigr.8.gz --- usr.bin.all__D --- --- all_subdir_mkcsmapper_static --- ===> usr.bin/mkcsmapper_static (all) --- all_subdir_mandoc --- --- mandoc.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -DHAVE_CONFIG_H -I/usr/src/usr.bin/mandoc/../../lib/libohash/ -I/usr/src/usr.bin/mandoc/../../contrib/sqlite3 -std=gnu99 -fstack-protector -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-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Qunused-arguments -c /usr/src/usr.bin/mandoc/../../contrib/mdocml/mandoc.c -o mandoc.o --- all_subdir_mkcsmapper_static --- --- mkcsmapper_static --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/usr.bin/mkcsmapper_static -I/usr/src/usr.bin/mkcsmapper_static/../mkcsmapper -I/usr/src/usr.bin/mkcsmapper_static/../../lib/libc/iconv -I/usr/src/usr.bin/mkcsmapper_static/../../lib/libiconv_modules/mapper_std -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -static -o mkcsmapper_static citrus_bcs.o citrus_db_factory.o citrus_db_hash.o citrus_lookup_factory.o citrus_pivot_factory.o lex.o yacc.o /usr/local/aarch64-freebsd/bin/ld: citrus_bcs.o: Relocations in generic ELF (EM: 62) citrus_bcs.o: error adding symbols: File in wrong format cc: error: linker command failed with exit code 1 (use -v to see invocation) *** [mkcsmapper_static] Error code 1 make[4]: stopped in /usr/src/usr.bin/mkcsmapper_static 1 error make[4]: stopped in /usr/src/usr.bin/mkcsmapper_static *** [all_subdir_mkcsmapper_static] Error code 2 make[3]: stopped in /usr/src/usr.bin --- all_subdir_mandoc --- A failure has been detected in another branch of the parallel make make[4]: stopped in /usr/src/usr.bin/mandoc *** [all_subdir_mandoc] Error code 2 make[3]: stopped in /usr/src/usr.bin 2 errors make[3]: stopped in /usr/src/usr.bin *** [usr.bin.all__D] Error code 2 make[2]: stopped in /usr/src --- usr.sbin.all__D --- --- all_subdir_tcpdump --- A failure has been detected in another branch of the parallel make make[5]: stopped in /usr/src/usr.sbin/tcpdump/tcpdump *** [_sub.all] Error code 2 make[4]: stopped in /usr/src/usr.sbin/tcpdump 1 error make[4]: stopped in /usr/src/usr.sbin/tcpdump *** [all_subdir_tcpdump] Error code 2 make[3]: stopped in /usr/src/usr.sbin 1 error make[3]: stopped in /usr/src/usr.sbin *** [usr.sbin.all__D] Error code 2 make[2]: stopped in /usr/src 2 errors make[2]: stopped in /usr/src *** [everything] Error code 2 make[1]: stopped in /usr/src 1 error make[1]: stopped in /usr/src *** [buildworld] Error code 2 make: stopped in /usr/src 1 error make: stopped in /usr/src Build step 'Execute shell' marked build as failure [PostBuildScript] - Execution post build scripts. [FreeBSD_HEAD_arm64] $ /bin/sh -xe /tmp/hudson1533542307099552463.sh + export 'PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin' + export 'jname=FreeBSD_HEAD_arm64' + echo 'clean up jail FreeBSD_HEAD_arm64' clean up jail FreeBSD_HEAD_arm64 + sudo jail -r FreeBSD_HEAD_arm64 + sudo ifconfig igb0 inet6 2610:1c1:1:607c::104:1 -alias + sudo umount FreeBSD_HEAD_arm64/usr/src + sudo umount FreeBSD_HEAD_arm64/dev + sudo rm -fr FreeBSD_HEAD_arm64 rm: FreeBSD_HEAD_arm64/lib/libcrypt.so.5: Operation not permitted rm: FreeBSD_HEAD_arm64/lib/libthr.so.3: Operation not permitted rm: FreeBSD_HEAD_arm64/lib/libc.so.7: Operation not permitted rm: FreeBSD_HEAD_arm64/lib: Directory not empty rm: FreeBSD_HEAD_arm64/sbin/init: Operation not permitted rm: FreeBSD_HEAD_arm64/sbin: Directory not empty rm: FreeBSD_HEAD_arm64/usr/lib32/librt.so.1: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/lib32/libc.so.7: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/lib32/libthr.so.3: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/lib32/libcrypt.so.5: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/lib32: Directory not empty rm: FreeBSD_HEAD_arm64/usr/bin/login: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin/ypchsh: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin/ypchfn: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin/yppasswd: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin/opieinfo: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin/passwd: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin/opiepasswd: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin/chpass: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin/su: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin/chsh: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin/crontab: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin/ypchpass: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin/chfn: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin: Directory not empty rm: FreeBSD_HEAD_arm64/usr/lib/librt.so.1: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/lib: Directory not empty rm: FreeBSD_HEAD_arm64/usr: Directory not empty rm: FreeBSD_HEAD_arm64/libexec/ld-elf32.so.1: Operation not permitted rm: FreeBSD_HEAD_arm64/libexec/ld-elf.so.1: Operation not permitted rm: FreeBSD_HEAD_arm64/libexec: Directory not empty rm: FreeBSD_HEAD_arm64: Directory not empty + true + sudo chflags -R noschg FreeBSD_HEAD_arm64 + sudo rm -fr FreeBSD_HEAD_arm64 Email was triggered for: Failure - Any Sending email for trigger: Failure - Any From owner-freebsd-arm@freebsd.org Sat Sep 26 18:50:04 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 39581A09F5B for ; Sat, 26 Sep 2015 18:50:04 +0000 (UTC) (envelope-from jenkins-admin@FreeBSD.org) Received: from jenkins-9.freebsd.org (jenkins-9.freebsd.org [8.8.178.209]) by mx1.freebsd.org (Postfix) with ESMTP id 28E02AB6; Sat, 26 Sep 2015 18:50:04 +0000 (UTC) (envelope-from jenkins-admin@FreeBSD.org) Received: from jenkins-9.freebsd.org (localhost [127.0.0.1]) by jenkins-9.freebsd.org (Postfix) with ESMTP id F3D521AFC; Sat, 26 Sep 2015 18:50:03 +0000 (UTC) Date: Sat, 26 Sep 2015 18:50:01 +0000 (GMT) From: jenkins-admin@FreeBSD.org To: alc@FreeBSD.org, jpaetzel@FreeBSD.org, hselasky@FreeBSD.org, jenkins-admin@FreeBSD.org, freebsd-arm@FreeBSD.org Message-ID: <1713398348.69.1443293403966.JavaMail.jenkins@jenkins-9.freebsd.org> In-Reply-To: <6945336.65.1443286235829.JavaMail.jenkins@jenkins-9.freebsd.org> References: <6945336.65.1443286235829.JavaMail.jenkins@jenkins-9.freebsd.org> Subject: FreeBSD_HEAD_arm64 - Build #1247 - Still Failing MIME-Version: 1.0 X-Jenkins-Job: FreeBSD_HEAD_arm64 X-Jenkins-Result: FAILURE Precedence: bulk Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Sep 2015 18:50:04 -0000 FreeBSD_HEAD_arm64 - Build #1247 - Still Failing: Build information: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/1247/ Full change log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/1247/changes Full build log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/1247/console Change summaries: 288274 by alc: Exploit r288122 to address a cosmetic issue. Since the pages allocated by noobj_alloc() don't belong to a vm object, they can't be paged out. Since they can't be paged out, they are never enqueued in a paging queue. Nonetheless, passing PQ_INACTIVE to vm_page_unwire() creates the appearance that these pages are being enqueued in the inactive queue. As of r288122, we can avoid giving this false impression by passing PQ_NONE. Submitted by: kmacy Differential Revision: https://reviews.freebsd.org/D1674 288273 by hselasky: Fix spelling. Submitted by: Maxime Soule PR: 203249 MFC after: 2 weeks 288272 by jpaetzel: Increase group limit for kerberized NFSv4 PR: 202659 Submitted by: matthew.l.dailey@dartmouth.edu Reviewed by: rmacklem dfr MFC after: 1 week Sponsored by: iXsystems The end of the build log: [...truncated 134349 lines...] /usr/src/usr.sbin/unbound/checkconf/../../../contrib/unbound/smallapp/worker_cb.c:226:49: warning: cast from 'const void *' to 'struct order_id *' drops const qualifier [-Wcast-qual] struct order_id* o1 = (struct order_id*)e1; ^ /usr/src/usr.sbin/unbound/checkconf/../../../contrib/unbound/smallapp/worker_cb.c:227:49: warning: cast from 'const void *' to 'struct order_id *' drops const qualifier [-Wcast-qual] struct order_id* o2 = (struct order_id*)e2; ^ 2 warnings generated. --- all_subdir_control --- --- all_subdir_checkconf --- --- unbound-checkconf.8.gz --- gzip -cn /usr/src/usr.sbin/unbound/checkconf/../../../contrib/unbound/doc/unbound-checkconf.8 > unbound-checkconf.8.gz --- all_subdir_control --- ===> usr.sbin/unbound/control (all) --- all_subdir_checkconf --- --- unbound-checkconf --- cc -B/usr/local/aarch64-freebsd/bin/ -I/usr/src/usr.sbin/unbound/checkconf/../../../contrib/unbound -I/usr/src/usr.sbin/unbound/checkconf/../../../contrib/ldns -std=gnu99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -o unbound-checkconf unbound-checkconf.o worker_cb.o -lprivateunbound -lpthread --- all_subdir_control --- --- unbound-control.o --- cc -B/usr/local/aarch64-freebsd/bin/ -I/usr/src/usr.sbin/unbound/control/../../../contrib/unbound -I/usr/src/usr.sbin/unbound/control/../../../contrib/ldns -std=gnu99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c /usr/src/usr.sbin/unbound/control/../../../contrib/unbound/smallapp/unbound-control.c -o unbound-control.o --- usr.bin.all__D --- --- all_subdir_mandoc --- --- tbl_layout.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -DHAVE_CONFIG_H -I/usr/src/usr.bin/mandoc/../../lib/libohash/ -I/usr/src/usr.bin/mandoc/../../contrib/sqlite3 -std=gnu99 -fstack-protector -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-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Qunused-arguments -c /usr/src/usr.bin/mandoc/../../contrib/mdocml/tbl_layout.c -o tbl_layout.o --- usr.sbin.all__D --- --- all_subdir_tcpdump --- --- print-lmp.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/usr.sbin/tcpdump/tcpdump -I/usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -DINET6 -DLBL_ALIGN -DHAVE_CAPSICUM -I/usr/obj/arm64.aarch64/usr/src/tmp/usr/include/openssl -DHAVE_LIBCRYPTO -DHAVE_OPENSSL_EVP_H -DHAVE_NET_PFVAR_H -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -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 -Qunused-arguments -c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-lmp.c -o print-lmp.o --- usr.bin.all__D --- --- tbl_opts.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -DHAVE_CONFIG_H -I/usr/src/usr.bin/mandoc/../../lib/libohash/ -I/usr/src/usr.bin/mandoc/../../contrib/sqlite3 -std=gnu99 -fstack-protector -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-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Qunused-arguments -c /usr/src/usr.bin/mandoc/../../contrib/mdocml/tbl_opts.c -o tbl_opts.o --- usr.sbin.all__D --- --- all_subdir_unbound --- --- worker_cb.o --- cc -B/usr/local/aarch64-freebsd/bin/ -I/usr/src/usr.sbin/unbound/control/../../../contrib/unbound -I/usr/src/usr.sbin/unbound/control/../../../contrib/ldns -std=gnu99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c /usr/src/usr.sbin/unbound/control/../../../contrib/unbound/smallapp/worker_cb.c -o worker_cb.o --- all_subdir_local-setup --- ===> usr.sbin/unbound/local-setup (all) --- all_subdir_tcpdump --- --- print-loopback.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/usr.sbin/tcpdump/tcpdump -I/usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -DINET6 -DLBL_ALIGN -DHAVE_CAPSICUM -I/usr/obj/arm64.aarch64/usr/src/tmp/usr/include/openssl -DHAVE_LIBCRYPTO -DHAVE_OPENSSL_EVP_H -DHAVE_NET_PFVAR_H -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -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 -Qunused-arguments -c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-loopback.c -o print-loopback.o --- usr.bin.all__D --- --- all_subdir_mkcsmapper --- ===> usr.bin/mkcsmapper (all) --- usr.sbin.all__D --- --- all_subdir_unbound --- --- all_subdir_control --- /usr/src/usr.sbin/unbound/control/../../../contrib/unbound/smallapp/worker_cb.c:226:49: warning: cast from 'const void *' to 'struct order_id *' drops const qualifier [-Wcast-qual] struct order_id* o1 = (struct order_id*)e1; ^ /usr/src/usr.sbin/unbound/control/../../../contrib/unbound/smallapp/worker_cb.c:227:49: warning: cast from 'const void *' to 'struct order_id *' drops const qualifier [-Wcast-qual] struct order_id* o2 = (struct order_id*)e2; ^ --- usr.bin.all__D --- --- mkcsmapper.1.gz --- --- usr.sbin.all__D --- 2 warnings generated. --- usr.bin.all__D --- gzip -cn /usr/src/usr.bin/mkcsmapper/mkcsmapper.1 > mkcsmapper.1.gz --- all_subdir_mandoc --- --- chars.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -DHAVE_CONFIG_H -I/usr/src/usr.bin/mandoc/../../lib/libohash/ -I/usr/src/usr.bin/mandoc/../../contrib/sqlite3 -std=gnu99 -fstack-protector -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-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Qunused-arguments -c /usr/src/usr.bin/mandoc/../../contrib/mdocml/chars.c -o chars.o --- usr.sbin.all__D --- --- unbound-control.8.gz --- gzip -cn /usr/src/usr.sbin/unbound/control/../../../contrib/unbound/doc/unbound-control.8 > unbound-control.8.gz --- usr.bin.all__D --- --- all_subdir_mkcsmapper --- --- yacc.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/usr.bin/mkcsmapper -I/usr/src/usr.bin/mkcsmapper/../mkcsmapper -I/usr/src/usr.bin/mkcsmapper/../../lib/libc/iconv -I/usr/src/usr.bin/mkcsmapper/../../lib/libiconv_modules/mapper_std -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c yacc.c -o yacc.o --- usr.sbin.all__D --- --- unbound-control --- cc -B/usr/local/aarch64-freebsd/bin/ -I/usr/src/usr.sbin/unbound/control/../../../contrib/unbound -I/usr/src/usr.sbin/unbound/control/../../../contrib/ldns -std=gnu99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -o unbound-control unbound-control.o worker_cb.o -lprivateunbound -lcrypto -lssl -lpthread --- all_subdir_tcpdump --- --- print-lspping.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/usr.sbin/tcpdump/tcpdump -I/usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -DINET6 -DLBL_ALIGN -DHAVE_CAPSICUM -I/usr/obj/arm64.aarch64/usr/src/tmp/usr/include/openssl -DHAVE_LIBCRYPTO -DHAVE_OPENSSL_EVP_H -DHAVE_NET_PFVAR_H -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -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 -Qunused-arguments -c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-lspping.c -o print-lspping.o --- usr.bin.all__D --- --- all_subdir_mandoc --- --- mandoc.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -DHAVE_CONFIG_H -I/usr/src/usr.bin/mandoc/../../lib/libohash/ -I/usr/src/usr.bin/mandoc/../../contrib/sqlite3 -std=gnu99 -fstack-protector -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-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Qunused-arguments -c /usr/src/usr.bin/mandoc/../../contrib/mdocml/mandoc.c -o mandoc.o --- usr.sbin.all__D --- --- all_subdir_usbdump --- ===> usr.sbin/usbdump (all) --- usbdump.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -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 -Qunused-arguments -c /usr/src/usr.sbin/usbdump/usbdump.c -o usbdump.o --- all_subdir_tcpdump --- --- print-lwapp.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/usr.sbin/tcpdump/tcpdump -I/usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -DINET6 -DLBL_ALIGN -DHAVE_CAPSICUM -I/usr/obj/arm64.aarch64/usr/src/tmp/usr/include/openssl -DHAVE_LIBCRYPTO -DHAVE_OPENSSL_EVP_H -DHAVE_NET_PFVAR_H -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -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 -Qunused-arguments -c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-lwapp.c -o print-lwapp.o --- usr.bin.all__D --- --- mandoc_aux.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -DHAVE_CONFIG_H -I/usr/src/usr.bin/mandoc/../../lib/libohash/ -I/usr/src/usr.bin/mandoc/../../contrib/sqlite3 -std=gnu99 -fstack-protector -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-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Qunused-arguments -c /usr/src/usr.bin/mandoc/../../contrib/mdocml/mandoc_aux.c -o mandoc_aux.o --- msec.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -DHAVE_CONFIG_H -I/usr/src/usr.bin/mandoc/../../lib/libohash/ -I/usr/src/usr.bin/mandoc/../../contrib/sqlite3 -std=gnu99 -fstack-protector -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-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Qunused-arguments -c /usr/src/usr.bin/mandoc/../../contrib/mdocml/msec.c -o msec.o --- all_subdir_mkcsmapper --- --- lex.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/usr.bin/mkcsmapper -I/usr/src/usr.bin/mkcsmapper/../mkcsmapper -I/usr/src/usr.bin/mkcsmapper/../../lib/libc/iconv -I/usr/src/usr.bin/mkcsmapper/../../lib/libiconv_modules/mapper_std -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c lex.c -o lex.o --- usr.sbin.all__D --- --- print-lwres.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/usr.sbin/tcpdump/tcpdump -I/usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -DINET6 -DLBL_ALIGN -DHAVE_CAPSICUM -I/usr/obj/arm64.aarch64/usr/src/tmp/usr/include/openssl -DHAVE_LIBCRYPTO -DHAVE_OPENSSL_EVP_H -DHAVE_NET_PFVAR_H -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -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 -Qunused-arguments -c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-lwres.c -o print-lwres.o --- usr.bin.all__D --- --- all_subdir_mandoc --- --- preconv.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -DHAVE_CONFIG_H -I/usr/src/usr.bin/mandoc/../../lib/libohash/ -I/usr/src/usr.bin/mandoc/../../contrib/sqlite3 -std=gnu99 -fstack-protector -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-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Qunused-arguments -c /usr/src/usr.bin/mandoc/../../contrib/mdocml/preconv.c -o preconv.o --- read.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -DHAVE_CONFIG_H -I/usr/src/usr.bin/mandoc/../../lib/libohash/ -I/usr/src/usr.bin/mandoc/../../contrib/sqlite3 -std=gnu99 -fstack-protector -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-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Qunused-arguments -c /usr/src/usr.bin/mandoc/../../contrib/mdocml/read.c -o read.o --- usr.sbin.all__D --- --- all_subdir_usbdump --- --- usbdump.8.gz --- gzip -cn /usr/src/usr.sbin/usbdump/usbdump.8 > usbdump.8.gz --- usbdump --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -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 -Qunused-arguments -o usbdump usbdump.o --- all_subdir_tcpdump --- --- print-m3ua.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/usr.sbin/tcpdump/tcpdump -I/usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -DINET6 -DLBL_ALIGN -DHAVE_CAPSICUM -I/usr/obj/arm64.aarch64/usr/src/tmp/usr/include/openssl -DHAVE_LIBCRYPTO -DHAVE_OPENSSL_EVP_H -DHAVE_NET_PFVAR_H -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -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 -Qunused-arguments -c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-m3ua.c -o print-m3ua.o --- print-mobile.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/usr.sbin/tcpdump/tcpdump -I/usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -DINET6 -DLBL_ALIGN -DHAVE_CAPSICUM -I/usr/obj/arm64.aarch64/usr/src/tmp/usr/include/openssl -DHAVE_LIBCRYPTO -DHAVE_OPENSSL_EVP_H -DHAVE_NET_PFVAR_H -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -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 -Qunused-arguments -c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-mobile.c -o print-mobile.o --- usr.bin.all__D --- --- all_subdir_mkcsmapper --- --- mkcsmapper --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/usr.bin/mkcsmapper -I/usr/src/usr.bin/mkcsmapper/../mkcsmapper -I/usr/src/usr.bin/mkcsmapper/../../lib/libc/iconv -I/usr/src/usr.bin/mkcsmapper/../../lib/libiconv_modules/mapper_std -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -L/usr/src/usr.bin/mkcsmapper/../../lib/libc -o mkcsmapper lex.o yacc.o --- usr.sbin.all__D --- --- all_subdir_utx --- ===> usr.sbin/utx (all) --- all_subdir_tcpdump --- --- print-mpcp.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/usr.sbin/tcpdump/tcpdump -I/usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -DINET6 -DLBL_ALIGN -DHAVE_CAPSICUM -I/usr/obj/arm64.aarch64/usr/src/tmp/usr/include/openssl -DHAVE_LIBCRYPTO -DHAVE_OPENSSL_EVP_H -DHAVE_NET_PFVAR_H -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -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 -Qunused-arguments -c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-mpcp.c -o print-mpcp.o --- usr.bin.all__D --- --- all_subdir_mkcsmapper_static --- ===> usr.bin/mkcsmapper_static (all) --- usr.sbin.all__D --- --- all_subdir_utx --- --- utx.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c /usr/src/usr.sbin/utx/utx.c -o utx.o --- usr.bin.all__D --- --- mkcsmapper_static --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -I/usr/src/usr.bin/mkcsmapper_static -I/usr/src/usr.bin/mkcsmapper_static/../mkcsmapper -I/usr/src/usr.bin/mkcsmapper_static/../../lib/libc/iconv -I/usr/src/usr.bin/mkcsmapper_static/../../lib/libiconv_modules/mapper_std -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -static -o mkcsmapper_static citrus_bcs.o citrus_db_factory.o citrus_db_hash.o citrus_lookup_factory.o citrus_pivot_factory.o lex.o yacc.o /usr/local/aarch64-freebsd/bin/ld: citrus_bcs.o: Relocations in generic ELF (EM: 62) citrus_bcs.o: error adding symbols: File in wrong format cc: error: linker command failed with exit code 1 (use -v to see invocation) *** [mkcsmapper_static] Error code 1 make[4]: stopped in /usr/src/usr.bin/mkcsmapper_static 1 error make[4]: stopped in /usr/src/usr.bin/mkcsmapper_static *** [all_subdir_mkcsmapper_static] Error code 2 make[3]: stopped in /usr/src/usr.bin --- all_subdir_mandoc --- A failure has been detected in another branch of the parallel make make[4]: stopped in /usr/src/usr.bin/mandoc *** [all_subdir_mandoc] Error code 2 make[3]: stopped in /usr/src/usr.bin 2 errors make[3]: stopped in /usr/src/usr.bin *** [usr.bin.all__D] Error code 2 make[2]: stopped in /usr/src --- usr.sbin.all__D --- --- all_subdir_tcpdump --- A failure has been detected in another branch of the parallel make make[5]: stopped in /usr/src/usr.sbin/tcpdump/tcpdump *** [_sub.all] Error code 2 make[4]: stopped in /usr/src/usr.sbin/tcpdump 1 error make[4]: stopped in /usr/src/usr.sbin/tcpdump *** [all_subdir_tcpdump] Error code 2 make[3]: stopped in /usr/src/usr.sbin --- all_subdir_utx --- A failure has been detected in another branch of the parallel make make[4]: stopped in /usr/src/usr.sbin/utx *** [all_subdir_utx] Error code 2 make[3]: stopped in /usr/src/usr.sbin 2 errors make[3]: stopped in /usr/src/usr.sbin *** [usr.sbin.all__D] Error code 2 make[2]: stopped in /usr/src 2 errors make[2]: stopped in /usr/src *** [everything] Error code 2 make[1]: stopped in /usr/src 1 error make[1]: stopped in /usr/src *** [buildworld] Error code 2 make: stopped in /usr/src 1 error make: stopped in /usr/src Build step 'Execute shell' marked build as failure [PostBuildScript] - Execution post build scripts. [FreeBSD_HEAD_arm64] $ /bin/sh -xe /tmp/hudson7586677205160681158.sh + export 'PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin' + export 'jname=FreeBSD_HEAD_arm64' + echo 'clean up jail FreeBSD_HEAD_arm64' clean up jail FreeBSD_HEAD_arm64 + sudo jail -r FreeBSD_HEAD_arm64 + sudo ifconfig igb0 inet6 2610:1c1:1:607c::104:1 -alias + sudo umount FreeBSD_HEAD_arm64/usr/src + sudo umount FreeBSD_HEAD_arm64/dev + sudo rm -fr FreeBSD_HEAD_arm64 rm: FreeBSD_HEAD_arm64/libexec/ld-elf32.so.1: Operation not permitted rm: FreeBSD_HEAD_arm64/libexec/ld-elf.so.1: Operation not permitted rm: FreeBSD_HEAD_arm64/libexec: Directory not empty rm: FreeBSD_HEAD_arm64/usr/bin/opieinfo: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin/login: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin/chfn: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin/ypchsh: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin/yppasswd: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin/chsh: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin/opiepasswd: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin/ypchfn: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin/su: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin/passwd: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin/crontab: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin/chpass: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin/ypchpass: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin: Directory not empty rm: FreeBSD_HEAD_arm64/usr/lib/librt.so.1: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/lib: Directory not empty rm: FreeBSD_HEAD_arm64/usr/lib32/libthr.so.3: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/lib32/libcrypt.so.5: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/lib32/librt.so.1: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/lib32/libc.so.7: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/lib32: Directory not empty rm: FreeBSD_HEAD_arm64/usr: Directory not empty rm: FreeBSD_HEAD_arm64/sbin/init: Operation not permitted rm: FreeBSD_HEAD_arm64/sbin: Directory not empty rm: FreeBSD_HEAD_arm64/lib/libthr.so.3: Operation not permitted rm: FreeBSD_HEAD_arm64/lib/libcrypt.so.5: Operation not permitted rm: FreeBSD_HEAD_arm64/lib/libc.so.7: Operation not permitted rm: FreeBSD_HEAD_arm64/lib: Directory not empty rm: FreeBSD_HEAD_arm64: Directory not empty + true + sudo chflags -R noschg FreeBSD_HEAD_arm64 + sudo rm -fr FreeBSD_HEAD_arm64 Email was triggered for: Failure - Any Sending email for trigger: Failure - Any From owner-freebsd-arm@freebsd.org Sat Sep 26 22:54:00 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7F54FA0A3DA for ; Sat, 26 Sep 2015 22:54:00 +0000 (UTC) (envelope-from jenkins-admin@FreeBSD.org) Received: from jenkins-9.freebsd.org (jenkins-9.freebsd.org [8.8.178.209]) by mx1.freebsd.org (Postfix) with ESMTP id 6DDEF8D2; Sat, 26 Sep 2015 22:54:00 +0000 (UTC) (envelope-from jenkins-admin@FreeBSD.org) Received: from jenkins-9.freebsd.org (localhost [127.0.0.1]) by jenkins-9.freebsd.org (Postfix) with ESMTP id E01491B73; Sat, 26 Sep 2015 22:54:00 +0000 (UTC) Date: Sat, 26 Sep 2015 22:53:58 +0000 (GMT) From: jenkins-admin@FreeBSD.org To: cem@FreeBSD.org, jenkins-admin@FreeBSD.org, freebsd-arm@FreeBSD.org Message-ID: <1335716370.75.1443308040860.JavaMail.jenkins@jenkins-9.freebsd.org> In-Reply-To: <1713398348.69.1443293403966.JavaMail.jenkins@jenkins-9.freebsd.org> References: <1713398348.69.1443293403966.JavaMail.jenkins@jenkins-9.freebsd.org> Subject: FreeBSD_HEAD_arm64 - Build #1248 - Fixed MIME-Version: 1.0 X-Jenkins-Job: FreeBSD_HEAD_arm64 X-Jenkins-Result: SUCCESS Precedence: bulk Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Sep 2015 22:54:00 -0000 FreeBSD_HEAD_arm64 - Build #1248 - Fixed: Build information: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/1248/ Full change log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/1248/changes Full build log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/1248/console Change summaries: 288275 by cem: Revert r288270 to fix the build Submitted by: bdrewery Sponsored by: EMC / Isilon Storage Division