Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932236AbWH3X3o (ORCPT ); Wed, 30 Aug 2006 19:29:44 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932238AbWH3X3o (ORCPT ); Wed, 30 Aug 2006 19:29:44 -0400 Received: from gateway.insightbb.com ([74.128.0.19]:1863 "EHLO asav00.insightbb.com") by vger.kernel.org with ESMTP id S932236AbWH3X3n (ORCPT ); Wed, 30 Aug 2006 19:29:43 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aa4HAP+69USBT4lXLA From: Dmitry Torokhov To: "Luiz Fernando N. Capitulino" Subject: Re: LOCKDEP: input layer warning. Date: Wed, 30 Aug 2006 19:29:35 -0400 User-Agent: KMail/1.9.3 Cc: arjan@linux.intel.com, linux-kernel@vger.kernel.org References: <20060830171120.32466551@doriath.conectiva> In-Reply-To: <20060830171120.32466551@doriath.conectiva> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200608301929.35456.dtor@insightbb.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3634 Lines: 95 Hi Luiz, On Wednesday 30 August 2006 16:11, Luiz Fernando N. Capitulino wrote: > > Hi Dmitry, > > A Mandriva user is getting the lockdep warning bellow when running an > unpatched 2.6.18-rc5 kernel. > > But according to this thread: > > http://www.uwsg.iu.edu/hypermail/linux/kernel/0607.0/1598.html > > this was reported already, but not fixed. I am still convinced that this is a false lockdep positive. The lock in question is actuallt 2 separate mutextes, one on parent PS/2 device and another on the child connected via synaptics' pass-through port. > > ============================================= > [ INFO: possible recursive locking detected ] > --------------------------------------------- > kseriod/187 is trying to acquire lock: > (&ps2dev->cmd_mutex/1){--..}, at: [] ps2_command+0x7b/0x2d6 > > but task is already holding lock: > (&ps2dev->cmd_mutex/1){--..}, at: [] ps2_command+0x7b/0x2d6 > > other info that might help us debug this: > 4 locks held by kseriod/187: > #0: (serio_mutex){--..}, at: [] mutex_lock+0x1c/0x1f > #1: (&serio->drv_mutex){--..}, at: [] mutex_lock+0x1c/0x1f > #2: (psmouse_mutex){--..}, at: [] mutex_lock+0x1c/0x1f > #3: (&ps2dev->cmd_mutex/1){--..}, at: [] ps2_command+0x7b/0x2d6 > > stack backtrace: > [] show_trace_log_lvl+0x58/0x152 > [] show_trace+0xd/0x10 > [] dump_stack+0x19/0x1b > [] __lock_acquire+0x755/0x973 > [] lock_acquire+0x4b/0x6c > [] mutex_lock_nested+0xc3/0x209 > [] ps2_command+0x7b/0x2d6 > [] psmouse_sliced_command+0x1c/0x5a > [] synaptics_pt_write+0x1e/0x44 > [] ps2_sendbyte+0x3e/0xd6 > [] ps2_command+0xfc/0x2d6 > [] psmouse_probe+0x1d/0x68 > [] psmouse_connect+0xe8/0x20f > [] serio_connect_driver+0x1e/0x2e > [] serio_driver_probe+0x16/0x18 > [] driver_probe_device+0x45/0x92 > [] __device_attach+0x8/0xa > [] bus_for_each_drv+0x3c/0x67 > [] device_attach+0x54/0x69 > [] bus_attach_device+0x16/0x2b > [] device_add+0x1f8/0x2e3 > [] serio_thread+0xd0/0x28f > [] kthread+0xc3/0xf2 > [] kernel_thread_helper+0x5/0xb > DWARF2 unwinder stuck at kernel_thread_helper+0x5/0xb > Leftover inexact backtrace: > [] show_trace+0xd/0x10 > [] dump_stack+0x19/0x1b > [] __lock_acquire+0x755/0x973 > [] lock_acquire+0x4b/0x6c > [] mutex_lock_nested+0xc3/0x209 > [] ps2_command+0x7b/0x2d6 > [] psmouse_sliced_command+0x1c/0x5a > [] synaptics_pt_write+0x1e/0x44 > [] ps2_sendbyte+0x3e/0xd6 > [] ps2_command+0xfc/0x2d6 > [] psmouse_probe+0x1d/0x68 > [] psmouse_connect+0xe8/0x20f > [] serio_connect_driver+0x1e/0x2e > [] serio_driver_probe+0x16/0x18 > [] driver_probe_device+0x45/0x92 > [] __device_attach+0x8/0xa > [] bus_for_each_drv+0x3c/0x67 > [] device_attach+0x54/0x69 > [] bus_attach_device+0x16/0x2b > [] device_add+0x1f8/0x2e3 > [] serio_thread+0xd0/0x28f > [] kthread+0xc3/0xf2 > [] kernel_thread_helper+0x5/0xb > -- Dmitry - 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/