From nobody Sun Sep 4 19:07:17 2022 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MLLkX3KGKz4bJ4v for ; Sun, 4 Sep 2022 19:07:32 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-vk1-xa2f.google.com (mail-vk1-xa2f.google.com [IPv6:2607:f8b0:4864:20::a2f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MLLkW3MSWz3CVj for ; Sun, 4 Sep 2022 19:07:31 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-vk1-xa2f.google.com with SMTP id x66so3286241vkb.8 for ; Sun, 04 Sep 2022 12:07:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20210112.gappssmtp.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=SuapYXcbARf9arIWogqU0YQ99rqm1x5J+rzoPU1zE9M=; b=CgdBS+6AH4aZo1JCONFpc33x4hm6STnvFD+fCWXyEmZxyjORtqyPNL8Yli73aMn2bO dy46oFFynUPchAq+X1Sm9aGSuoP874kwgj20Im9NYNMP0byNNLgzYr+iZqUsjFFMWDIh jBDIeK+HhnaU2bobIhla9keuw1wPlOjUiUhjSqCjKAJaNgKLBjCDrtsL14w/MVSiKbSI wHAtiuH2xjnzwjcLXbbQSf726LAB0c3vlZQkaYTzb743AlHFME3MdQ7Bxitr5vKtRd3A D/nLxgxfK5pbq+s3BzEeMRVZJ3TXfWmOxcjEmXSSDnE+DMVd6kZb5vfUrFYw2CsO560E peUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=SuapYXcbARf9arIWogqU0YQ99rqm1x5J+rzoPU1zE9M=; b=raFFgpFXyyXFv4IkmpSaWmifhnmxP2EzrjDEJuitQtMEma9Ge6m81ZZ1Vg2BLWnyDq VdfCz8aCq/GT+4tpDPih+5g8+Y1xqyvmVsvMpKT6LhFCZMdkurUjDJq9GglT7sy70jR0 /lh1eDlnIBlY0RUsYCPkO6RtrOuN4d5fNZRw5GspRgqjAJcKCGPxoFeks4QsjGszI8MF mcwFD6RfF8SefkTrrhvJ+8jLbaxtO+xNkJwiFd1Uupv24bUUwh6duSo7NBTEsq2yhsof GnqaiJb3D1nopxTmeKDz4ppVdIv6q7fmz4gMZshCb6dSZ8Sxx29m8Q/+ExDu9dIOrYCM oHIQ== X-Gm-Message-State: ACgBeo2RcnNMyyWzpMQeVMr69+eiUd+USlcWfzbjeVn6Ml6E6lY4gkV2 UHnJILbeoGsMJPuv9qAU9MUCGpgb44Yk/bc8mcrSgg== X-Google-Smtp-Source: AA6agR7FRK3JEAr7SJ9LyttkGKVscuK3Mby32n98KI3SZDzfrKlKUZh3ETPlOQpK0QcEeC/0HvmPN1KMxQtKSimDnRk= X-Received: by 2002:a1f:1ccf:0:b0:394:d1c8:e3e8 with SMTP id c198-20020a1f1ccf000000b00394d1c8e3e8mr6086379vkc.13.1662318450342; Sun, 04 Sep 2022 12:07:30 -0700 (PDT) List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Warner Losh Date: Sun, 4 Sep 2022 13:07:17 -0600 Message-ID: Subject: Re: kernel update broke -current To: void Cc: "freebsd-arm@freebsd.org" Content-Type: multipart/alternative; boundary="000000000000bc945405e7deaca6" X-Rspamd-Queue-Id: 4MLLkW3MSWz3CVj X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20210112.gappssmtp.com header.s=20210112 header.b=CgdBS+6A; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::a2f) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-2.99 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.995]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20210112.gappssmtp.com:s=20210112]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FREEMAIL_TO(0.00)[f-m.fm]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; R_SPF_NA(0.00)[no SPF record]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::a2f:from]; DKIM_TRACE(0.00)[bsdimp-com.20210112.gappssmtp.com:+]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; TO_DN_SOME(0.00)[]; DMARC_NA(0.00)[bsdimp.com]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N --000000000000bc945405e7deaca6 Content-Type: text/plain; charset="UTF-8" On Sun, Sep 4, 2022, 11:47 AM void wrote: > Hi, > > Attempting to update the kernel (system runs -current) with a new device > in the > kernel config. > > I did the following: > > updated current sources via git > make kernel > rebooted > > Is this recoverable without yanking the disk and inserting it into another > freebsd machine? > > here's the console output > ####### > U-Boot 2021.07 (Jan 20 2022 - 05:11:26 +0000) > > DRAM: 7.9 GiB > RPI 4 Model B (0xd03114) > MMC: mmc@7e300000: 3, emmc2@7e340000: 0 > Loading Environment from FAT... In: serial > Out: serial > Consoles: EFI console > ZFS: unsupported feature: com.delphix:head_errlog > ZFS: pool zroot is not supported > You need a newer boot loader... Warner Reading loader env vars from /efi/freebsd/loader.env > Setting currdev to disk0p1: > FreeBSD/arm64 EFI loader, Revision 1.1 > (Thu Jan 20 08:13:38 UTC 2022 root@releng1.nyi.freebsd.org) > > Command line arguments: loader.efi > Image base: 0x39af7000 > EFI version: 2.80 > EFI Firmware: Das U-Boot (rev 8225.1792) > Console: efi (0x1000) > Load Path: /efi\boot\bootaa64.efi > Load Device: > /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/UsbClass(0x0,0x0,0x9,0x0,0x3)/UsbClass(0x125f,0xa15a,0x0,0x0,0x0)/HD(1,GPT,9e17b13d-7a4e-11ec-9206-dca632e248fc,0x28,0x82000) > Trying ESP: > /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/UsbClass(0x0,0x0,0x9,0x0,0x3)/UsbClass(0x125f,0xa15a,0x0,0x0,0x0)/HD(1,GPT,9e17b13d-7a4e-11ec-9206-dca632e248fc,0x28,0x82000) > Setting currdev to disk0p1: > Trying: > /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/UsbClass(0x0,0x0,0x9,0x0,0x3)/UsbClass(0x125f,0xa15a,0x0,0x0,0x0)/HD(2,GPT,9e17b13d-7a4e-11ec-9206-dca632e248fc,0x82800,0x2000000) > Setting currdev to disk0p2: > Trying: > /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/UsbClass(0x0,0x0,0x9,0x0,0x3)/UsbClass(0x125f,0xa15a,0x0,0x0,0x0)/HD(3,GPT,9e17b13d-7a4e-11ec-9206-dca632e248fc,0x2082800,0x72684000) > Setting currdev to > ERROR: cannot open /boot/lua/loader.lua: no such file or directory. > < --000000000000bc945405e7deaca6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Sun, Sep 4, 2022, 11:47 AM void <void@f-m.fm> wrote:
Hi,

Attempting to update the kernel (system runs -current) with a new device in= the
kernel config.

I did the following:

updated current sources via git
make kernel
rebooted

Is this recoverable without yanking the disk and inserting it into another<= br> freebsd machine?

here's the console output
#######
U-Boot 2021.07 (Jan 20 2022 - 05:11:26 +0000)

DRAM:=C2=A0 7.9 GiB
RPI 4 Model B (0xd03114)
MMC:=C2=A0 =C2=A0mmc@7e300000: 3, emmc2@7e340000: 0
Loading Environment from FAT... In:=C2=A0 =C2=A0 serial
Out:=C2=A0 =C2=A0serial
Consoles: EFI console=C2=A0
ZFS: unsupported feature: com.delphix:head_errlog
ZFS: pool zroot is not supported

You need a newer boot loader...

Warner=C2=A0

=C2=A0 =C2=A0 Reading loader env vars from /efi/freebsd/loader.env
Setting currdev to disk0p1:
FreeBSD/arm64 EFI loader, Revision 1.1
(Thu Jan 20 08:13:38 UTC 2022 root@releng1.nyi.freebsd.org)
=C2=A0 =C2=A0Command line arguments: loader.efi
=C2=A0 =C2=A0Image base: 0x39af7000
=C2=A0 =C2=A0EFI version: 2.80
=C2=A0 =C2=A0EFI Firmware: Das U-Boot (rev 8225.1792)
=C2=A0 =C2=A0Console: efi (0x1000)
=C2=A0 =C2=A0Load Path: /efi\boot\bootaa64.efi
=C2=A0 =C2=A0Load Device: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/UsbC= lass(0x0,0x0,0x9,0x0,0x3)/UsbClass(0x125f,0xa15a,0x0,0x0,0x0)/HD(1,GPT,9e17= b13d-7a4e-11ec-9206-dca632e248fc,0x28,0x82000)
Trying ESP: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/UsbClass(0x0,0x0,0= x9,0x0,0x3)/UsbClass(0x125f,0xa15a,0x0,0x0,0x0)/HD(1,GPT,9e17b13d-7a4e-11ec= -9206-dca632e248fc,0x28,0x82000)
Setting currdev to disk0p1:
Trying: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/UsbClass(0x0,0x0,0x9,0= x0,0x3)/UsbClass(0x125f,0xa15a,0x0,0x0,0x0)/HD(2,GPT,9e17b13d-7a4e-11ec-920= 6-dca632e248fc,0x82800,0x2000000)
Setting currdev to disk0p2:
Trying: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/UsbClass(0x0,0x0,0x9,0= x0,0x3)/UsbClass(0x125f,0xa15a,0x0,0x0,0x0)/HD(3,GPT,9e17b13d-7a4e-11ec-920= 6-dca632e248fc,0x2082800,0x72684000)
Setting currdev to
ERROR: cannot open /boot/lua/loader.lua: no such file or directory.
<
--000000000000bc945405e7deaca6--