mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Chr <chunkeey@web.de>
To: linux-kernel@vger.kernel.org
Cc: petero2@telia.com, mingo@redhat.com, peterz@infradead.org
Subject: PKTCDVD: possible recursive locking detected with 2.6.24.4/3
Date: Mon, 24 Mar 2008 21:19:30 +0100	[thread overview]
Message-ID: <200803242119.30840.chunkeey@web.de> (raw)

Hi,

Whenever I start /etc/init.d/udftools. I get a warning from lockdep about
a possible recursive lockup... It looks like this:

--- 

Clocksource tsc unstable (delta = -80671344 ns)
pktcdvd: writer pktcdvd0 mapped to sr0

=============================================
[ INFO: possible recursive locking detected ]
2.6.24.4 #1
---------------------------------------------
scsi_id/4705 is trying to acquire lock:
 (&bdev->bd_mutex){--..}, at: [<ffffffff802a71a8>] do_open+0x74/0x2a9

but task is already holding lock:
 (&bdev->bd_mutex){--..}, at: [<ffffffff802a71a8>] do_open+0x74/0x2a9

other info that might help us debug this:
2 locks held by scsi_id/4705:
 #0:  (&bdev->bd_mutex){--..}, at: [<ffffffff802a71a8>] do_open+0x74/0x2a9
 #1:  (&ctl_mutex#2){--..}, at: [<ffffffff881ecf2a>] pkt_open+0x27/0xda1 
[pktcdvd]

stack backtrace:
Pid: 4705, comm: scsi_id Not tainted 2.6.24.4 #1

Call Trace:
 [<ffffffff80253b08>] __lock_acquire+0x1db/0xd3f
 [<ffffffff802a71a8>] do_open+0x74/0x2a9
 [<ffffffff802546f0>] lock_acquire+0x84/0xa8
 [<ffffffff802a71a8>] do_open+0x74/0x2a9
[...]
(full dmesg + backtrace: http://www.pastebin.ca/955702 )
---
Well, as you can see the function that tries to get the lock... has it 
already?! This sounds a bit bogus, what's going on here? Is this really
a locking bug or just lockdep noise?
(BTW: the pktcdvd device seems to work nonetheless...)

Regards,
	Christian

                 reply	other threads:[~2008-03-24 20:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=200803242119.30840.chunkeey@web.de \
    --to=chunkeey@web.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=petero2@telia.com \
    --cc=peterz@infradead.org \
    /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

all inboxes | Powered by JetHome®