HDD related tasks hangs after mount.cifs and smb timeout

Bug #1741261 reported by kamiccolo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cifs-utils (Ubuntu)
New
Undecided
Unassigned

Bug Description

Mount remote smb server as following:

sudo mount -t cifs //xxx.xxx.xxx.xxx/Shared /media/MOUNTPOINT -ousername=USERNAME,domain=DOMAINNAME

After a while list /media or doing anything related to mount points, like... df -h hangs and populates dmesg with following:

[19695.045113] ls D 0 15379 1 0x00000004
[19695.045118] Call Trace:
[19695.045131] __schedule+0x232/0x700
[19695.045136] schedule+0x36/0x80
[19695.045140] schedule_preempt_disabled+0xe/0x10
[19695.045145] __mutex_lock_slowpath+0x193/0x290
[19695.045152] mutex_lock+0x2f/0x40
[19695.045201] cifs_reconnect_tcon+0x95/0x340 [cifs]
[19695.045211] ? __find_get_block+0x22c/0x260
[19695.045218] ? __check_block_validity.constprop.75+0x31/0x70
[19695.045245] smb_init+0x2a/0x50 [cifs]
[19695.045273] CIFSSMBQPathInfo+0x63/0x2e0 [cifs]
[19695.045310] cifs_query_path_info+0x6f/0x1a0 [cifs]
[19695.045317] ? lookup_fast+0xe3/0x2f0
[19695.045325] ? kmem_cache_alloc_trace+0x152/0x1c0
[19695.045359] cifs_get_inode_info+0x4a3/0x970 [cifs]
[19695.045363] ? unlazy_walk+0xf8/0x180
[19695.045368] ? __kmalloc+0x178/0x200
[19695.045399] ? build_path_from_dentry+0xe2/0x3e0 [cifs]
[19695.045429] ? build_path_from_dentry+0xe2/0x3e0 [cifs]
[19695.045463] cifs_revalidate_dentry_attr+0x1d5/0x250 [cifs]
[19695.045497] cifs_getattr+0x51/0x110 [cifs]
[19695.045503] vfs_getattr_nosec+0x29/0x40
[19695.045508] vfs_getattr+0x26/0x30
[19695.045513] vfs_fstatat+0x78/0xc0
[19695.045518] SYSC_newlstat+0x31/0x60
[19695.045524] SyS_newlstat+0xe/0x10
[19695.045529] entry_SYSCALL_64_fastpath+0x1e/0xad
[19695.045532] RIP: 0033:0x7fda16c63c55
[19695.045535] RSP: 002b:00007ffe10f434f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000006
[19695.045538] RAX: ffffffffffffffda RBX: 00007fda16f31b20 RCX: 00007fda16c63c55
[19695.045540] RDX: 0000000000f61d60 RSI: 0000000000f61d60 RDI: 00007ffe10f43500
[19695.045542] RBP: 0000000000008041 R08: 0000000000000000 R09: 00000000000003c0
[19695.045544] R10: 00000000000001cc R11: 0000000000000246 R12: 00007fda16f31b78
[19695.045546] R13: 00007fda16f31b78 R14: 0000000000002710 R15: 0000000000404ad0

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: cifs-utils 2:6.4-1ubuntu1.1
ProcVersionSignature: Ubuntu 4.10.0-42.46~16.04.1-generic 4.10.17
Uname: Linux 4.10.0-42-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.15
Architecture: amd64
Date: Thu Jan 4 15:13:42 2018
InstallationDate: Installed on 2017-08-16 (141 days ago)
InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2)
SourcePackage: cifs-utils
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
kamiccolo (kamicc) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.