Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756236AbYGaJmH (ORCPT ); Thu, 31 Jul 2008 05:42:07 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756420AbYGaJl3 (ORCPT ); Thu, 31 Jul 2008 05:41:29 -0400 Received: from po-out-1718.google.com ([72.14.252.153]:23847 "EHLO po-out-1718.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756379AbYGaJl1 (ORCPT ); Thu, 31 Jul 2008 05:41:27 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=jxRsApqe3HVVoJdXK0403JQ6XL61CU/SRAH0jmOqwsJXQG8teJcC77b7Ki/Cw42Kso XsUyQ9vxO8/t49Kw8j/QvPbIHG8DKQxh2uxoirFheQRE/bBqSCbKf/6uh+dNpL0ChYWw XHIHGoTKngRmoM3/ZXKUCbo1/WMhtzwGtDuTU= Message-ID: Date: Thu, 31 Jul 2008 11:41:25 +0200 From: "Zdenek Kabelac" To: "Linux Kernel Mailing List" Subject: INFO: possible recursive locking detected ps2_command MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3677 Lines: 84 Hi During mouse unplugging from psaux connector from the laptops' docking station I've got attached INFO trace. (laptops still has synaptics device) Also for unknown reason to me psaux mouse & synaptic device do not work somehow together - is it hw limitation of /dev/input/mice interface? (USB mouse and synaptics do work quite well together) [ INFO: possible recursive locking detected ] 2.6.27-rc1 #48 --------------------------------------------- kseriod/166 is trying to acquire lock: (&ps2dev->cmd_mutex){--..}, at: [] ps2_command+0x5e/0x460 but task is already holding lock: (&ps2dev->cmd_mutex){--..}, at: [] ps2_command+0x5e/0x460 other info that might help us debug this: 4 locks held by kseriod/166: #0: (serio_mutex){--..}, at: [] serio_thread+0x3e/0x410 #1: (&serio->drv_mutex){--..}, at: [] serio_connect_driver+0x2b/0x50 #2: (psmouse_mutex){--..}, at: [] psmouse_connect+0x30/0x2c0 [psmouse] #3: (&ps2dev->cmd_mutex){--..}, at: [] ps2_command+0x5e/0x460 stack backtrace: Pid: 166, comm: kseriod Not tainted 2.6.27-rc1 #48 Call Trace: [] __lock_acquire+0xcea/0x13b0 [] ? trace_hardirqs_off_caller+0x21/0xc0 [] ? trace_hardirqs_off+0xd/0x10 [] ? ps2_command+0x5e/0x460 [] lock_acquire+0x96/0xe0 [] ? ps2_command+0x5e/0x460 [] mutex_lock_nested+0xc1/0x340 [] ? ps2_command+0x5e/0x460 [] ? native_sched_clock+0x90/0xb0 [] ps2_command+0x5e/0x460 [] ? trace_hardirqs_off_caller+0x21/0xc0 [] ? get_lock_stats+0x34/0x70 [] psmouse_sliced_command+0x2d/0x90 [psmouse] [] ? ps2_sendbyte+0x48/0x130 [] synaptics_pt_write+0x27/0x60 [psmouse] [] ? _spin_unlock_irq+0x3d/0x80 [] ps2_sendbyte+0x5d/0x130 [] ? sub_preempt_count+0x80/0x120 [] ps2_command+0xfd/0x460 [] ? sub_preempt_count+0x80/0x120 [] ? _spin_unlock_irq+0x3d/0x80 [] psmouse_probe+0x27/0xa0 [psmouse] [] ? serio_open+0x11/0x50 [] psmouse_connect+0x178/0x2c0 [psmouse] [] serio_connect_driver+0x36/0x50 [] serio_driver_probe+0x1b/0x20 [] driver_probe_device+0xa2/0x1e0 [] ? __device_attach+0x0/0x10 [] __device_attach+0x9/0x10 [] bus_for_each_drv+0x6b/0xa0 [] device_attach+0x88/0x90 [] bus_attach_device+0x55/0x80 [] device_add+0x4f9/0x610 [] ? sub_preempt_count+0x80/0x120 [] serio_thread+0x23c/0x410 [] ? autoremove_wake_function+0x0/0x40 [] ? serio_thread+0x0/0x410 [] kthread+0x49/0x90 [] child_rip+0xa/0x11 [] ? finish_task_switch+0x57/0x110 [] ? _spin_unlock_irq+0x3d/0x80 [] ? restore_args+0x0/0x30 [] ? trace_hardirqs_off+0xd/0x10 [] ? kthread+0x0/0x90 [] ? child_rip+0x0/0x11 -- 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/