[Bug 221075] regression: 11.1 unable to boot off ZFS
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Jul 28 22:23:41 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221075
Bug ID: 221075
Summary: regression: 11.1 unable to boot off ZFS
Product: Base System
Version: 11.1-RELEASE
Hardware: amd64
OS: Any
Status: New
Keywords: regression
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: freebsd-bugs at FreeBSD.org
Reporter: seschwar at gmail.com
Keywords: regression
I tried to upgrade my installation of 11.0p11 to 11.1 applying the outlined
procedures. However that resulted in an unbootable system. I originally
thought I had botched the upgrade
(https://lists.freebsd.org/pipermail/freebsd-questions/2017-July/278163.html),
but as I can't get 11.1 to boot even when doing a fresh install, I believe it
to be an actual regression and not just an error on my end.
To check that hypothesis I first performed my install procedure with
11.0-RELEASE into a new dataset, which I could boot off just fine:
# zfs create -o canmount=noauto -o mountpoint=/ ssd/ROOT/freebsd11.0R
# beadm mount freebsd11.0R
# fetch -o -
https://download.freebsd.org/ftp/releases/amd64/11.0-RELEASE/base.txz | tar xf
- -C /mnt/
# fetch -o -
https://download.freebsd.org/ftp/releases/amd64/11.0-RELEASE/kernel.txz | tar
xf - -C /mnt/
# fetch -o -
https://download.freebsd.org/ftp/releases/amd64/11.0-RELEASE/lib32.txz | tar xf
- -C /mnt/
# cp /boot/loader.conf /mnt/boot/loader.conf
# cp /etc/hostid /mnt/etc/hostid
# beadm umount freebsd11.0R
# beadm activate freebsd11.0R
# reboot
...
FreeBSD/amd64 () (ttyv1)
login:
I did exactly the same steps with 11.1-RELEASE instead of 11.0-RELEASE and the
system was unable to mount the root partition during boot:
# zfs create -o canmount=noauto -o mountpoint=/ ssd/ROOT/freebsd11.1R
# beadm mount freebsd11.1R
# fetch -o -
https://download.freebsd.org/ftp/releases/amd64/11.1-RELEASE/base.txz | tar xf
- -C /mnt/
# fetch -o -
https://download.freebsd.org/ftp/releases/amd64/11.1-RELEASE/kernel.txz | tar
xf - -C /mnt/
# fetch -o -
https://download.freebsd.org/ftp/releases/amd64/11.1-RELEASE/lib32.txz | tar xf
- -C /mnt/
# cp /boot/loader.conf /mnt/boot/loader.conf
# cp /etc/hostid /mnt/etc/hostid
# beadm umount freebsd11.1R
# beadm activate freebsd11.1R
# reboot
...
Mounting from zfs:ssd/ROOT/freebsd11.1R failed with error 6.
When I press "?" at the following "mountroot>" prompt to list available devices
all devices part of my ZFS pools are listed with the correct paths.
Re-entering "zfs:ssd/ROOT/freebsd11.1R" or any of my other FreeBSD boot
environments results in said error 6 again.
So the only difference between the two boot environments created above it the
version of FreeBSD used. Therefore I assume 11.1-RELEASE to be at fault.
Some additional information on my setup:
- the hardware is a Dell Precision M4600 with the optical drive swapped out for
an SSD
- the system is booted with EFI
- the drives are partitioned with GPT
- the two ZFS pools where originally created on Arch Linux
- from the FreeBSD installer I originally successfully installed 11.0-RELEASE
into a separate dataset
- 11.0 has been working fine like this since December 2016
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list