CIFS remote shares freeze on resume after suspend

Bug #1424342 reported by MATilley
70
This bug affects 13 people
Affects Status Importance Assigned to Milestone
cifs-utils (Ubuntu)
Confirmed
High
Unassigned

Bug Description

After resuming session from a suspend on my Dell XPS 13, any previously remotely mounted CIFS shares are non-responsive, lock the terminal on attempts to interact with the associated directories in any way (tab complete, cd, ls, etc.). In system logs, I see the following:

[31218.531445] INFO: task bash:16585 blocked for more than 120 seconds.
[31218.531454] Tainted: G OE 3.16.0-30-generic #40-Ubuntu
[31218.531456] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[31218.531460] bash D ffff88021f293840 0 16585 1983 0x00000004
[31218.531468] ffff8801be323a60 0000000000000086 ffff8800a3b80a30 0000000000013840
[31218.531474] ffff8801be323fd8 0000000000013840 ffff8800a3b80a30 ffff88020fc93e20
[31218.531479] ffff88020fc93e24 ffff8800a3b80a30 00000000ffffffff ffff88020fc93e28
[31218.531484] Call Trace:
[31218.531497] [<ffffffff81785a89>] schedule_preempt_disabled+0x29/0x70
[31218.531504] [<ffffffff81788025>] __mutex_lock_slowpath+0xd5/0x1f0
[31218.531511] [<ffffffff8178815f>] mutex_lock+0x1f/0x30
[31218.531523] [<ffffffffc08b2399>] cifs_reconnect_tcon+0x169/0x2e0 [cifs]
[31218.531533] [<ffffffffc08b25ca>] smb_init+0x2a/0x50 [cifs]
[31218.531544] [<ffffffffc08b81ca>] CIFSSMBQPathInfo+0x5a/0x2b0 [cifs]
[31218.531561] [<ffffffffc08dc9d7>] cifs_query_path_info+0x67/0x1a0 [cifs]
[31218.531571] [<ffffffff811eb7f2>] ? __inode_permission+0x52/0xe0
[31218.531578] [<ffffffff811eb898>] ? inode_permission+0x18/0x50
[31218.531588] [<ffffffff811c3573>] ? kmem_cache_alloc_trace+0x193/0x1e0
[31218.531603] [<ffffffffc08ce89b>] ? cifs_get_inode_info+0x3cb/0x8a0 [cifs]
[31218.531615] [<ffffffffc08ce8f9>] cifs_get_inode_info+0x429/0x8a0 [cifs]
[31218.531622] [<ffffffff811ead51>] ? complete_walk+0x51/0x100
[31218.531629] [<ffffffff811c3a29>] ? __kmalloc+0x169/0x260
[31218.531642] [<ffffffffc08c3ae6>] ? build_path_from_dentry+0xb6/0x2c0 [cifs]
[31218.531653] [<ffffffffc08c3ae6>] ? build_path_from_dentry+0xb6/0x2c0 [cifs]
[31218.531666] [<ffffffffc08d08af>] cifs_revalidate_dentry_attr+0xef/0x1c0 [cifs]
[31218.531679] [<ffffffffc08d0a31>] cifs_getattr+0x51/0x120 [cifs]
[31218.531685] [<ffffffff811e5c3c>] vfs_getattr_nosec+0x2c/0x40
[31218.531690] [<ffffffff811e5cfd>] vfs_getattr+0x2d/0x40
[31218.531695] [<ffffffff811e5dd4>] vfs_fstatat+0x64/0xa0
[31218.531700] [<ffffffff811e625f>] SYSC_newstat+0x1f/0x40
[31218.531706] [<ffffffff811e64be>] SyS_newstat+0xe/0x10
[31218.531713] [<ffffffff8178a3ad>] system_call_fastpath+0x1a/0x1f

And it seems this has affected several users:

http://ubuntuforums.org/showthread.php?t=2265959

http://askubuntu.com/questions/417874/cifs-vfs-server-xxx-has-not-responded-in-120-seconds

http://ubuntuforums.org/showthread.php?t=2224655

http://ubuntuforums.org/showthread.php?t=2256773

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: cifs-utils 2:6.0-1ubuntu2
ProcVersionSignature: Ubuntu 3.16.0-30.40-generic 3.16.7-ckt3
Uname: Linux 3.16.0-30-generic x86_64
ApportVersion: 2.14.7-0ubuntu8.2
Architecture: amd64
CurrentDesktop: XFCE
Date: Sun Feb 22 00:36:33 2015
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-09-27 (148 days ago)
InstallationMedia: Xubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140723)
SourcePackage: cifs-utils
UpgradeStatus: Upgraded to utopic on 2015-02-04 (17 days ago)

Revision history for this message
MATilley (matilley) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in cifs-utils (Ubuntu):
status: New → Confirmed
Changed in cifs-utils (Ubuntu):
importance: Undecided → High
Revision history for this message
MATilley (matilley) wrote :

Still occurring one year later, with new kernel and slightly modified call stack:

[23774.418572] INFO: task pool:25233 blocked for more than 120 seconds.
[23774.418582] Not tainted 3.19.0-51-generic #58~14.04.1-Ubuntu
[23774.418585] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[23774.418589] pool D ffff88014043b9b8 0 25233 1886 0x00000000
[23774.418598] ffff88014043b9b8 ffff880085b83110 0000000000013e80 ffff88014043bfd8
[23774.418605] 0000000000013e80 ffff8802128aa740 ffff880085b83110 ffff880085b83110
[23774.418611] ffff8801d5685220 ffff8801d5685224 ffff880085b83110 00000000ffffffff
[23774.418617] Call Trace:
[23774.418633] [<ffffffff817b3a29>] schedule_preempt_disabled+0x29/0x70
[23774.418642] [<ffffffff817b5745>] __mutex_lock_slowpath+0x95/0x100
[23774.418651] [<ffffffff817b57d3>] mutex_lock+0x23/0x37
[23774.418674] [<ffffffffc0b25658>] cifs_reconnect_tcon+0xa8/0x330 [cifs]
[23774.418684] [<ffffffff811a5856>] ? handle_mm_fault+0x936/0x10d0
[23774.418700] [<ffffffffc0b2598e>] smb_init+0x2e/0x60 [cifs]
[23774.418718] [<ffffffffc0b2beca>] CIFSSMBQPathInfo+0x5a/0x270 [cifs]
[23774.418725] [<ffffffff81193d80>] ? zone_statistics+0x80/0xa0
[23774.418751] [<ffffffffc0b53b4f>] cifs_query_path_info+0x6f/0x1b0 [cifs]
[23774.418761] [<ffffffffc08deb89>] ? do_expire_wait+0xd9/0x1e0 [autofs4]
[23774.418771] [<ffffffff811cef19>] ? kmem_cache_alloc_trace+0x199/0x220
[23774.418793] [<ffffffffc0b43c2c>] ? cifs_get_inode_info+0x30c/0x9a0 [cifs]
[23774.418813] [<ffffffffc0b43c8a>] cifs_get_inode_info+0x36a/0x9a0 [cifs]
[23774.418821] [<ffffffff811f6dab>] ? lookup_fast+0xbb/0x2c0
[23774.418840] [<ffffffffc0b37bde>] ? build_path_from_dentry+0xae/0x2b0 [cifs]
[23774.418857] [<ffffffffc0b37bde>] ? build_path_from_dentry+0xae/0x2b0 [cifs]
[23774.418873] [<ffffffffc0b37bde>] ? build_path_from_dentry+0xae/0x2b0 [cifs]
[23774.418893] [<ffffffffc0b45f67>] cifs_revalidate_dentry_attr+0x197/0x200 [cifs]
[23774.418901] [<ffffffff811fd00f>] ? user_path_at_empty+0x5f/0xa0
[23774.418919] [<ffffffffc0b46087>] cifs_getattr+0x57/0x130 [cifs]
[23774.418927] [<ffffffff81347ddb>] ? common_perm_cond+0x2b/0x30
[23774.418933] [<ffffffff811f0cec>] vfs_getattr_nosec+0x2c/0x40
[23774.418938] [<ffffffff811f0dbd>] vfs_getattr+0x2d/0x40
[23774.418944] [<ffffffff811f0e92>] vfs_fstatat+0x62/0xa0
[23774.418949] [<ffffffff811f1362>] SYSC_newlstat+0x22/0x40
[23774.418955] [<ffffffff811fffb5>] ? SyS_getdents+0xd5/0x100
[23774.418960] [<ffffffff811ffc40>] ? fillonedir+0xd0/0xd0
[23774.418966] [<ffffffff811f159e>] SyS_newlstat+0xe/0x10
[23774.418975] [<ffffffff817b788d>] system_call_fastpath+0x16/0x1b

Revision history for this message
Jaap de Haan (jaap-dehaan) wrote :

[ 3240.018757] INFO: task umount:6807 blocked for more than 120 seconds.
[ 3240.018779] Not tainted 4.4.0-47-generic #68-Ubuntu
[ 3240.018798] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 3240.018823] umount D ffff880213c079e8 0 6807 6770 0x00000004
[ 3240.018825] ffff880213c079e8 0000000000000000 ffffffff81e11500 ffff8802126c3700
[ 3240.018827] ffff880213c08000 ffff880212669a24 ffff8802126c3700 00000000ffffffff
[ 3240.018829] ffff880212669a28 ffff880213c07a00 ffffffff81830f15 ffff880212669a20
[ 3240.018831] Call Trace:
[ 3240.018833] [<ffffffff81830f15>] schedule+0x35/0x80
[ 3240.018834] [<ffffffff818311be>] schedule_preempt_disabled+0xe/0x10
[ 3240.018836] [<ffffffff81832df9>] __mutex_lock_slowpath+0xb9/0x130
[ 3240.018838] [<ffffffff81832e8f>] mutex_lock+0x1f/0x30
[ 3240.018848] [<ffffffffc047a70d>] cifs_reconnect_tcon+0x9d/0x340 [cifs]
[ 3240.018850] [<ffffffff811eb999>] ? ___slab_alloc+0x1e9/0x470
[ 3240.018860] [<ffffffffc047aa5a>] smb_init+0x2a/0x50 [cifs]
[ 3240.018869] [<ffffffffc0481c53>] CIFSSMBQPathInfo+0x63/0x2e0 [cifs]
[ 3240.018875] [<ffffffff811aeb4c>] ? zone_statistics+0x7c/0xa0
[ 3240.018886] [<ffffffffc04ad14f>] cifs_query_path_info+0x6f/0x1a0 [cifs]
[ 3240.018889] [<ffffffff81218b84>] ? lookup_fast+0x184/0x330
[ 3240.018891] [<ffffffff811ebf23>] ? kmem_cache_alloc_trace+0x183/0x1f0
[ 3240.018893] [<ffffffff81218b84>] ? lookup_fast+0x184/0x330
[ 3240.018903] [<ffffffffc049bdc0>] cifs_get_inode_info+0x390/0x8f0 [cifs]
[ 3240.018906] [<ffffffff81218971>] ? unlazy_walk+0xc1/0x150
[ 3240.018908] [<ffffffff811ed5b9>] ? __kmalloc+0x1b9/0x250
[ 3240.018918] [<ffffffffc048edb2>] ? build_path_from_dentry+0xe2/0x3e0 [cifs]
[ 3240.018927] [<ffffffffc048edb2>] ? build_path_from_dentry+0xe2/0x3e0 [cifs]
[ 3240.018937] [<ffffffffc049e365>] cifs_revalidate_dentry_attr+0x1d5/0x250 [cifs]
[ 3240.018939] [<ffffffff811ec1a7>] ? kmem_cache_alloc+0x187/0x1f0
[ 3240.018949] [<ffffffffc049e491>] cifs_getattr+0x51/0x110 [cifs]
[ 3240.018951] [<ffffffff812126cc>] vfs_getattr_nosec+0x2c/0x40
[ 3240.018953] [<ffffffff812128e6>] vfs_getattr+0x26/0x30
[ 3240.018954] [<ffffffff812129c8>] vfs_fstatat+0x78/0xc0
[ 3240.018956] [<ffffffff81212f0e>] SYSC_newstat+0x2e/0x60
[ 3240.018960] [<ffffffff81003226>] ? exit_to_usermode_loop+0xa6/0xd0
[ 3240.018961] [<ffffffff8121309e>] SyS_newstat+0xe/0x10
[ 3240.018963] [<ffffffff81834ff2>] entry_SYSCALL_64_fastpath+0x16/0x71

running Ubuntu 16.04 (4.4.0-47-generic #68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux) and running in a virtual box VM.

Revision history for this message
Raymond Paskvyl (rayymondek) wrote :
Download full text (3.6 KiB)

Have same trouble, seems to be related to TCP network connection break:

May 26 10:08:57 station8 kernel: [ 6840.142121] INFO: task xfce4-panel:1620 blocked for more than 120 seconds.
May 26 10:08:57 station8 kernel: [ 6840.142143] Not tainted 4.4.0-78-generic #99-Ubuntu
May 26 10:08:57 station8 kernel: [ 6840.142153] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
May 26 10:08:57 station8 kernel: [ 6840.142164] xfce4-panel D ffff8802744239e8 0 1620 1448 0x00000000
May 26 10:08:57 station8 kernel: [ 6840.142189] ffff8802744239e8 ffff8802744239d0 ffff880276661980 ffff880270a3e600
May 26 10:08:57 station8 kernel: [ 6840.142209] ffff880274424000 ffff88027540bc24 ffff880270a3e600 00000000ffffffff
May 26 10:08:57 station8 kernel: [ 6840.142228] ffff88027540bc28 ffff880274423a00 ffffffff8183c8f5 ffff88027540bc20
May 26 10:08:57 station8 kernel: [ 6840.142247] Call Trace:
May 26 10:08:57 station8 kernel: [ 6840.142278] [<ffffffff8183c8f5>] schedule+0x35/0x80
May 26 10:08:57 station8 kernel: [ 6840.142297] [<ffffffff8183cb9e>] schedule_preempt_disabled+0xe/0x10
May 26 10:08:57 station8 kernel: [ 6840.142313] [<ffffffff8183e7d9>] __mutex_lock_slowpath+0xb9/0x130
May 26 10:08:57 station8 kernel: [ 6840.142334] [<ffffffff8183e86f>] mutex_lock+0x1f/0x30
May 26 10:08:57 station8 kernel: [ 6840.142449] [<ffffffffc06a170d>] cifs_reconnect_tcon+0x9d/0x340 [cifs]
May 26 10:08:57 station8 kernel: [ 6840.142553] [<ffffffffc06a1a5a>] smb_init+0x2a/0x50 [cifs]
May 26 10:08:57 station8 kernel: [ 6840.142657] [<ffffffffc06a8c53>] CIFSSMBQPathInfo+0x63/0x2e0 [cifs]
May 26 10:08:57 station8 kernel: [ 6840.142775] [<ffffffffc06d420f>] cifs_query_path_info+0x6f/0x1a0 [cifs]
May 26 10:08:57 station8 kernel: [ 6840.142796] [<ffffffff8121a017>] ? lookup_fast+0x57/0x330
May 26 10:08:57 station8 kernel: [ 6840.142816] [<ffffffff811ed343>] ? kmem_cache_alloc_trace+0x183/0x1f0
May 26 10:08:57 station8 kernel: [ 6840.142832] [<ffffffff8121a144>] ? lookup_fast+0x184/0x330
May 26 10:08:57 station8 kernel: [ 6840.142945] [<ffffffffc06c2e80>] cifs_get_inode_info+0x390/0x8f0 [cifs]
May 26 10:08:57 station8 kernel: [ 6840.142963] [<ffffffff81219f31>] ? unlazy_walk+0xc1/0x150
May 26 10:08:57 station8 kernel: [ 6840.142980] [<ffffffff811ee9d9>] ? __kmalloc+0x1b9/0x250
May 26 10:08:57 station8 kernel: [ 6840.143090] [<ffffffffc06b5dd2>] ? build_path_from_dentry+0xe2/0x3e0 [cifs]
May 26 10:08:57 station8 kernel: [ 6840.143201] [<ffffffffc06b5dd2>] ? build_path_from_dentry+0xe2/0x3e0 [cifs]
May 26 10:08:57 station8 kernel: [ 6840.143315] [<ffffffffc06c5425>] cifs_revalidate_dentry_attr+0x1d5/0x250 [cifs]
May 26 10:08:57 station8 kernel: [ 6840.143332] [<ffffffff811ed5c7>] ? kmem_cache_alloc+0x187/0x1f0
May 26 10:08:57 station8 kernel: [ 6840.143446] [<ffffffffc06c5551>] cifs_getattr+0x51/0x110 [cifs]
May 26 10:08:57 station8 kernel: [ 6840.143463] [<ffffffff81213c0c>] vfs_getattr_nosec+0x2c/0x40
May 26 10:08:57 station8 kernel: [ 6840.143477] [<ffffffff81213e26>] vfs_getattr+0x26/0x30
May 26 10:08:57 station8 kernel: [ 6840.143492] [<ffffffff81213f08>] vfs_fstatat+0x78/0xc0
May 26 10:08:57 station8 kernel: [ 6840.143508]...

Read more...

Revision history for this message
MATilley (matilley) wrote :

Still occurring in 16.04, kernel 4.4.0.93.

[44880.327833] INFO: task Thunar:7047 blocked for more than 120 seconds.
[44880.327843] Not tainted 4.4.0-93-generic #116-Ubuntu
[44880.327846] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[44880.327850] Thunar D ffff88000a5b3878 0 7047 1607 0x00000000
[44880.327859] ffff88000a5b3878 ffffffff810bdd63 ffff880215a99c00 ffff880211c93800
[44880.327866] ffff88000a5b4000 ffff88012fa65424 ffff880211c93800 00000000ffffffff
[44880.327872] ffff88012fa65428 ffff88000a5b3890 ffffffff8183f0d5 ffff88012fa65420
[44880.327878] Call Trace:
[44880.327892] [<ffffffff810bdd63>] ? load_balance+0x1d3/0x980
[44880.327902] [<ffffffff8183f0d5>] schedule+0x35/0x80
[44880.327908] [<ffffffff8183f37e>] schedule_preempt_disabled+0xe/0x10
[44880.327914] [<ffffffff81840fb9>] __mutex_lock_slowpath+0xb9/0x130
[44880.327924] [<ffffffff8184104f>] mutex_lock+0x1f/0x30
[44880.327974] [<ffffffffc0a890ed>] cifs_reconnect_tcon+0x9d/0x340 [cifs]
[44880.327979] [<ffffffff810b9b35>] ? put_prev_entity+0x35/0x7d0
[44880.327986] [<ffffffff8102d66c>] ? __switch_to+0x1dc/0x5c0
[44880.328014] [<ffffffffc0a8943a>] smb_init+0x2a/0x50 [cifs]
[44880.328044] [<ffffffffc0a90d93>] CIFSSMBQPathInfo+0x63/0x2e0 [cifs]
[44880.328052] [<ffffffff810b2d1c>] ? __enqueue_entity+0x6c/0x70
[44880.328090] [<ffffffffc0abc9af>] cifs_query_path_info+0x6f/0x1a0 [cifs]
[44880.328096] [<ffffffff810b92fa>] ? enqueue_task_fair+0xaa/0x8b0
[44880.328103] [<ffffffff810b4275>] ? select_task_rq_fair+0x625/0x700
[44880.328109] [<ffffffff81037ef9>] ? sched_clock+0x9/0x10
[44880.328115] [<ffffffff810b1d4f>] ? sched_clock_cpu+0x8f/0xa0
[44880.328120] [<ffffffff810ab614>] ? check_preempt_curr+0x54/0x90
[44880.328128] [<ffffffff811ed723>] ? kmem_cache_alloc_trace+0x183/0x1f0
[44880.328133] [<ffffffff810ab669>] ? ttwu_do_wakeup+0x19/0xe0
[44880.328168] [<ffffffffc0aab110>] cifs_get_inode_info+0x390/0x8f0 [cifs]
[44880.328176] [<ffffffff817236eb>] ? __alloc_skb+0x9b/0x1f0
[44880.328182] [<ffffffff811eedb9>] ? __kmalloc+0x1b9/0x250
[44880.328188] [<ffffffff81224103>] ? pollwake+0x73/0x90
[44880.328220] [<ffffffffc0a9e132>] ? build_path_from_dentry+0xe2/0x3e0 [cifs]
[44880.328249] [<ffffffffc0a9e1a9>] ? build_path_from_dentry+0x159/0x3e0 [cifs]
[44880.328282] [<ffffffffc0aad6b5>] cifs_revalidate_dentry_attr+0x1d5/0x250 [cifs]
[44880.328312] [<ffffffffc0aad773>] cifs_revalidate_dentry+0x13/0x30 [cifs]
[44880.328342] [<ffffffffc0a9de47>] cifs_d_revalidate+0x27/0xb0 [cifs]
[44880.328350] [<ffffffff8121a6ff>] lookup_fast+0x24f/0x330
[44880.328357] [<ffffffff8121bdc9>] walk_component+0x49/0x300
[44880.328363] [<ffffffff8121b7bb>] ? path_init+0x1eb/0x3c0
[44880.328370] [<ffffffff8121d8ed>] path_lookupat+0x5d/0x110
[44880.328377] [<ffffffff8121f531>] filename_lookup+0xb1/0x180
[44880.328384] [<ffffffff811ed9bf>] ? kmem_cache_alloc+0x19f/0x1f0
[44880.328390] [<ffffffff8121f136>] ? getname_flags+0x56/0x1f0
[44880.328395] [<ffffffff8121f6d6>] user_path_at_empty+0x36/0x40
[44880.328402] [<ffffffff8120d784>] SyS_access+0xb4/0x230
[44880.328410] [<ffffffff818431f2>] entry_SYSCALL_64_fastpath+0x16/0x71

Revision history for this message
MATilley (matilley) wrote :

Still occurring in cifs-utils packge 2:6.4-1ubuntu1.1

Revision history for this message
kamiccolo (kamicc) wrote :

Call trace from Ubuntu 16.04 and cifs-utils 2:6.4-1ubuntu1.1 on 4.10.0-42-generic:

[19936.692679] INFO: task ls:15421 blocked for more than 120 seconds.
[19936.692683] Tainted: G W 4.10.0-42-generic #46~16.04.1-Ubuntu
[19936.692685] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[19936.692687] ls D 0 15421 15411 0x00000000
[19936.692691] Call Trace:
[19936.692694] __schedule+0x232/0x700
[19936.692698] schedule+0x36/0x80
[19936.692701] schedule_preempt_disabled+0xe/0x10
[19936.692704] __mutex_lock_slowpath+0x193/0x290
[19936.692708] mutex_lock+0x2f/0x40
[19936.692728] cifs_reconnect_tcon+0x95/0x340 [cifs]
[19936.692733] ? __find_get_block+0x22c/0x260
[19936.692736] ? __check_block_validity.constprop.75+0x31/0x70
[19936.692756] smb_init+0x2a/0x50 [cifs]
[19936.692777] CIFSSMBQPathInfo+0x63/0x2e0 [cifs]
[19936.692805] cifs_query_path_info+0x6f/0x1a0 [cifs]
[19936.692809] ? __kmalloc+0x1c7/0x200
[19936.692812] ? ext4_htree_store_dirent+0x3e/0x120
[19936.692816] ? lookup_fast+0xe3/0x2f0
[19936.692819] ? kmem_cache_alloc_trace+0x152/0x1c0
[19936.692844] cifs_get_inode_info+0x4a3/0x970 [cifs]
[19936.692847] ? unlazy_walk+0xf8/0x180
[19936.692851] ? __kmalloc+0x178/0x200
[19936.692874] ? build_path_from_dentry+0xe2/0x3e0 [cifs]
[19936.692895] ? build_path_from_dentry+0xe2/0x3e0 [cifs]
[19936.692918] cifs_revalidate_dentry_attr+0x1d5/0x250 [cifs]
[19936.692941] cifs_getattr+0x51/0x110 [cifs]
[19936.692946] vfs_getattr_nosec+0x29/0x40
[19936.692949] vfs_getattr+0x26/0x30
[19936.692953] vfs_fstatat+0x78/0xc0
[19936.692958] SYSC_newlstat+0x31/0x60
[19936.692963] SyS_newlstat+0xe/0x10
[19936.692967] entry_SYSCALL_64_fastpath+0x1e/0xad
[19936.692969] RIP: 0033:0x7f927b0afc55
[19936.692971] RSP: 002b:00007ffc7a297c98 EFLAGS: 00000246 ORIG_RAX: 0000000000000006
[19936.692974] RAX: ffffffffffffffda RBX: 00007f927b37db20 RCX: 00007f927b0afc55
[19936.692975] RDX: 000000000159ed60 RSI: 000000000159ed60 RDI: 00007ffc7a297ca0
[19936.692977] RBP: 0000000000008041 R08: 0000000000000000 R09: 00000000000003c0
[19936.692978] R10: 00000000000001cc R11: 0000000000000246 R12: 00007f927b37db78
[19936.692980] R13: 00007f927b37db78 R14: 0000000000002710 R15: 0000000000404ad0

Revision history for this message
mbzi (bzied) wrote :

Call trace from :

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.4 LTS"

Kernel :

4.15.0-1013-azure

[509728.136002] watchdog: BUG: soft lockup - CPU#1 stuck for 23s! [nginx:57149]
[509728.136002] Modules linked in: binfmt_misc nf_conntrack_ipv4 nf_defrag_ipv4 xt_owner xt_multiport iptable_security xt_conntrack nf_conntrack iptable_filter ip_tables x_tables cmac arc4 md4 nls_utf8 cifs ccm fscache kvm_intel kvm irqbypass hv_balloon serio_raw joydev autofs4 btrfs zstd_compress raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear crct10dif_pclmul hid_generic crc32_pclmul ghash_clmulni_intel pcbc aesni_intel aes_x86_64 crypto_simd glue_helper cryptd hyperv_keyboard hid_hyperv hid hv_utils hv_netvsc hyperv_fb cfbfillrect cfbimgblt cfbcopyarea pata_acpi
[509728.136002] CPU: 1 PID: 57149 Comm: nginx Tainted: G D L 4.15.0-1013-azure #13~16.04.2-Ubuntu
[509728.136002] Hardware name: Microsoft Corporation Virtual Machine/Virtual Machine, BIOS 090007 06/02/2017
[509728.136002] RIP: 0010:native_queued_spin_lock_slowpath+0x25/0x1a0
[509728.136002] RSP: 0018:ffffbc80c5de3d30 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff0c
[509728.136002] RAX: 0000000000000001 RBX: ffff959c10fe7038 RCX: 0000000000000000
[509728.136002] RDX: 0000000000000001 RSI: 0000000000000001 RDI: ffff959c10fe7038
[509728.136002] RBP: ffffbc80c5de3d30 R08: 0000000000000000 R09: 0000000000000000
[509728.136002] R10: ffffbc80c5de3e40 R11: ffff959c08ba8410 R12: ffff959c11db2200
[509728.136002] R13: ffff959c10fe7000 R14: ffff959c11a802a4 R15: ffff959c11a80200
[509728.136002] FS: 0000000000000000(0000) GS:ffff959c15640000(0000) knlGS:0000000000000000
[509728.136002] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[509728.136002] CR2: 00007f1752676bd0 CR3: 000000017040a000 CR4: 00000000001406e0
[509728.136002] Call Trace:
[509728.136002] _raw_spin_lock+0x20/0x30
[509728.136002] cifsFileInfo_put+0x8c/0x430 [cifs]
[509728.136002] ? __slab_free+0xd0/0x2f0
[509728.136002] ? kmem_cache_free+0x1cb/0x1e0
[509728.136002] cifs_close+0x1e/0x40 [cifs]
[509728.136002] ? cifs_close+0x1e/0x40 [cifs]
[509728.136002] __fput+0xea/0x220
[509728.136002] ____fput+0xe/0x10
[509728.136002] task_work_run+0x8a/0xb0
[509728.136002] do_exit+0x2de/0xb50
[509728.136002] rewind_stack_do_exit+0x17/0x20
[509728.136002] RIP: 0033:0x7fbe2c393c60
[509728.136002] RSP: 002b:00007ffdd29e23a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
[509728.136002] RAX: ffffffffffffffda RBX: 00007ffdd29e2650 RCX: 00007fbe2c393c60
[509728.136002] RDX: 0000000000000000 RSI: 0000000000000800 RDI: 0000563a210a2c50
[509728.136002] RBP: 0000563a210ba530 R08: 0000000000000000 R09: 0000563a210ba530
[509728.136002] R10: 0000000061685475 R11: 0000000000000246 R12: 00007ffdd29e2630
[509728.136002] R13: 00007ffdd29e2650 R14: 00007ffdd29e2650 R15: 00007ffdd29e2650
[509728.136002] Code: 84 00 00 00 00 00 0f 1f 44 00 00 55 48 89 e5 0f 1f 44 00 00 ba 01 00 00 00 8b 07 85 c0 75 0a f0 0f b1 17 85 c0 75 f2 5d c3 f3 90 <eb>ec 81 fe 00 01 00 00 0f 84 92 00 00 00 41 b8 01 01 00 00 b9

Revision history for this message
mbzi (bzied) wrote :
Download full text (8.6 KiB)

Call trace from :

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.4 LTS"

Kernel :

4.15.0-1013-azure

[76244.156004] watchdog: BUG: soft lockup - CPU#1 stuck for 22s! [nginx:1205]
[76244.156004] Modules linked in: binfmt_misc nf_conntrack_ipv4 nf_defrag_ipv4 xt_owner xt_conntrack nf_conntrack iptable_security xt_multiport iptable_filter ip_tables x_tables cmac arc4 md4 nls_utf8 cifsccm fscache kvm_intel kvm irqbypass serio_raw hv_balloon joydev autofs4 btrfs zstd_compress raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear hid_generic crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc aesni_intel hid_hyperv aes_x86_64 crypto_simd glue_helper cryptd hyperv_keyboard hid hv_utils hv_netvsc hyperv_fb cfbfillrect cfbimgblt cfbcopyarea pata_acpi
[76244.156004] CPU: 1 PID: 1205 Comm: nginx Tainted: G D L 4.15.0-1013-azure #13~16.04.2-Ubuntu
[76244.156004] Hardware name: Microsoft Corporation Virtual Machine/Virtual Machine, BIOS 090007 06/02/2017
[76244.156004] RIP: 0010:native_queued_spin_lock_slowpath+0x25/0x1a0
[76244.156004] RSP: 0000:ffffb99d82f6ba38 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff0c
[76244.156004] RAX: 0000000000000001 RBX: 0000000000000c18 RCX: 0000000000000c18
[76244.156004] RDX: 0000000000000001 RSI: 0000000000000001 RDI: ffff97cc526da038
[76244.156004] RBP: ffffb99d82f6ba38 R08: ffffb99d82f6bb10 R09: ffff97cc525fa880
[76244.156004] R10: ffff97cc526da000 R11: ffffffffc04980e0 R12: ffff97cc51e81e50
[76244.156004] R13: ffff97cc526da038 R14: ffff97cc51e81eb0 R15: ffffb99d82f6bb08
[76244.156004] FS: 00007f8afa582740(0000) GS:ffff97cc55640000(0000) knlGS:0000000000000000
[76244.156004] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[76244.156004] CR2: 00007fac3400a218 CR3: 00000002d13a0000 CR4: 00000000001406e0
[76244.156004] Call Trace:
[76244.156004] _raw_spin_lock+0x20/0x30
[76244.156004] is_size_safe_to_change+0x3c/0xd0 [cifs]
[76244.156004] cifs_fattr_to_inode+0x14b/0x5a0 [cifs]
[76244.156004] cifs_get_inode_info+0x215/0xa80 [cifs]
[76244.156004] cifs_revalidate_dentry_attr+0x1d5/0x250 [cifs]
[76244.156004] cifs_revalidate_dentry+0x13/0x30 [cifs]
[76244.156004] cifs_d_revalidate+0x27/0xb0 [cifs]
[76244.156004] lookup_fast+0x270/0x300
[76244.156004] path_openat+0x183/0x13f0
[76244.156004] ? touch_atime+0x36/0xe0
[76244.156004] do_filp_open+0x99/0x110
[76244.156004] ? __check_object_size+0xfc/0x1a0
[76244.156004] ? path_get+0x27/0x30
[76244.156004] ? __alloc_fd+0x46/0x170
[76244.156004] do_sys_open+0x12d/0x290
[76244.156004] ? do_sys_open+0x12d/0x290
[76244.156004] ? task_work_run+0x38/0xb0
[76244.156004] SyS_open+0x1e/0x20
[76244.156004] do_syscall_64+0x73/0x130
[76244.156004] entry_SYSCALL_64_after_hwframe+0x3d/0xa2
[76244.156004] RIP: 0033:0x7f8af9f66c60
[76244.156004] RSP: 002b:00007ffc32e40df8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
[76244.156004] RAX: ffffffffffffffda RBX: 00007ffc32e410a0 RCX: 00007f8af9f66c60
[76244.156004] RDX: 0000000000000000 RSI: 0000000000000800 RDI: 00005628da594c80
[76244.156004] RBP: 00005628da5856b0 R08: 0000000000000000 R09: 0000...

Read more...

Revision history for this message
Jan Kratochvil (jan-kratochvil) wrote :

Try to negotiate higher version of CIFS protocol which deals better with timeouts, for me it helped to use vers=2.0 option but there should be also 2.1/3.0 etc. according to mount.cifs(8). Recent Linux kernels automatically negotiate highest vers supported by client/server but these kernels just defaulted to 1.0.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.