loop0: detected capacity change from 0 to 32768 UDPLite6: UDP-Lite is deprecated and scheduled to be removed in 2025, please contact the netdev mailing list loop0: detected capacity change from 0 to 32768 bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,metadata_target=/dev/loop0,noinodes_use_key_cache,nojournal_transaction_names allowing incompatible features above 0.0: (unknown version) features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 bcachefs (loop0): recovering from clean shutdown, journal seq 13 bcachefs (loop0): Version upgrade required: Version upgrade from 0.32: (unknown version) to 1.7: mi_btree_bitmap incomplete Doing incompatible version upgrade from 0.32: (unknown version) to 1.28: inode_has_case_insensitive running recovery passes: check_allocations,check_extents_to_backpointers,check_snapshots,check_subvols,check_inodes,check_dirents,set_fs_needs_rebalance bcachefs (loop0): accounting_read... done bcachefs (loop0): alloc_read... done bcachefs (loop0): snapshots_read... done bcachefs (loop0): check_allocations... done bcachefs (loop0): going read-write bcachefs (loop0): journal_replay... done bcachefs (loop0): check_extents_to_backpointers... bcachefs (loop0): scanning for missing backpointers in 6/128 buckets done bcachefs (loop0): check_snapshots... bcachefs (loop0): snapshot points to missing/incorrect tree: u64s 8 type snapshot 0:4294967295:0 len 0 ver 0: subvol parent 0 children 0 0 subvol 1 tree 0, fixing done bcachefs (loop0): check_subvols... done bcachefs (loop0): check_inodes... done bcachefs (loop0): check_dirents... done bcachefs (loop0): resume_logged_ops... done bcachefs (loop0): delete_dead_inodes... done bcachefs (loop0): set_fs_needs_rebalance... done bcachefs (loop0): Fixed errors, running fsck a second time to verify fs is clean bcachefs (loop0): check_extents_to_backpointers... done bcachefs (loop0): check_snapshots... done bcachefs (loop0): check_subvols... done bcachefs (loop0): check_inodes... done bcachefs (loop0): check_dirents... done bcachefs (loop0): resume_logged_ops... done bcachefs (loop0): delete_dead_inodes... done bcachefs (loop0): set_fs_needs_rebalance... done bcachefs (loop0): done starting filesystem bcachefs (loop0): going read-only bcachefs (loop0): finished waiting for writes to stop bcachefs (loop0): flushing journal and stopping allocators, journal seq 24 bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 24 ------------[ cut here ]------------ journal shutdown error: cur seq 24 but last empty seq 23 WARNING: CPU: 0 PID: 5357 at fs/bcachefs/journal.c:1472 bch2_fs_journal_stop+0x42b/0x440 fs/bcachefs/journal.c:1468 Modules linked in: CPU: 0 UID: 0 PID: 5357 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:bch2_fs_journal_stop+0x42b/0x440 fs/bcachefs/journal.c:1468 Code: 44 24 30 42 80 3c 28 00 48 8b 5c 24 20 74 08 48 89 df e8 b8 39 d9 fd 48 8b 13 48 c7 c7 60 96 f5 8b 4c 89 e6 e8 c6 ca 37 fd 90 <0f> 0b 90 90 e9 e4 fe ff ff e8 47 c7 30 07 0f 1f 80 00 00 00 00 90 RSP: 0018:ffffc9000d4679c0 EFLAGS: 00010246 RAX: 714adb0da9162a00 RBX: ffff8880532caa28 RCX: 0000000000100000 RDX: ffffc9000de82000 RSI: 000000000000255c RDI: 000000000000255d RBP: ffffc9000d467ae0 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffffbfff1c3a22c R12: 0000000000000018 R13: dffffc0000000000 R14: ffff8880532c9800 R15: 1ffff1100a659300 FS: 00007f70f845c6c0(0000) GS:ffff88808d007000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa41e7fa000 CR3: 00000000436f4000 CR4: 0000000000352ef0 Call Trace: __bch2_fs_read_only+0x343/0x5b0 fs/bcachefs/super.c:306 bch2_fs_read_only+0x42a/0xb00 fs/bcachefs/super.c:366 bch2_fs_reconfigure+0x1ba/0x400 fs/bcachefs/fs.c:2671 reconfigure_super+0x227/0x890 fs/super.c:1077 do_remount fs/namespace.c:3324 [inline] path_mount+0xd18/0xfe0 fs/namespace.c:4115 do_mount fs/namespace.c:4136 [inline] __do_sys_mount fs/namespace.c:4347 [inline] __se_sys_mount+0x317/0x410 fs/namespace.c:4324 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f70f758ec29 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f70f845c038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f70f77d5fa0 RCX: 00007f70f758ec29 RDX: 0000000000000000 RSI: 0000200000000100 RDI: 0000000000000000 RBP: 00007f70f7611e41 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000021 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f70f77d6038 R14: 00007f70f77d5fa0 R15: 00007ffc86afdbc8