Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753895AbYCXUTm (ORCPT ); Mon, 24 Mar 2008 16:19:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752023AbYCXUTe (ORCPT ); Mon, 24 Mar 2008 16:19:34 -0400 Received: from fmmailgate01.web.de ([217.72.192.221]:40782 "EHLO fmmailgate01.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751679AbYCXUTd (ORCPT ); Mon, 24 Mar 2008 16:19:33 -0400 From: Chr To: linux-kernel@vger.kernel.org Subject: PKTCDVD: possible recursive locking detected with 2.6.24.4/3 Date: Mon, 24 Mar 2008 21:19:30 +0100 User-Agent: KMail/1.9.9 Cc: petero2@telia.com, mingo@redhat.com, peterz@infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200803242119.30840.chunkeey@web.de> X-Provags-ID: V01U2FsdGVkX1+2q3RGoqC8GpN3/m3YC9ghUw1+2W2LyRbXjj13 gToSCZUsvkaaaEirrxynOw4ywcweSdcoBKCFyMdI1jDspql8Wa 30eA+T9M8= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1647 Lines: 49 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: [] do_open+0x74/0x2a9 but task is already holding lock: (&bdev->bd_mutex){--..}, at: [] do_open+0x74/0x2a9 other info that might help us debug this: 2 locks held by scsi_id/4705: #0: (&bdev->bd_mutex){--..}, at: [] do_open+0x74/0x2a9 #1: (&ctl_mutex#2){--..}, at: [] pkt_open+0x27/0xda1 [pktcdvd] stack backtrace: Pid: 4705, comm: scsi_id Not tainted 2.6.24.4 #1 Call Trace: [] __lock_acquire+0x1db/0xd3f [] do_open+0x74/0x2a9 [] lock_acquire+0x84/0xa8 [] 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/