CIFS hangs if server goes down, even if 'soft' is enabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Hi, I have a NAS mounted as follows:
//mybook/Public /mnt/mybook cifs nodev,soft,
Unfortunately, the 'soft' option doesn't seem to be honored. When the server goes down, all programs lock up trying to access it and cannot be killed (kill -9 is ineffective). Umount yields and error unless -l is given, in which case it hangs.
dmesg has the following messages:
[ 2160.228973] INFO: task rsync:20808 blocked for more than 120 seconds.
[ 2160.228975] "echo 0 > /proc/sys/
[ 2160.228978] rsync D 0000000000000002 0 20808 1 0x00000004
[ 2160.228982] ffff8801c1305878 0000000000000082 ffff8801c1305fd8 0000000000000286
[ 2160.228987] ffff8801c1305fd8 ffff8801c1305fd8 ffff8801c1305fd8 00000000000137c0
[ 2160.228992] ffff88010c5cc500 ffff88032b4edc00 ffff8801c1305868 ffff8802bb624220
[ 2160.228996] Call Trace:
[ 2160.229001] [<ffffffff81658
[ 2160.229004] [<ffffffff81659
[ 2160.229008] [<ffffffff8165a
[ 2160.229012] [<ffffffff81659
[ 2160.229018] [<ffffffffa0eb3
[ 2160.229022] [<ffffffff8108a
[ 2160.229029] [<ffffffffa0eb4
[ 2160.229036] [<ffffffffa0eb6
[ 2160.229045] [<ffffffffa0ec9
[ 2160.229049] [<ffffffff81122
[ 2160.229053] [<ffffffff81122
[ 2160.229057] [<ffffffff81123
[ 2160.229061] [<ffffffff81123
[ 2160.229065] [<ffffffff81123
[ 2160.229071] [<ffffffff81310
[ 2160.229076] [<ffffffff81117
[ 2160.229081] [<ffffffff81118
[ 2160.229086] [<ffffffff81119
[ 2160.229091] [<ffffffff81177
[ 2160.229096] [<ffffffff8129d
[ 2160.229100] [<ffffffff81177
[ 2160.229103] [<ffffffff81178
[ 2160.229106] [<ffffffff81178
[ 2160.229110] [<ffffffff81663
So far, the only remedy to clear the programs (and bring the mount back online) is to reboot.
Thanks!
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: linux-image-
ProcVersionSign
Uname: Linux 3.2.0-32-generic x86_64
NonfreeKernelMo
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 2.0.1-0ubuntu14
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
Card hw:0 'Intel'/'HDA Intel at 0xf7df8000 irq 79'
Mixer name : 'Realtek ALC889'
Components : 'HDA:10ec0889,
Controls : 47
Simple ctrls : 23
Card1.Amixer.info:
Card hw:1 'NVidia'/'HDA NVidia at 0xfbcfc000 irq 34'
Mixer name : 'Nvidia GPU 11 HDMI/DP'
Components : 'HDA:10de0011,
Controls : 24
Simple ctrls : 4
Date: Wed Oct 31 10:03:45 2012
HibernationDevice: RESUME=
IwConfig: Error: [Errno 2] No such file or directory
MachineType: System manufacturer System Product Name
ProcEnviron:
LANGUAGE=en_US:en
TERM=rxvt-unicode
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB:
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.79.1
RfKill: Error: [Errno 2] No such file or directory
SourcePackage: linux
UdevDb: Error: [Errno 2] No such file or directory
UpgradeStatus: Upgraded to precise on 2012-09-24 (37 days ago)
UserAsoundrc:
# Select PulseAudio as the default sound device
pcm.!default {
type pulse
}
dmi.bios.date: 11/16/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0502
dmi.board.
dmi.board.name: P6X58D-E
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: System Product Name
dmi.product.
dmi.sys.vendor: System manufacturer
Changed in linux (Ubuntu): | |
status: | New → Confirmed |
It appears that after mounting with -l and waiting for ~15 minutes, the drive comes back up.