From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932114AbXDMTOS (ORCPT ); Fri, 13 Apr 2007 15:14:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754141AbXDMTOS (ORCPT ); Fri, 13 Apr 2007 15:14:18 -0400 Received: from mx1.redhat.com ([66.187.233.31]:40254 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754139AbXDMTOR (ORCPT ); Fri, 13 Apr 2007 15:14:17 -0400 Date: Fri, 13 Apr 2007 15:14:15 -0400 From: Dave Jones To: Linux Kernel Subject: i8042 lockdep false positive. Message-ID: <20070413191415.GA27682@redhat.com> Mail-Followup-To: Dave Jones , Linux Kernel Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org I just had a user file the report below, which iirc, was deemed a false positive. Didn't we add something to the code so that lockdep would ignore what this was doing ? Did we regress? (This was .21-rc5, during resume) Dave > ============================================= > [ INFO: possible recursive locking detected ] > 2.6.20-1.3062.fc7 #1 > --------------------------------------------- > kseriod/216 is trying to acquire lock: > (&ps2dev->cmd_mutex){--..}, at: [] mutex_lock+0x21/0x24 > > but task is already holding lock: > (&ps2dev->cmd_mutex){--..}, at: [] mutex_lock+0x21/0x24 > > other info that might help us debug this: > 5 locks held by kseriod/216: > #0: (serio_mutex){--..}, at: [] mutex_lock+0x21/0x24 > #1: (&s->rwsem){----}, at: [] serio_find_driver+0x13/0x50 > #2: (&serio->drv_mutex){--..}, at: [] mutex_lock+0x21/0x24 > #3: (psmouse_mutex){--..}, at: [] mutex_lock+0x21/0x24 > #4: (&ps2dev->cmd_mutex){--..}, at: [] mutex_lock+0x21/0x24 > > stack backtrace: > [] show_trace_log_lvl+0x1a/0x2f > [] show_trace+0x12/0x14 > [] dump_stack+0x16/0x18 > [] __lock_acquire+0x11f/0xba4 > [] lock_acquire+0x56/0x6f > [] __mutex_lock_slowpath+0xf7/0x26e > [] mutex_lock+0x21/0x24 > [] ps2_command+0x92/0x319 > [] psmouse_sliced_command+0x1c/0x5a > [] synaptics_pt_write+0x1e/0x41 > [] ps2_sendbyte+0x39/0xcb > [] ps2_command+0x10c/0x319 > [] psmouse_probe+0x1d/0x6c > [] psmouse_connect+0xed/0x205 > [] serio_connect_driver+0x1e/0x2e > [] serio_driver_probe+0x16/0x18 > [] really_probe+0xc7/0x150 > [] driver_probe_device+0x95/0xa1 > [] __device_attach+0x8/0xa > [] bus_for_each_drv+0x3a/0x65 > [] device_attach+0x68/0x7d > [] serio_find_driver+0x1e/0x50 > [] serio_thread+0x153/0x2a6 > [] kthread+0xb3/0xdc > [] kernel_thread_helper+0x7/0x10 > ======================= -- http://www.codemonkey.org.uk