Hang seen with the latest mainline kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi David/Matthew,

We've been running some stress testing lately in Microsoft with Linux
6.4-rc4 kernel, and I've noticed some warnings of hangs with this
stack trace. Can you please take a look and let me know what you
think?

This seems to be reproducing quite often on this test setup. So please
let me know if there's more data you need to debug this.

[Mon Jun 19 16:05:49 2023] INFO: task newstress:61476 blocked for more
than 966 seconds.
[Mon Jun 19 16:05:49 2023]       Tainted: G           OE
6.4.0-rc3-wkasan #5
[Mon Jun 19 16:05:49 2023] "echo 0 >
/proc/sys/kernel/hung_task_timeout_secs" disables this message.
[Mon Jun 19 16:05:49 2023] task:newstress     state:D stack:0
pid:61476 ppid:61160  flags:0x00000002
[Mon Jun 19 16:05:49 2023] Call Trace:
[Mon Jun 19 16:05:49 2023]  <TASK>
[Mon Jun 19 16:05:49 2023]  __schedule+0x782/0x2500
[Mon Jun 19 16:05:49 2023]  ? __rcu_read_unlock+0x53/0x80
[Mon Jun 19 16:05:49 2023]  ? __kasan_check_read+0x11/0x20
[Mon Jun 19 16:05:49 2023]  ? __pfx___schedule+0x10/0x10
[Mon Jun 19 16:05:49 2023]  ? __rcu_read_unlock+0x53/0x80
[Mon Jun 19 16:05:49 2023]  ? cgroup_rstat_updated+0x82/0x250
[Mon Jun 19 16:05:49 2023]  ? __kasan_check_write+0x14/0x30
[Mon Jun 19 16:05:49 2023]  schedule+0x9b/0x150
[Mon Jun 19 16:05:49 2023]  io_schedule+0x70/0xc0
[Mon Jun 19 16:05:49 2023]  folio_wait_bit_common+0x232/0x550
[Mon Jun 19 16:05:49 2023]  ? __pfx_folio_wait_bit_common+0x10/0x10
[Mon Jun 19 16:05:49 2023]  ? __filemap_remove_folio+0x177/0x3a0
[Mon Jun 19 16:05:49 2023]  ? __pfx_wake_page_function+0x10/0x10
[Mon Jun 19 16:05:49 2023]  ? __pfx_workingset_update_node+0x10/0x10
[Mon Jun 19 16:05:49 2023]  ? __pfx__raw_spin_lock_irq+0x10/0x10
[Mon Jun 19 16:05:49 2023]  __folio_lock+0x17/0x30
[Mon Jun 19 16:05:49 2023]  invalidate_inode_pages2_range+0x5b4/0x840
[Mon Jun 19 16:05:49 2023]  ? __pfx_invalidate_inode_pages2_range+0x10/0x10
[Mon Jun 19 16:05:49 2023]  ? cifs_dentry_needs_reval+0x27f/0x390 [cifs]
[Mon Jun 19 16:05:49 2023]  ? cifs_revalidate_dentry_attr+0xa4/0x650 [cifs]
[Mon Jun 19 16:05:49 2023]  invalidate_inode_pages2+0x17/0x30
[Mon Jun 19 16:05:49 2023]  cifs_invalidate_mapping+0x57/0x90 [cifs]
[Mon Jun 19 16:05:49 2023]  cifs_revalidate_mapping+0xd5/0x130 [cifs]
[Mon Jun 19 16:05:49 2023]  cifs_revalidate_dentry+0x32/0x40 [cifs]
[Mon Jun 19 16:05:49 2023]  cifs_d_revalidate+0xa3/0x220 [cifs]
[Mon Jun 19 16:05:49 2023]  lookup_fast+0xfc/0x1c0
[Mon Jun 19 16:05:49 2023]  walk_component+0x39/0x240
[Mon Jun 19 16:05:49 2023]  path_lookupat+0xb2/0x2f0
[Mon Jun 19 16:05:49 2023]  filename_lookup+0x16f/0x340
[Mon Jun 19 16:05:49 2023]  ? __pfx_filename_lookup+0x10/0x10
[Mon Jun 19 16:05:49 2023]  ? __kasan_slab_alloc+0x9d/0xa0
[Mon Jun 19 16:05:49 2023]  ? kmem_cache_alloc+0x176/0x3a0
[Mon Jun 19 16:05:49 2023]  ? getname_flags.part.0+0x3c/0x260
[Mon Jun 19 16:05:49 2023]  ? getname_flags+0x56/0x90
[Mon Jun 19 16:05:49 2023]  ? __x64_sys_statx+0x9b/0xf0
[Mon Jun 19 16:05:49 2023]  ? do_syscall_64+0x5c/0x90
[Mon Jun 19 16:05:49 2023]  ? entry_SYSCALL_64_after_hwframe+0x72/0xdc
[Mon Jun 19 16:05:49 2023]  ? __rcu_read_unlock+0x53/0x80
[Mon Jun 19 16:05:49 2023]  vfs_statx+0xf4/0x260
[Mon Jun 19 16:05:49 2023]  ? __pfx_vfs_statx+0x10/0x10
[Mon Jun 19 16:05:49 2023]  ? __kasan_check_write+0x14/0x30
[Mon Jun 19 16:05:49 2023]  ? lockref_get+0xdb/0x170
[Mon Jun 19 16:05:49 2023]  ? __pfx_lockref_get+0x10/0x10
[Mon Jun 19 16:05:49 2023]  do_statx+0x99/0x100
[Mon Jun 19 16:05:49 2023]  ? __pfx_do_statx+0x10/0x10
[Mon Jun 19 16:05:49 2023]  ? __pfx_do_statx+0x10/0x10
[Mon Jun 19 16:05:49 2023]  ? _raw_spin_unlock+0xe/0x40
[Mon Jun 19 16:05:49 2023]  ? audit_alloc_name+0x1b0/0x1e0
[Mon Jun 19 16:05:49 2023]  ? __audit_getname+0x98/0xb0
[Mon Jun 19 16:05:49 2023]  ? getname_flags.part.0+0x10f/0x260
[Mon Jun 19 16:05:49 2023]  ? getname_flags+0x56/0x90
[Mon Jun 19 16:05:49 2023]  __x64_sys_statx+0xb3/0xf0
[Mon Jun 19 16:05:49 2023]  do_syscall_64+0x5c/0x90
[Mon Jun 19 16:05:49 2023]  ? do_syscall_64+0x69/0x90
[Mon Jun 19 16:05:49 2023]  entry_SYSCALL_64_after_hwframe+0x72/0xdc
[Mon Jun 19 16:05:49 2023] RIP: 0033:0x7f0e14f121ee
[Mon Jun 19 16:05:49 2023] RSP: 002b:00007f0ccf7e3668 EFLAGS: 00000206
ORIG_RAX: 000000000000014c
[Mon Jun 19 16:05:49 2023] RAX: ffffffffffffffda RBX: 00007f0ccf7e3b30
RCX: 00007f0e14f121ee
[Mon Jun 19 16:05:49 2023] RDX: 0000000000002100 RSI: 00007f0d8073da80
RDI: 0000000000000000
[Mon Jun 19 16:05:49 2023] RBP: 00007f0ccf7e3a90 R08: 00007f0ccf7e3950
R09: 00007f0d8073da80
[Mon Jun 19 16:05:49 2023] R10: 0000000000000fff R11: 0000000000000206
R12: 00007f0ccf7e37a0
[Mon Jun 19 16:05:49 2023] R13: 00007f0d800061d0 R14: 00007f0ccf7e3740
R15: 00007f0ccf7e3770
[Mon Jun 19 16:05:49 2023]  </TASK>


-- 
Regards,
Shyam



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux