lockdep input layer warnings.

From: Dave Jones
Date: Thu Jul 06 2006 - 13:32:35 EST


One of our Fedora-devel users picked up on this this morning
in an 18rc1 based kernel.

Dave


Synaptics Touchpad, model: 1, fw: 5.9, id: 0x2c6ab1, caps: 0x884793/0x0
serio: Synaptics pass-through port at isa0060/serio1/input0
input: SynPS/2 Synaptics TouchPad as /class/input/input1
PM: Adding info for serio:serio2

=============================================
[ INFO: possible recursive locking detected ]
---------------------------------------------
kseriod/111 is trying to acquire lock:
(&ps2dev->cmd_mutex/1){--..}, at: [<c05937fd>] ps2_command+0x6a/0x2bd

but task is already holding lock:
(&ps2dev->cmd_mutex/1){--..}, at: [<c05937fd>] ps2_command+0x6a/0x2bd

other info that might help us debug this:
4 locks held by kseriod/111:
#0: (serio_mutex){--..}, at: [<c060d6bb>] mutex_lock+0x21/0x24
#1: (&serio->drv_mutex){--..}, at: [<c060d6bb>] mutex_lock+0x21/0x24
#2: (psmouse_mutex){--..}, at: [<c060d6bb>] mutex_lock+0x21/0x24
#3: (&ps2dev->cmd_mutex/1){--..}, at: [<c05937fd>] ps2_command+0x6a/0x2bd

stack backtrace:
[<c0405167>] show_trace_log_lvl+0x54/0xfd
[<c040571e>] show_trace+0xd/0x10
[<c040583d>] dump_stack+0x19/0x1b
[<c043bdb2>] __lock_acquire+0x76a/0x98d
[<c043c546>] lock_acquire+0x4b/0x6d
[<c060d793>] mutex_lock_nested+0xd5/0x251
[<c05937fd>] ps2_command+0x6a/0x2bd
[<c0598f41>] psmouse_sliced_command+0x1c/0x5a
[<c059c45a>] synaptics_pt_write+0x1e/0x44
[<c05936fb>] ps2_sendbyte+0x3e/0xd6
[<c0593879>] ps2_command+0xe6/0x2bd
[<c0598b3e>] psmouse_probe+0x1d/0x68
[<c0599ad0>] psmouse_connect+0xe8/0x20f
[<c05910d9>] serio_connect_driver+0x1e/0x2e
[<c05910ff>] serio_driver_probe+0x16/0x18
[<c0550076>] driver_probe_device+0x45/0x92
[<c05500cb>] __device_attach+0x8/0xa
[<c054fa0c>] bus_for_each_drv+0x3a/0x65
[<c0550126>] device_attach+0x59/0x6e
[<c054f74a>] bus_attach_device+0x16/0x2b
[<c054eb03>] device_add+0x1f4/0x307
[<c0591b9d>] serio_thread+0xfd/0x27c
[<c04365dc>] kthread+0xc3/0xef
[<c0402005>] kernel_thread_helper+0x5/0xb

--
http://www.codemonkey.org.uk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/