From: Herbert Poetzl <herbert@13thfloor.at>
To: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: linux-kernel@vger.kernel.org
Subject: lock issues
Date: Tue, 12 Oct 2004 00:57:01 +0200 [thread overview]
Message-ID: <20041011225700.GD32228@DUMA.13thfloor.at> (raw)
Hi Trond!
experiencing the following panic on a linux-vserver
kernel (2.6.9-rc4, no modifications to locking)
Kernel panic - not syncing: Attempting to free lock with active block list
it's not easy to trigger but it happens now and then.
after adding a dump_stack() in panic() this is the trace
[<8011b945>] panic+0x55/0xe0
[<80174897>] fcntl_setlk64+0x137/0x2d0
[<80119540>] autoremove_wake_function+0x0/0x60
[<80179aba>] dnotify_parent+0x3a/0xb0
[<8015dc49>] fget+0x49/0x60
[<8016fa5b>] sys_fcntl64+0x4b/0xa0
[<8010426f>] syscall_call+0x7/0xb
it's the locks_free_lock(file_lock); at the end of
fcntl_setlk64() and I'm asking myself if something
like in sys_flock()
if (list_empty(&lock->fl_link)) {
locks_free_lock(lock);
}
would help here or just paper over the real issue?
TIA,
Herbert
next reply other threads:[~2004-10-11 22:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-11 22:57 Herbert Poetzl [this message]
2004-10-12 0:08 ` Trond Myklebust
2004-10-12 14:29 ` Herbert Poetzl
2004-10-12 17:58 ` Olivier Poitrey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041011225700.GD32228@DUMA.13thfloor.at \
--to=herbert@13thfloor.at \
--cc=linux-kernel@vger.kernel.org \
--cc=trond.myklebust@fys.uio.no \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome