CPU: 0 PC is at __bug+0x24/0x30 LR is at rt_up+0x50/0x6c pc : [] lr : [] Not tainted sp : c5835d50 ip : c5835c78 fp : c5835d5c r10: c596724f r9 : c0059304 r8 : 00000001 r7 : c0059184 r6 : c5834000 r5 : c5cf3674 r4 : 60000013 r3 : 00000000 r2 : 00000001 r1 : c0381c4c r0 : 00000027 Flags: nzcv IRQs off FIQs on Mode SVC_32 Segment kernel Control: C000717F Table: 05200000 DAC: 00000017 Process IRQ-54 (pid: 795, stack limit = 0xc5834258) Stack: (0xc5835d50 to 0xc5836000) 5d40: c5835dcc c5835d60 c030a6ac c006e104 5d60: 60000013 0000008c c5835d68 c5835d68 c5835d70 c5835d70 00000000 0000008c 5d80: c5835d80 c5835d80 c5835d88 c5835d88 00000000 00000000 11111111 11111111 5da0: 11111111 11111111 c5835dc4 c5f0f998 c5cf3674 c0059184 c0059184 00000001 5dc0: c5835ddc c5835dd0 c030a9d4 c030a60c c5835dfc c5835de0 c01b77b0 c030a9d0 5de0: c01a5344 c596724f 00000003 c596722c c5835ebc c5835e00 c01a664c c01b7770 5e00: c596724f c5967350 00000000 00000001 c0059304 c0059184 c5835e3c c5835e28 5e20: c030b3d8 c00b0998 c0059184 60000013 c5835e74 c5835e40 c00b115c c00a9c4c 5e40: c030b3d8 0000008c c5835e48 c5835e48 c5835e50 c0059304 60000013 60000013 5e60: c5834000 60000013 c5835e8c c5835e78 c030b3d8 c00b0998 c0059304 c0059304 5e80: c5835eac c5835e90 c030a284 c030b3ac c0059184 c596724f c596734f c596722c 5ea0: 00000001 c0059184 c0059304 c596722c c5835ef4 c5835ec0 c01a22b4 c01a5a24 5ec0: c030a284 c0059190 c0059184 c0059304 c0059184 c0059184 00000003 00000008 5ee0: 00000100 000000ff c5835f0c c5835ef8 c01a232c c01a219c c5cf3674 00000100 5f00: c5835f4c c5835f10 c01ba150 c01a22fc c03c1d30 c0059184 c0063a78 03001d30 5f20: 00000000 c5f3bdf8 00000000 c5834000 c03be29c 00000000 00000036 00000000 5f40: c5835f7c c5835f50 c00b3c8c c01b9eb8 00000036 00000036 c5f3bdf8 c03be220 5f60: c03be29c c5834000 00000000 60000013 c5835f9c c5835f80 c00b42b8 c00b3c2c 5f80: c5834000 c03be220 00000036 c03be29c c5835fcc c5835fa0 c00b4a54 c00b4270 5fa0: c03be220 00000032 c5834000 c03be220 c04d1c34 c00b4980 00000000 00000000 5fc0: c5835ff4 c5835fd0 c009d818 c00b4990 ffffffff ffffffff 00000000 00000000 5fe0: 00000000 00000000 00000000 c5835ff8 c008a4f4 c009d738 20202020 00202020 Backtrace: [] (__bug+0x0/0x30) from [] (rt_spin_lock_slowlock+0xb0/0x1e4) [] (rt_spin_lock_slowlock+0x0/0x1e4) from [] (__lock_text_start+0x14/0x18) r8 = 00000001 r7 = C0059184 r6 = C0059184 r5 = C5CF3674 r4 = C5F0F998 [] (__lock_text_start+0x0/0x18) from [] (uart_flush_buffer+0x50/0x84) [] (uart_flush_buffer+0x0/0x84) from [] (n_tty_receive_buf+0xc38/0xe84) r6 = C596722C r5 = 00000003 r4 = C596724F [] (n_tty_receive_buf+0x0/0xe84) from [] (flush_to_ldisc+0x128/0x160) [] (flush_to_ldisc+0x0/0x160) from [] (tty_flip_buffer_push+0x40/0x44) [] (tty_flip_buffer_push+0x0/0x44) from [] (pl010_int+0x2a8/0x518) r5 = 00000100 r4 = C5CF3674 [] (pl010_int+0x0/0x518) from [] (handle_IRQ_event+0x70/0x104) [] (handle_IRQ_event+0x0/0x104) from [] (thread_simple_irq+0x58/0xa0) [] (thread_simple_irq+0x0/0xa0) from [] (do_irqd+0xd4/0x2f0) r7 = C03BE29C r6 = 00000036 r5 = C03BE220 r4 = C5834000 [] (do_irqd+0x0/0x2f0) from [] (kthread+0xf0/0x12c) [] (kthread+0x0/0x12c) from [] (do_exit+0x0/0x814) r7 = 00000000 r6 = 00000000 r5 = 00000000 r4 = 00000000 Code: e1a01000 e59f000c eb0067f9 e3a03000 (e5833000) note: IRQ-54[795] exited with preempt_count 1 BUG: sleeping function called from invalid context IRQ-54(795) at fs/inode.c:246 in_atomic():1 [00000001], irqs_disabled():0 [] (dump_stack+0x0/0x28) from [] (__might_sleep+0xf8/0x11c) [] (__might_sleep+0x0/0x11c) from [] (clear_inode+0x24/0x10c) r6 = C568F98C r5 = C5690440 r4 = C5690440 [] (clear_inode+0x0/0x10c) from [] (proc_delete_inode+0x54/0x58) r4 = 00000000 [] (proc_delete_inode+0x0/0x58) from [] (generic_delete_inode+0x98/0x124) r5 = C5690440 r4 = C010EB54 [] (generic_delete_inode+0x0/0x124) from [] (iput+0x94/0xa8) r5 = C5690440 r4 = C5690440 [] (iput+0x0/0xa8) from [] (dentry_iput+0xbc/0xd8) r4 = C568F984 [] (dentry_iput+0x0/0xd8) from [] (prune_one_dentry+0x80/0xb4) r5 = C568F984 r4 = C03CE0FC [] (prune_one_dentry+0x0/0xb4) from [] (prune_dcache+0x120/0x1c0) r5 = C568F984 r4 = C568F9E8 [] (prune_dcache+0x0/0x1c0) from [] (shrink_dcache_parent+0x2c/0x130) [] (shrink_dcache_parent+0x0/0x130) from [] (proc_flush_task+0x58/0x1e4) [] (proc_flush_task+0x0/0x1e4) from [] (release_task+0x358/0x394) [] (release_task+0x0/0x394) from [] (do_exit+0x734/0x814) r8 = C5DE8140 r7 = C04CFB40 r6 = 00000040 r5 = C5DE8060 r4 = C5835BC4 [] (do_exit+0x0/0x814) from [] (die+0x238/0x2ac) [] (die+0x0/0x2ac) from [] (__do_kernel_fault+0x70/0x80) [] (__do_kernel_fault+0x0/0x80) from [] (do_page_fault+0x20c/0x238) r7 = C5DE8060 r6 = 00000817 r5 = C03C3400 r4 = FFFFFFFF [] (do_page_fault+0x0/0x238) from [] (do_DataAbort+0x3c/0xa0) [] (do_DataAbort+0x0/0xa0) from [] (__dabt_svc+0x40/0x60) r8 = 00000001 r7 = C0059184 r6 = C5834000 r5 = C5835D3C r4 = FFFFFFFF [] (__bug+0x0/0x30) from [] (rt_spin_lock_slowlock+0xb0/0x1e4) [] (rt_spin_lock_slowlock+0x0/0x1e4) from [] (__lock_text_start+0x14/0x18) r8 = 00000001 r7 = C0059184 r6 = C0059184 r5 = C5CF3674 r4 = C5F0F998 [] (__lock_text_start+0x0/0x18) from [] (uart_flush_buffer+0x50/0x84) [] (uart_flush_buffer+0x0/0x84) from [] (n_tty_receive_buf+0xc38/0xe84) r6 = C596722C r5 = 00000003 r4 = C596724F [] (n_tty_receive_buf+0x0/0xe84) from [] (flush_to_ldisc+0x128/0x160) [] (flush_to_ldisc+0x0/0x160) from [] (tty_flip_buffer_push+0x40/0x44) [] (tty_flip_buffer_push+0x0/0x44) from [] (pl010_int+0x2a8/0x518) r5 = 00000100 r4 = C5CF3674 [] (pl010_int+0x0/0x518) from [] (handle_IRQ_event+0x70/0x104) [] (handle_IRQ_event+0x0/0x104) from [] (thread_simple_irq+0x58/0xa0) [] (thread_simple_irq+0x0/0xa0) from [] (do_irqd+0xd4/0x2f0) r7 = C03BE29C r6 = 00000036 r5 = C03BE220 r4 = C5834000 [] (do_irqd+0x0/0x2f0) from [] (kthread+0xf0/0x12c) [] (kthread+0x0/0x12c) from [] (do_exit+0x0/0x814) r7 = 00000000 r6 = 00000000 r5 = 00000000 r4 = 00000000 --------------------------- | preempt count: 00000001 ] | 1-level deep critical section nesting: ---------------------------------------- .. [] .... __spin_lock_irqsave+0x2c/0x3c .....[] .. ( <= rt_spin_lock_slowlock+0x30/0x1e4) stopped custom tracer. BUG: spinlock cpu recursion on CPU#0, login/1665 lock: c5cf3674, .magic: dead4ead, .owner: kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk0 [] (dump_stack+0x0/0x28) from [] (spin_bug+0x94/0xd0) [] (spin_bug+0x0/0xd0) from [] (_raw_spin_lock+0x60/0x120) r6 = C595E000 r5 = 60000013 r4 = C5CF3674 [] (_raw_spin_lock+0x0/0x120) from [] (__spin_lock_irqsave+0x34/0x3c) r8 = 00000000 r7 = C0059190 r6 = C0059184 r5 = 60000013 r4 = C5CF3674 [] (__spin_lock_irqsave+0x0/0x3c) from [] (rt_spin_lock_slowlock+0x30/0x1e4) r5 = C5CF3674 r4 = C5F0F998 [] (rt_spin_lock_slowlock+0x0/0x1e4) from [] (__lock_text_start+0x14/0x18) r8 = 00000000 r7 = C0059190 r6 = C0059184 r5 = C5CF3674 r4 = C5F0F998 [] (__lock_text_start+0x0/0x18) from [] (uart_flush_buffer+0x50/0x84) [] (uart_flush_buffer+0x0/0x84) from [] (do_tty_hangup+0x108/0x390) r6 = C0059184 r5 = C599BB40 r4 = C0059400 [] (do_tty_hangup+0x0/0x390) from [] (tty_vhangup+0x18/0x1c) [] (tty_vhangup+0x0/0x1c) from [] (disassociate_ctty+0x7c/0x1e8) [] (disassociate_ctty+0x0/0x1e8) from [] (do_exit+0x2d0/0x814) r7 = 00000001 r6 = C04EE73C r5 = C599BB40 r4 = 00000000 [] (do_exit+0x0/0x814) from [] (do_group_exit+0x90/0x98) [] (do_group_exit+0x0/0x98) from [] (get_signal_to_deliver+0x35c/0x3bc) r7 = C595E000 r6 = 00000000 r5 = 00000008 r4 = 00000009 [] (get_signal_to_deliver+0x0/0x3bc) from [] (do_signal+0x74/0x4d8) [] (do_signal+0x0/0x4d8) from [] (do_notify_resume+0x30/0x34) [] (do_notify_resume+0x0/0x34) from [] (work_pending+0x1c/0x20) --------------------------- | preempt count: 00000001 ] | 1-level deep critical section nesting: ---------------------------------------- .. [] .... __spin_lock_irqsave+0x2c/0x3c .....[] .. ( <= rt_spin_lock_slowlock+0x30/0x1e4) +... Read from 0x11fe0000-0x11ffffff to 0x03fe0000: ... Read from 0x11fff000-0x11ffffff to 0x03fdf000: