Package: mlocate
Version: 0.22.2-1
Severity: normal

Hi,

I just got a suspend failure due to a hanging updatedb.mlocate. The reason
seems to be a hanging NFSv4 mount caused the server being switched off:

Freezing user space processes ... 
Freezing of tasks failed after 20.00 seconds (1 tasks refusing to freeze):
updatedb.mloc D ffff88008e907578     0  9268   9261 0x00800004
 ffff88008e907330 0000000000000082 00000000ffffffd0 ffffffff00000000
 ffff8800be149850 0000000000011cc0 0000000000004000 0000000000004000
 0000000000011cc0 ffff88008ca8bfd8 ffff88008e907330 ffff88008ca8bfd8
Call Trace:
 [<ffffffff81032a57>] ? add_preempt_count+0x67/0xc0
 [<ffffffff8144e42e>] ? _raw_spin_lock_irqsave+0x1e/0x50
 [<ffffffff8141e860>] ? rpc_wait_bit_killable+0x0/0x40
 [<ffffffff8141e87f>] ? rpc_wait_bit_killable+0x1f/0x40
 [<ffffffff8141e860>] ? rpc_wait_bit_killable+0x0/0x40
 [<ffffffff8144c7a1>] ? __wait_on_bit+0x51/0x80
 [<ffffffff8141e860>] ? rpc_wait_bit_killable+0x0/0x40
 [<ffffffff8144c847>] ? out_of_line_wait_on_bit+0x77/0x90
 [<ffffffff81052850>] ? wake_bit_function+0x0/0x40
 [<ffffffff810320a9>] ? get_parent_ip+0x9/0x20
 [<ffffffff8141f11c>] ? __rpc_execute+0xec/0x290
 [<ffffffff81417f7c>] ? rpc_run_task+0x1c/0x30
 [<ffffffff8141808b>] ? rpc_call_sync+0x3b/0x70
 [<ffffffff8119962b>] ? _nfs4_proc_getattr+0x9b/0xc0
 [<ffffffff8119968e>] ? nfs4_proc_getattr+0x3e/0x60
 [<ffffffff81183cdf>] ? __nfs_revalidate_inode+0xcf/0x200
 [<ffffffff8118441d>] ? nfs_getattr+0x5d/0x130
 [<ffffffff810ce422>] ? vfs_fstatat+0x62/0x80
 [<ffffffff810ce5ef>] ? sys_newlstat+0x1f/0x50
 [<ffffffff810c96ea>] ? sys_fchdir+0x4a/0x90
 [<ffffffff81002dab>] ? system_call_fastpath+0x16/0x1b

After I switched on the server, the updatedb process finished normally.

I think this should not happen when NFSv4 is excluded from updatedb:

$ cat /etc/updatedb.conf 
PRUNE_BIND_MOUNTS="yes"
# PRUNENAMES=".git .bzr .hg .svn"
PRUNEPATHS="/tmp /var/spool /media"
PRUNEFS="NFS nfs nfs4 rpc_pipefs afs binfmt_misc proc smbfs autofs iso9660
ncpfs coda devpts ftpfs devfs mfs shfs sysfs cifs lustre_lite tmpfs usbfs
udf fuse.glusterfs fuse.sshfs"

$ mount | grep nfs
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
mac:/ on /mnt type nfs4 
(rw,rsize=16384,wsize=16384,tcp,addr=10.100.1.1,clientaddr=10.100.1.5)

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.35-rc6-05191-ga87fb8a (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mlocate depends on:
ii  adduser                       3.112      add and remove users and groups
ii  libc6                         2.11.2-2   Embedded GNU C Library: Shared lib

mlocate recommends no packages.

mlocate suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to