[Bug 1931660] Re: PANIC at zfs_znode.c:339:zfs_znode_sa_init()

2021-10-15 Thread Trent Lloyd
This looks like a duplicate of this:
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1906476

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1931660

Title:
  PANIC at zfs_znode.c:339:zfs_znode_sa_init()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1931660/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1931660] Re: PANIC at zfs_znode.c:339:zfs_znode_sa_init()

2021-10-08 Thread Robert Bordelon
I've hit this bug on a non-encrypted pool. FS scrub also reported no
errors for me. I'm currently on Kernel 5.11.0-37-generic / zfs libs
2.0.2-1ubuntu5.2 (Hirsute), though the corruption may have occurred on a
previous kernel / library. The directory which is triggering the hang
for me was created Jun 7 of this year so it appears to be recent
problem. I've identified the corrupted directory and moved it out of the
way (fortunately is contains nothing important), but I'm unable to
delete it from the filesystem. Any attempts to read or delete the
directory hangs. Setting zfs_recovery=1 does not help. The only way I
can recover from hang is to reboot. I'd like to know if there is any way
to get rid of the corrupted directory other than having to create a new
filesystem and copy over all the other files / dirs except the problem
one?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1931660

Title:
  PANIC at zfs_znode.c:339:zfs_znode_sa_init()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1931660/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1931660] Re: PANIC at zfs_znode.c:339:zfs_znode_sa_init()

2021-09-21 Thread Doki
It stared to happen recently on my encrypted pool. The FS scrub reported
no errors.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1931660

Title:
  PANIC at zfs_znode.c:339:zfs_znode_sa_init()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1931660/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1931660] Re: PANIC at zfs_znode.c:339:zfs_znode_sa_init()

2021-08-10 Thread mhosken
Does the fact that this is an encrypted pool have any impact on this?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1931660

Title:
  PANIC at zfs_znode.c:339:zfs_znode_sa_init()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1931660/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1931660] Re: PANIC at zfs_znode.c:339:zfs_znode_sa_init()

2021-08-10 Thread mhosken
Downgrading these libraries did not fix it for me.

One canary is to look at the state of the updatedb.mlocate process which
goes into live hang as it hits the file that is currently faulty. Thus
for example:

   2728 ?DNs0:01 /usr/bin/updatedb.mlocate

Using lsof one can find out which is the faulty file but, if you try to
ls the directory with the file in, then you terminal live hangs. And if
you try to delete the directory containing the faulty file, then that
silently fails, leaving the directory and the live hang should you try
to read it.

It's said that this bug relates to 1906476 and via that to
https://github.com/openzfs/zfs/issues/11474 but I think I have that one
fixed with zfs_recover=1. But the syslog message is very similar:

Aug 11 10:13:45 silmh9 kernel: [  242.531205] INFO: task updatedb.mlocat:2728 
blocked for more than 120 seconds.
Aug 11 10:13:45 silmh9 kernel: [  242.531211]   Tainted: P U O  
5.13.0-13-generic #13-Ubuntu
Aug 11 10:13:45 silmh9 kernel: [  242.531212] "echo 0 > 
/proc/sys/kernel/hung_task_timeout_secs" disables this message.
Aug 11 10:13:45 silmh9 kernel: [  242.531213] task:updatedb.mlocat state:D 
stack:0 pid: 2728 ppid: 1 flags:0x4220
Aug 11 10:13:45 silmh9 kernel: [  242.531216] Call Trace:
Aug 11 10:13:45 silmh9 kernel: [  242.531221]  __schedule+0x268/0x680
Aug 11 10:13:45 silmh9 kernel: [  242.531225]  ? arch_local_irq_enable+0xb/0xd
Aug 11 10:13:45 silmh9 kernel: [  242.531228]  schedule+0x4f/0xc0
Aug 11 10:13:45 silmh9 kernel: [  242.531231]  spl_panic+0xfa/0xfc [spl]
Aug 11 10:13:45 silmh9 kernel: [  242.531238]  ? queued_spin_unlock+0x9/0x10 
[zfs]
Aug 11 10:13:45 silmh9 kernel: [  242.531287]  ? do_raw_spin_unlock+0x9/0x10 
[zfs]
Aug 11 10:13:45 silmh9 kernel: [  242.531313]  ? __raw_spin_unlock+0x9/0x10 
[zfs]
Aug 11 10:13:45 silmh9 kernel: [  242.531339]  ? dmu_buf_replace_user+0x65/0x80 
[zfs]
Aug 11 10:13:45 silmh9 kernel: [  242.531367]  ? dmu_buf_set_user+0x13/0x20 
[zfs]
Aug 11 10:13:45 silmh9 kernel: [  242.531393]  ? dmu_buf_set_user_ie+0x15/0x20 
[zfs]
Aug 11 10:13:45 silmh9 kernel: [  242.531420]  zfs_znode_sa_init+0xd9/0xe0 [zfs]
Aug 11 10:13:45 silmh9 kernel: [  242.531479]  zfs_znode_alloc+0x101/0x560 [zfs]
Aug 11 10:13:45 silmh9 kernel: [  242.531536]  ? 
dmu_buf_unlock_parent+0x5d/0x90 [zfs]
Aug 11 10:13:45 silmh9 kernel: [  242.531564]  ? do_raw_spin_unlock+0x9/0x10 
[zfs]
Aug 11 10:13:45 silmh9 kernel: [  242.531590]  ? 
dbuf_read_impl.constprop.0+0x316/0x3e0 [zfs]
Aug 11 10:13:45 silmh9 kernel: [  242.531616]  ? __cond_resched+0x1a/0x50
Aug 11 10:13:45 silmh9 kernel: [  242.531618]  ? 
__raw_callee_save___native_queued_spin_unlock+0x15/0x23
Aug 11 10:13:45 silmh9 kernel: [  242.531620]  ? queued_spin_unlock+0x9/0x10 
[zfs]
Aug 11 10:13:45 silmh9 kernel: [  242.531642]  ? __cond_resched+0x1a/0x50
Aug 11 10:13:45 silmh9 kernel: [  242.531644]  ? down_read+0x13/0x90
Aug 11 10:13:45 silmh9 kernel: [  242.531645]  ? 
__raw_callee_save___native_queued_spin_unlock+0x15/0x23
Aug 11 10:13:45 silmh9 kernel: [  242.531646]  ? queued_spin_unlock+0x9/0x10 
[zfs]
Aug 11 10:13:45 silmh9 kernel: [  242.531680]  ? do_raw_spin_unlock+0x9/0x10 
[zfs]
Aug 11 10:13:45 silmh9 kernel: [  242.531712]  ? 
__raw_callee_save___native_queued_spin_unlock+0x15/0x23
Aug 11 10:13:45 silmh9 kernel: [  242.531713]  ? 
dmu_object_info_from_dnode+0x8e/0xa0 [zfs]
Aug 11 10:13:45 silmh9 kernel: [  242.531742]  zfs_zget+0x237/0x280 [zfs]
Aug 11 10:13:45 silmh9 kernel: [  242.531796]  zfs_dirent_lock+0x42a/0x570 [zfs]
Aug 11 10:13:45 silmh9 kernel: [  242.531850]  zfs_dirlook+0x91/0x2a0 [zfs]
Aug 11 10:13:45 silmh9 kernel: [  242.531902]  zfs_lookup+0x1fb/0x3f0 [zfs]
Aug 11 10:13:45 silmh9 kernel: [  242.531954]  zpl_lookup+0xcb/0x230 [zfs]
Aug 11 10:13:45 silmh9 kernel: [  242.532007]  __lookup_slow+0x84/0x150
Aug 11 10:13:45 silmh9 kernel: [  242.532009]  walk_component+0x141/0x1b0
Aug 11 10:13:45 silmh9 kernel: [  242.532010]  ? dput+0x5c/0x180
Aug 11 10:13:45 silmh9 kernel: [  242.532012]  path_lookupat+0x6e/0x1c0
Aug 11 10:13:45 silmh9 kernel: [  242.532013]  filename_lookup+0xbb/0x1c0
Aug 11 10:13:45 silmh9 kernel: [  242.532015]  ? 
__check_object_size.part.0+0x128/0x150
Aug 11 10:13:45 silmh9 kernel: [  242.532017]  ? __check_object_size+0x1c/0x20
Aug 11 10:13:45 silmh9 kernel: [  242.532018]  ? strncpy_from_user+0x44/0x150
Aug 11 10:13:45 silmh9 kernel: [  242.532020]  ? __raw_spin_unlock+0x9/0x10 
[zfs]
Aug 11 10:13:45 silmh9 kernel: [  242.532066]  user_path_at_empty+0x59/0x90
Aug 11 10:13:45 silmh9 kernel: [  242.532068]  vfs_statx+0x7a/0x120
Aug 11 10:13:45 silmh9 kernel: [  242.532070]  __do_sys_newlstat+0x3e/0x70
Aug 11 10:13:45 silmh9 kernel: [  242.532072]  ? __secure_computing+0x42/0xe0
Aug 11 10:13:45 silmh9 kernel: [  242.532073]  ? 
syscall_trace_enter.constprop.0+0xa0/0x1c0
Aug 11 10:13:45 silmh9 kernel: [  242.532075]  __x64_sys_newlstat+0x16/0x20
Aug 11 10:13:45 silmh9 kernel: [  242.532076]  

[Bug 1931660] Re: PANIC at zfs_znode.c:339:zfs_znode_sa_init()

2021-08-03 Thread Robert Bordelon
I encountered this problem on kernel 5.11.0-25 when using version
2.0.2-1ubuntu5.1 of the ZFS libs (I have the following ZFS related
libraries installed on my system: libnvpair3linux, libuutil3linux,
libzfs4linux, libzpool4linux, zfs-initramfs, zfs-zed and zfsutils-
linux), but it went away after downgrading these libraries to version
'2.0.2-1ubuntu5'.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1931660

Title:
  PANIC at zfs_znode.c:339:zfs_znode_sa_init()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1931660/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1931660] Re: PANIC at zfs_znode.c:339:zfs_znode_sa_init()

2021-07-19 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: linux (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1931660

Title:
  PANIC at zfs_znode.c:339:zfs_znode_sa_init()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1931660/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs