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

Jaap de Haan 1424342 at bugs.launchpad.net
Mon Nov 28 11:18:14 UTC 2016


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

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