Comment 15 for bug 1906476

Revision history for this message
Andrew Paglusch (andrew-paglusch) wrote :

I just upgraded to the latest ZoL release and am still having the same problem. I also upgrade my pool (after creating a checkpoint).

$ modinfo zfs | head -12
filename: /lib/modules/5.4.0-66-generic/updates/dkms/zfs.ko
version: 2.0.3-0york0~20.04
license: CDDL
author: OpenZFS
description: ZFS
alias: devname:zfs
alias: char-major-10-249
srcversion: DCE77834FDF1B30075B1328
depends: spl,znvpair,icp,zlua,zzstd,zunicode,zcommon,zavl
retpoline: Y
name: zfs
vermagic: 5.4.0-66-generic SMP mod_unload

$ dpkg -l | grep zfs
ii libzfs2linux 2.0.3-0york0~20.04 amd64 OpenZFS filesystem library for Linux
ii zfs-dkms 2.0.3-0york0~20.04 all OpenZFS filesystem kernel modules for Linux
ii zfs-zed 0.8.3-1ubuntu12.6 amd64 OpenZFS Event Daemon
ii zfsutils-linux 2.0.3-0york0~20.04 amd64 command-line tools to manage OpenZFS filesystems

$ zfs --version
zfs-2.0.3-0york0~20.04
zfs-kmod-0.8.3-1ubuntu12.6

Panic:
```
Mar 7 20:29:28 home-nas kernel: [ 181.778239] VERIFY(0 == sa_handle_get_from_db(zfsvfs->z_os, db, zp, SA_HDL_SHARED, &zp->z_sa_hdl)) failed
Mar 7 20:29:28 home-nas kernel: [ 181.778605] PANIC at zfs_znode.c:339:zfs_znode_sa_init()
Mar 7 20:29:28 home-nas kernel: [ 181.778778] Showing stack for process 2854
Mar 7 20:29:28 home-nas kernel: [ 181.778793] CPU: 0 PID: 2854 Comm: ls Tainted: P OE 5.4.0-66-generic #74-Ubuntu
Mar 7 20:29:28 home-nas kernel: [ 181.778796] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.13.0-48-gd9c812dda519-prebuilt.qemu.org 04/01/2014
Mar 7 20:29:28 home-nas kernel: [ 181.778798] Call Trace:
Mar 7 20:29:28 home-nas kernel: [ 181.778948] dump_stack+0x6d/0x9a
Mar 7 20:29:28 home-nas kernel: [ 181.779068] spl_dumpstack+0x29/0x2b [spl]
Mar 7 20:29:28 home-nas kernel: [ 181.779081] spl_panic+0xd4/0xfc [spl]
Mar 7 20:29:28 home-nas kernel: [ 181.779491] ? __zfs_dbgmsg+0xe0/0x110 [zfs]
Mar 7 20:29:28 home-nas kernel: [ 181.779624] ? sa_cache_constructor+0x27/0x50 [zfs]
Mar 7 20:29:28 home-nas kernel: [ 181.779643] ? _cond_resched+0x19/0x30
Mar 7 20:29:28 home-nas kernel: [ 181.779657] ? mutex_lock+0x13/0x40
Mar 7 20:29:28 home-nas kernel: [ 181.779760] ? dmu_buf_replace_user+0x60/0x80 [zfs]
Mar 7 20:29:28 home-nas kernel: [ 181.779863] ? dmu_buf_set_user_ie+0x1a/0x20 [zfs]
Mar 7 20:29:28 home-nas kernel: [ 181.780000] zfs_znode_sa_init.isra.0+0xdf/0xf0 [zfs]
Mar 7 20:29:28 home-nas kernel: [ 181.780138] zfs_znode_alloc+0x102/0x6d0 [zfs]
Mar 7 20:29:28 home-nas kernel: [ 181.780249] ? aggsum_add+0x196/0x1b0 [zfs]
Mar 7 20:29:28 home-nas kernel: [ 181.780343] ? dmu_buf_unlock_parent+0x38/0x80 [zfs]
Mar 7 20:29:28 home-nas kernel: [ 181.780429] ? dbuf_read_impl.constprop.0+0x614/0x700 [zfs]
Mar 7 20:29:28 home-nas kernel: [ 181.780442] ? spl_kmem_cache_alloc+0xc1/0x7d0 [spl]
Mar 7 20:29:28 home-nas kernel: [ 181.780447] ? _cond_resched+0x19/0x30
Mar 7 20:29:28 home-nas kernel: [ 181.780452] ? mutex_lock+0x13/0x40
Mar 7 20:29:28 home-nas kernel: [ 181.780537] ? aggsum_add+0x196/0x1b0 [zfs]
Mar 7 20:29:28 home-nas kernel: [ 181.780541] ? _cond_resched+0x19/0x30
Mar 7 20:29:28 home-nas kernel: [ 181.780546] ? _cond_resched+0x19/0x30
Mar 7 20:29:28 home-nas kernel: [ 181.780551] ? down_read+0x13/0xa0
Mar 7 20:29:28 home-nas kernel: [ 181.780638] ? dbuf_read+0x1d0/0x520 [zfs]
Mar 7 20:29:28 home-nas kernel: [ 181.780643] ? _cond_resched+0x19/0x30
Mar 7 20:29:28 home-nas kernel: [ 181.780647] ? mutex_lock+0x13/0x40
Mar 7 20:29:28 home-nas kernel: [ 181.780746] ? dnode_rele_and_unlock+0x6c/0xe0 [zfs]
Mar 7 20:29:28 home-nas kernel: [ 181.780751] ? _cond_resched+0x19/0x30
Mar 7 20:29:28 home-nas kernel: [ 181.780755] ? mutex_lock+0x13/0x40
Mar 7 20:29:28 home-nas kernel: [ 181.780847] ? dmu_object_info_from_dnode+0x84/0xb0 [zfs]
Mar 7 20:29:28 home-nas kernel: [ 181.780975] zfs_zget+0x1c3/0x270 [zfs]
Mar 7 20:29:28 home-nas kernel: [ 181.781104] zfs_dirent_lock+0x34b/0x680 [zfs]
Mar 7 20:29:28 home-nas kernel: [ 181.781232] zfs_dirlook+0x90/0x2b0 [zfs]
Mar 7 20:29:28 home-nas kernel: [ 181.781358] ? zfs_zaccess+0x153/0x410 [zfs]
Mar 7 20:29:28 home-nas kernel: [ 181.781484] zfs_lookup+0x1fd/0x3f0 [zfs]
Mar 7 20:29:28 home-nas kernel: [ 181.781608] zpl_lookup+0xc9/0x1e0 [zfs]
Mar 7 20:29:28 home-nas kernel: [ 181.781662] ? security_capable+0x3d/0x60
Mar 7 20:29:28 home-nas kernel: [ 181.781697] __lookup_slow+0x92/0x160
Mar 7 20:29:28 home-nas kernel: [ 181.781703] lookup_slow+0x3b/0x60
Mar 7 20:29:28 home-nas kernel: [ 181.781709] walk_component+0x1da/0x360
Mar 7 20:29:28 home-nas kernel: [ 181.781714] ? link_path_walk.part.0+0x6d/0x550
Mar 7 20:29:28 home-nas kernel: [ 181.781720] path_lookupat.isra.0+0x80/0x230
Mar 7 20:29:28 home-nas kernel: [ 181.781758] ? kfree+0x231/0x250
Mar 7 20:29:28 home-nas kernel: [ 181.781765] filename_lookup+0xae/0x170
Mar 7 20:29:28 home-nas kernel: [ 181.781780] ? __check_object_size+0x13f/0x150
Mar 7 20:29:28 home-nas kernel: [ 181.781808] ? strncpy_from_user+0x4c/0x150
Mar 7 20:29:28 home-nas kernel: [ 181.781815] user_path_at_empty+0x3a/0x50
Mar 7 20:29:28 home-nas kernel: [ 181.781819] vfs_statx+0x7d/0xe0
Mar 7 20:29:28 home-nas kernel: [ 181.781823] ? strncpy_from_user+0x4c/0x150
Mar 7 20:29:28 home-nas kernel: [ 181.781827] __do_sys_newlstat+0x3e/0x80
Mar 7 20:29:28 home-nas kernel: [ 181.781841] ? mntput+0x24/0x40
Mar 7 20:29:28 home-nas kernel: [ 181.781846] ? path_put+0x1e/0x30
Mar 7 20:29:28 home-nas kernel: [ 181.781849] ? path_getxattr+0x70/0xb0
Mar 7 20:29:28 home-nas kernel: [ 181.781854] __x64_sys_newlstat+0x16/0x20
Mar 7 20:29:28 home-nas kernel: [ 181.781895] do_syscall_64+0x57/0x190
Mar 7 20:29:28 home-nas kernel: [ 181.781903] entry_SYSCALL_64_after_hwframe+0x44/0xa9
Mar 7 20:29:28 home-nas kernel: [ 181.781929] RIP: 0033:0x7ff4b670b6ea
Mar 7 20:29:28 home-nas kernel: [ 181.781950] Code: ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 f3 0f 1e fa 41 89 f8 48 89 f7 48 89 d6 41 83 f8 01 77 2d b8 06 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 06 c3 0f 1f 44 00 00 48 8b 15 71 a7 0d 00 f7
Mar 7 20:29:28 home-nas kernel: [ 181.781953] RSP: 002b:00007ffc67e30078 EFLAGS: 00000246 ORIG_RAX: 0000000000000006
Mar 7 20:29:28 home-nas kernel: [ 181.781965] RAX: ffffffffffffffda RBX: 00007ff4b6362b20 RCX: 00007ff4b670b6ea
Mar 7 20:29:28 home-nas kernel: [ 181.781968] RDX: 00007ff4b6362b38 RSI: 00007ff4b6362b38 RDI: 00007ffc67e30080
Mar 7 20:29:28 home-nas kernel: [ 181.781970] RBP: 00007ffc67e30420 R08: 0000000000000001 R09: 00000000f1c38400
Mar 7 20:29:28 home-nas kernel: [ 181.781973] R10: 00007ffc67e30080 R11: 0000000000000246 R12: 00005639f1c384d3
Mar 7 20:29:28 home-nas kernel: [ 181.781975] R13: 0000000000000005 R14: 00007ffc67e30080 R15: 00007ff4b6362b38
```