From owner-freebsd-arm@freebsd.org Sat May 21 02:35:25 2016 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 9E917B43DC4 for ; Sat, 21 May 2016 02:35:25 +0000 (UTC) (envelope-from gonzo@bluezbox.com) Received: from id.bluezbox.com (id.bluezbox.com [45.55.20.155]) (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 778631FBD; Sat, 21 May 2016 02:35:25 +0000 (UTC) (envelope-from gonzo@bluezbox.com) Received: from [127.0.0.1] (helo=id.bluezbox.com) by id.bluezbox.com with esmtp (Exim 4.86_2 (FreeBSD)) (envelope-from ) id 1b3wl2-0003x0-Vj; Fri, 20 May 2016 19:35:17 -0700 Received: (from gonzo@localhost) by id.bluezbox.com (8.15.2/8.15.2/Submit) id u4L2ZGkl015189; Fri, 20 May 2016 19:35:16 -0700 (PDT) (envelope-from gonzo@bluezbox.com) X-Authentication-Warning: id.bluezbox.com: gonzo set sender to gonzo@bluezbox.com using -f Date: Fri, 20 May 2016 19:35:15 -0700 From: Oleksandr Tymoshenko To: Ian Lepore Cc: bob prohaska , freebsd-arm Subject: Re: upgrading arm6hf Message-ID: <20160521023515.GA15151@bluezbox.com> References: <20160519232102.GF1049@www.zefox.net> <20160520021633.GG1049@www.zefox.net> <20160520065945.GH1049@www.zefox.net> <1463776364.1180.340.camel@freebsd.org> <20160520231622.GI1049@www.zefox.net> <20160521002859.GJ1049@www.zefox.net> <1463795214.1180.351.camel@freebsd.org> <20160521021227.GK1049@www.zefox.net> <1463797063.1180.354.camel@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1463797063.1180.354.camel@freebsd.org> X-Operating-System: FreeBSD/10.3-RELEASE-p3 (amd64) User-Agent: Mutt/1.6.1 (2016-04-27) X-Spam-Level: -- X-Spam-Report: Spam detection software, running on the system "id.bluezbox.com", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see The administrator of that system for details. Content preview: Ian Lepore (ian@freebsd.org) wrote: > On Fri, 2016-05-20 at 19:12 -0700, bob prohaska wrote: > > Hi Ian, > > > > It looks as if three kernels are available. The one called > > kernel.spare reports > > root@www:~ # uname -a > > FreeBSD www.zefox.com 11.0-CURRENT FreeBSD 11.0-CURRENT #71 r297769: > > Sat Apr 9 18:11:07 PDT 2016 bob@www.zefox.com:/usr/obj/usr/src/s > > ys/RPI2 arm > > > > kernel.old reports > > root@www:~ # uname -a > > FreeBSD www.zefox.com 11.0-CURRENT FreeBSD 11.0-CURRENT #101 > > r300255M: Thu May 19 23:26:52 PDT 2016 root@www.zefox.com:/usr/ob > > j/usr/src/sys/RPI2 arm > > > > kernel (the latest one) reports > > root@www:~ # uname -a > > FreeBSD www.zefox.com 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r300334M: > > Fri May 20 15:47:30 PDT 2016 root@www.zefox.com:/usr/obj/arm.armv > > 6hf/usr/src/sys/RPI2 arm > > > > Would it help to back down to one of the older kernels, given that > > userland is closer to > > the latest kernel? > > > > Thank you! > > > > bob prohaska > > > > It might be worth trying to use kernel.old, verify that uname -p says > armv6hf again when booted from it, then see if you can buildworld and > buildkernel with TARGET_ARCH=armv6. If so, then you should be able to > install those (remember to use the TARGET_ARCH=armv6 when installing > too!), and then you'll be on the new armv6 with hardfloat. I think. [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: zefox.com] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 May 2016 02:35:25 -0000 Ian Lepore (ian@freebsd.org) wrote: > On Fri, 2016-05-20 at 19:12 -0700, bob prohaska wrote: > > Hi Ian, > > > > It looks as if three kernels are available. The one called > > kernel.spare reports > > root@www:~ # uname -a > > FreeBSD www.zefox.com 11.0-CURRENT FreeBSD 11.0-CURRENT #71 r297769: > > Sat Apr 9 18:11:07 PDT 2016 bob@www.zefox.com:/usr/obj/usr/src/s > > ys/RPI2 arm > > > > kernel.old reports > > root@www:~ # uname -a > > FreeBSD www.zefox.com 11.0-CURRENT FreeBSD 11.0-CURRENT #101 > > r300255M: Thu May 19 23:26:52 PDT 2016 root@www.zefox.com:/usr/ob > > j/usr/src/sys/RPI2 arm > > > > kernel (the latest one) reports > > root@www:~ # uname -a > > FreeBSD www.zefox.com 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r300334M: > > Fri May 20 15:47:30 PDT 2016 root@www.zefox.com:/usr/obj/arm.armv > > 6hf/usr/src/sys/RPI2 arm > > > > Would it help to back down to one of the older kernels, given that > > userland is closer to > > the latest kernel? > > > > Thank you! > > > > bob prohaska > > > > It might be worth trying to use kernel.old, verify that uname -p says > armv6hf again when booted from it, then see if you can buildworld and > buildkernel with TARGET_ARCH=armv6. If so, then you should be able to > install those (remember to use the TARGET_ARCH=armv6 when installing > too!), and then you'll be on the new armv6 with hardfloat. I think. I don't think you need to use old kernel. You can fake all uname parameters using env variables. e.g.: env UNAME_m=foo UNAME_p=bar uname -m -p If buildworld/buildkernel relies on uname that should be enough