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

Raymond Paskvyl 1424342 at bugs.launchpad.net
Fri May 26 08:31:03 UTC 2017


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]  [<ffffffff812144b1>] SYSC_newlstat+0x31/0x60
May 26 10:08:57 station8 kernel: [ 6840.143526]  [<ffffffff81003226>] ? exit_to_usermode_loop+0xa6/0xd0
May 26 10:08:57 station8 kernel: [ 6840.143542]  [<ffffffff812145ee>] SyS_newlstat+0xe/0x10
May 26 10:08:57 station8 kernel: [ 6840.143560]  [<ffffffff81840a32>] entry_SYSCALL_64_fastpath+0x16/0x71


uname -a
Linux station8 4.4.0-78-generic #99-Ubuntu SMP Thu Apr 27 15:29:09 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

-- 
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