[Bug 1424342] Re: CIFS remote shares freeze on resume after suspend

MATilley matilley at gmail.com
Sat Sep 2 04:26:18 UTC 2017


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

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

Title:
  CIFS remote shares freeze on resume after suspend

Status in cifs-utils package in Ubuntu:
  Confirmed

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cifs-utils/+bug/1424342/+subscriptions



More information about the foundations-bugs mailing list