From owner-freebsd-bugs@freebsd.org Thu Sep 3 21:32:16 2020 Return-Path: Delivered-To: freebsd-bugs@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 33DF33CB4CD for ; Thu, 3 Sep 2020 21:32:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4BjDXw0fjnz42xG for ; Thu, 3 Sep 2020 21:32:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 1464C3CB4CB; Thu, 3 Sep 2020 21:32:16 +0000 (UTC) Delivered-To: bugs@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 12FEC3CB2E6 for ; Thu, 3 Sep 2020 21:32:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BjDXv6Xx4z42fW for ; Thu, 3 Sep 2020 21:32:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C452721B61 for ; Thu, 3 Sep 2020 21:32:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 083LWFls078296 for ; Thu, 3 Sep 2020 21:32:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 083LWFMp078295 for bugs@FreeBSD.org; Thu, 3 Sep 2020 21:32:15 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 249090] Regression in /boot/zfsloader between 11.1 and 11.2 Date: Thu, 03 Sep 2020 21:32:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: carton@Ivy.NET X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2020 21:32:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249090 Bug ID: 249090 Summary: Regression in /boot/zfsloader between 11.1 and 11.2 Product: Base System Version: 12.1-RELEASE Hardware: sparc64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: carton@Ivy.NET I've been attempting the instructions at: https://wiki.freebsd.org/RootOnZFS/VTOC8ZFSBoot/9.x-RELEASE with FreeBSD 12.1. tl;dr there's a regression in /boot/zfsloader between 11.1 and 11.2, so it doesn't work any more. 11.1's zfsloader can boot 12.1, though. The system is a Netra X1, "flapjack lite" with PATA disks. 12.1 -- fails -----8<----- Executing last command: boot disk2=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 Boot device: /pci@1f,0/ide@d/disk@2,0 File and args:=20 >> FreeBSD/sparc64 ZFS boot block Boot path: /pci@1f,0/ide@d/disk@2,0:a Consoles: Open Firmware console=20=20 FreeBSD/sparc64 bootstrap loader, Revision 1.0 bootpath=3D"/pci@1f,0/ide@d/disk@2,0:a" \ can't load 'kernel' Type '?' for a list of commands, 'help' for more detailed help. OK reboot -----8<----- 11.2 -- fails -----8<----- Executing last command: boot disk2=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 Boot device: /pci@1f,0/ide@d/disk@2,0 File and args:=20 >> FreeBSD/sparc64 ZFS boot block Boot path: /pci@1f,0/ide@d/disk@2,0:a Consoles: Open Firmware console=20=20 FreeBSD/sparc64 ZFS enabled bootstrap loader, Revision 1.0 (Fri Jun 22 04:07:46 UTC 2018 root@releng2.nyi.freebsd.org) bootpath=3D"/pci@1f,0/ide@d/disk@2,0:a" \ can't load 'kernel' Type '?' for a list of commands, 'help' for more detailed help. OK lsdev -v net devices: net0: (net0) OK lszfs zfs:zroot: device not configured OK reboot Rebooting... Program terminated ok=20 -----8<----- 11.1 -- works -----8<----- Executing last command: boot disk2=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 Boot device: /pci@1f,0/ide@d/disk@2,0 File and args:=20 >> FreeBSD/sparc64 ZFS boot block Boot path: /pci@1f,0/ide@d/disk@2,0:a Consoles: Open Firmware console=20=20 \ FreeBSD/sparc64 ZFS enabled bootstrap loader, Revision 1.0 (Fri Jul 21 08:44:42 UTC 2017 root@releng2.nyi.freebsd.org) bootpath=3D"zfs:zroot/ROOT/uncompress:" Loading /boot/defaults/loader.conf=20 /boot/kernel/kernel data=3D0xbbc358+0xd7880 syms=3D[0x8+0xc8f70+0x8+0xbab1c] /boot/kernel/zfs.ko text=3D0x233a98 data=3D0xa758+0x18380 syms=3D[0x8+0x1a1a8+0x8+0x151d1] loading required module 'opensolaris' /boot/kernel/opensolaris.ko text=3D0x30b0 data=3D0x2c8+0x2030 syms=3D[0x8+0xd80+0x8+0x91d] /boot/zfs/zpool.cache size=3D0x68c Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel] in 9 seconds...=20 Type '?' for a list of commands, 'help' for more detailed help. OK lsdev -v block devices: net devices: net0: (net0) zfs devices: pool: zroot bootfs: zroot/ROOT/uncompress config: NAME STATE zroot DEGRADED mirror DEGRADED ada0 ONLINE ada0a OFFLINE OK lszfs zfs:zroot: lszfs not found OK boot Booting... jumping to kernel entry at 0xc0098000. Copyright (c) 1992-2014 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 9.3-RELEASE #0 r268512: Fri Jul 11 12:43:37 UTC 2014 root@snap.freebsd.org:/usr/obj/sparc64.sparc64/usr/src/sys/GENERIC spar= c64 gcc version 4.2.1 20070831 patched [FreeBSD] [etc. . .] -----8<----- Other things that do work: - 'gpart' from FreeBSD 12.1 can be used to install 11.1 boot blocks. - The 11.1 boot blocks will still boot the latest 12.1. I did not push my luck by upgrading pool feature flags past 11.1 on the root pool, so I'm not sure if that works or not. Instead, I ran 'zpool create' under 11.1, and used 'zfs send | zfs recv' to install a 12.1 system on the new pool and was able to boot the new pool. --=20 You are receiving this mail because: You are the assignee for the bug.=