Date: Thu, 03 Sep 2020 21:32:15 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 249090] Regression in /boot/zfsloader between 11.1 and 11.2 Message-ID: <bug-249090-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-249090-227>