[Bug 249090] Regression in /boot/zfsloader between 11.1 and 11.2
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Sep 3 21:32:16 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249090
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 at FreeBSD.org
Reporter: carton at 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
Boot device: /pci at 1f,0/ide at d/disk at 2,0 File and args:
>> FreeBSD/sparc64 ZFS boot block
Boot path: /pci at 1f,0/ide at d/disk at 2,0:a
Consoles: Open Firmware console
FreeBSD/sparc64 bootstrap loader, Revision 1.0
bootpath="/pci at 1f,0/ide at d/disk at 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
Boot device: /pci at 1f,0/ide at d/disk at 2,0 File and args:
>> FreeBSD/sparc64 ZFS boot block
Boot path: /pci at 1f,0/ide at d/disk at 2,0:a
Consoles: Open Firmware console
FreeBSD/sparc64 ZFS enabled bootstrap loader, Revision 1.0
(Fri Jun 22 04:07:46 UTC 2018 root at releng2.nyi.freebsd.org)
bootpath="/pci at 1f,0/ide at d/disk at 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
-----8<-----
11.1 -- works
-----8<-----
Executing last command: boot disk2
Boot device: /pci at 1f,0/ide at d/disk at 2,0 File and args:
>> FreeBSD/sparc64 ZFS boot block
Boot path: /pci at 1f,0/ide at d/disk at 2,0:a
Consoles: Open Firmware console
\
FreeBSD/sparc64 ZFS enabled bootstrap loader, Revision 1.0
(Fri Jul 21 08:44:42 UTC 2017 root at releng2.nyi.freebsd.org)
bootpath="zfs:zroot/ROOT/uncompress:"
Loading /boot/defaults/loader.conf
/boot/kernel/kernel data=0xbbc358+0xd7880 syms=[0x8+0xc8f70+0x8+0xbab1c]
/boot/kernel/zfs.ko text=0x233a98 data=0xa758+0x18380
syms=[0x8+0x1a1a8+0x8+0x151d1]
loading required module 'opensolaris'
/boot/kernel/opensolaris.ko text=0x30b0 data=0x2c8+0x2030
syms=[0x8+0xd80+0x8+0x91d]
/boot/zfs/zpool.cache size=0x68c
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel] in 9 seconds...
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 at snap.freebsd.org:/usr/obj/sparc64.sparc64/usr/src/sys/GENERIC sparc64
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.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list