[ 205.893954] ================================= [ 205.907009] [ INFO: inconsistent lock state ] [ 205.920093] 3.6.0-rc2-00283-g6b8b5a0 #1 Not tainted [ 205.934723] --------------------------------- [ 205.947802] inconsistent {HARDIRQ-ON-W} -> {IN-HARDIRQ-W} usage. [ 205.965835] inaro.wallpaper/2079 [HC1[1]:SC0[0]:HE0:SE1] takes: [ 205.983585] (&(&client->buffer_lock)->rlock){?.+...}, at: [] evdev_pass_event+0x44/0x11c [ 206.010790] {HARDIRQ-ON-W} state was registered at: [ 206.025396] [] mark_held_locks+0x5c/0x130 [ 206.040557] [] trace_hardirqs_on_caller+0xa8/0x190 [ 206.058049] [] _raw_spin_unlock_irq+0x24/0x2c [ 206.074254] [] evdev_ioctl+0x260/0x91c [ 206.088619] [] do_vfs_ioctl+0x80/0x538 [ 206.102986] [] sys_ioctl+0x34/0x60 [ 206.116305] [] ret_fast_syscall+0x0/0x3c [ 206.131212] irq event stamp: 161284 [ 206.141649] hardirqs last enabled at (161282): [] _raw_spin_unlock_irq+0x24/0x2c [ 206.166695] hardirqs last disabled at (161283): [] __do_softirq+0x13c/0x24c [ 206.190181] softirqs last enabled at (161284): [] __do_softirq+0x180/0x24c [ 206.213659] softirqs last disabled at (161279): [] irq_exit+0x90/0x98 [ 206.235573] [ 206.235573] other info that might help us debug this: [ 206.255127] Possible unsafe locking scenario: [ 206.255127] [ 206.272858] CPU0 [ 206.280167] ---- [ 206.287476] lock(&(&client->buffer_lock)->rlock); [ 206.302104] [ 206.309933] lock(&(&client->buffer_lock)->rlock); [ 206.325082] [ 206.325082] *** DEADLOCK *** [ 206.325082] [ 206.342820] 3 locks held by inaro.wallpaper/2079: [ 206.356903] #0: (&(&dev->event_lock)->rlock){-.....}, at: [] input_event+0x38/0x70 [ 206.382782] #1: (rcu_read_lock){.+.+..}, at: [] input_pass_event+0x0/0x120 [ 206.406571] #2: (rcu_read_lock){.+.+..}, at: [] evdev_event+0x0/0x138 [ 206.429063] [ 206.429063] stack backtrace: [ 206.442138] [] (unwind_backtrace+0x0/0xf8) from [] (print_usage_bug+0x250/0x2b8) [ 206.469527] [] (print_usage_bug+0x250/0x2b8) from [] (mark_lock+0x294/0x69c) [ 206.495868] [] (mark_lock+0x294/0x69c) from [] (__lock_acquire+0x9c4/0x19c4) [ 206.522209] [] (__lock_acquire+0x9c4/0x19c4) from [] (lock_acquire+0x94/0x108) [ 206.549071] [] (lock_acquire+0x94/0x108) from [] (_raw_spin_lock+0x2c/0x3c) [ 206.575155] [] (_raw_spin_lock+0x2c/0x3c) from [] (evdev_pass_event+0x44/0x11c) [ 206.602278] [] (evdev_pass_event+0x44/0x11c) from [] (evdev_event+0x110/0x138) [ 206.629137] [] (evdev_event+0x110/0x138) from [] (input_pass_event+0x110/0x120) [ 206.656256] [] (input_pass_event+0x110/0x120) from [] (input_event+0x60/0x70) [ 206.682868] [] (input_event+0x60/0x70) from [] (hidinput_hid_event+0x244/0x384) [ 206.709993] [] (hidinput_hid_event+0x244/0x384) from [] (hid_process_event+0x12c/0x158) [ 206.739199] [] (hid_process_event+0x12c/0x158) from [] (hid_report_raw_event+0x314/0x384) [ 206.768926] [] (hid_report_raw_event+0x314/0x384) from [] (hid_input_report+0x198/0x230) [ 206.798394] [] (hid_input_report+0x198/0x230) from [] (hid_irq_in+0x120/0x1b8) [ 206.825263] [] (hid_irq_in+0x120/0x1b8) from [] (usb_hcd_giveback_urb+0x4c/0xbc) [ 206.852653] [] (usb_hcd_giveback_urb+0x4c/0xbc) from [] (schedule_ptds+0x400/0x7a8) [ 206.880818] [] (schedule_ptds+0x400/0x7a8) from [] (handle_done_ptds+0x414/0x49c) [ 206.908460] [] (handle_done_ptds+0x414/0x49c) from [] (isp1760_irq+0x90/0xac) [ 206.935059] [] (isp1760_irq+0x90/0xac) from [] (usb_hcd_irq+0x34/0x6c) [ 206.959835] [] (usb_hcd_irq+0x34/0x6c) from [] (handle_irq_event_percpu+0x5c/0x244) [ 206.987995] [] (handle_irq_event_percpu+0x5c/0x244) from [] (handle_irq_event+0x3c/0x5c) [ 207.017462] [] (handle_irq_event+0x3c/0x5c) from [] (handle_fasteoi_irq+0x98/0x158) [ 207.045688] [] (handle_fasteoi_irq+0x98/0x158) from [] (generic_handle_irq+0x24/0x38) [ 207.074421] [] (generic_handle_irq+0x24/0x38) from [] (handle_IRQ+0x4c/0xb0) [ 207.100792] [] (handle_IRQ+0x4c/0xb0) from [] (gic_handle_irq+0x24/0x58) [ 207.126117] [] (gic_handle_irq+0x24/0x58) from [] (__irq_usr+0x3c/0x60) [ 207.151150] Exception stack(0xee929fb0 to 0xee929ff8) [ 207.166285] 9fa0: 9a1cf400 ff050505 00000400 b6d3d008 [ 207.190795] 9fc0: 9a1cf000 00000079 00001000 00001000 ff050505 bebfd590 b6c18fac b8789c80 [ 207.215302] 9fe0: 00000006 bebfd408 b6c18fd4 b6be2a88 200f0010 ffffffff