From owner-freebsd-arm@freebsd.org Tue Feb 11 00:20:55 2020 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DFB62248B08 for ; Tue, 11 Feb 2020 00:20:55 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 48Gk2Z2ndSz4FKt for ; Tue, 11 Feb 2020 00:20:53 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id 01B0L8bS020311 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 10 Feb 2020 16:21:09 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id 01B0L8Es020310; Mon, 10 Feb 2020 16:21:08 -0800 (PST) (envelope-from fbsd) Date: Mon, 10 Feb 2020 16:21:08 -0800 From: bob prohaska To: Mark Millard Cc: freebsd-arm@freebsd.org, bob prohaska Subject: Re: RPI4 Install r357606 test 09.02.2020 failed Message-ID: <20200211002108.GC19140@www.zefox.net> References: <202002092026.019KQXLF021366@mail.karels.net> <4551CAE8-08DA-463F-876C-DD1BBAA5D7C5@bitblocks.com> <20200210192602.GA19140@www.zefox.net> <8FD4A333-87D7-4302-BC84-E694BEAE7E99@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8FD4A333-87D7-4302-BC84-E694BEAE7E99@yahoo.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-Rspamd-Queue-Id: 48Gk2Z2ndSz4FKt X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of fbsd@www.zefox.net has no SPF policy when checking 50.1.20.27) smtp.mailfrom=fbsd@www.zefox.net X-Spamd-Result: default: False [1.17 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.97)[-0.966,0]; WWW_DOT_DOMAIN(0.50)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; IP_SCORE(0.06)[ip: (0.25), ipnet: 50.1.16.0/20(0.13), asn: 7065(-0.03), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[zefox.net]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.17)[0.174,0]; R_SPF_NA(0.00)[]; FREEMAIL_TO(0.00)[yahoo.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; MID_RHS_WWW(0.50)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Feb 2020 00:20:55 -0000 On Mon, Feb 10, 2020 at 12:29:50PM -0800, Mark Millard wrote: > > The following copies of the head -r356767 kernel materials > are available, and likely will be so for about a year: > > https://artifact.ci.freebsd.org/snapshot/head/r356767/arm64/aarch64/kernel.txz > https://artifact.ci.freebsd.org/snapshot/head/r356767/arm64/aarch64/kernel-dbg.txz > > Presuming the microSD card that needs a kernel > is mounted on /mnt : > > # mv /mnt/boot/kernel /mnt/boot/kerbad > # tar -xpf PATH-FOR/kerenel.txz -C/mnt > # tar -xpf PATH-FOR/kerenel-dbg.txz -C/mnt > # umount /mnt > The instructions worked just fine, using kernel.txz. Loader seems to find and copy it to memory: Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... Using DTB provided by EFI at 0x7ef6000. EFI framebuffer information: addr, size 0x3eaf0000, 0x10a800 dimensions 656 x 416 stride 656 masks 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000 At this point the machine stops and must be power-cycled. Is it reasonably certain this kernel works on a Pi3 ? There's something else wrong, apart from the kernel not booting. Using loader's ls command it's possible to look in /boot and see several kernels, including the one installed just now. Any attempt to load one of the extra kernels results in OK boot kernel.spare can't boot 'kernel.spare', kernel module already loaded OK unload OK boot kernel.spare can't find 'kernel.spare' OK load kernel.spare can't find 'kernel.spare' OK load /boot/kernel.spare don't know how to load module '/boot/kernel.spare' Formerly kernel.spare loaded and ran on this machine. Also, I don't remember the need for the unload command. Is it likely that loader is somehow corrupted? The invalid pmap panic that took the machine down happened near the end of installworld. Thanks for reading, and all your help! bob prohaska