svn commit: r304321 - in head/sys: boot/efi/boot1 boot/efi/loader boot/i386/boot2 boot/i386/gptboot boot/i386/gptzfsboot boot/i386/zfsboot boot/userboot/ficl boot/userboot/userboot boot/userboot/zf...
Florian Smeets
flo at smeets.xyz
Tue Aug 23 21:11:02 UTC 2016
On 18/08/2016 02:37, Toomas Soome wrote:
> Author: tsoome
> Date: Thu Aug 18 00:37:07 2016
> New Revision: 304321
> URL: https://svnweb.freebsd.org/changeset/base/304321
>
> Log:
> Add SHA512, skein, large blocks support for loader zfs.
>
Hi,
this commit seems to break booting zroot bhyve VMs. Reverting
userboot.so to 304320 on the host system makes it work again.
I start bhyve like this
/usr/share/examples/bhyve/vmrun.sh -d /dev/zvol/zroot/bhyve/poudriere -t
tap8 -c 7 -m 20G poudriere
Launching virtual machine "poudriere" ...
Consoles: userboot
FreeBSD/amd64 User boot, Revision 1.1
(root at fry.smeets.xyz, Tue Aug 23 16:47:12 CEST 2016)
-
can't load 'kernel'
Type '?' for a list of commands, 'help' for more detailed help.
OK lsdev -v
host devices:
host0: Host filesystem
disk devices:
disk0: Guest drive image
disk0p1: FreeBSD boot 512KB
disk0p2: FreeBSD swap 2048MB
disk0p3: FreeBSD ZFS 67GB
zfs devices:
OK show
LINES=24
boot_serial=1
console=userboot
currdev=disk0p3:
interpret=OK
loaddev=disk0p3:
prompt=${interpret}
smbios.bios.vendor=BHYVE
twiddle_divisor=1
OK ls
open '/' failed: no such file or directory
OK
Here the zroot setup in the VM
root at poudriere:~ # zpool get -oname,property,value all
NAME PROPERTY VALUE
zroot size 67.5G
zroot capacity 61%
zroot altroot -
zroot health ONLINE
zroot guid 13278473142560840663
zroot version -
zroot bootfs zroot/ROOT/default
zroot delegation on
zroot autoreplace off
zroot cachefile -
zroot failmode wait
zroot listsnapshots off
zroot autoexpand off
zroot dedupditto 0
zroot dedupratio 1.00x
zroot free 25.9G
zroot allocated 41.6G
zroot readonly off
zroot comment -
zroot expandsize -
zroot freeing 0
zroot fragmentation 67%
zroot leaked 0
zroot feature at async_destroy enabled
zroot feature at empty_bpobj active
zroot feature at lz4_compress active
zroot feature at multi_vdev_crash_dump enabled
zroot feature at spacemap_histogram active
zroot feature at enabled_txg active
zroot feature at hole_birth active
zroot feature at extensible_dataset enabled
zroot feature at embedded_data active
zroot feature at bookmarks enabled
zroot feature at filesystem_limits enabled
zroot feature at large_blocks disabled
zroot feature at sha512 disabled
zroot feature at skein disabled
root at poudriere:~ # zfs get all zroot/ROOT/default
NAME PROPERTY VALUE SOURCE
zroot/ROOT/default type filesystem -
zroot/ROOT/default creation Sun Jul 27 16:32 2014 -
zroot/ROOT/default used 7.12G -
zroot/ROOT/default available 23.8G -
zroot/ROOT/default referenced 7.12G -
zroot/ROOT/default compressratio 2.18x -
zroot/ROOT/default mounted yes -
zroot/ROOT/default quota none default
zroot/ROOT/default reservation none default
zroot/ROOT/default recordsize 128K default
zroot/ROOT/default mountpoint / local
zroot/ROOT/default sharenfs off default
zroot/ROOT/default checksum on default
zroot/ROOT/default compression lz4
inherited from zroot
zroot/ROOT/default atime off
inherited from zroot
zroot/ROOT/default devices on default
zroot/ROOT/default exec on default
zroot/ROOT/default setuid on default
zroot/ROOT/default readonly off default
zroot/ROOT/default jailed off default
zroot/ROOT/default snapdir hidden default
zroot/ROOT/default aclmode discard default
zroot/ROOT/default aclinherit restricted default
zroot/ROOT/default canmount on default
zroot/ROOT/default xattr off temporary
zroot/ROOT/default copies 1 default
zroot/ROOT/default version 5 -
zroot/ROOT/default utf8only off -
zroot/ROOT/default normalization none -
zroot/ROOT/default casesensitivity sensitive -
zroot/ROOT/default vscan off default
zroot/ROOT/default nbmand off default
zroot/ROOT/default sharesmb off default
zroot/ROOT/default refquota none default
zroot/ROOT/default refreservation none default
zroot/ROOT/default primarycache all default
zroot/ROOT/default secondarycache all default
zroot/ROOT/default usedbysnapshots 0 -
zroot/ROOT/default usedbydataset 7.12G -
zroot/ROOT/default usedbychildren 0 -
zroot/ROOT/default usedbyrefreservation 0 -
zroot/ROOT/default logbias latency default
zroot/ROOT/default dedup off default
zroot/ROOT/default mlslabel -
zroot/ROOT/default sync standard default
zroot/ROOT/default refcompressratio 2.18x -
zroot/ROOT/default written 7.12G -
zroot/ROOT/default logicalused 14.3G -
zroot/ROOT/default logicalreferenced 14.3G -
zroot/ROOT/default volmode default default
zroot/ROOT/default filesystem_limit none default
zroot/ROOT/default snapshot_limit none default
zroot/ROOT/default filesystem_count none default
zroot/ROOT/default snapshot_count none default
zroot/ROOT/default redundant_metadata all default
Let me know if you need anything else.
Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 931 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20160823/4fc8d684/attachment.sig>
More information about the svn-src-head
mailing list