public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* lock issues
@ 2004-10-11 22:57 Herbert Poetzl
  2004-10-12  0:08 ` Trond Myklebust
  0 siblings, 1 reply; 4+ messages in thread
From: Herbert Poetzl @ 2004-10-11 22:57 UTC (permalink / raw)
  To: Trond Myklebust; +Cc: linux-kernel


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-10-12 18:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-11 22:57 lock issues Herbert Poetzl
2004-10-12  0:08 ` Trond Myklebust
2004-10-12 14:29   ` Herbert Poetzl
2004-10-12 17:58     ` Olivier Poitrey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox