------------[ cut here ]------------ generic_make_request: Trying to write to read-only block-device loop0 (partno 0) WARNING: CPU: 0 PID: 5997 at block/blk-core.c:2170 bio_check_ro block/blk-core.c:2167 [inline] WARNING: CPU: 0 PID: 5997 at block/blk-core.c:2170 generic_make_request_checks+0xef9/0x26c0 block/blk-core.c:2272 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 5997 Comm: blkid Not tainted 4.20.0-rc3+ #348 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x244/0x39d lib/dump_stack.c:113 panic+0x2ad/0x55c kernel/panic.c:188 __warn.cold.8+0x20/0x45 kernel/panic.c:540 report_bug+0x254/0x2d0 lib/bug.c:186 fixup_bug arch/x86/kernel/traps.c:178 [inline] do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:271 do_invalid_op+0x36/0x40 arch/x86/kernel/traps.c:290 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:969 RIP: 0010:bio_check_ro block/blk-core.c:2167 [inline] RIP: 0010:generic_make_request_checks+0xef9/0x26c0 block/blk-core.c:2272 Code: 8b ad e4 04 00 00 4c 8d b5 78 ff ff ff 48 89 df 4c 89 f6 e8 99 93 07 00 48 c7 c7 60 2b 5f 88 48 89 c6 44 89 ea e8 d7 d3 cf fd <0f> 0b e9 c1 f4 ff ff e8 6b 73 06 fe e8 26 4b f0 fd e8 61 73 06 fe RSP: 0018:ffff8881c1e569d0 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff8881c3e08ac0 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8165eaf5 RDI: 0000000000000005 RBP: ffff8881c1e56cd0 R08: ffff8881c1c36500 R09: ffffed103b5c5020 R10: ffffed103b5c5020 R11: ffff8881dae28107 R12: ffff8881c3e08ac8 R13: 0000000000000000 R14: ffff8881c1e56c48 R15: ffff8881d19d2000 generic_make_request+0x2c7/0x18a0 block/blk-core.c:2395 submit_bio+0xba/0x460 block/blk-core.c:2560 submit_bh_wbc+0x5de/0x790 fs/buffer.c:3087 __block_write_full_page+0x93b/0x14a0 fs/buffer.c:1765 block_write_full_page+0x221/0x270 fs/buffer.c:2955 blkdev_writepage+0x24/0x30 fs/block_dev.c:567 __writepage+0x69/0xe0 mm/page-writeback.c:2289 write_cache_pages+0xc91/0x1e20 mm/page-writeback.c:2230 generic_writepages+0xda/0x150 mm/page-writeback.c:2313 blkdev_writepages+0x1d/0x30 fs/block_dev.c:1957 do_writepages+0x9a/0x1a0 mm/page-writeback.c:2328 __filemap_fdatawrite_range+0x364/0x4a0 mm/filemap.c:411 __filemap_fdatawrite mm/filemap.c:419 [inline] filemap_fdatawrite mm/filemap.c:424 [inline] filemap_write_and_wait+0x44/0xc0 mm/filemap.c:594 __sync_blockdev fs/block_dev.c:449 [inline] sync_blockdev fs/block_dev.c:458 [inline] __blkdev_put+0x202/0x830 fs/block_dev.c:1789 blkdev_put+0x98/0x540 fs/block_dev.c:1858 blkdev_close+0x8b/0xb0 fs/block_dev.c:1865 __fput+0x385/0xa30 fs/file_table.c:278 ____fput+0x15/0x20 fs/file_table.c:309 task_work_run+0x1e8/0x2a0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x318/0x380 arch/x86/entry/common.c:166 prepare_exit_to_usermode arch/x86/entry/common.c:197 [inline] syscall_return_slowpath arch/x86/entry/common.c:268 [inline] do_syscall_64+0x6be/0x820 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7feeb3bf42b0 Code: 40 75 0b 31 c0 48 83 c4 08 e9 0c ff ff ff 48 8d 3d c5 32 08 00 e8 c0 07 02 00 83 3d 45 a3 2b 00 00 75 10 b8 03 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 ce 8a 01 00 48 89 04 24 RSP: 002b:00007fff63e71878 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007feeb3bf42b0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000028 R09: 0000000001680000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000001117030 R13: 0000000000000000 R14: 0000000000000003 R15: 0000000000000005 Kernel Offset: disabled Rebooting in 86400 seconds..