While trying to setup a reproducer that would excercise chrome or wine or something I stumbled across the following reproducer that worked twice in a row in a libvirt VM on my machine today.
The general gist is to
(1) Create a zfs filesystem with "-o encryption=aes-256-gcm -o compression=zstd -o atime=off -o keyformat=passphrase"
(2) rsync a copy of the openzfs git tree into it
(3) Reboot
(4) Use silversearcher-ag to search the directory for "DISKS="
Hit on the exact same crash:
[ 61.377929] VERIFY(0 == sa_handle_get_from_db(zfsvfs->z_os, db, zp, SA_HDL_SHARED, &zp->z_sa_hdl)) failed
[ 61.377930] PANIC at zfs_znode.c:339:zfs_znode_sa_init()
Now will test this out on the beta 2.0.6 package and also see if the standard zfs test suite will trigger it or not as a matter of somewhat curiosity.
While trying to setup a reproducer that would excercise chrome or wine or something I stumbled across the following reproducer that worked twice in a row in a libvirt VM on my machine today.
The general gist is to aes-256- gcm -o compression=zstd -o atime=off -o keyformat= passphrase"
(1) Create a zfs filesystem with "-o encryption=
(2) rsync a copy of the openzfs git tree into it
(3) Reboot
(4) Use silversearcher-ag to search the directory for "DISKS="
Precise steps: /github. com/openzfs/ zfs aes-256- gcm -o compression=zstd -o atime=off -o keyformat= passphrase src/; chown -R lathiat:lathiat /tank/lathiat2/src/ src/zfs/
mkdir src
cd src
git clone https:/
sudo apt install zfsutils-linux zfs-initramfs
sudo zpool create tank /dev/vdb
sudo zfs create tank/lathiat2 -o encryption=
rsync -va --progress -HAX /etc/skel /tank/lathiat2/; chown -R lathiat:lathiat /tank/lathiat2; rsync -va --progress /home/lathiat/src/ /tank/lathiat2/
# reboot
sudo zfs load-key tank/lathiat2
sudo zfs mount -a
cd /tank/lathiat2/
ag DISKS=
Hit on the exact same crash: get_from_ db(zfsvfs- >z_os, db, zp, SA_HDL_SHARED, &zp->z_sa_hdl)) failed c:339:zfs_ znode_sa_ init()
[ 61.377929] VERIFY(0 == sa_handle_
[ 61.377930] PANIC at zfs_znode.
Now will test this out on the beta 2.0.6 package and also see if the standard zfs test suite will trigger it or not as a matter of somewhat curiosity.