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

MATilley matilley at gmail.com
Tue Mar 1 20:42:45 UTC 2016


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

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