Buffer I/O error on dev loop0, logical block 0, async page read INFO: task blkid:18186 blocked for more than 120 seconds. Not tainted 4.9.89-gf152ce1 #65 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. blkid D27072 18186 2365 0x00000006 ffff8801cfcab000 0000000000000000 ffff8801b6884a80 ffff8801d9b73000 ffff8801db321b98 ffff8801d0767310 ffffffff838a4c0b 0000000041b58ab3 ffffffff84193da8 00ffffff81239af0 ffff8801db322468 ffff8801db322490 Call Trace: [] schedule+0x7f/0x1b0 kernel/sched/core.c:3551 [] schedule_timeout+0x56c/0x10b0 kernel/time/timer.c:1768 [] io_schedule_timeout+0x1be/0x390 kernel/sched/core.c:5173 [] io_schedule include/linux/sched.h:460 [inline] [] bit_wait_io+0x19/0xa0 kernel/sched/wait.c:582 [] __wait_on_bit_lock+0xc2/0x1c0 kernel/sched/wait.c:421 [] __lock_page+0xff/0x160 mm/filemap.c:934 [] lock_page include/linux/pagemap.h:454 [inline] [] truncate_inode_pages_range+0xc1a/0x12c0 mm/truncate.c:373 [] truncate_inode_pages+0x24/0x30 mm/truncate.c:401 [] kill_bdev+0xbc/0xf0 fs/block_dev.c:96 [] __blkdev_put+0x191/0x7e0 fs/block_dev.c:1586 [] blkdev_put+0x85/0x550 fs/block_dev.c:1663 [] blkdev_close+0x8b/0xb0 fs/block_dev.c:1670 [] __fput+0x28c/0x6e0 fs/file_table.c:208 [] ____fput+0x15/0x20 fs/file_table.c:244 [] task_work_run+0x115/0x190 kernel/task_work.c:116 [] exit_task_work include/linux/task_work.h:21 [inline] [] do_exit+0x7e7/0x2a40 kernel/exit.c:833 [] do_group_exit+0x108/0x320 kernel/exit.c:937 [] get_signal+0x4d4/0x14e0 kernel/signal.c:2317 [] do_signal+0x87/0x19f0 arch/x86/kernel/signal.c:807 [] exit_to_usermode_loop+0xe1/0x120 arch/x86/entry/common.c:157 [] prepare_exit_to_usermode arch/x86/entry/common.c:191 [inline] [] syscall_return_slowpath arch/x86/entry/common.c:260 [inline] [] do_syscall_64+0x36f/0x490 arch/x86/entry/common.c:287 [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Showing all locks held in the system: 2 locks held by khungtaskd/516: #0: (rcu_read_lock){......}, at: [] check_hung_uninterruptible_tasks kernel/hung_task.c:168 [inline] #0: (rcu_read_lock){......}, at: [] watchdog+0x125/0xa70 kernel/hung_task.c:239 #1: (tasklist_lock){.+.+..}, at: [] debug_show_all_locks+0x70/0x280 kernel/locking/lockdep.c:4336 1 lock held by rsyslogd/3652: #0: (&f->f_pos_lock){+.+.+.}, at: [] __fdget_pos+0x9f/0xc0 fs/file.c:781 2 locks held by getty/3780: #0: (&tty->ldisc_sem){++++++}, at: [] ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:367 #1: (&ldata->atomic_read_lock){+.+.+.}, at: [] n_tty_read+0x1f4/0x16c0 drivers/tty/n_tty.c:2133 1 lock held by blkid/18186: #0: (&bdev->bd_mutex){+.+.+.}, at: [] __blkdev_put+0xbc/0x7e0 fs/block_dev.c:1579 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 516 Comm: khungtaskd Not tainted 4.9.89-gf152ce1 #65 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801d874fd00 ffffffff81d93609 0000000000000000 0000000000000000 0000000000000000 0000000000000001 ffffffff810bb690 ffff8801d874fd38 ffffffff81d9e72d 0000000000000000 0000000000000000 ffff8801cfcab418 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] nmi_cpu_backtrace+0xfd/0x120 lib/nmi_backtrace.c:99 [] nmi_trigger_cpumask_backtrace+0x117/0x190 lib/nmi_backtrace.c:60 [] arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:37 [] trigger_all_cpu_backtrace include/linux/nmi.h:58 [inline] [] check_hung_task kernel/hung_task.c:125 [inline] [] check_hung_uninterruptible_tasks kernel/hung_task.c:182 [inline] [] watchdog+0x6f0/0xa70 kernel/hung_task.c:239 [] kthread+0x26d/0x300 kernel/kthread.c:211 [] ret_from_fork+0x5c/0x70 arch/x86/entry/entry_64.S:373 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.9.89-gf152ce1 #65 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801d9b73000 task.stack: ffff8801d9b88000 RIP: 0010:[] c [] lock_is_held+0xd9/0x140 kernel/locking/lockdep.c:3795 RSP: 0018:ffff8801db307d90 EFLAGS: 00000803 RAX: dffffc0000000000 RBX: 0000000000000246 RCX: 1ffffffff084007d RDX: 0000000000000000 RSI: ffffffff844bae40 RDI: ffff8801d9b738ac RBP: ffff8801db307da8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000020 R11: ffff8801d9b73000 R12: ffff8801d9b73000 R13: 0000000000000000 R14: ffff8801db321b80 R15: ffff8801d9acd680 FS: 0000000000000000(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000010e0770 CR3: 00000001c1480000 CR4: 0000000000160670 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffffffff84409000c ffff8801d9acd680c 0000000000000001c ffff8801db307eb0c ffffffff81205dfec ffffffff812056cbc 0000000000000000c ffff8801d9b738b0c ffff8801d9b73888c ffff8801db307e90c 0000000000000046c 0000000000000046c Call Trace: d [] rebalance_domains+0x7fe/0xb00 kernel/sched/fair.c:10077 [] run_rebalance_domains+0x2f8/0x540 kernel/sched/fair.c:10331 [] __do_softirq+0x206/0x951 kernel/softirq.c:284 [] invoke_softirq kernel/softirq.c:364 [inline] [] irq_exit+0x165/0x190 kernel/softirq.c:405 [] smp_reschedule_interrupt+0x6b/0x80 arch/x86/kernel/smp.c:267 [] reschedule_interrupt+0xa0/0xb0 arch/x86/entry/entry_64.S:671 d [] ? native_safe_halt+0x6/0x10 arch/x86/include/asm/irqflags.h:53 [] arch_safe_halt arch/x86/include/asm/paravirt.h:104 [inline] [] default_idle+0x55/0x360 arch/x86/kernel/process.c:295 [] arch_cpu_idle+0xa/0x10 arch/x86/kernel/process.c:286 [] default_idle_call+0x36/0x60 kernel/sched/idle.c:97 [] cpuidle_idle_call kernel/sched/idle.c:155 [inline] [] cpu_idle_loop kernel/sched/idle.c:248 [inline] [] cpu_startup_entry+0x2b0/0x380 kernel/sched/idle.c:303 [] start_secondary+0x303/0x3e0 arch/x86/kernel/smpboot.c:254 Code: cff cff c65 c4c c8b c24 c25 c40 c7d c01 c00 c49 c8d cbc c24 cac c08 c00 c00 c41 c89 cc5 c48 cb8 c00 c00 c00 c00 c00 cfc cff cdf c48 c89 cfa c48 cc1 cea c03 c0f cb6 c14 c02 c<48> c89 cf8 c83 ce0 c07 c83 cc0 c03 c38 cd0 c7c c04 c84 cd2 c75 c44 c41 cc7 c84 c24 c