Bug 206712 - NFS-Server has mutex problems
Summary: NFS-Server has mutex problems
Keywords:
Status: CLOSED DUPLICATE of bug 199936
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel
Version: 5.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Red Hat Kernel Manager
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-09-15 20:27 UTC by romal
Modified: 2007-11-30 22:07 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-09-21 03:07:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description romal 2006-09-15 20:27:35 UTC
Description of problem:

nfs-server complains about mutex problems.

from /var/log/messages

Sep 15 17:59:35 niep mountd[1869]: Fake hostname noname for 192.168.1.101 -
forward lookup doesn't exist
Sep 15 17:59:35 niep mountd[1869]: authenticated mount request from
192.168.1.101:1016 for /home/romal (/home/romal)
Sep 15 18:02:15 niep kernel: 
Sep 15 18:02:15 niep kernel: =============================================
Sep 15 18:02:15 niep kernel: [ INFO: possible recursive locking detected ]
Sep 15 18:02:15 niep kernel: ---------------------------------------------
Sep 15 18:02:15 niep kernel: nfsd/1863 is trying to acquire lock:
Sep 15 18:02:15 niep kernel:  (&inode->i_mutex){--..}, at: [<c0611368>]
mutex_lock+0x21/0x24
Sep 15 18:02:15 niep kernel: 
Sep 15 18:02:15 niep kernel: but task is already holding lock:
Sep 15 18:02:15 niep kernel:  (&inode->i_mutex){--..}, at: [<c0611368>]
mutex_lock+0x21/0x24
Sep 15 18:02:15 niep kernel: 
Sep 15 18:02:15 niep kernel: other info that might help us debug this:
Sep 15 18:02:15 niep kernel: 2 locks held by nfsd/1863:
Sep 15 18:02:15 niep kernel:  #0:  (hash_sem){..--}, at: [<f0c044fa>]
exp_readlock+0xd/0xf [nfsd]
Sep 15 18:02:16 niep kernel:  #1:  (&inode->i_mutex){--..}, at: [<c0611368>]
mutex_lock+0x21/0x24
Sep 15 18:02:16 niep kernel: 
Sep 15 18:02:16 niep kernel: stack backtrace:
Sep 15 18:02:16 niep kernel:  [<c04051ee>] show_trace_log_lvl+0x58/0x159
Sep 15 18:02:16 niep kernel:  [<c04057ea>] show_trace+0xd/0x10
Sep 15 18:02:16 niep kernel:  [<c0405903>] dump_stack+0x19/0x1b
Sep 15 18:02:16 niep kernel:  [<c043b9c0>] __lock_acquire+0x773/0x997
Sep 15 18:02:16 niep kernel:  [<c043c155>] lock_acquire+0x4b/0x6a
Sep 15 18:02:16 niep kernel:  [<c06111f9>] __mutex_lock_slowpath+0xbc/0x20a
Sep 15 18:02:16 niep kernel:  [<c0611368>] mutex_lock+0x21/0x24
Sep 15 18:02:16 niep kernel:  [<c047fd1c>] vfs_unlink+0x73/0xe3
Sep 15 18:02:16 niep kernel:  [<f0c0109a>] nfsd_unlink+0x18f/0x1e2 [nfsd]
Sep 15 18:02:16 niep kernel:  [<f0c081e0>] nfsd3_proc_remove+0x95/0xa2 [nfsd]
Sep 15 18:02:16 niep kernel:  [<f0bfe0d4>] nfsd_dispatch+0xc0/0x178 [nfsd]
Sep 15 18:02:16 niep kernel:  [<f0b797cb>] svc_process+0x3a4/0x5ee [sunrpc]
Sep 15 18:02:16 niep kernel:  [<f0bfe5f6>] nfsd+0x197/0x2e1 [nfsd]
Sep 15 18:02:16 niep kernel:  [<c0402005>] kernel_thread_helper+0x5/0xb
Sep 15 18:02:16 niep kernel: DWARF2 unwinder stuck at kernel_thread_helper+0x5/0xb
Sep 15 18:02:16 niep kernel: Leftover inexact backtrace:
Sep 15 18:02:16 niep kernel:  [<c04057ea>] show_trace+0xd/0x10
Sep 15 18:02:16 niep kernel:  [<c0405903>] dump_stack+0x19/0x1b
Sep 15 18:02:16 niep kernel:  [<c043b9c0>] __lock_acquire+0x773/0x997
Sep 15 18:02:16 niep kernel:  [<c043c155>] lock_acquire+0x4b/0x6a
Sep 15 18:02:16 niep kernel:  [<c06111f9>] __mutex_lock_slowpath+0xbc/0x20a
Sep 15 18:02:16 niep kernel:  [<c0611368>] mutex_lock+0x21/0x24
Sep 15 18:02:16 niep kernel:  [<c047fd1c>] vfs_unlink+0x73/0xe3
Sep 15 18:02:16 niep kernel:  [<f0c0109a>] nfsd_unlink+0x18f/0x1e2 [nfsd]
Sep 15 18:02:16 niep kernel:  [<f0c081e0>] nfsd3_proc_remove+0x95/0xa2 [nfsd]
Sep 15 18:02:16 niep kernel:  [<f0bfe0d4>] nfsd_dispatch+0xc0/0x178 [nfsd]
Sep 15 18:02:16 niep kernel:  [<f0b797cb>] svc_process+0x3a4/0x5ee [sunrpc]
Sep 15 18:02:16 niep kernel:  [<f0bfe5f6>] nfsd+0x197/0x2e1 [nfsd]
Sep 15 18:02:16 niep kernel:  [<c0402005>] kernel_thread_helper+0x5/0xb
Sep 15 18:19:23 niep mountd[1869]: Fake hostname noname for 192.168.1.101 -
forward lookup doesn't exist
Sep 15 18:19:23 niep mountd[1869]: authenticated unmount request from
192.168.1.101:1014 for /home/romal (/home/romal)


Version-Release number of selected component (if applicable):


How reproducible:

happens multiple times every day.

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Did not happen on RHEL4U3. The system was updated to RHEL5B1 and the problem
showed up.

Comment 1 Jay Turner 2006-09-21 03:07:57 UTC
This issue is a result of some new lock detection code we enabled in the RHEL5
betas.

*** This bug has been marked as a duplicate of 199936 ***


Note You need to log in before you can comment on or make changes to this bug.