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

mbzi 1424342 at bugs.launchpad.net
Fri Jul 6 09:17:47 UTC 2018


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

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