[ 494.414780][ T8735] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 494.414794][ T8735] 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 [ 494.443830][ T8735] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 494.443845][ T8735] 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 [ 494.476487][ T8735] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 494.476502][ T8735] 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 [ 494.490597][ T8735] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 494.495657][ T8735] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 494.500898][ T8735] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 494.505656][ T8735] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 494.510821][ T8735] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 494.516643][ T8735] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 494.521970][ T8735] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 494.527032][ T8735] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 494.532100][ T8735] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 494.537051][ T8735] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 494.541851][ T8735] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 494.546456][ T8735] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 494.551473][ T8735] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 494.556359][ T8735] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 494.561368][ T8735] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 494.566229][ T8735] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 494.571320][ T8735] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 494.577016][ T8735] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 494.582257][ T8735] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 494.587032][ T8735] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 494.592256][ T8735] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 494.592268][ T8735] Ratelimiting new instances of previous error [ 494.600379][ T8735] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 494.600392][ T8735] Ratelimiting new instances of previous error [ 494.616990][ T8735] done [ 494.618671][ T8735] bcachefs (loop0): going read-write [ 494.623512][ T8735] bcachefs (loop0): journal_replay... [ 494.623600][ T8735] bcachefs (loop0): bch2_journal_replay(): error journal_shutdown [ 494.629859][ T1361] bcachefs (loop0): going read-only [ 494.632117][ T1361] bcachefs (loop0): finished waiting for writes to stop [ 494.635750][ T8735] bcachefs (loop0): bch2_fs_recovery(): error journal_shutdown [ 494.639050][ T8735] bcachefs (loop0): bch2_fs_start(): error starting filesystem journal_shutdown [ 494.644845][ T1361] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 494.649753][ T1361] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 494.654373][ T8735] bcachefs (loop0): shutting down [ 494.656780][ T1361] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 494.685577][ T1361] bcachefs (loop0): done going read-only, filesystem not clean [ 494.727529][ T8735] bcachefs (loop0): shutdown complete [ 495.279804][ T8735] bcachefs: bch2_fs_get_tree() error: journal_shutdown [ 495.868976][ T8752] loop0: detected capacity change from 0 to 32768 [ 495.950231][ T8752] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 495.971980][ T8752] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 495.971980][ T8752] allowing incompatible features above 0.0: (unknown version) [ 495.982180][ T8752] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 495.986485][ T8752] bcachefs (loop0): Version upgrade required: [ 495.986485][ T8752] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 495.986485][ T8752] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 495.986485][ T8752] 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 [ 496.018730][ T8752] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 496.018746][ T8752] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 496.018755][ T8752] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 496.018763][ T8752] error not marked as autofix and not in fsck [ 496.018767][ T8752] run fsck, and forward to devs so error can be marked for self-healing [ 496.018771][ T8752] inconsistency detected - emergency read only at journal seq 10 [ 496.046712][ T8752] bcachefs (loop0): flagging btree extents lost data [ 496.049757][ T8752] bcachefs (loop0): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 496.055688][ T8752] bcachefs (loop0): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 496.062474][ T8752] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 496.072041][ T8752] bcachefs (loop0): bcachefs (loop0): error validating btree node at btree alloc level 0/0 [ 496.072059][ T8752] 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 [ 496.072068][ T8752] node offset 8/24 bset u64s 375 bset byte offset 184: keys out of order: u64s 11 type alloc_v4 0:32:0 len 0 ver 0 > u64s 11 type alloc_v4 0:2:0 len 0 ver 0, fixing [ 496.096080][ T8752] bcachefs (loop0): btree_node_read_work: rewriting btree node at due to error [ 496.096080][ T8752] btree=alloc level=0 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 [ 496.110250][ T8752] bcachefs (loop0): scan_for_btree_nodes... [ 496.119480][ T8752] bcachefs (loop0): btree node scan found 7 nodes after overwrites [ 496.127617][ T8752] done [ 496.128973][ T8752] bcachefs (loop0): check_topology... [ 496.130684][ T8752] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 496.138668][ T8752] bcachefs (loop0): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 496.143686][ T8752] bcachefs (loop0): bch2_get_scanned_nodes(): recovering u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 496.154229][ T7148] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 496.154248][ T7148] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 496.154258][ T7148] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 496.154267][ T7148] error not marked as autofix and not in fsck [ 496.154274][ T7148] run fsck, and forward to devs so error can be marked for self-healing [ 496.180892][ T8752] bcachefs (loop0): Topology repair: unreadable btree node at [ 496.180907][ T8752] btree=extents level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, fixing [ 496.192729][ T8752] bcachefs (loop0): empty interior btree node at btree=extents level=1 [ 496.192744][ T8752] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 496.200285][ T8752] bcachefs (loop0): empty btree root extents [ 496.203347][ T8752] done [ 496.204640][ T8752] bcachefs (loop0): accounting_read... done [ 496.207334][ T8752] bcachefs (loop0): alloc_read... done [ 496.210008][ T8752] bcachefs (loop0): snapshots_read... done [ 496.212711][ T8752] bcachefs (loop0): check_allocations... [ 496.215766][ T8752] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 496.215781][ T8752] 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 [ 496.230865][ T8752] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 496.230881][ T8752] 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 [ 496.244889][ T8752] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 496.244904][ T8752] 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 [ 496.258073][ T8752] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 496.258088][ T8752] 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 [ 496.272003][ T8752] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 496.272018][ T8752] 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 [ 496.286199][ T8752] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 496.291529][ T8752] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 496.298681][ T8752] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 496.303941][ T8752] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 496.309181][ T8752] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 496.314179][ T8752] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 496.319290][ T8752] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 496.323904][ T8752] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 496.329001][ T8752] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 496.334525][ T8752] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 496.339656][ T8752] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 496.345571][ T8752] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 496.350652][ T8752] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 496.356105][ T8752] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 496.361208][ T8752] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 496.366117][ T8752] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 496.372004][ T8752] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 496.377276][ T8752] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 496.382352][ T8752] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 496.387196][ T8752] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 496.392859][ T8752] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 496.392872][ T8752] Ratelimiting new instances of previous error [ 496.400858][ T8752] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 496.400872][ T8752] Ratelimiting new instances of previous error [ 496.416849][ T8752] done [ 496.418607][ T8752] bcachefs (loop0): going read-write [ 496.424008][ T8752] bcachefs (loop0): journal_replay... [ 496.424086][ T8752] bcachefs (loop0): bch2_journal_replay(): error journal_shutdown [ 496.429968][ T5401] bcachefs (loop0): going read-only [ 496.432254][ T5401] bcachefs (loop0): finished waiting for writes to stop [ 496.436054][ T8752] bcachefs (loop0): bch2_fs_recovery(): error journal_shutdown [ 496.439381][ T8752] bcachefs (loop0): bch2_fs_start(): error starting filesystem journal_shutdown [ 496.448225][ T5401] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 496.452332][ T8752] bcachefs (loop0): shutting down [ 496.455668][ T5401] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 496.460099][ T5401] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 496.494282][ T5401] bcachefs (loop0): done going read-only, filesystem not clean [ 496.536642][ T8752] bcachefs (loop0): shutdown complete [ 497.053257][ T8752] bcachefs: bch2_fs_get_tree() error: journal_shutdown [ 497.517367][ T8765] loop0: detected capacity change from 0 to 32768 [ 497.648636][ T8765] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 497.724065][ T8765] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 497.724065][ T8765] allowing incompatible features above 0.0: (unknown version) [ 497.753737][ T8765] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 497.757294][ T8765] bcachefs (loop0): Version upgrade required: [ 497.757294][ T8765] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 497.757294][ T8765] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 497.757294][ T8765] 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 [ 497.824587][ T8765] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 497.824603][ T8765] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 497.824612][ T8765] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 497.824621][ T8765] error not marked as autofix and not in fsck [ 497.824627][ T8765] run fsck, and forward to devs so error can be marked for self-healing [ 497.824634][ T8765] inconsistency detected - emergency read only at journal seq 10 [ 497.877220][ T8765] bcachefs (loop0): flagging btree extents lost data [ 497.880225][ T8765] bcachefs (loop0): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 497.904177][ T8765] bcachefs (loop0): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 497.910302][ T8765] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 497.929507][ T8765] bcachefs (loop0): bcachefs (loop0): error validating btree node at btree alloc level 0/0 [ 497.929524][ T8765] 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 [ 497.929532][ T8765] node offset 8/24 bset u64s 375 bset byte offset 184: keys out of order: u64s 11 type alloc_v4 0:32:0 len 0 ver 0 > u64s 11 type alloc_v4 0:2:0 len 0 ver 0, fixing [ 497.973995][ T8765] bcachefs (loop0): btree_node_read_work: rewriting btree node at due to error [ 497.973995][ T8765] btree=alloc level=0 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 [ 497.999502][ T8765] bcachefs (loop0): scan_for_btree_nodes... [ 498.017921][ T8765] bcachefs (loop0): btree node scan found 7 nodes after overwrites [ 498.027674][ T8765] done [ 498.028970][ T8765] bcachefs (loop0): check_topology... [ 498.032951][ T8765] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 498.040829][ T8765] bcachefs (loop0): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 498.046435][ T8765] bcachefs (loop0): bch2_get_scanned_nodes(): recovering u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 498.058459][ T7148] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 498.058478][ T7148] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 498.058488][ T7148] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 498.058496][ T7148] error not marked as autofix and not in fsck [ 498.058502][ T7148] run fsck, and forward to devs so error can be marked for self-healing [ 498.084938][ T8765] bcachefs (loop0): Topology repair: unreadable btree node at [ 498.084953][ T8765] btree=extents level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, fixing [ 498.096808][ T8765] bcachefs (loop0): empty interior btree node at btree=extents level=1 [ 498.096823][ T8765] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 498.104174][ T8765] bcachefs (loop0): empty btree root extents [ 498.106900][ T8765] done [ 498.108860][ T8765] bcachefs (loop0): accounting_read... done [ 498.111630][ T8765] bcachefs (loop0): alloc_read... done [ 498.115178][ T8765] bcachefs (loop0): snapshots_read... done [ 498.117886][ T8765] bcachefs (loop0): check_allocations... [ 498.119551][ T8765] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 498.119564][ T8765] 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 [ 498.136299][ T8765] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 498.136314][ T8765] 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 [ 498.148918][ T8765] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 498.148932][ T8765] 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 [ 498.161371][ T8765] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 498.161385][ T8765] 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 [ 498.175048][ T8765] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 498.175063][ T8765] 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 [ 498.187420][ T8765] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 498.191702][ T8765] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 498.198253][ T8765] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 498.202595][ T8765] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 498.208267][ T8765] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 498.213574][ T8765] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 498.218880][ T8765] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 498.224399][ T8765] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 498.232241][ T8765] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 498.239070][ T8765] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 498.245236][ T8765] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 498.249694][ T8765] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 498.255232][ T8765] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 498.259635][ T8765] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 498.265444][ T8765] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 498.269785][ T8765] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 498.275142][ T8765] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 498.279591][ T8765] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 498.285781][ T8765] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 498.290350][ T8765] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 498.296045][ T8765] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 498.296058][ T8765] Ratelimiting new instances of previous error [ 498.304274][ T8765] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 498.304290][ T8765] Ratelimiting new instances of previous error [ 498.324208][ T8765] done [ 498.326105][ T8765] bcachefs (loop0): going read-write [ 498.331179][ T8765] bcachefs (loop0): journal_replay... [ 498.331254][ T8765] bcachefs (loop0): bch2_journal_replay(): error journal_shutdown [ 498.337547][ T5401] bcachefs (loop0): going read-only [ 498.339930][ T5401] bcachefs (loop0): finished waiting for writes to stop [ 498.344045][ T8765] bcachefs (loop0): bch2_fs_recovery(): error journal_shutdown [ 498.347417][ T8765] bcachefs (loop0): bch2_fs_start(): error starting filesystem journal_shutdown [ 498.351355][ T8765] bcachefs (loop0): shutting down [ 498.356820][ T5401] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 498.360764][ T5401] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 498.365419][ T5401] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 498.394976][ T5401] bcachefs (loop0): done going read-only, filesystem not clean [ 498.436897][ T8765] bcachefs (loop0): shutdown complete [ 498.989279][ T8765] bcachefs: bch2_fs_get_tree() error: journal_shutdown [ 499.200497][ T47] netdevsim netdevsim0 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 499.235053][ T47] netdevsim netdevsim0 netdevsim2 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 499.264405][ T47] netdevsim netdevsim0 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 499.297974][ T47] netdevsim netdevsim0 netdevsim0 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 499.434296][ T47] bridge_slave_1: left allmulticast mode [ 499.436767][ T47] bridge_slave_1: left promiscuous mode [ 499.444783][ T47] bridge0: port 2(bridge_slave_1) entered disabled state [ 499.450420][ T47] bridge_slave_0: left allmulticast mode [ 499.452847][ T47] bridge_slave_0: left promiscuous mode [ 499.463945][ T47] bridge0: port 1(bridge_slave_0) entered disabled state [ 499.862800][ T47] bond0 (unregistering): (slave bond_slave_0): Releasing backup interface [ 499.868620][ T47] bond0 (unregistering): (slave bond_slave_1): Releasing backup interface [ 499.874528][ T47] bond0 (unregistering): Released all slaves [ 500.097588][ T47] hsr_slave_0: left promiscuous mode [ 500.106323][ T47] hsr_slave_1: left promiscuous mode [ 500.115185][ T47] batman_adv: batadv0: Interface deactivated: batadv_slave_0 [ 500.118453][ T47] batman_adv: batadv0: Removing interface: batadv_slave_0 [ 500.134231][ T47] batman_adv: batadv0: Interface deactivated: batadv_slave_1 [ 500.138274][ T47] batman_adv: batadv0: Removing interface: batadv_slave_1 [ 500.160138][ T47] veth1_macvtap: left promiscuous mode [ 500.162517][ T47] veth0_macvtap: left promiscuous mode [ 500.165847][ T47] veth1_vlan: left promiscuous mode [ 500.168304][ T47] veth0_vlan: left promiscuous mode [ 500.515628][ T47] team0 (unregistering): Port device team_slave_1 removed [ 500.535954][ T47] team0 (unregistering): Port device team_slave_0 removed [ 506.515874][ T1311] ieee802154 phy0 wpan0: encryption failed: -22 [ 506.518657][ T1311] ieee802154 phy1 wpan1: encryption failed: -22