From owner-freebsd-arm@freebsd.org Wed Nov 1 23:24:27 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 29E2EE66CBB for ; Wed, 1 Nov 2017 23:24:27 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-153.reflexion.net [208.70.210.153]) (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 C7A2231CD for ; Wed, 1 Nov 2017 23:24:26 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 17967 invoked from network); 1 Nov 2017 23:17:39 -0000 Received: from unknown (HELO mail-cs-01.app.dca.reflexion.local) (10.81.19.1) by 0 (rfx-qmail) with SMTP; 1 Nov 2017 23:17:39 -0000 Received: by mail-cs-01.app.dca.reflexion.local (Reflexion email security v8.40.3) with SMTP; Wed, 01 Nov 2017 19:17:39 -0400 (EDT) Received: (qmail 32700 invoked from network); 1 Nov 2017 23:17:38 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 1 Nov 2017 23:17:38 -0000 Received: from [192.168.1.25] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 5665EEC8F8E; Wed, 1 Nov 2017 16:17:38 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: RPi2 snapshot for armv7 won't boot. From: Mark Millard In-Reply-To: <86fu9xmx3u.fsf@elm.localnet> Date: Wed, 1 Nov 2017 16:17:37 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: <5B61C831-45A1-454F-B38B-DCE40B969F95@dsl-only.net> References: <86fu9xmx3u.fsf@elm.localnet> To: Carl Johnson X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Nov 2017 23:24:27 -0000 On 2017-Nov-1, at 3:51 PM, Carl Johnson wrote: > I had previously tried to upgrade my RPi2 12.0-CURRENT system from armv6 > to armv7, but it then refused to boot. This time I downloaded the > latest snapshot (r325156 from 20171030) and it also refuses to boot for > exactly the same reason. In every case the kernel loads, but then it > reports that init has died, and then panics and drops into kdb. It > gives a stack backtrace, but that doesn't mean anything to me. > > Is this just me, or is anybody else having this problem? If others have > the problem, is there some workaround to get it working? > > Thanks in advance for any ideas. Others are also seeing the problem, not just on RPI2's. It looks like it broke between: -r324743 and -r325156 someplace relative to whatever is causing the init problem. Details that lead me to that conclusion, if you care. . . One of the FreeBSD folks contacted me privately because his bananapi-m3 experiments were getting the init problem and he was hoping I could test independently to see if the problem was local to his attempt to modernize the BPI-M3 support so it would again eventually be supported. I had to be doing other things but was able to report that my context was a working variant of -r324743 and showed him the two small diffs that I used. (The issues needing the diffs are not tied to any init behavior.) He tried his experiment against -r324743 and his experimental code and *.dt* based .dts booted fine. It looks like something after -r324743 broke things such that the init problem exists for armv7. [I'm still not active for investigating any of this.] === Mark Millard markmi at dsl-only.net