[ T5115] bcachefs (loop0): done going read-only, filesystem not clean [ 396.414789][ T5115] bcachefs (loop0): shutdown complete executing program [ 397.165961][ T5901] loop0: detected capacity change from 0 to 32768 [ 397.221654][ T5901] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,erasure_code,fsck,norecovery,nocow,no_data_io [ 397.231168][ T5901] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 397.234978][ T5901] bcachefs (loop0): Version upgrade required: [ 397.234978][ T5901] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 397.234978][ T5901] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 397.234978][ T5901] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 397.262924][ T5901] invalid bkey u64s 7 type extent 536870913:24:U32_MAX len 24 ver 0: durability: 1 crc: c_size 8 size 24 offset 0 nonce 0 csum none 0:0 compress lz4 ptr: 0:805306402:8 gen 0 invalid [ 397.262942][ T5901] pointer past last bucket (805306402 > 128): delete?, fixing [ 397.273620][ T5901] invalid bkey u64s 18 type inode_v3 0:4100:U32_MAX len 0 ver 0: (unpack error) [ 397.273633][ T5901] invalid variable length fields: delete?, fixing [ 397.281550][ T5901] invalid bkey u64s 12 type alloc_v4 0:28:0 len 0 ver 0: [ 397.281564][ T5901] gen 0 oldest_gen 0 data_type btree [ 397.281570][ T5901] journal_seq 6 [ 397.281577][ T5901] need_discard 1 [ 397.281582][ T5901] need_inc_gen 1 [ 397.281589][ T5901] dirty_sectors 0 [ 397.281594][ T5901] stripe_sectors 0 [ 397.281600][ T5901] cached_sectors 0 [ 397.281605][ T5901] stripe 0 [ 397.281615][ T5901] stripe_redundancy 0 [ 397.281621][ T5901] io_time[READ] 1 [ 397.281626][ T5901] io_time[WRITE] 768 [ 397.281636][ T5901] fragmentation 0 [ 397.281642][ T5901] bp_start 8 [ 397.281648][ T5901] [ 397.281657][ T5901] invalid data type (got 3 should be 9): delete?, fixing [ 397.314088][ T5901] bcachefs (loop0): check_topology... done [ 397.316192][ T5901] bcachefs (loop0): accounting_read... done [ 397.318569][ T5901] bcachefs (loop0): alloc_read... done [ 397.320664][ T5901] bcachefs (loop0): stripes_read... done [ 397.322870][ T5901] bcachefs (loop0): snapshots_read... done [ 397.325090][ T5901] bcachefs (loop0): check_allocations... [ 397.326477][ T5901] bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 397.326490][ T5901] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 397.338728][ T5901] bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 397.338741][ T5901] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 397.348638][ T5901] bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 397.348653][ T5901] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 397.358446][ T5901] bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 397.358463][ T5901] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 397.368202][ T5901] bucket 0:28 data type btree ptr gen 0 missing in alloc btree [ 397.368217][ T5901] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 28f61e078e70b95c written 16 min_key POS_MIN durability: 1 ptr: 0:28:0 gen 0, fixing [ 397.380027][ T5901] bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 397.380038][ T5901] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 397.389109][ T5901] bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 397.392047][ T5901] bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 397.396266][ T5901] bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 397.399604][ T5901] bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 397.403176][ T5901] bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 397.406192][ T5901] bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 397.409416][ T5901] bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 397.412265][ T5901] bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 397.416522][ T5901] bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 397.419668][ T5901] bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 397.423972][ T5901] bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 397.427177][ T5901] bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 397.430608][ T5901] bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 397.433308][ T5901] bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 397.437135][ T5901] bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 397.439910][ T5901] bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 397.443826][ T5901] bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 397.447214][ T5901] bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 397.451108][ T5901] bucket 0:16 gen 0 has wrong data_type: got free, should be sb, fixing [ 397.454788][ T5901] bucket 0:16 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 397.458348][ T5901] bucket 0:17 gen 0 has wrong data_type: got free, should be sb, fixing [ 397.461472][ T5901] bcachefs (loop0): Ratelimiting new instances of previous error [ 397.464848][ T5901] bucket 0:17 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 397.468505][ T5901] bcachefs (loop0): Ratelimiting new instances of previous error [ 397.472781][ T5901] bucket 0:34 gen 0 data type user has wrong cached_sectors: got 65535, should be 0, fixing [ 397.479996][ T5901] done [ 397.481750][ T5901] bcachefs (loop0): going read-write [ 397.486800][ T5901] bcachefs (loop0): Fixed errors, running fsck a second time to verify fs is clean [ 397.491741][ T5901] bcachefs (loop0): done starting filesystem [ 397.526164][ T5115] bcachefs (loop0): shutting down [ 397.528158][ T5115] bcachefs (loop0): going read-only [ 397.530796][ T5115] bcachefs (loop0): finished waiting for writes to stop [ 397.534613][ T5115] bcachefs (loop0): flushing journal and stopping allocators, journal seq 12 [ 397.549183][ T5115] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 397.553938][ T5115] bcachefs (loop0): unshutdown complete, journal seq 15 [ 397.556848][ T5115] bcachefs (loop0): done going read-only, filesystem not clean [ 397.571302][ T5115] bcachefs (loop0): shutdown complete executing program [ 398.320447][ T5912] loop0: detected capacity change from 0 to 32768 [ 398.374678][ T5912] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,erasure_code,fsck,norecovery,nocow,no_data_io [ 398.380802][ T5912] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 398.384935][ T5912] bcachefs (loop0): Version upgrade required: [ 398.384935][ T5912] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 398.384935][ T5912] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 398.384935][ T5912] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 398.411776][ T5912] invalid bkey u64s 7 type extent 536870913:24:U32_MAX len 24 ver 0: durability: 1 crc: c_size 8 size 24 offset 0 nonce 0 csum none 0:0 compress lz4 ptr: 0:805306402:8 gen 0 invalid [ 398.411787][ T5912] pointer past last bucket (805306402 > 128): delete?, fixing [ 398.422253][ T5912] invalid bkey u64s 18 type inode_v3 0:4100:U32_MAX len 0 ver 0: (unpack error) [ 398.422267][ T5912] invalid variable length fields: delete?, fixing [ 398.430455][ T5912] invalid bkey u64s 12 type alloc_v4 0:28:0 len 0 ver 0: [ 398.430469][ T5912] gen 0 oldest_gen 0 data_type btree [ 398.430476][ T5912] journal_seq 6 [ 398.430482][ T5912] need_discard 1 [ 398.430487][ T5912] need_inc_gen 1 [ 398.430494][ T5912] dirty_sectors 0 [ 398.430500][ T5912] stripe_sectors 0 [ 398.430506][ T5912] cached_sectors 0 [ 398.430512][ T5912] stripe 0 [ 398.430517][ T5912] stripe_redundancy 0 [ 398.430522][ T5912] io_time[READ] 1 [ 398.430528][ T5912] io_time[WRITE] 768 [ 398.430533][ T5912] fragmentation 0 [ 398.430539][ T5912] bp_start 8 [ 398.430545][ T5912] [ 398.430551][ T5912] invalid data type (got 3 should be 9): delete?, fixing [ 398.461203][ T5912] bcachefs (loop0): check_topology... done [ 398.463322][ T5912] bcachefs (loop0): accounting_read... done [ 398.465985][ T5912] bcachefs (loop0): alloc_read... done [ 398.468042][ T5912] bcachefs (loop0): stripes_read... done [ 398.470046][ T5912] bcachefs (loop0): snapshots_read... done [ 398.472200][ T5912] bcachefs (loop0): check_allocations... [ 398.473897][ T5912] bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 398.473909][ T5912] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 398.486883][ T5912] bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 398.486898][ T5912] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 398.496258][ T5912] bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 398.496272][ T5912] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 398.505751][ T5912] bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 398.505767][ T5912] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 398.515088][ T5912] bucket 0:28 data type btree ptr gen 0 missing in alloc btree [ 398.515102][ T5912] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 28f61e078e70b95c written 16 min_key POS_MIN durability: 1 ptr: 0:28:0 gen 0, fixing [ 398.524588][ T5912] bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 398.524601][ T5912] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 398.533865][ T5912] bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 398.536864][ T5912] bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 398.540594][ T5912] bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 398.544129][ T5912] bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 398.547734][ T5912] bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 398.550912][ T5912] bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 398.555976][ T5912] bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 398.558953][ T5912] bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 398.563310][ T5912] bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 398.566934][ T5912] bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 398.570464][ T5912] bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 398.573843][ T5912] bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 398.577036][ T5912] bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 398.579859][ T5912] bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 398.583211][ T5912] bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 398.586516][ T5912] bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 398.589792][ T5912] bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 398.592996][ T5912] bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 398.598167][ T5912] bucket 0:16 gen 0 has wrong data_type: got free, should be sb, fixing [ 398.601315][ T5912] bucket 0:16 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 398.605418][ T5912] bucket 0:17 gen 0 has wrong data_type: got free, should be sb, fixing [ 398.608555][ T5912] bcachefs (loop0): Ratelimiting new instances of previous error [ 398.611293][ T5912] bucket 0:17 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 398.615491][ T5912] bcachefs (loop0): Ratelimiting new instances of previous error [ 398.620150][ T5912] bucket 0:34 gen 0 data type user has wrong cached_sectors: got 65535, should be 0, fixing [ 398.626926][ T5912] done [ 398.628944][ T5912] bcachefs (loop0): going read-write [ 398.634055][ T5912] bcachefs (loop0): Fixed errors, running fsck a second time to verify fs is clean [ 398.639551][ T5912] bcachefs (loop0): done starting filesystem [ 398.662623][ T5115] bcachefs (loop0): shutting down [ 398.664918][ T5115] bcachefs (loop0): going read-only [ 398.666874][ T5115] bcachefs (loop0): finished waiting for writes to stop [ 398.670365][ T5115] bcachefs (loop0): flushing journal and stopping allocators, journal seq 12 [ 398.688612][ T5115] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 398.692556][ T5115] bcachefs (loop0): unshutdown complete, journal seq 15 [ 398.696191][ T5115] bcachefs (loop0): done going read-only, filesystem not clean [ 398.708771][ T5115] bcachefs (loop0): shutdown complete executing program [ 399.472846][ T5923] loop0: detected capacity change from 0 to 32768 [ 399.537970][ T5923] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,erasure_code,fsck,norecovery,nocow,no_data_io [ 399.545877][ T5923] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 399.548697][ T5923] bcachefs (loop0): Version upgrade required: [ 399.548697][ T5923] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 399.548697][ T5923] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 399.548697][ T5923] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 399.575128][ T5923] invalid bkey u64s 7 type extent 536870913:24:U32_MAX len 24 ver 0: durability: 1 crc: c_size 8 size 24 offset 0 nonce 0 csum none 0:0 compress lz4 ptr: 0:805306402:8 gen 0 invalid [ 399.575143][ T5923] pointer past last bucket (805306402 > 128): delete?, fixing [ 399.585497][ T5923] invalid bkey u64s 18 type inode_v3 0:4100:U32_MAX len 0 ver 0: (unpack error) [ 399.585516][ T5923] invalid variable length fields: delete?, fixing [ 399.593305][ T5923] invalid bkey u64s 12 type alloc_v4 0:28:0 len 0 ver 0: [ 399.593319][ T5923] gen 0 oldest_gen 0 data_type btree [ 399.593325][ T5923] journal_seq 6 [ 399.593331][ T5923] need_discard 1 [ 399.593336][ T5923] need_inc_gen 1 [ 399.593341][ T5923] dirty_sectors 0 [ 399.593346][ T5923] stripe_sectors 0 [ 399.593352][ T5923] cached_sectors 0 [ 399.593358][ T5923] stripe 0 [ 399.593363][ T5923] stripe_redundancy 0 [ 399.593368][ T5923] io_time[READ] 1 [ 399.593374][ T5923] io_time[WRITE] 768 [ 399.593380][ T5923] fragmentation 0 [ 399.593386][ T5923] bp_start 8 [ 399.594013][ T5923] [ 399.594026][ T5923] invalid data type (got 3 should be 9): delete?, fixing [ 399.625099][ T5923] bcachefs (loop0): check_topology... done [ 399.627194][ T5923] bcachefs (loop0): accounting_read... done [ 399.629488][ T5923] bcachefs (loop0): alloc_read... done [ 399.631520][ T5923] bcachefs (loop0): stripes_read... done [ 399.634185][ T5923] bcachefs (loop0): snapshots_read... done [ 399.636299][ T5923] bcachefs (loop0): check_allocations... [ 399.637637][ T5923] bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 399.637650][ T5923] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 399.649594][ T5923] bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 399.649608][ T5923] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 399.659263][ T5923] bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 399.659277][ T5923] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 399.670994][ T5923] bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 399.671009][ T5923] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 399.680492][ T5923] bucket 0:28 data type btree ptr gen 0 missing in alloc btree [ 399.680507][ T5923] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 28f61e078e70b95c written 16 min_key POS_MIN durability: 1 ptr: 0:28:0 gen 0, fixing [ 399.689535][ T5923] bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 399.689637][ T5923] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 399.698765][ T5923] bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 399.702108][ T5923] bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 399.706042][ T5923] bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 399.708756][ T5923] bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 399.712877][ T5923] bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 399.717047][ T5923] bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 399.720983][ T5923] bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 399.724311][ T5923] bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 399.727822][ T5923] bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 399.730605][ T5923] bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 399.734646][ T5923] bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 399.737500][ T5923] bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 399.740869][ T5923] bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 399.744456][ T5923] bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 399.747640][ T5923] bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 399.750340][ T5923] bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 399.754434][ T5923] bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 399.757745][ T5923] bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 399.761420][ T5923] bucket 0:16 gen 0 has wrong data_type: got free, should be sb, fixing [ 399.765111][ T5923] bucket 0:16 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 399.768919][ T5923] bucket 0:17 gen 0 has wrong data_type: got free, should be sb, fixing [ 399.771925][ T5923] bcachefs (loop0): Ratelimiting new instances of previous error [ 399.774956][ T5923] bucket 0:17 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 399.778302][ T5923] bcachefs (loop0): Ratelimiting new instances of previous error [ 399.782626][ T5923] bucket 0:34 gen 0 data type user has wrong cached_sectors: got 65535, should be 0, fixing [ 399.789361][ T5923] done [ 399.791325][ T5923] bcachefs (loop0): going read-write [ 399.798993][ T5923] bcachefs (loop0): Fixed errors, running fsck a second time to verify fs is clean [ 399.804489][ T5923] bcachefs (loop0): done starting filesystem [ 399.824608][ T5115] bcachefs (loop0): shutting down [ 399.826553][ T5115] bcachefs (loop0): going read-only [ 399.828530][ T5115] bcachefs (loop0): finished waiting for writes to stop [ 399.831636][ T5115] bcachefs (loop0): flushing journal and stopping allocators, journal seq 12 [ 399.846886][ T5115] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 399.850782][ T5115] bcachefs (loop0): unshutdown complete, journal seq 15 [ 399.854334][ T5115] bcachefs (loop0): done going read-only, filesystem not clean [ 399.864272][ T5115] bcachefs (loop0): shutdown complete executing program [ 400.604569][ T5934] loop0: detected capacity change from 0 to 32768 [ 400.661487][ T5934] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,erasure_code,fsck,norecovery,nocow,no_data_io [ 400.668624][ T5934] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 400.671817][ T5934] bcachefs (loop0): Version upgrade required: [ 400.671817][ T5934] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 400.671817][ T5934] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 400.671817][ T5934] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 400.699244][ T5934] invalid bkey u64s 7 type extent 536870913:24:U32_MAX len 24 ver 0: durability: 1 crc: c_size 8 size 24 offset 0 nonce 0 csum none 0:0 compress lz4 ptr: 0:805306402:8 gen 0 invalid [ 400.699261][ T5934] pointer past last bucket (805306402 > 128): delete?, fixing [ 400.709996][ T5934] invalid bkey u64s 18 type inode_v3 0:4100:U32_MAX len 0 ver 0: (unpack error) [ 400.710011][ T5934] invalid variable length fields: delete?, fixing [ 400.718413][ T5934] invalid bkey u64s 12 type alloc_v4 0:28:0 len 0 ver 0: [ 400.718427][ T5934] gen 0 oldest_gen 0 data_type btree [ 400.718433][ T5934] journal_seq 6 [ 400.718439][ T5934] need_discard 1 [ 400.718444][ T5934] need_inc_gen 1 [ 400.718450][ T5934] dirty_sectors 0 [ 400.718456][ T5934] stripe_sectors 0 [ 400.718462][ T5934] cached_sectors 0 [ 400.718468][ T5934] stripe 0 [ 400.718472][ T5934] stripe_redundancy 0 [ 400.718478][ T5934] io_time[READ] 1 [ 400.718483][ T5934] io_time[WRITE] 768 [ 400.718494][ T5934] fragmentation 0 [ 400.718500][ T5934] bp_start 8 [ 400.718506][ T5934] [ 400.718511][ T5934] invalid data type (got 3 should be 9): delete?, fixing [ 400.750012][ T5934] bcachefs (loop0): check_topology... done [ 400.752095][ T5934] bcachefs (loop0): accounting_read... done [ 400.754675][ T5934] bcachefs (loop0): alloc_read... done [ 400.756507][ T5934] bcachefs (loop0): stripes_read... done [ 400.758616][ T5934] bcachefs (loop0): snapshots_read... done [ 400.760697][ T5934] bcachefs (loop0): check_allocations... [ 400.761948][ T5934] bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 400.761960][ T5934] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 400.775454][ T5934] bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 400.775469][ T5934] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 400.787598][ T5934] bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 400.787613][ T5934] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 400.797046][ T5934] bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 400.797061][ T5934] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 400.805851][ T5934] bucket 0:28 data type btree ptr gen 0 missing in alloc btree [ 400.805863][ T5934] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 28f61e078e70b95c written 16 min_key POS_MIN durability: 1 ptr: 0:28:0 gen 0, fixing [ 400.814528][ T5934] bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 400.814543][ T5934] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 400.823135][ T5934] bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 400.826488][ T5934] bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 400.829997][ T5934] bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 400.832855][ T5934] bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 400.836467][ T5934] bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 400.839335][ T5934] bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 400.842418][ T5934] bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 400.845577][ T5934] bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 400.849196][ T5934] bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 400.852093][ T5934] bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 400.855995][ T5934] bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 400.858804][ T5934] bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 400.862155][ T5934] bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 400.865693][ T5934] bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 400.869369][ T5934] bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 400.872286][ T5934] bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 400.876316][ T5934] bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 400.879588][ T5934] bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 400.884306][ T5934] bucket 0:16 gen 0 has wrong data_type: got free, should be sb, fixing [ 400.887305][ T5934] bucket 0:16 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 400.890469][ T5934] bucket 0:17 gen 0 has wrong data_type: got free, should be sb, fixing [ 400.893323][ T5934] bcachefs (loop0): Ratelimiting new instances of previous error [ 400.896688][ T5934] bucket 0:17 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 400.900330][ T5934] bcachefs (loop0): Ratelimiting new instances of previous error [ 400.905298][ T5934] bucket 0:34 gen 0 data type user has wrong cached_sectors: got 65535, should be 0, fixing [ 400.911934][ T5934] done [ 400.914014][ T5934] bcachefs (loop0): going read-write [ 400.918164][ T5934] bcachefs (loop0): Fixed errors, running fsck a second time to verify fs is clean [ 400.923025][ T5934] bcachefs (loop0): done starting filesystem [ 400.944494][ T5115] bcachefs (loop0): shutting down [ 400.946397][ T5115] bcachefs (loop0): going read-only [ 400.949063][ T5115] bcachefs (loop0): finished waiting for writes to stop [ 400.952017][ T5115] bcachefs (loop0): flushing journal and stopping allocators, journal seq 12 [ 400.967942][ T5115] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 400.971977][ T5115] bcachefs (loop0): unshutdown complete, journal seq 15 [ 400.975203][ T5115] bcachefs (loop0): done going read-only, filesystem not clean [ 400.987765][ T5115] bcachefs (loop0): shutdown complete executing program [ 401.742041][ T5945] loop0: detected capacity change from 0 to 32768 [ 401.803224][ T5945] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,erasure_code,fsck,norecovery,nocow,no_data_io [ 401.810019][ T5945] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 401.813031][ T5945] bcachefs (loop0): Version upgrade required: [ 401.813031][ T5945] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 401.813031][ T5945] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 401.813031][ T5945] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 401.840394][ T5945] invalid bkey u64s 7 type extent 536870913:24:U32_MAX len 24 ver 0: durability: 1 crc: c_size 8 size 24 offset 0 nonce 0 csum none 0:0 compress lz4 ptr: 0:805306402:8 gen 0 invalid [ 401.840411][ T5945] pointer past last bucket (805306402 > 128): delete?, fixing [ 401.852163][ T5945] invalid bkey u64s 18 type inode_v3 0:4100:U32_MAX len 0 ver 0: (unpack error) [ 401.852177][ T5945] invalid variable length fields: delete?, fixing [ 401.860426][ T5945] invalid bkey u64s 12 type alloc_v4 0:28:0 len 0 ver 0: [ 401.860435][ T5945] gen 0 oldest_gen 0 data_type btree [ 401.860439][ T5945] journal_seq 6 [ 401.860443][ T5945] need_discard 1 [ 401.860449][ T5945] need_inc_gen 1 [ 401.860455][ T5945] dirty_sectors 0 [ 401.860461][ T5945] stripe_sectors 0 [ 401.860466][ T5945] cached_sectors 0 [ 401.860471][ T5945] stripe 0 [ 401.860477][ T5945] stripe_redundancy 0 [ 401.860483][ T5945] io_time[READ] 1 [ 401.860489][ T5945] io_time[WRITE] 768 [ 401.860495][ T5945] fragmentation 0 [ 401.860501][ T5945] bp_start 8 [ 401.860508][ T5945] [ 401.860513][ T5945] invalid data type (got 3 should be 9): delete?, fixing [ 401.904367][ T5945] bcachefs (loop0): check_topology... done [ 401.906690][ T5945] bcachefs (loop0): accounting_read... done [ 401.908986][ T5945] bcachefs (loop0): alloc_read... done [ 401.911142][ T5945] bcachefs (loop0): stripes_read... done [ 401.913353][ T5945] bcachefs (loop0): snapshots_read... done [ 401.916245][ T5945] bcachefs (loop0): check_allocations... [ 401.917566][ T5945] bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 401.917578][ T5945] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 401.930528][ T5945] bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 401.930544][ T5945] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 401.940386][ T5945] bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 401.940396][ T5945] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 401.950266][ T5945] bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 401.950280][ T5945] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 401.960100][ T5945] bucket 0:28 data type btree ptr gen 0 missing in alloc btree [ 401.960114][ T5945] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 28f61e078e70b95c written 16 min_key POS_MIN durability: 1 ptr: 0:28:0 gen 0, fixing [ 401.969827][ T5945] bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 401.969847][ T5945] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 401.979135][ T5945] bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 401.981997][ T5945] bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 401.985707][ T5945] bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 401.988526][ T5945] bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 401.992064][ T5945] bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 401.995528][ T5945] bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 401.999112][ T5945] bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 402.002002][ T5945] bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 402.005872][ T5945] bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 402.008909][ T5945] bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 402.012299][ T5945] bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 402.015949][ T5945] bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 402.019336][ T5945] bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 402.022346][ T5945] bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 402.026291][ T5945] bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 402.029304][ T5945] bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 402.032712][ T5945] bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 402.036442][ T5945] bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 402.040326][ T5945] bucket 0:16 gen 0 has wrong data_type: got free, should be sb, fixing [ 402.043355][ T5945] bucket 0:16 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 402.047113][ T5945] bucket 0:17 gen 0 has wrong data_type: got free, should be sb, fixing [ 402.049862][ T5945] bcachefs (loop0): Ratelimiting new instances of previous error [ 402.052650][ T5945] bucket 0:17 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 402.057751][ T5945] bcachefs (loop0): Ratelimiting new instances of previous error [ 402.063153][ T5945] bucket 0:34 gen 0 data type user has wrong cached_sectors: got 65535, should be 0, fixing [ 402.071420][ T5945] done [ 402.073940][ T5945] bcachefs (loop0): going read-write [ 402.079647][ T5945] bcachefs (loop0): Fixed errors, running fsck a second time to verify fs is clean [ 402.086398][ T5945] bcachefs (loop0): done starting filesystem [ 402.101475][ T5115] bcachefs (loop0): shutting down [ 402.103343][ T5115] bcachefs (loop0): going read-only [ 402.107613][ T5115] bcachefs (loop0): finished waiting for writes to stop [ 402.113950][ T5115] bcachefs (loop0): flushing journal and stopping allocators, journal seq 12 [ 402.144941][ T5115] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 15 [ 402.150276][ T5115] bcachefs (loop0): unshutdown complete, journal seq 16 [ 402.153284][ T5115] bcachefs (loop0): done going read-only, filesystem not clean [ 402.167421][ T5115] bcachefs (loop0): shutdown complete executing program [ 402.929561][ T5956] loop0: detected capacity change from 0 to 32768 [ 402.988380][ T5956] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,erasure_code,fsck,norecovery,nocow,no_data_io [ 402.994896][ T5956] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 402.998015][ T5956] bcachefs (loop0): Version upgrade required: [ 402.998015][ T5956] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 402.998015][ T5956] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 402.998015][ T5956] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 403.029170][ T5956] invalid bkey u64s 7 type extent 536870913:24:U32_MAX len 24 ver 0: durability: 1 crc: c_size 8 size 24 offset 0 nonce 0 csum none 0:0 compress lz4 ptr: 0:805306402:8 gen 0 invalid [ 403.029187][ T5956] pointer past last bucket (805306402 > 128): delete?, fixing [ 403.040324][ T5956] invalid bkey u64s 18 type inode_v3 0:4100:U32_MAX len 0 ver 0: (unpack error) [ 403.040339][ T5956] invalid variable length fields: delete?, fixing [ 403.050111][ T5956] invalid bkey u64s 12 type alloc_v4 0:28:0 len 0 ver 0: [ 403.050125][ T5956] gen 0 oldest_gen 0 data_type btree [ 403.050132][ T5956] journal_seq 6 [ 403.050138][ T5956] need_discard 1 [ 403.050144][ T5956] need_inc_gen 1 [ 403.050151][ T5956] dirty_sectors 0 [ 403.050157][ T5956] stripe_sectors 0 [ 403.050163][ T5956] cached_sectors 0 [ 403.050169][ T5956] stripe 0 [ 403.050174][ T5956] stripe_redundancy 0 [ 403.050178][ T5956] io_time[READ] 1 [ 403.050184][ T5956] io_time[WRITE] 768 [ 403.050190][ T5956] fragmentation 0 [ 403.050195][ T5956] bp_start 8 [ 403.050200][ T5956] [ 403.050205][ T5956] invalid data type (got 3 should be 9): delete?, fixing [ 403.082088][ T5956] bcachefs (loop0): check_topology... done [ 403.084625][ T5956] bcachefs (loop0): accounting_read... done [ 403.087072][ T5956] bcachefs (loop0): alloc_read... done [ 403.089213][ T5956] bcachefs (loop0): stripes_read... done [ 403.091348][ T5956] bcachefs (loop0): snapshots_read... done [ 403.093944][ T5956] bcachefs (loop0): check_allocations... [ 403.095243][ T5956] bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 403.095257][ T5956] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 403.107417][ T5956] bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 403.107431][ T5956] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 403.116875][ T5956] bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 403.116889][ T5956] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 403.126759][ T5956] bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 403.126774][ T5956] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 403.139086][ T5956] bucket 0:28 data type btree ptr gen 0 missing in alloc btree [ 403.139101][ T5956] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 28f61e078e70b95c written 16 min_key POS_MIN durability: 1 ptr: 0:28:0 gen 0, fixing [ 403.148633][ T5956] bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 403.148647][ T5956] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 403.158108][ T5956] bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 403.161389][ T5956] bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 403.165551][ T5956] bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 403.168723][ T5956] bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 403.172387][ T5956] bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 403.175928][ T5956] bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 403.179647][ T5956] bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 403.182559][ T5956] bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 403.186683][ T5956] bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 403.189528][ T5956] bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 403.193174][ T5956] bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 403.196722][ T5956] bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 403.200435][ T5956] bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 403.203935][ T5956] bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 403.207562][ T5956] bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 403.210704][ T5956] bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 403.214905][ T5956] bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 403.218286][ T5956] bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 403.222138][ T5956] bucket 0:16 gen 0 has wrong data_type: got free, should be sb, fixing [ 403.225909][ T5956] bucket 0:16 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 403.229541][ T5956] bucket 0:17 gen 0 has wrong data_type: got free, should be sb, fixing [ 403.232409][ T5956] bcachefs (loop0): Ratelimiting new instances of previous error [ 403.235919][ T5956] bucket 0:17 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 403.239545][ T5956] bcachefs (loop0): Ratelimiting new instances of previous error [ 403.244749][ T5956] bucket 0:34 gen 0 data type user has wrong cached_sectors: got 65535, should be 0, fixing [ 403.251937][ T5956] done [ 403.254541][ T5956] bcachefs (loop0): going read-write [ 403.261187][ T5956] bcachefs (loop0): Fixed errors, running fsck a second time to verify fs is clean [ 403.267517][ T5956] bcachefs (loop0): done starting filesystem [ 403.292457][ T5115] bcachefs (loop0): shutting down [ 403.295003][ T5115] bcachefs (loop0): going read-only [ 403.296933][ T5115] bcachefs (loop0): finished waiting for writes to stop [ 403.299770][ T5115] bcachefs (loop0): flushing journal and stopping allocators, journal seq 12 [ 403.316861][ T5115] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 403.321187][ T5115] bcachefs (loop0): unshutdown complete, journal seq 15 [ 403.324793][ T5115] bcachefs (loop0): done going read-only, filesystem not clean [ 403.336850][ T5115] bcachefs (loop0): shutdown complete executing program [ 404.089780][ T5967] loop0: detected capacity change from 0 to 32768 [ 404.137833][ T5967] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,erasure_code,fsck,norecovery,nocow,no_data_io [ 404.144246][ T5967] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 404.147302][ T5967] bcachefs (loop0): Version upgrade required: [ 404.147302][ T5967] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 404.147302][ T5967] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 404.147302][ T5967] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 404.175184][ T5967] invalid bkey u64s 7 type extent 536870913:24:U32_MAX len 24 ver 0: durability: 1 crc: c_size 8 size 24 offset 0 nonce 0 csum none 0:0 compress lz4 ptr: 0:805306402:8 gen 0 invalid [ 404.175196][ T5967] pointer past last bucket (805306402 > 128): delete?, fixing [ 404.185734][ T5967] invalid bkey u64s 18 type inode_v3 0:4100:U32_MAX len 0 ver 0: (unpack error) [ 404.185750][ T5967] invalid variable length fields: delete?, fixing [ 404.195094][ T5967] invalid bkey u64s 12 type alloc_v4 0:28:0 len 0 ver 0: [ 404.195104][ T5967] gen 0 oldest_gen 0 data_type btree [ 404.195108][ T5967] journal_seq 6 [ 404.195112][ T5967] need_discard 1 [ 404.195115][ T5967] need_inc_gen 1 [ 404.195119][ T5967] dirty_sectors 0 [ 404.195123][ T5967] stripe_sectors 0 [ 404.195126][ T5967] cached_sectors 0 [ 404.195130][ T5967] stripe 0 [ 404.195133][ T5967] stripe_redundancy 0 [ 404.195137][ T5967] io_time[READ] 1 [ 404.195140][ T5967] io_time[WRITE] 768 [ 404.195144][ T5967] fragmentation 0 [ 404.195149][ T5967] bp_start 8 [ 404.195154][ T5967] [ 404.195160][ T5967] invalid data type (got 3 should be 9): delete?, fixing [ 404.228099][ T5967] bcachefs (loop0): check_topology... done [ 404.230402][ T5967] bcachefs (loop0): accounting_read... done [ 404.232536][ T5967] bcachefs (loop0): alloc_read... done [ 404.235032][ T5967] bcachefs (loop0): stripes_read... done [ 404.236893][ T5967] bcachefs (loop0): snapshots_read... done [ 404.238961][ T5967] bcachefs (loop0): check_allocations... [ 404.240110][ T5967] bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 404.240122][ T5967] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 404.252622][ T5967] bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 404.252636][ T5967] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 404.262013][ T5967] bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 404.262027][ T5967] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 404.271800][ T5967] bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 404.271814][ T5967] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 404.281758][ T5967] bucket 0:28 data type btree ptr gen 0 missing in alloc btree [ 404.281773][ T5967] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 28f61e078e70b95c written 16 min_key POS_MIN durability: 1 ptr: 0:28:0 gen 0, fixing [ 404.291177][ T5967] bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 404.291191][ T5967] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 404.300534][ T5967] bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 404.303964][ T5967] bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 404.307897][ T5967] bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 404.311032][ T5967] bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 404.315041][ T5967] bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 404.318353][ T5967] bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 404.322679][ T5967] bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 404.326568][ T5967] bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 404.330448][ T5967] bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 404.334420][ T5967] bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 404.338186][ T5967] bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 404.341097][ T5967] bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 404.345297][ T5967] bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 404.348465][ T5967] bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 404.352411][ T5967] bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 404.355845][ T5967] bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 404.359156][ T5967] bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 404.362252][ T5967] bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 404.366627][ T5967] bucket 0:16 gen 0 has wrong data_type: got free, should be sb, fixing [ 404.369642][ T5967] bucket 0:16 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 404.373131][ T5967] bucket 0:17 gen 0 has wrong data_type: got free, should be sb, fixing [ 404.376772][ T5967] bcachefs (loop0): Ratelimiting new instances of previous error [ 404.379396][ T5967] bucket 0:17 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 404.382963][ T5967] bcachefs (loop0): Ratelimiting new instances of previous error [ 404.388192][ T5967] bucket 0:34 gen 0 data type user has wrong cached_sectors: got 65535, should be 0, fixing [ 404.395549][ T5967] done [ 404.397609][ T5967] bcachefs (loop0): going read-write [ 404.402594][ T5967] bcachefs (loop0): Fixed errors, running fsck a second time to verify fs is clean [ 404.408390][ T5967] bcachefs (loop0): done starting filesystem [ 404.429916][ T5115] bcachefs (loop0): shutting down [ 404.431875][ T5115] bcachefs (loop0): going read-only [ 404.434585][ T5115] bcachefs (loop0): finished waiting for writes to stop [ 404.438200][ T5115] bcachefs (loop0): flushing journal and stopping allocators, journal seq 12 [ 404.456250][ T5115] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 15 [ 404.460569][ T5115] bcachefs (loop0): unshutdown complete, journal seq 16 [ 404.464308][ T5115] bcachefs (loop0): done going read-only, filesystem not clean [ 404.476710][ T5115] bcachefs (loop0): shutdown complete executing program [ 405.241416][ T5978] loop0: detected capacity change from 0 to 32768 [ 405.304760][ T5978] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,erasure_code,fsck,norecovery,nocow,no_data_io [ 405.310482][ T5978] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 405.313233][ T5978] bcachefs (loop0): Version upgrade required: [ 405.313233][ T5978] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 405.313233][ T5978] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 405.313233][ T5978] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 405.340111][ T5978] invalid bkey u64s 7 type extent 536870913:24:U32_MAX len 24 ver 0: durability: 1 crc: c_size 8 size 24 offset 0 nonce 0 csum none 0:0 compress lz4 ptr: 0:805306402:8 gen 0 invalid [ 405.340127][ T5978] pointer past last bucket (805306402 > 128): delete?, fixing [ 405.351431][ T5978] invalid bkey u64s 18 type inode_v3 0:4100:U32_MAX len 0 ver 0: (unpack error) [ 405.351440][ T5978] invalid variable length fields: delete?, fixing [ 405.359346][ T5978] invalid bkey u64s 12 type alloc_v4 0:28:0 len 0 ver 0: [ 405.359360][ T5978] gen 0 oldest_gen 0 data_type btree [ 405.359364][ T5978] journal_seq 6 [ 405.359368][ T5978] need_discard 1 [ 405.359374][ T5978] need_inc_gen 1 [ 405.359379][ T5978] dirty_sectors 0 [ 405.359385][ T5978] stripe_sectors 0 [ 405.359391][ T5978] cached_sectors 0 [ 405.359396][ T5978] stripe 0 [ 405.359402][ T5978] stripe_redundancy 0 [ 405.359408][ T5978] io_time[READ] 1 [ 405.359414][ T5978] io_time[WRITE] 768 [ 405.359419][ T5978] fragmentation 0 [ 405.359424][ T5978] bp_start 8 [ 405.359430][ T5978] [ 405.359435][ T5978] invalid data type (got 3 should be 9): delete?, fixing [ 405.390945][ T5978] bcachefs (loop0): check_topology... done [ 405.393190][ T5978] bcachefs (loop0): accounting_read... done [ 405.395982][ T5978] bcachefs (loop0): alloc_read... done [ 405.397930][ T5978] bcachefs (loop0): stripes_read... done [ 405.399968][ T5978] bcachefs (loop0): snapshots_read... done [ 405.402155][ T5978] bcachefs (loop0): check_allocations... [ 405.403272][ T5978] bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 405.403285][ T5978] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 405.415785][ T5978] bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 405.415799][ T5978] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 405.425377][ T5978] bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 405.425391][ T5978] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 405.434855][ T5978] bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 405.434870][ T5978] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 405.444371][ T5978] bucket 0:28 data type btree ptr gen 0 missing in alloc btree [ 405.444386][ T5978] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 28f61e078e70b95c written 16 min_key POS_MIN durability: 1 ptr: 0:28:0 gen 0, fixing [ 405.453308][ T5978] bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 405.453322][ T5978] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 405.462632][ T5978] bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 405.466014][ T5978] bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 405.469747][ T5978] bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 405.472616][ T5978] bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 405.476754][ T5978] bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 405.479832][ T5978] bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 405.483219][ T5978] bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 405.486710][ T5978] bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 405.490312][ T5978] bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 405.493173][ T5978] bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 405.497346][ T5978] bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 405.500508][ T5978] bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 405.504368][ T5978] bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 405.507407][ T5978] bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 405.511022][ T5978] bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 405.514354][ T5978] bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 405.517867][ T5978] bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 405.521315][ T5978] bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 405.525371][ T5978] bucket 0:16 gen 0 has wrong data_type: got free, should be sb, fixing [ 405.528249][ T5978] bucket 0:16 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 405.532156][ T5978] bucket 0:17 gen 0 has wrong data_type: got free, should be sb, fixing [ 405.535813][ T5978] bcachefs (loop0): Ratelimiting new instances of previous error [ 405.538556][ T5978] bucket 0:17 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 405.542015][ T5978] bcachefs (loop0): Ratelimiting new instances of previous error [ 405.546745][ T5978] bucket 0:34 gen 0 data type user has wrong cached_sectors: got 65535, should be 0, fixing [ 405.552499][ T5978] done [ 405.555299][ T5978] bcachefs (loop0): going read-write [ 405.560428][ T5978] bcachefs (loop0): Fixed errors, running fsck a second time to verify fs is clean [ 405.565740][ T5978] bcachefs (loop0): done starting filesystem [ 405.587345][ T5115] bcachefs (loop0): shutting down [ 405.589341][ T5115] bcachefs (loop0): going read-only [ 405.591097][ T5115] bcachefs (loop0): finished waiting for writes to stop [ 405.595052][ T5115] bcachefs (loop0): flushing journal and stopping allocators, journal seq 12 [ 405.610349][ T5115] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 405.614848][ T5115] bcachefs (loop0): unshutdown complete, journal seq 15 [ 405.617802][ T5115] bcachefs (loop0): done going read-only, filesystem not clean [ 405.629112][ T5115] bcachefs (loop0): shutdown complete executing program [ 406.410746][ T5989] loop0: detected capacity change from 0 to 32768 [ 406.473379][ T5989] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,erasure_code,fsck,norecovery,nocow,no_data_io [ 406.478631][ T5989] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 406.481267][ T5989] bcachefs (loop0): Version upgrade required: [ 406.481267][ T5989] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 406.481267][ T5989] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 406.481267][ T5989] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 406.504573][ T5989] invalid bkey u64s 7 type extent 536870913:24:U32_MAX len 24 ver 0: durability: 1 crc: c_size 8 size 24 offset 0 nonce 0 csum none 0:0 compress lz4 ptr: 0:805306402:8 gen 0 invalid [ 406.504591][ T5989] pointer past last bucket (805306402 > 128): delete?, fixing [ 406.513232][ T5989] invalid bkey u64s 18 type inode_v3 0:4100:U32_MAX len 0 ver 0: (unpack error) [ 406.513244][ T5989] invalid variable length fields: delete?, fixing [ 406.520768][ T5989] invalid bkey u64s 12 type alloc_v4 0:28:0 len 0 ver 0: [ 406.520782][ T5989] gen 0 oldest_gen 0 data_type btree [ 406.520789][ T5989] journal_seq 6 [ 406.520794][ T5989] need_discard 1 [ 406.520800][ T5989] need_inc_gen 1 [ 406.520806][ T5989] dirty_sectors 0 [ 406.520811][ T5989] stripe_sectors 0 [ 406.520817][ T5989] cached_sectors 0 [ 406.520823][ T5989] stripe 0 [ 406.520829][ T5989] stripe_redundancy 0 [ 406.520834][ T5989] io_time[READ] 1 [ 406.520840][ T5989] io_time[WRITE] 768 [ 406.520846][ T5989] fragmentation 0 [ 406.520852][ T5989] bp_start 8 [ 406.520857][ T5989] [ 406.520862][ T5989] invalid data type (got 3 should be 9): delete?, fixing [ 406.548393][ T5989] bcachefs (loop0): check_topology... done [ 406.550155][ T5989] bcachefs (loop0): accounting_read... done [ 406.552035][ T5989] bcachefs (loop0): alloc_read... done [ 406.554282][ T5989] bcachefs (loop0): stripes_read... done [ 406.556300][ T5989] bcachefs (loop0): snapshots_read... done [ 406.558227][ T5989] bcachefs (loop0): check_allocations... [ 406.559438][ T5989] bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 406.559449][ T5989] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 406.569959][ T5989] bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 406.569972][ T5989] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 406.578309][ T5989] bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 406.578322][ T5989] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 406.586830][ T5989] bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 406.586844][ T5989] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 406.594882][ T5989] bucket 0:28 data type btree ptr gen 0 missing in alloc btree [ 406.594896][ T5989] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 28f61e078e70b95c written 16 min_key POS_MIN durability: 1 ptr: 0:28:0 gen 0, fixing [ 406.602858][ T5989] bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 406.602912][ T5989] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 406.611192][ T5989] bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 406.614437][ T5989] bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 406.617785][ T5989] bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 406.620341][ T5989] bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 406.623276][ T5989] bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 406.626548][ T5989] bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 406.629609][ T5989] bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 406.632225][ T5989] bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 406.636209][ T5989] bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 406.638899][ T5989] bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 406.642194][ T5989] bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 406.645195][ T5989] bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 406.648123][ T5989] bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 406.650616][ T5989] bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 406.655487][ T5989] bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 406.657933][ T5989] bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 406.660761][ T5989] bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 406.663938][ T5989] bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 406.667075][ T5989] bucket 0:16 gen 0 has wrong data_type: got free, should be sb, fixing [ 406.669540][ T5989] bucket 0:16 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 406.672476][ T5989] bucket 0:17 gen 0 has wrong data_type: got free, should be sb, fixing [ 406.675559][ T5989] bcachefs (loop0): Ratelimiting new instances of previous error [ 406.677939][ T5989] bucket 0:17 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 406.680861][ T5989] bcachefs (loop0): Ratelimiting new instances of previous error [ 406.685161][ T5989] bucket 0:34 gen 0 data type user has wrong cached_sectors: got 65535, should be 0, fixing [ 406.690806][ T5989] done [ 406.692511][ T5989] bcachefs (loop0): going read-write [ 406.697216][ T5989] bcachefs (loop0): Fixed errors, running fsck a second time to verify fs is clean [ 406.701997][ T5989] bcachefs (loop0): done starting filesystem [ 406.722918][ T5115] bcachefs (loop0): shutting down [ 406.725310][ T5115] bcachefs (loop0): going read-only [ 406.726894][ T5115] bcachefs (loop0): finished waiting for writes to stop [ 406.731222][ T5115] bcachefs (loop0): flushing journal and stopping allocators, journal seq 12 [ 406.747827][ T5115] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 406.751487][ T5115] bcachefs (loop0): unshutdown complete, journal seq 15 [ 406.754792][ T5115] bcachefs (loop0): done going read-only, filesystem not clean [ 406.767757][ T5115] bcachefs (loop0): shutdown complete executing program [ 407.509935][ T6000] loop0: detected capacity change from 0 to 32768 [ 407.578648][ T6000] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,erasure_code,fsck,norecovery,nocow,no_data_io [ 407.585007][ T6000] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 407.588264][ T6000] bcachefs (loop0): Version upgrade required: [ 407.588264][ T6000] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 407.588264][ T6000] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 407.588264][ T6000] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 407.616306][ T6000] invalid bkey u64s 7 type extent 536870913:24:U32_MAX len 24 ver 0: durability: 1 crc: c_size 8 size 24 offset 0 nonce 0 csum none 0:0 compress lz4 ptr: 0:805306402:8 gen 0 invalid [ 407.616318][ T6000] pointer past last bucket (805306402 > 128): delete?, fixing [ 407.630695][ T6000] invalid bkey u64s 18 type inode_v3 0:4100:U32_MAX len 0 ver 0: (unpack error) [ 407.630710][ T6000] invalid variable length fields: delete?, fixing [ 407.639246][ T6000] invalid bkey u64s 12 type alloc_v4 0:28:0 len 0 ver 0: [ 407.639259][ T6000] gen 0 oldest_gen 0 data_type btree [ 407.639266][ T6000] journal_seq 6 [ 407.639272][ T6000] need_discard 1 [ 407.639278][ T6000] need_inc_gen 1 [ 407.639284][ T6000] dirty_sectors 0 [ 407.639289][ T6000] stripe_sectors 0 [ 407.639295][ T6000] cached_sectors 0 [ 407.639302][ T6000] stripe 0 [ 407.639308][ T6000] stripe_redundancy 0 [ 407.639315][ T6000] io_time[READ] 1 [ 407.639321][ T6000] io_time[WRITE] 768 [ 407.639327][ T6000] fragmentation 0 [ 407.639333][ T6000] bp_start 8 [ 407.639340][ T6000] [ 407.639345][ T6000] invalid data type (got 3 should be 9): delete?, fixing [ 407.674459][ T6000] bcachefs (loop0): check_topology... done [ 407.676753][ T6000] bcachefs (loop0): accounting_read... done [ 407.679058][ T6000] bcachefs (loop0): alloc_read... done [ 407.681189][ T6000] bcachefs (loop0): stripes_read... done [ 407.683922][ T6000] bcachefs (loop0): snapshots_read... done [ 407.686144][ T6000] bcachefs (loop0): check_allocations... [ 407.687489][ T6000] bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 407.687502][ T6000] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 407.699617][ T6000] bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 407.699632][ T6000] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 407.709034][ T6000] bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 407.709050][ T6000] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 407.718858][ T6000] bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 407.718869][ T6000] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 407.728574][ T6000] bucket 0:28 data type btree ptr gen 0 missing in alloc btree [ 407.728588][ T6000] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 28f61e078e70b95c written 16 min_key POS_MIN durability: 1 ptr: 0:28:0 gen 0, fixing [ 407.737602][ T6000] bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 407.737616][ T6000] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 407.747242][ T6000] bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 407.750246][ T6000] bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 407.754568][ T6000] bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 407.757753][ T6000] bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 407.761315][ T6000] bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 407.764761][ T6000] bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 407.768753][ T6000] bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 407.771930][ T6000] bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 407.778890][ T6000] bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 407.782119][ T6000] bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 407.786220][ T6000] bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 407.789641][ T6000] bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 407.793899][ T6000] bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 407.797091][ T6000] bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 407.800942][ T6000] bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 407.804586][ T6000] bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 407.808173][ T6000] bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 407.811509][ T6000] bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 407.815817][ T6000] bucket 0:16 gen 0 has wrong data_type: got free, should be sb, fixing [ 407.818801][ T6000] bucket 0:16 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 407.822206][ T6000] bucket 0:17 gen 0 has wrong data_type: got free, should be sb, fixing [ 407.825625][ T6000] bcachefs (loop0): Ratelimiting new instances of previous error [ 407.828526][ T6000] bucket 0:17 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 407.832018][ T6000] bcachefs (loop0): Ratelimiting new instances of previous error [ 407.837162][ T6000] bucket 0:34 gen 0 data type user has wrong cached_sectors: got 65535, should be 0, fixing [ 407.848767][ T6000] done [ 407.850737][ T6000] bcachefs (loop0): going read-write [ 407.855906][ T6000] bcachefs (loop0): Fixed errors, running fsck a second time to verify fs is clean [ 407.861521][ T6000] bcachefs (loop0): done starting filesystem [ 407.885796][ T5115] bcachefs (loop0): shutting down [ 407.887729][ T5115] bcachefs (loop0): going read-only [ 407.889616][ T5115] bcachefs (loop0): finished waiting for writes to stop [ 407.893289][ T5115] bcachefs (loop0): flushing journal and stopping allocators, journal seq 12 [ 407.910985][ T5115] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 407.915357][ T5115] bcachefs (loop0): unshutdown complete, journal seq 15 [ 407.918630][ T5115] bcachefs (loop0): done going read-only, filesystem not clean [ 407.931220][ T5115] bcachefs (loop0): shutdown complete executing program [ 408.699661][ T6011] loop0: detected capacity change from 0 to 32768 [ 408.758153][ T6011] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,erasure_code,fsck,norecovery,nocow,no_data_io [ 408.764266][ T6011] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 408.767141][ T6011] bcachefs (loop0): Version upgrade required: [ 408.767141][ T6011] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 408.767141][ T6011] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 408.767141][ T6011] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 408.794259][ T6011] invalid bkey u64s 7 type extent 536870913:24:U32_MAX len 24 ver 0: durability: 1 crc: c_size 8 size 24 offset 0 nonce 0 csum none 0:0 compress lz4 ptr: 0:805306402:8 gen 0 invalid [ 408.794277][ T6011] pointer past last bucket (805306402 > 128): delete?, fixing [ 408.804685][ T6011] invalid bkey u64s 18 type inode_v3 0:4100:U32_MAX len 0 ver 0: (unpack error) [ 408.804700][ T6011] invalid variable length fields: delete?, fixing [ 408.812292][ T6011] invalid bkey u64s 12 type alloc_v4 0:28:0 len 0 ver 0: [ 408.812307][ T6011] gen 0 oldest_gen 0 data_type btree [ 408.812314][ T6011] journal_seq 6 [ 408.812320][ T6011] need_discard 1 [ 408.812327][ T6011] need_inc_gen 1 [ 408.812334][ T6011] dirty_sectors 0 [ 408.812340][ T6011] stripe_sectors 0 [ 408.812346][ T6011] cached_sectors 0 [ 408.812352][ T6011] stripe 0 [ 408.812359][ T6011] stripe_redundancy 0 [ 408.812365][ T6011] io_time[READ] 1 [ 408.812372][ T6011] io_time[WRITE] 768 [ 408.812378][ T6011] fragmentation 0 [ 408.812384][ T6011] bp_start 8 [ 408.812391][ T6011] [ 408.812396][ T6011] invalid data type (got 3 should be 9): delete?, fixing [ 408.844043][ T6011] bcachefs (loop0): check_topology... done [ 408.846358][ T6011] bcachefs (loop0): accounting_read... done [ 408.848867][ T6011] bcachefs (loop0): alloc_read... done [ 408.851078][ T6011] bcachefs (loop0): stripes_read... done [ 408.853369][ T6011] bcachefs (loop0): snapshots_read... done [ 408.856392][ T6011] bcachefs (loop0): check_allocations... [ 408.857695][ T6011] bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 408.857709][ T6011] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 408.870176][ T6011] bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 408.870190][ T6011] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 408.879576][ T6011] bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 408.879591][ T6011] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 408.891721][ T6011] bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 408.891736][ T6011] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 408.901404][ T6011] bucket 0:28 data type btree ptr gen 0 missing in alloc btree [ 408.901420][ T6011] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 28f61e078e70b95c written 16 min_key POS_MIN durability: 1 ptr: 0:28:0 gen 0, fixing [ 408.911039][ T6011] bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 408.911054][ T6011] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 408.920705][ T6011] bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 408.924419][ T6011] bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 408.928411][ T6011] bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 408.931518][ T6011] bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 408.935270][ T6011] bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 408.938123][ T6011] bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 408.941767][ T6011] bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 408.945018][ T6011] bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 408.948711][ T6011] bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 408.951616][ T6011] bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 408.956390][ T6011] bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 408.959674][ T6011] bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 408.963287][ T6011] bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 408.966714][ T6011] bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 408.970332][ T6011] bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 408.973801][ T6011] bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 408.977312][ T6011] bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 408.980469][ T6011] bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 408.984992][ T6011] bucket 0:16 gen 0 has wrong data_type: got free, should be sb, fixing [ 408.988049][ T6011] bucket 0:16 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 408.991605][ T6011] bucket 0:17 gen 0 has wrong data_type: got free, should be sb, fixing [ 408.995238][ T6011] bcachefs (loop0): Ratelimiting new instances of previous error [ 408.998012][ T6011] bucket 0:17 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 409.001728][ T6011] bcachefs (loop0): Ratelimiting new instances of previous error [ 409.006609][ T6011] bucket 0:34 gen 0 data type user has wrong cached_sectors: got 65535, should be 0, fixing [ 409.012819][ T6011] done [ 409.014899][ T6011] bcachefs (loop0): going read-write [ 409.020169][ T6011] bcachefs (loop0): Fixed errors, running fsck a second time to verify fs is clean [ 409.026045][ T6011] bcachefs (loop0): done starting filesystem [ 409.051803][ T5115] bcachefs (loop0): shutting down [ 409.053979][ T5115] bcachefs (loop0): going read-only [ 409.055735][ T5115] bcachefs (loop0): finished waiting for writes to stop [ 409.059380][ T5115] bcachefs (loop0): flushing journal and stopping allocators, journal seq 12 [ 409.075985][ T5115] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 409.079755][ T5115] bcachefs (loop0): unshutdown complete, journal seq 15 [ 409.082629][ T5115] bcachefs (loop0): done going read-only, filesystem not clean [ 409.095293][ T5115] bcachefs (loop0): shutdown complete executing program [ 409.826750][ T6022] loop0: detected capacity change from 0 to 32768 [ 409.872498][ T6022] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,erasure_code,fsck,norecovery,nocow,no_data_io [ 409.878667][ T6022] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 409.881805][ T6022] bcachefs (loop0): Version upgrade required: [ 409.881805][ T6022] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 409.881805][ T6022] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 409.881805][ T6022] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 409.910125][ T6022] invalid bkey u64s 7 type extent 536870913:24:U32_MAX len 24 ver 0: durability: 1 crc: c_size 8 size 24 offset 0 nonce 0 csum none 0:0 compress lz4 ptr: 0:805306402:8 gen 0 invalid [ 409.910142][ T6022] pointer past last bucket (805306402 > 128): delete?, fixing [ 409.921022][ T6022] invalid bkey u64s 18 type inode_v3 0:4100:U32_MAX len 0 ver 0: (unpack error) [ 409.921038][ T6022] invalid variable length fields: delete?, fixing [ 409.929653][ T6022] invalid bkey u64s 12 type alloc_v4 0:28:0 len 0 ver 0: [ 409.929668][ T6022] gen 0 oldest_gen 0 data_type btree [ 409.929675][ T6022] journal_seq 6 [ 409.929682][ T6022] need_discard 1 [ 409.929688][ T6022] need_inc_gen 1 [ 409.929694][ T6022] dirty_sectors 0 [ 409.929701][ T6022] stripe_sectors 0 [ 409.929707][ T6022] cached_sectors 0 [ 409.929717][ T6022] stripe 0 [ 409.929723][ T6022] stripe_redundancy 0 [ 409.929730][ T6022] io_time[READ] 1 [ 409.929736][ T6022] io_time[WRITE] 768 [ 409.929742][ T6022] fragmentation 0 [ 409.929748][ T6022] bp_start 8 [ 409.929760][ T6022] [ 409.929767][ T6022] invalid data type (got 3 should be 9): delete?, fixing [ 409.962217][ T6022] bcachefs (loop0): check_topology... done [ 409.964816][ T6022] bcachefs (loop0): accounting_read... done [ 409.967296][ T6022] bcachefs (loop0): alloc_read... done [ 409.969529][ T6022] bcachefs (loop0): stripes_read... done [ 409.971639][ T6022] bcachefs (loop0): snapshots_read... done [ 409.974019][ T6022] bcachefs (loop0): check_allocations... [ 409.975286][ T6022] bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 409.975300][ T6022] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 409.987786][ T6022] bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 409.987801][ T6022] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 409.997092][ T6022] bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 409.997106][ T6022] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 410.006494][ T6022] bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 410.006526][ T6022] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 410.015898][ T6022] bucket 0:28 data type btree ptr gen 0 missing in alloc btree [ 410.015908][ T6022] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 28f61e078e70b95c written 16 min_key POS_MIN durability: 1 ptr: 0:28:0 gen 0, fixing [ 410.025233][ T6022] bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 410.025278][ T6022] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 410.034811][ T6022] bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 410.037805][ T6022] bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 410.041301][ T6022] bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 410.044738][ T6022] bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 410.048310][ T6022] bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 410.051353][ T6022] bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 410.055615][ T6022] bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 410.058651][ T6022] bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 410.062177][ T6022] bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 410.065928][ T6022] bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 410.069509][ T6022] bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 410.072453][ T6022] bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 410.076611][ T6022] bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 410.079695][ T6022] bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 410.083826][ T6022] bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 410.087065][ T6022] bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 410.090591][ T6022] bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 410.094270][ T6022] bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 410.097960][ T6022] bucket 0:16 gen 0 has wrong data_type: got free, should be sb, fixing [ 410.100967][ T6022] bucket 0:16 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 410.104953][ T6022] bucket 0:17 gen 0 has wrong data_type: got free, should be sb, fixing [ 410.107949][ T6022] bcachefs (loop0): Ratelimiting new instances of previous error [ 410.110809][ T6022] bucket 0:17 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 410.114612][ T6022] bcachefs (loop0): Ratelimiting new instances of previous error [ 410.119646][ T6022] bucket 0:34 gen 0 data type user has wrong cached_sectors: got 65535, should be 0, fixing [ 410.126295][ T6022] done [ 410.127913][ T6022] bcachefs (loop0): going read-write [ 410.132744][ T6022] bcachefs (loop0): Fixed errors, running fsck a second time to verify fs is clean [ 410.140382][ T6022] bcachefs (loop0): done starting filesystem [ 410.165563][ T5115] bcachefs (loop0): shutting down [ 410.167616][ T5115] bcachefs (loop0): going read-only [ 410.169513][ T5115] bcachefs (loop0): finished waiting for writes to stop [ 410.173167][ T5115] bcachefs (loop0): flushing journal and stopping allocators, journal seq 12 [ 410.188924][ T5115] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 410.192954][ T5115] bcachefs (loop0): unshutdown complete, journal seq 15 [ 410.196691][ T5115] bcachefs (loop0): done going read-only, filesystem not clean [ 410.211084][ T5115] bcachefs (loop0): shutdown complete executing program [ 410.959013][ T6033] loop0: detected capacity change from 0 to 32768 [ 411.006337][ T6033] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,erasure_code,fsck,norecovery,nocow,no_data_io [ 411.011961][ T6033] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 411.015692][ T6033] bcachefs (loop0): Version upgrade required: [ 411.015692][ T6033] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 411.015692][ T6033] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 411.015692][ T6033] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 411.041947][ T6033] invalid bkey u64s 7 type extent 536870913:24:U32_MAX len 24 ver 0: durability: 1 crc: c_size 8 size 24 offset 0 nonce 0 csum none 0:0 compress lz4 ptr: 0:805306402:8 gen 0 invalid [ 411.041964][ T6033] pointer past last bucket (805306402 > 128): delete?, fixing [ 411.052363][ T6033] invalid bkey u64s 18 type inode_v3 0:4100:U32_MAX len 0 ver 0: (unpack error) [ 411.052378][ T6033] invalid variable length fields: delete?, fixing [ 411.060475][ T6033] invalid bkey u64s 12 type alloc_v4 0:28:0 len 0 ver 0: [ 411.060489][ T6033] gen 0 oldest_gen 0 data_type btree [ 411.060495][ T6033] journal_seq 6 [ 411.060501][ T6033] need_discard 1 [ 411.060507][ T6033] need_inc_gen 1 [ 411.060513][ T6033] dirty_sectors 0 [ 411.060536][ T6033] stripe_sectors 0 [ 411.060543][ T6033] cached_sectors 0 [ 411.060550][ T6033] stripe 0 [ 411.060556][ T6033] stripe_redundancy 0 [ 411.060563][ T6033] io_time[READ] 1 [ 411.060569][ T6033] io_time[WRITE] 768 [ 411.060575][ T6033] fragmentation 0 [ 411.060581][ T6033] bp_start 8 [ 411.060587][ T6033] [ 411.060592][ T6033] invalid data type (got 3 should be 9): delete?, fixing [ 411.092659][ T6033] bcachefs (loop0): check_topology... done [ 411.095327][ T6033] bcachefs (loop0): accounting_read... done [ 411.097871][ T6033] bcachefs (loop0): alloc_read... done [ 411.099912][ T6033] bcachefs (loop0): stripes_read... done [ 411.101983][ T6033] bcachefs (loop0): snapshots_read... done [ 411.104942][ T6033] bcachefs (loop0): check_allocations... [ 411.106231][ T6033] bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 411.106244][ T6033] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 411.120229][ T6033] bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 411.120249][ T6033] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 411.130340][ T6033] bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 411.130356][ T6033] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 411.140986][ T6033] bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 411.141003][ T6033] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 411.150364][ T6033] bucket 0:28 data type btree ptr gen 0 missing in alloc btree [ 411.150379][ T6033] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 28f61e078e70b95c written 16 min_key POS_MIN durability: 1 ptr: 0:28:0 gen 0, fixing [ 411.159751][ T6033] bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 411.159765][ T6033] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 411.168829][ T6033] bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 411.171769][ T6033] bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 411.175838][ T6033] bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 411.178798][ T6033] bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 411.182454][ T6033] bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 411.185999][ T6033] bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 411.189645][ T6033] bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 411.192610][ T6033] bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 411.196804][ T6033] bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 411.199914][ T6033] bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 411.203372][ T6033] bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 411.207269][ T6033] bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 411.210696][ T6033] bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 411.213918][ T6033] bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 411.217118][ T6033] bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 411.220146][ T6033] bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 411.224092][ T6033] bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 411.227241][ T6033] bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 411.230678][ T6033] bucket 0:16 gen 0 has wrong data_type: got free, should be sb, fixing [ 411.234251][ T6033] bucket 0:16 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 411.238217][ T6033] bucket 0:17 gen 0 has wrong data_type: got free, should be sb, fixing [ 411.241232][ T6033] bcachefs (loop0): Ratelimiting new instances of previous error [ 411.244563][ T6033] bucket 0:17 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 411.248210][ T6033] bcachefs (loop0): Ratelimiting new instances of previous error [ 411.252482][ T6033] bucket 0:34 gen 0 data type user has wrong cached_sectors: got 65535, should be 0, fixing [ 411.259264][ T6033] done [ 411.261042][ T6033] bcachefs (loop0): going read-write [ 411.266440][ T6033] bcachefs (loop0): Fixed errors, running fsck a second time to verify fs is clean [ 411.271534][ T6033] bcachefs (loop0): done starting filesystem [ 411.292506][ T5115] bcachefs (loop0): shutting down [ 411.294567][ T5115] bcachefs (loop0): going read-only [ 411.296445][ T5115] bcachefs (loop0): finished waiting for writes to stop [ 411.299417][ T5115] bcachefs (loop0): flushing journal and stopping allocators, journal seq 12 [ 411.316356][ T5115] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 411.320108][ T5115] bcachefs (loop0): unshutdown complete, journal seq 15 [ 411.323201][ T5115] bcachefs (loop0): done going read-only, filesystem not clean [ 411.336548][ T5115] bcachefs (loop0): shutdown complete executing program [ 412.090937][ T6044] loop0: detected capacity change from 0 to 32768 [ 412.154874][ T6044] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,erasure_code,fsck,norecovery,nocow,no_data_io [ 412.160279][ T6044] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 412.163254][ T6044] bcachefs (loop0): Version upgrade required: [ 412.163254][ T6044] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 412.163254][ T6044] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 412.163254][ T6044] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 412.190290][ T6044] invalid bkey u64s 7 type extent 536870913:24:U32_MAX len 24 ver 0: durability: 1 crc: c_size 8 size 24 offset 0 nonce 0 csum none 0:0 compress lz4 ptr: 0:805306402:8 gen 0 invalid [ 412.190308][ T6044] pointer past last bucket (805306402 > 128): delete?, fixing [ 412.200985][ T6044] invalid bkey u64s 18 type inode_v3 0:4100:U32_MAX len 0 ver 0: (unpack error) [ 412.200999][ T6044] invalid variable length fields: delete?, fixing [ 412.209122][ T6044] invalid bkey u64s 12 type alloc_v4 0:28:0 len 0 ver 0: [ 412.209134][ T6044] gen 0 oldest_gen 0 data_type btree [ 412.209138][ T6044] journal_seq 6 [ 412.209142][ T6044] need_discard 1 [ 412.209145][ T6044] need_inc_gen 1 [ 412.209149][ T6044] dirty_sectors 0 [ 412.209153][ T6044] stripe_sectors 0 [ 412.209157][ T6044] cached_sectors 0 [ 412.209160][ T6044] stripe 0 [ 412.209164][ T6044] stripe_redundancy 0 [ 412.209168][ T6044] io_time[READ] 1 [ 412.209172][ T6044] io_time[WRITE] 768 [ 412.209175][ T6044] fragmentation 0 [ 412.209182][ T6044] bp_start 8 [ 412.209187][ T6044] [ 412.209193][ T6044] invalid data type (got 3 should be 9): delete?, fixing [ 412.243715][ T6044] bcachefs (loop0): check_topology... done [ 412.245928][ T6044] bcachefs (loop0): accounting_read... done [ 412.248242][ T6044] bcachefs (loop0): alloc_read... done [ 412.250281][ T6044] bcachefs (loop0): stripes_read... done [ 412.252321][ T6044] bcachefs (loop0): snapshots_read... done [ 412.255262][ T6044] bcachefs (loop0): check_allocations... [ 412.258762][ T6044] bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 412.258771][ T6044] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 412.270976][ T6044] bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 412.270992][ T6044] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 412.279500][ T6044] bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 412.279514][ T6044] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 412.287986][ T6044] bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 412.288000][ T6044] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 412.297513][ T6044] bucket 0:28 data type btree ptr gen 0 missing in alloc btree [ 412.297528][ T6044] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 28f61e078e70b95c written 16 min_key POS_MIN durability: 1 ptr: 0:28:0 gen 0, fixing [ 412.307117][ T6044] bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 412.307132][ T6044] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 412.316019][ T6044] bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 412.319172][ T6044] bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 412.322707][ T6044] bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 412.326763][ T6044] bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 412.330401][ T6044] bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 412.333767][ T6044] bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 412.337503][ T6044] bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 412.340675][ T6044] bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 412.344785][ T6044] bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 412.347765][ T6044] bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 412.351401][ T6044] bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 412.355038][ T6044] bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 412.358814][ T6044] bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 412.361875][ T6044] bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 412.365899][ T6044] bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 412.368939][ T6044] bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 412.372944][ T6044] bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 412.376872][ T6044] bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 412.380772][ T6044] bucket 0:16 gen 0 has wrong data_type: got free, should be sb, fixing [ 412.384256][ T6044] bucket 0:16 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 412.388073][ T6044] bucket 0:17 gen 0 has wrong data_type: got free, should be sb, fixing [ 412.391212][ T6044] bcachefs (loop0): Ratelimiting new instances of previous error [ 412.394706][ T6044] bucket 0:17 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 412.398308][ T6044] bcachefs (loop0): Ratelimiting new instances of previous error [ 412.402917][ T6044] bucket 0:34 gen 0 data type user has wrong cached_sectors: got 65535, should be 0, fixing [ 412.409349][ T6044] done [ 412.411222][ T6044] bcachefs (loop0): going read-write [ 412.416321][ T6044] bcachefs (loop0): Fixed errors, running fsck a second time to verify fs is clean [ 412.421775][ T6044] bcachefs (loop0): done starting filesystem [ 412.442656][ T5115] bcachefs (loop0): shutting down [ 412.444940][ T5115] bcachefs (loop0): going read-only [ 412.446855][ T5115] bcachefs (loop0): finished waiting for writes to stop [ 412.449970][ T5115] bcachefs (loop0): flushing journal and stopping allocators, journal seq 12 [ 412.465867][ T5115] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 412.470094][ T5115] bcachefs (loop0): unshutdown complete, journal seq 15 [ 412.473197][ T5115] bcachefs (loop0): done going read-only, filesystem not clean [ 412.486395][ T5115] bcachefs (loop0): shutdown complete executing program [ 413.247805][ T6055] loop0: detected capacity change from 0 to 32768 [ 413.303100][ T6055] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,erasure_code,fsck,norecovery,nocow,no_data_io [ 413.310852][ T6055] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 413.314265][ T6055] bcachefs (loop0): Version upgrade required: [ 413.314265][ T6055] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 413.314265][ T6055] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 413.314265][ T6055] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 413.341109][ T6055] invalid bkey u64s 7 type extent 536870913:24:U32_MAX len 24 ver 0: durability: 1 crc: c_size 8 size 24 offset 0 nonce 0 csum none 0:0 compress lz4 ptr: 0:805306402:8 gen 0 invalid [ 413.341126][ T6055] pointer past last bucket (805306402 > 128): delete?, fixing [ 413.352618][ T6055] invalid bkey u64s 18 type inode_v3 0:4100:U32_MAX len 0 ver 0: (unpack error) [ 413.352632][ T6055] invalid variable length fields: delete?, fixing [ 413.361095][ T6055] invalid bkey u64s 12 type alloc_v4 0:28:0 len 0 ver 0: [ 413.361109][ T6055] gen 0 oldest_gen 0 data_type btree [ 413.361116][ T6055] journal_seq 6 [ 413.361123][ T6055] need_discard 1 [ 413.361128][ T6055] need_inc_gen 1 [ 413.361134][ T6055] dirty_sectors 0 [ 413.361140][ T6055] stripe_sectors 0 [ 413.361147][ T6055] cached_sectors 0 [ 413.361153][ T6055] stripe 0 [ 413.361160][ T6055] stripe_redundancy 0 [ 413.361166][ T6055] io_time[READ] 1 [ 413.361172][ T6055] io_time[WRITE] 768 [ 413.361178][ T6055] fragmentation 0 [ 413.361185][ T6055] bp_start 8 [ 413.361191][ T6055] [ 413.361197][ T6055] invalid data type (got 3 should be 9): delete?, fixing [ 413.394399][ T6055] bcachefs (loop0): check_topology... done [ 413.396664][ T6055] bcachefs (loop0): accounting_read... done [ 413.399178][ T6055] bcachefs (loop0): alloc_read... done [ 413.401058][ T6055] bcachefs (loop0): stripes_read... done [ 413.403122][ T6055] bcachefs (loop0): snapshots_read... done [ 413.405961][ T6055] bcachefs (loop0): check_allocations... [ 413.407251][ T6055] bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 413.407264][ T6055] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 413.419273][ T6055] bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 413.419288][ T6055] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 413.429233][ T6055] bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 413.429244][ T6055] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 413.439136][ T6055] bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 413.439149][ T6055] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 413.449139][ T6055] bucket 0:28 data type btree ptr gen 0 missing in alloc btree [ 413.449154][ T6055] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 28f61e078e70b95c written 16 min_key POS_MIN durability: 1 ptr: 0:28:0 gen 0, fixing [ 413.458745][ T6055] bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 413.458760][ T6055] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 413.468525][ T6055] bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 413.471719][ T6055] bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 413.475871][ T6055] bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 413.478932][ T6055] bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 413.482490][ T6055] bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 413.486086][ T6055] bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 413.489496][ T6055] bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 413.492162][ T6055] bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 413.496309][ T6055] bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 413.499201][ T6055] bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 413.503035][ T6055] bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 413.507061][ T6055] bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 413.510772][ T6055] bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 413.514142][ T6055] bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 413.517342][ T6055] bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 413.520278][ T6055] bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 413.524140][ T6055] bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 413.527396][ T6055] bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 413.531155][ T6055] bucket 0:16 gen 0 has wrong data_type: got free, should be sb, fixing [ 413.534704][ T6055] bucket 0:16 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 413.538285][ T6055] bucket 0:17 gen 0 has wrong data_type: got free, should be sb, fixing [ 413.541204][ T6055] bcachefs (loop0): Ratelimiting new instances of previous error [ 413.544530][ T6055] bucket 0:17 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 413.547887][ T6055] bcachefs (loop0): Ratelimiting new instances of previous error [ 413.551960][ T6055] bucket 0:34 gen 0 data type user has wrong cached_sectors: got 65535, should be 0, fixing [ 413.558740][ T6055] done [ 413.560714][ T6055] bcachefs (loop0): going read-write [ 413.566185][ T6055] bcachefs (loop0): Fixed errors, running fsck a second time to verify fs is clean [ 413.571285][ T6055] bcachefs (loop0): done starting filesystem [ 413.607386][ T5115] bcachefs (loop0): shutting down [ 413.609354][ T5115] bcachefs (loop0): going read-only [ 413.611212][ T5115] bcachefs (loop0): finished waiting for writes to stop [ 413.615290][ T5115] bcachefs (loop0): flushing journal and stopping allocators, journal seq 12 [ 413.630516][ T5115] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 413.635065][ T5115] bcachefs (loop0): unshutdown complete, journal seq 15 [ 413.638007][ T5115] bcachefs (loop0): done going read-only, filesystem not clean [ 413.651773][ T5115] bcachefs (loop0): shutdown complete executing program [ 414.387482][ T6066] loop0: detected capacity change from 0 to 32768 [ 414.431262][ T6066] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,erasure_code,fsck,norecovery,nocow,no_data_io [ 414.438434][ T6066] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 414.441515][ T6066] bcachefs (loop0): Version upgrade required: [ 414.441515][ T6066] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 414.441515][ T6066] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 414.441515][ T6066] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 414.468392][ T6066] invalid bkey u64s 7 type extent 536870913:24:U32_MAX len 24 ver 0: durability: 1 crc: c_size 8 size 24 offset 0 nonce 0 csum none 0:0 compress lz4 ptr: 0:805306402:8 gen 0 invalid [ 414.468409][ T6066] pointer past last bucket (805306402 > 128): delete?, fixing [ 414.478893][ T6066] invalid bkey u64s 18 type inode_v3 0:4100:U32_MAX len 0 ver 0: (unpack error) [ 414.478908][ T6066] invalid variable length fields: delete?, fixing [ 414.486933][ T6066] invalid bkey u64s 12 type alloc_v4 0:28:0 len 0 ver 0: [ 414.486948][ T6066] gen 0 oldest_gen 0 data_type btree [ 414.486955][ T6066] journal_seq 6 [ 414.486959][ T6066] need_discard 1 [ 414.486963][ T6066] need_inc_gen 1 [ 414.486966][ T6066] dirty_sectors 0 [ 414.486970][ T6066] stripe_sectors 0 [ 414.486974][ T6066] cached_sectors 0 [ 414.486978][ T6066] stripe 0 [ 414.486981][ T6066] stripe_redundancy 0 [ 414.486985][ T6066] io_time[READ] 1 [ 414.486989][ T6066] io_time[WRITE] 768 [ 414.486993][ T6066] fragmentation 0 [ 414.486997][ T6066] bp_start 8 [ 414.487000][ T6066] [ 414.487004][ T6066] invalid data type (got 3 should be 9): delete?, fixing [ 414.518923][ T6066] bcachefs (loop0): check_topology... done [ 414.520937][ T6066] bcachefs (loop0): accounting_read... done [ 414.523227][ T6066] bcachefs (loop0): alloc_read... done [ 414.525780][ T6066] bcachefs (loop0): stripes_read... done [ 414.527952][ T6066] bcachefs (loop0): snapshots_read... done [ 414.530148][ T6066] bcachefs (loop0): check_allocations... [ 414.531556][ T6066] bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 414.531569][ T6066] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 414.542528][ T6066] bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 414.542543][ T6066] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 414.551225][ T6066] bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 414.551241][ T6066] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 414.561197][ T6066] bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 414.561213][ T6066] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 414.570654][ T6066] bucket 0:28 data type btree ptr gen 0 missing in alloc btree [ 414.570669][ T6066] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 28f61e078e70b95c written 16 min_key POS_MIN durability: 1 ptr: 0:28:0 gen 0, fixing [ 414.579557][ T6066] bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 414.579567][ T6066] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 414.588401][ T6066] bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 414.591063][ T6066] bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 414.595054][ T6066] bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 414.598241][ T6066] bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 414.601816][ T6066] bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 414.605893][ T6066] bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 414.609565][ T6066] bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 414.612609][ T6066] bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 414.617041][ T6066] bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 414.619997][ T6066] bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 414.624269][ T6066] bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 414.627250][ T6066] bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 414.630602][ T6066] bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 414.633335][ T6066] bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 414.637198][ T6066] bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 414.639986][ T6066] bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 414.643118][ T6066] bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 414.646747][ T6066] bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 414.650463][ T6066] bucket 0:16 gen 0 has wrong data_type: got free, should be sb, fixing [ 414.655240][ T6066] bucket 0:16 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 414.658748][ T6066] bucket 0:17 gen 0 has wrong data_type: got free, should be sb, fixing [ 414.661628][ T6066] bcachefs (loop0): Ratelimiting new instances of previous error [ 414.664623][ T6066] bucket 0:17 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 414.667905][ T6066] bcachefs (loop0): Ratelimiting new instances of previous error [ 414.672772][ T6066] bucket 0:34 gen 0 data type user has wrong cached_sectors: got 65535, should be 0, fixing [ 414.678811][ T6066] done [ 414.680715][ T6066] bcachefs (loop0): going read-write [ 414.686394][ T6066] bcachefs (loop0): Fixed errors, running fsck a second time to verify fs is clean [ 414.691288][ T6066] bcachefs (loop0): done starting filesystem [ 414.726912][ T5115] bcachefs (loop0): shutting down [ 414.728747][ T5115] bcachefs (loop0): going read-only [ 414.731023][ T5115] bcachefs (loop0): finished waiting for writes to stop [ 414.734561][ T5115] bcachefs (loop0): flushing journal and stopping allocators, journal seq 12 [ 414.750059][ T5115] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 414.754504][ T5115] bcachefs (loop0): unshutdown complete, journal seq 15 [ 414.757466][ T5115] bcachefs (loop0): done going read-only, filesystem not clean [ 414.770210][ T5115] bcachefs (loop0): shutdown complete executing program [ 415.542531][ T6077] loop0: detected capacity change from 0 to 32768 [ 415.598503][ T6077] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,erasure_code,fsck,norecovery,nocow,no_data_io [ 415.604885][ T6077] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 415.608083][ T6077] bcachefs (loop0): Version upgrade required: [ 415.608083][ T6077] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 415.608083][ T6077] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 415.608083][ T6077] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 415.636121][ T6077] invalid bkey u64s 7 type extent 536870913:24:U32_MAX len 24 ver 0: durability: 1 crc: c_size 8 size 24 offset 0 nonce 0 csum none 0:0 compress lz4 ptr: 0:805306402:8 gen 0 invalid [ 415.636139][ T6077] pointer past last bucket (805306402 > 128): delete?, fixing [ 415.647181][ T6077] invalid bkey u64s 18 type inode_v3 0:4100:U32_MAX len 0 ver 0: (unpack error) [ 415.647197][ T6077] invalid variable length fields: delete?, fixing [ 415.655705][ T6077] invalid bkey u64s 12 type alloc_v4 0:28:0 len 0 ver 0: [ 415.655720][ T6077] gen 0 oldest_gen 0 data_type btree [ 415.655727][ T6077] journal_seq 6 [ 415.655733][ T6077] need_discard 1 [ 415.655740][ T6077] need_inc_gen 1 [ 415.655746][ T6077] dirty_sectors 0 [ 415.655752][ T6077] stripe_sectors 0 [ 415.655759][ T6077] cached_sectors 0 [ 415.655765][ T6077] stripe 0 [ 415.655772][ T6077] stripe_redundancy 0 [ 415.655778][ T6077] io_time[READ] 1 [ 415.655784][ T6077] io_time[WRITE] 768 [ 415.655790][ T6077] fragmentation 0 [ 415.655797][ T6077] bp_start 8 [ 415.655803][ T6077] [ 415.655809][ T6077] invalid data type (got 3 should be 9): delete?, fixing [ 415.687340][ T6077] bcachefs (loop0): check_topology... done [ 415.689383][ T6077] bcachefs (loop0): accounting_read... done [ 415.692163][ T6077] bcachefs (loop0): alloc_read... done [ 415.695388][ T6077] bcachefs (loop0): stripes_read... done [ 415.697341][ T6077] bcachefs (loop0): snapshots_read... done [ 415.699398][ T6077] bcachefs (loop0): check_allocations... [ 415.700671][ T6077] bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 415.700685][ T6077] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 415.714091][ T6077] bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 415.714106][ T6077] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 415.723354][ T6077] bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 415.723367][ T6077] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 415.732867][ T6077] bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 415.732882][ T6077] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 415.743989][ T6077] bucket 0:28 data type btree ptr gen 0 missing in alloc btree [ 415.744006][ T6077] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 28f61e078e70b95c written 16 min_key POS_MIN durability: 1 ptr: 0:28:0 gen 0, fixing [ 415.753110][ T6077] bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 415.753124][ T6077] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 415.762901][ T6077] bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 415.765973][ T6077] bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 415.769552][ T6077] bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 415.772479][ T6077] bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 415.776560][ T6077] bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 415.779571][ T6077] bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 415.783039][ T6077] bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 415.786601][ T6077] bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 415.790166][ T6077] bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 415.793231][ T6077] bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 415.797523][ T6077] bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 415.800498][ T6077] bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 415.804710][ T6077] bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 415.807969][ T6077] bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 415.811486][ T6077] bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 415.815547][ T6077] bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 415.819309][ T6077] bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 415.822417][ T6077] bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 415.827040][ T6077] bucket 0:16 gen 0 has wrong data_type: got free, should be sb, fixing [ 415.830904][ T6077] bucket 0:16 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 415.835000][ T6077] bucket 0:17 gen 0 has wrong data_type: got free, should be sb, fixing [ 415.838181][ T6077] bcachefs (loop0): Ratelimiting new instances of previous error [ 415.841295][ T6077] bucket 0:17 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 415.845660][ T6077] bcachefs (loop0): Ratelimiting new instances of previous error [ 415.850223][ T6077] bucket 0:34 gen 0 data type user has wrong cached_sectors: got 65535, should be 0, fixing [ 415.856937][ T6077] done [ 415.858786][ T6077] bcachefs (loop0): going read-write [ 415.864349][ T6077] bcachefs (loop0): Fixed errors, running fsck a second time to verify fs is clean [ 415.869709][ T6077] bcachefs (loop0): done starting filesystem [ 415.891533][ T5115] bcachefs (loop0): shutting down [ 415.893916][ T5115] bcachefs (loop0): going read-only [ 415.895827][ T5115] bcachefs (loop0): finished waiting for writes to stop [ 415.899324][ T5115] bcachefs (loop0): flushing journal and stopping allocators, journal seq 12 [ 415.914877][ T5115] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 13 [ 415.919721][ T5115] bcachefs (loop0): unshutdown complete, journal seq 14 [ 415.922676][ T5115] bcachefs (loop0): done going read-only, filesystem not clean [ 415.936722][ T5115] bcachefs (loop0): shutdown complete [ 416.340020][ T5115] ------------[ cut here ]------------ [ 416.342448][ T5115] kernel BUG at fs/bcachefs/btree_cache.c:594! [ 416.349191][ T5115] Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI [ 416.351891][ T5115] CPU: 0 UID: 0 PID: 5115 Comm: syz-executor275 Not tainted 6.12.0-rc4-syzkaller-00085-g4e46774408d9 #0 [ 416.355806][ T5115] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 416.359376][ T5115] RIP: 0010:bch2_fs_btree_cache_exit+0x1124/0x1130 [ 416.361677][ T5115] Code: fd 90 0f 0b e8 fd 23 81 fd 90 0f 0b e8 f5 23 81 fd 90 0f 0b e8 ed 23 81 fd 90 0f 0b e8 e5 23 81 fd 90 0f 0b e8 dd 23 81 fd 90 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 [ 416.368403][ T5115] RSP: 0018:ffffc9000aeb7c40 EFLAGS: 00010293 [ 416.370720][ T5115] RAX: ffffffff8413b403 RBX: 0000000000000002 RCX: ffff88801e250000 [ 416.373701][ T5115] RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000 [ 416.376747][ T5115] RBP: 1ffff110024ce816 R08: ffffffff8413aaa7 R09: 1ffff11008c003b6 [ 416.379672][ T5115] R10: dffffc0000000000 R11: ffffed1008c003b7 R12: ffff888046001c78 [ 416.382548][ T5115] R13: ffff888046000000 R14: 0000000000000000 R15: dffffc0000000000 [ 416.385534][ T5115] FS: 000055555caa7380(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 [ 416.388906][ T5115] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 416.391281][ T5115] CR2: 00007fffd32a8c38 CR3: 000000003dd42000 CR4: 0000000000352ef0 [ 416.394276][ T5115] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 416.397562][ T5115] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 416.400393][ T5115] Call Trace: [ 416.401674][ T5115] [ 416.402755][ T5115] ? __die_body+0x5f/0xb0 [ 416.404411][ T5115] ? die+0x9e/0xc0 [ 416.405784][ T5115] ? do_trap+0x15a/0x3a0 [ 416.407367][ T5115] ? bch2_fs_btree_cache_exit+0x1124/0x1130 [ 416.409683][ T5115] ? do_error_trap+0x1dc/0x2c0 [ 416.411507][ T5115] ? bch2_fs_btree_cache_exit+0x1124/0x1130 [ 416.413799][ T5115] ? __pfx_do_error_trap+0x10/0x10 [ 416.415795][ T5115] ? report_bug+0x3e8/0x500 [ 416.417750][ T5115] ? handle_invalid_op+0x34/0x40 [ 416.419773][ T5115] ? bch2_fs_btree_cache_exit+0x1124/0x1130 [ 416.421765][ T5115] ? exc_invalid_op+0x38/0x50 [ 416.423409][ T5115] ? asm_exc_invalid_op+0x1a/0x20 [ 416.425090][ T5115] ? bch2_fs_btree_cache_exit+0x7c7/0x1130 [ 416.427058][ T5115] ? bch2_fs_btree_cache_exit+0x1123/0x1130 [ 416.428979][ T5115] ? bch2_fs_btree_cache_exit+0x1124/0x1130 [ 416.431078][ T5115] bch2_fs_release+0x20e/0x7d0 [ 416.432758][ T5115] ? kobject_put+0x44d/0x480 [ 416.434417][ T5115] kobject_put+0x22f/0x480 [ 416.435981][ T5115] deactivate_locked_super+0xc4/0x130 [ 416.438058][ T5115] cleanup_mnt+0x41f/0x4b0 [ 416.439729][ T5115] ? lockdep_hardirqs_on+0x99/0x150 [ 416.441668][ T5115] task_work_run+0x24f/0x310 [ 416.443334][ T5115] ? __pfx_task_work_run+0x10/0x10 [ 416.445180][ T5115] ? __x64_sys_umount+0x123/0x170 [ 416.447012][ T5115] ? syscall_exit_to_user_mode+0xa3/0x370 [ 416.449141][ T5115] syscall_exit_to_user_mode+0x168/0x370 [ 416.451335][ T5115] do_syscall_64+0x100/0x230 [ 416.453172][ T5115] ? clear_bhb_loop+0x35/0x90 [ 416.454970][ T5115] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 416.457181][ T5115] RIP: 0033:0x7f8d78961f37 [ 416.458910][ T5115] Code: 07 00 48 83 c4 08 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 [ 416.465940][ T5115] RSP: 002b:00007fffd32a93e8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a6 [ 416.468987][ T5115] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f8d78961f37 [ 416.471857][ T5115] RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007fffd32a94a0 [ 416.474608][ T5115] RBP: 00007fffd32a94a0 R08: 0000000000000000 R09: 0000000000000000 [ 416.477094][ T5115] R10: 00000000ffffffff R11: 0000000000000206 R12: 00007fffd32aa510 [ 416.479989][ T5115] R13: 000055555caa86c0 R14: 431bde82d7b634db R15: 00007fffd32aa530 [ 416.482696][ T5115] [ 416.483773][ T5115] Modules linked in: [ 416.485321][ T5115] ---[ end trace 0000000000000000 ]--- [ 416.490280][ T5115] RIP: 0010:bch2_fs_btree_cache_exit+0x1124/0x1130 [ 416.492589][ T5115] Code: fd 90 0f 0b e8 fd 23 81 fd 90 0f 0b e8 f5 23 81 fd 90 0f 0b e8 ed 23 81 fd 90 0f 0b e8 e5 23 81 fd 90 0f 0b e8 dd 23 81 fd 90 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 [ 416.500678][ T5115] RSP: 0018:ffffc9000aeb7c40 EFLAGS: 00010293 [ 416.502772][ T5115] RAX: ffffffff8413b403 RBX: 0000000000000002 RCX: ffff88801e250000 [ 416.505678][ T5115] RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000 [ 416.508390][ T5115] RBP: 1ffff110024ce816 R08: ffffffff8413aaa7 R09: 1ffff11008c003b6 [ 416.511256][ T5115] R10: dffffc0000000000 R11: ffffed1008c003b7 R12: ffff888046001c78 [ 416.514635][ T5115] R13: ffff888046000000 R14: 0000000000000000 R15: dffffc0000000000 [ 416.517658][ T5115] FS: 000055555caa7380(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 [ 416.520961][ T5115] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 416.523917][ T5115] CR2: 00007fffd32a8c38 CR3: 000000003dd42000 CR4: 0000000000352ef0 [ 416.527215][ T5115] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 416.529861][ T5115] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 416.532441][ T5115] Kernel panic - not syncing: Fatal exception [ 416.534727][ T5115] Kernel Offset: disabled [ 416.536117][ T5115] Rebooting in 86400 seconds.. VM DIAGNOSIS: 00:54:46 Registers: info registers vcpu 0 CPU#0 RAX=1ffffffff282c18c RBX=ffffffff94160c60 RCX=000000000000d373 RDX=0000000000000001 RSI=0000000000000008 RDI=ffffffff9427a2a0 RBP=ffffffff9321bdaa RSP=ffffc90000357c68 R8 =ffffffff9427a2a7 R9 =1ffffffff284f454 R10=dffffc0000000000 R11=fffffbfff284f455 R12=000000000000072c R13=1ffffffff2865c74 R14=dffffc0000000000 R15=0000000000000000 RIP=ffffffff81717f7a RFL=00000046 [---Z-P-] CPL=0 II=0 A20=1 SMM=0 HLT=0 ES =0000 0000000000000000 ffffffff 00c00000 CS =0010 0000000000000000 ffffffff 00a09b00 DPL=0 CS64 [-RA] SS =0018 0000000000000000 ffffffff 00c09300 DPL=0 DS [-WA] DS =0000 0000000000000000 ffffffff 00c00000 FS =0000 0000000000000000 ffffffff 00c00000 GS =0000 ffff88801fc00000 ffffffff 00c00000 LDT=0000 0000000000000000 ffffffff 00c00000 TR =0040 fffffe0000003000 00004087 00008b00 DPL=0 TSS64-busy GDT= fffffe0000001000 0000007f IDT= fffffe0000000000 00000fff CR0=80050033 CR2=00007fffd32a8c38 CR3=000000003dd42000 CR4=00352ef0 DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 DR6=00000000fffe0ff0 DR7=0000000000000400 EFER=0000000000000d01 FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80 FPR0=0000000000000000 0000 FPR1=0000000000000000 0000 FPR2=0000000000000000 0000 FPR3=0000000000000000 0000 FPR4=0000000000000000 0000 FPR5=0000000000000000 0000 FPR6=0000000000000000 0000 FPR7=0000000000000000 0000 Opmask00=0000000000000001 Opmask01=0000000000000000 Opmask02=0000000000000000 Opmask03=0000000000000000 Opmask04=00000000ffffffff Opmask05=0000000000000000 Opmask06=0000000000000000 Opmask07=0000000000000000 ZMM00=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000001 ZMM01=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ffef6e29170 0000003000000018 ZMM02=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 6565656565656565 6565656565656565 ZMM03=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM04=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ff00ff0000000000 0000000000000000 ZMM05=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ffffffffffffffff ffffffffffff0000 ZMM06=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ff00ff0000000000 0000000000000000 ZMM07=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM08=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM09=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM10=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM11=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM12=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM13=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM14=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM15=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM16=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM17=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0a0a0a0a0a0a0a0a 0a0a0a0a0a0a0a0a 0a0a0a0a0a0a0a0a 0a0a0a0a0a0a0a0a ZMM18=0000000000000000 0000000000000000 0000000000000000 0000000000000000 2c6574656c706d6f 632073726f746163 6f6c6c6120676e69 70706f7473206400 ZMM19=0000000000000000 0000000000000000 0000000000000000 0000000000000000 2665746566706765 6320737265746163 6566666120676463 7070657473206400 ZMM20=0000000000000000 0000000000000000 0000000000000000 0000000000000000 3120202020205d37 37303654205b5d34 3837352020203531 3420205420333c00 ZMM21=0000000000000000 0000000000000000 0000000000000000 0000000000000000 2020202020203020 3020205120312000 3000002020203531 3420203020333c00 ZMM22=0000000000000000 0000000000000000 0000000000000000 0000000000000000 2a3a303338303a2a 30787e7a2a3b2a30 737e636663686b78 7f6e2a4443475559 ZMM23=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM24=0000000000000000 0000000000000000 0000000000000000 0000000000000000 3b2a2a2a2a2a574e 4b4f58516f67637e 5565632a2a2a573d 3d3a3c5e2a515732 ZMM25=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM26=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM27=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM28=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM29=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM30=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM31=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000