[ 138.940095] [ 138.941685] ============================================= [ 138.947320] [ INFO: possible recursive locking detected ] [ 138.952956] 4.6.0 #66 Tainted: G W [ 138.957678] --------------------------------------------- [ 138.963307] interpreter/380 is trying to acquire lock: [ 138.968662] (&port_lock_key){-.-...}, at: [] uart_write_room+0x10/0x3c [ 138.976525] [ 138.976525] but task is already holding lock: [ 138.982611] (&port_lock_key){-.-...}, at: [] serial_omap_irq+0x14/0x3c4 [ 138.990546] [ 138.990546] other info that might help us debug this: [ 138.997354] Possible unsafe locking scenario: [ 138.997354] [ 139.003526] CPU0 [ 139.006075] ---- [ 139.008623] lock(&port_lock_key); [ 139.012267] lock(&port_lock_key); [ 139.015919] [ 139.015919] *** DEADLOCK *** [ 139.015919] [ 139.022092] May be due to missing lock nesting notation [ 139.022092] [ 139.029179] 2 locks held by interpreter/380: [ 139.033627] #0: (&port_lock_key){-.-...}, at: [] serial_omap_irq+0x14/0x3c4 [ 139.042010] #1: (&tty->ldisc_sem){++++++}, at: [] tty_ldisc_ref+0x14/0x48 [ 139.050213] [ 139.050213] stack backtrace: [ 139.054765] CPU: 0 PID: 380 Comm: interpreter Tainted: G W 4.6.0 #66 [ 139.062565] Hardware name: Generic AM33XX (Flattened Device Tree) [ 139.068953] [] (unwind_backtrace) from [] (show_stack+0x10/0x14) [ 139.077051] [] (show_stack) from [] (__lock_acquire+0x920/0x1ce8) [ 139.085227] [] (__lock_acquire) from [] (lock_acquire+0xa8/0x12c) [ 139.093406] [] (lock_acquire) from [] (_raw_spin_lock_irqsave+0x38/0x4c) [ 139.102213] [] (_raw_spin_lock_irqsave) from [] (uart_write_room+0x10/0x3c) [ 139.111329] [] (uart_write_room) from [] (gsmld_output+0x18/0x98 [n_gsm]) [ 139.120251] [] (gsmld_output [n_gsm]) from [] (gsm_data_kick+0x88/0x168 [n_gsm]) [ 139.129802] [] (gsm_data_kick [n_gsm]) from [] (gsmld_write_wakeup+0x28/0x5c [n_gsm]) [ 139.139820] [] (gsmld_write_wakeup [n_gsm]) from [] (tty_wakeup+0x50/0x5c) [ 139.148812] [] (tty_wakeup) from [] (serial_omap_irq+0x31c/0x3c4) [ 139.157007] [] (serial_omap_irq) from [] (handle_irq_event_percpu+0x54/0x204) [ 139.166270] [] (handle_irq_event_percpu) from [] (handle_irq_event+0x38/0x5c) [ 139.175534] [] (handle_irq_event) from [] (handle_level_irq+0xa0/0x130) [ 139.184256] [] (handle_level_irq) from [] (generic_handle_irq+0x20/0x34) [ 139.193059] [] (generic_handle_irq) from [] (__handle_domain_irq+0x48/0xa8) [ 139.202138] [] (__handle_domain_irq) from [] (__irq_svc+0x58/0x78) [ 139.210407] [] (__irq_svc) from [] (_raw_spin_unlock_irq+0x28/0x2c) [ 139.218771] [] (_raw_spin_unlock_irq) from [] (finish_task_switch+0xb8/0x23c) [ 139.228030] [] (finish_task_switch) from [] (schedule+0x48/0xa0) [ 139.236110] [] (schedule) from [] (do_nanosleep+0x84/0x140) [ 139.243748] [] (do_nanosleep) from [] (hrtimer_nanosleep+0xa0/0x12c) [ 139.252200] [] (hrtimer_nanosleep) from [] (SyS_nanosleep+0x94/0xcc) [ 139.260649] [] (SyS_nanosleep) from [] (ret_fast_syscall+0x0/0x1c) [ 145.245792] BUG: spinlock lockup suspected on CPU#0, interpreter/380 [ 145.252426] lock: 0xce353418, .magic: dead4ead, .owner: interpreter/380, .owner_cpu: 0 [ 145.260783] CPU: 0 PID: 380 Comm: interpreter Tainted: G W 4.6.0 #66 [ 145.268590] Hardware name: Generic AM33XX (Flattened Device Tree) [ 145.274962] [] (unwind_backtrace) from [] (show_stack+0x10/0x14) [ 145.283057] [] (show_stack) from [] (do_raw_spin_lock+0x144/0x16c) [ 145.291328] [] (do_raw_spin_lock) from [] (_raw_spin_lock_irqsave+0x40/0x4c) [ 145.300500] [] (_raw_spin_lock_irqsave) from [] (uart_write_room+0x10/0x3c) [ 145.309594] [] (uart_write_room) from [] (gsmld_output+0x18/0x98 [n_gsm]) [ 145.318518] [] (gsmld_output [n_gsm]) from [] (gsm_data_kick+0x88/0x168 [n_gsm]) [ 145.328073] [] (gsm_data_kick [n_gsm]) from [] (gsmld_write_wakeup+0x28/0x5c [n_gsm]) [ 145.338070] [] (gsmld_write_wakeup [n_gsm]) from [] (tty_wakeup+0x50/0x5c) [ 145.347065] [] (tty_wakeup) from [] (serial_omap_irq+0x31c/0x3c4) [ 145.355242] [] (serial_omap_irq) from [] (handle_irq_event_percpu+0x54/0x204) [ 145.364499] [] (handle_irq_event_percpu) from [] (handle_irq_event+0x38/0x5c) [ 145.373762] [] (handle_irq_event) from [] (handle_level_irq+0xa0/0x130) [ 145.382482] [] (handle_level_irq) from [] (generic_handle_irq+0x20/0x34) [ 145.391290] [] (generic_handle_irq) from [] (__handle_domain_irq+0x48/0xa8) [ 145.400381] [] (__handle_domain_irq) from [] (__irq_svc+0x58/0x78) [ 145.408648] [] (__irq_svc) from [] (_raw_spin_unlock_irq+0x28/0x2c) [ 145.417003] [] (_raw_spin_unlock_irq) from [] (finish_task_switch+0xb8/0x23c) [ 145.426265] [] (finish_task_switch) from [] (schedule+0x48/0xa0) [ 145.434343] [] (schedule) from [] (do_nanosleep+0x84/0x140) [ 145.441973] [] (do_nanosleep) from [] (hrtimer_nanosleep+0xa0/0x12c) [ 145.450417] [] (hrtimer_nanosleep) from [] (SyS_nanosleep+0x94/0xcc) [ 145.458865] [] (SyS_nanosleep) from [] (ret_fast_syscall+0x0/0x1c) [ 152.423669] BUG: spinlock lockup suspected on CPU#0, swapper/0 [ 152.429789] lock: 0xce353418, .magic: dead4ead, .owner: swapper/0, .owner_cpu: 0 [ 152.437602] CPU: 0 PID: 0 Comm: swapper Tainted: G W 4.6.0 #66 [ 152.444864] Hardware name: Generic AM33XX (Flattened Device Tree) [ 152.451258] [] (unwind_backtrace) from [] (show_stack+0x10/0x14) [ 152.459356] [] (show_stack) from [] (do_raw_spin_lock+0x144/0x16c) [ 152.467626] [] (do_raw_spin_lock) from [] (_raw_spin_lock_irqsave+0x40/0x4c) [ 152.476812] [] (_raw_spin_lock_irqsave) from [] (uart_write_room+0x10/0x3c) [ 152.485925] [] (uart_write_room) from [] (gsmld_output+0x18/0x98 [n_gsm]) [ 152.494842] [] (gsmld_output [n_gsm]) from [] (gsm_data_kick+0x88/0x168 [n_gsm]) [ 152.504391] [] (gsm_data_kick [n_gsm]) from [] (gsmld_write_wakeup+0x28/0x5c [n_gsm]) [ 152.514402] [] (gsmld_write_wakeup [n_gsm]) from [] (tty_wakeup+0x50/0x5c) [ 152.523409] [] (tty_wakeup) from [] (serial_omap_irq+0x31c/0x3c4) [ 152.531596] [] (serial_omap_irq) from [] (handle_irq_event_percpu+0x54/0x204) [ 152.540857] [] (handle_irq_event_percpu) from [] (handle_irq_event+0x38/0x5c) [ 152.550119] [] (handle_irq_event) from [] (handle_level_irq+0xa0/0x130) [ 152.558836] [] (handle_level_irq) from [] (generic_handle_irq+0x20/0x34) [ 152.567642] [] (generic_handle_irq) from [] (__handle_domain_irq+0x48/0xa8) [ 152.576722] [] (__handle_domain_irq) from [] (__irq_svc+0x58/0x78) [ 152.584989] [] (__irq_svc) from [] (arch_cpu_idle+0x20/0x3c) [ 152.592710] [] (arch_cpu_idle) from [] (cpu_startup_entry+0x1b0/0x220) [ 152.601341] [] (cpu_startup_entry) from [] (start_kernel+0x334/0x3ac)