.577040][ T6510] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 281.577040][ T6510] 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,check_rebalance_work,set_fs_needs_rebalance [ 282.551661][ T6510] bcachefs (loop0): error reallocating journal fifo (32768 open entries) [ 282.608433][ T6510] bcachefs (loop0): error in recovery: ENOMEM_journal_pin_fifoemergency read only at seq 0 [ 282.655502][ T6510] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_journal_pin_fifo [ 282.701742][ T6510] bcachefs (loop0): shutting down [ 282.869243][ T6510] bcachefs (loop0): shutdown complete [ 283.974782][ T6510] bcachefs: bch2_fs_get_tree() error: ENOMEM_journal_pin_fifo 2025/06/17 13:50:38 executed programs: 240 [ 286.516039][ T6536] loop0: detected capacity change from 0 to 32768 [ 286.847288][ T6536] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 286.847309][ T6536] allowing incompatible features above 0.0: (unknown version) [ 286.847316][ T6536] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 287.083607][ T6536] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 287.087910][ T6536] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 287.168346][ T6536] bcachefs (loop0): Version upgrade required: [ 287.168346][ T6536] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 287.168346][ T6536] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 287.168346][ T6536] 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,check_rebalance_work,set_fs_needs_rebalance [ 287.854105][ T6536] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 287.854123][ T6536] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 287.854132][ T6536] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 287.854138][ T6536] flagging btree extents lost data [ 287.854143][ T6536] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 287.854149][ T6536] ret btree_node_read_validate_error [ 288.090574][ T6536] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 288.239623][ T6536] bcachefs (loop0): check_topology... [ 288.239678][ T6536] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 288.262645][ T6536] bcachefs (loop0): no nodes found for btree extents, continuing [ 288.307394][ T6536] done [ 288.318312][ T6536] bcachefs (loop0): accounting_read... done [ 288.358341][ T6536] bcachefs (loop0): alloc_read... done [ 288.398260][ T6536] bcachefs (loop0): snapshots_read... done [ 288.417102][ T6536] bcachefs (loop0): check_allocations... [ 288.443745][ T6536] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 288.443767][ T6536] 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 [ 288.546360][ T6536] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 288.546378][ T6536] 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 [ 288.680083][ T6536] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 288.680106][ T6536] 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 [ 288.754679][ T6548] Bluetooth: hci0: command 0x0406 tx timeout [ 288.754780][ T6548] Bluetooth: hci1: command 0x0406 tx timeout [ 288.754815][ T6548] Bluetooth: hci2: command 0x0406 tx timeout [ 288.754844][ T6548] Bluetooth: hci3: command 0x0406 tx timeout [ 288.754871][ T6548] Bluetooth: hci4: command 0x0406 tx timeout [ 288.754902][ T6548] Bluetooth: hci5: command 0x0406 tx timeout [ 289.019609][ T6536] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 289.019629][ T6536] 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 [ 289.147702][ T6536] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 289.147727][ T6536] 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 [ 289.268847][ T6536] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 289.320053][ T6536] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 289.372459][ T6536] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 289.413165][ T6536] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 289.451392][ T6536] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 289.501884][ T6536] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 289.553740][ T6536] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 289.606467][ T6536] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 289.669335][ T6536] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 289.728911][ T6536] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 289.771018][ T6536] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 289.775754][ T6536] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 289.853765][ T6536] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 289.900697][ T6536] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 289.906561][ T6536] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 289.990878][ T6536] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 290.068644][ T6536] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 290.091812][ T6536] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 290.097697][ T6536] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 290.182107][ T6536] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 290.238515][ T6536] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 290.238532][ T6536] Ratelimiting new instances of previous error [ 290.246080][ T6536] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 290.246094][ T6536] Ratelimiting new instances of previous error 2025/06/17 13:50:44 executed programs: 252 [ 290.489041][ T6536] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 290.578906][ T6536] done [ 290.580833][ T6536] bcachefs (loop0): going read-write [ 290.621328][ T6536] workqueue: Failed to create a rescuer kthread for wq "bcachefs": -EINTR [ 290.621442][ T6536] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 290.708208][ T6536] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 290.712499][ T6536] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 290.767109][ T6536] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 290.808384][ T6536] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 290.845901][ T6536] bcachefs (loop0): shutting down [ 290.981056][ T6536] bcachefs (loop0): shutdown complete [ 292.632954][ T6536] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc [ 294.811170][ T6581] loop0: detected capacity change from 0 to 32768 [ 295.141817][ T6581] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 295.141835][ T6581] allowing incompatible features above 0.0: (unknown version) [ 295.141842][ T6581] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 295.350434][ T6581] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 295.354351][ T6581] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 295.408538][ T6581] bcachefs (loop0): Version upgrade required: [ 295.408538][ T6581] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 295.408538][ T6581] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 295.408538][ T6581] 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,check_rebalance_work,set_fs_needs_rebalance 2025/06/17 13:50:49 executed programs: 266 [ 296.053160][ T6581] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 296.053180][ T6581] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 296.053189][ T6581] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 296.053195][ T6581] flagging btree extents lost data [ 296.053200][ T6581] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 296.053207][ T6581] ret btree_node_read_validate_error [ 296.312575][ T6581] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 296.420443][ T6581] bcachefs (loop0): check_topology... [ 296.420511][ T6581] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 296.490461][ T6581] bcachefs (loop0): no nodes found for btree extents, continuing [ 296.542590][ T6581] done [ 296.550709][ T6581] bcachefs (loop0): accounting_read... done [ 296.581518][ T6581] bcachefs (loop0): alloc_read... done [ 296.611437][ T6581] bcachefs (loop0): snapshots_read... done [ 296.645685][ T6581] bcachefs (loop0): check_allocations... [ 296.697229][ T6581] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 296.697249][ T6581] 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 [ 296.873475][ T6581] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 296.873495][ T6581] 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 [ 297.011378][ T6581] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 297.011399][ T6581] 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 [ 297.172217][ T6581] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 297.172240][ T6581] 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 [ 297.302928][ T6581] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 297.302952][ T6581] 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 [ 297.444935][ T6581] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 297.501192][ T6581] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 297.548867][ T6581] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 297.573935][ T6581] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 297.624830][ T6581] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 297.671197][ T6581] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 297.738439][ T6581] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 297.778423][ T6581] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 297.808581][ T6581] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 297.871644][ T6581] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 297.901112][ T6581] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 297.945364][ T6581] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 297.991054][ T6581] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 298.035900][ T6581] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 298.078684][ T6581] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 298.121781][ T6581] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 298.127039][ T6581] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 298.201412][ T6581] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 298.245267][ T6581] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 298.292820][ T6581] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 298.352219][ T6581] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 298.352241][ T6581] Ratelimiting new instances of previous error [ 298.424067][ T6581] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 298.424083][ T6581] Ratelimiting new instances of previous error [ 298.562281][ T6581] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 298.623150][ T6581] done [ 298.627220][ T6581] bcachefs (loop0): going read-write [ 298.672308][ T6581] workqueue: Failed to create a rescuer kthread for wq "bcachefs": -EINTR [ 298.672430][ T6581] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 298.740618][ T6581] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 298.768921][ T6581] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 298.798719][ T6581] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 298.837297][ T6581] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 298.873414][ T6581] bcachefs (loop0): shutting down [ 298.983071][ T6581] bcachefs (loop0): shutdown complete [ 300.278811][ T6581] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc 2025/06/17 13:50:54 executed programs: 279 [ 302.471043][ T6620] loop0: detected capacity change from 0 to 32768 [ 302.740157][ T6620] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 302.740177][ T6620] allowing incompatible features above 0.0: (unknown version) [ 302.740184][ T6620] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 302.913511][ T6620] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 302.917385][ T6620] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 302.998533][ T6620] bcachefs (loop0): Version upgrade required: [ 302.998533][ T6620] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 302.998533][ T6620] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 302.998533][ T6620] 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,check_rebalance_work,set_fs_needs_rebalance [ 303.669207][ T6620] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 303.669226][ T6620] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 303.669237][ T6620] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 303.669245][ T6620] flagging btree extents lost data [ 303.669252][ T6620] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 303.669261][ T6620] ret btree_node_read_validate_error [ 303.900207][ T6620] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 304.064052][ T6620] bcachefs (loop0): check_topology... [ 304.064130][ T6620] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 304.122598][ T6620] bcachefs (loop0): no nodes found for btree extents, continuing [ 304.166114][ T6620] done [ 304.198193][ T6620] bcachefs (loop0): accounting_read... done [ 304.259865][ T6620] bcachefs (loop0): alloc_read... done [ 304.289439][ T6620] bcachefs (loop0): snapshots_read... done [ 304.338195][ T6620] bcachefs (loop0): check_allocations... [ 304.366413][ T6620] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 304.366434][ T6620] 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 [ 304.505349][ T6620] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 304.505367][ T6620] 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 [ 304.636701][ T6620] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 304.636722][ T6620] 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 [ 304.765537][ T6620] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 304.765559][ T6620] 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 [ 304.901397][ T6620] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 304.901418][ T6620] 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 [ 305.045456][ T6620] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 305.079987][ T6620] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 305.146486][ T6620] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 305.189253][ T6620] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 305.195036][ T6620] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 305.293397][ T6620] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 305.336446][ T6620] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 305.410559][ T6620] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 305.415789][ T6620] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 305.512702][ T6620] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 305.545888][ T6620] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 305.618696][ T6620] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 305.648408][ T6620] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 305.682631][ T6620] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 305.750821][ T6620] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 305.755466][ T6620] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 305.848500][ T6620] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 305.883306][ T6620] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 305.948653][ T6620] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 305.953411][ T6620] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 306.019418][ T6620] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 306.019434][ T6620] Ratelimiting new instances of previous error [ 306.081689][ T6620] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 306.081707][ T6620] Ratelimiting new instances of previous error [ 306.213538][ T6620] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 306.263797][ T6620] done [ 306.323357][ T6620] bcachefs (loop0): going read-write [ 306.347400][ T6620] workqueue: Failed to create a rescuer kthread for wq "bcachefs_btree_write_complete": -EINTR [ 306.347505][ T6620] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 306.381859][ T6620] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 306.386325][ T6620] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 306.468121][ T6620] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 306.499344][ T6620] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 306.540563][ T6620] bcachefs (loop0): shutting down [ 306.629949][ T6620] bcachefs (loop0): shutdown complete 2025/06/17 13:51:00 executed programs: 292 [ 307.939769][ T6620] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc [ 310.111668][ T6663] loop0: detected capacity change from 0 to 32768 [ 310.397482][ T6663] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 310.397501][ T6663] allowing incompatible features above 0.0: (unknown version) [ 310.397509][ T6663] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 310.578255][ T6663] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 310.619052][ T6663] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 310.622832][ T6663] bcachefs (loop0): Version upgrade required: [ 310.622832][ T6663] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 310.622832][ T6663] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 310.622832][ T6663] 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,check_rebalance_work,set_fs_needs_rebalance [ 311.302847][ T6663] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 311.302869][ T6663] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 311.302879][ T6663] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 311.302886][ T6663] flagging btree extents lost data [ 311.302891][ T6663] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 311.302898][ T6663] ret btree_node_read_validate_error [ 311.541552][ T6663] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 311.640155][ T6663] bcachefs (loop0): check_topology... [ 311.640221][ T6663] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 311.694296][ T6663] bcachefs (loop0): no nodes found for btree extents, continuing [ 311.719026][ T6663] done [ 311.740886][ T6663] bcachefs (loop0): accounting_read... done [ 311.758408][ T6663] bcachefs (loop0): alloc_read... done [ 311.807214][ T6663] bcachefs (loop0): snapshots_read... done [ 311.844319][ T6663] bcachefs (loop0): check_allocations... [ 311.874535][ T6663] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 311.874556][ T6663] 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 2025/06/17 13:51:05 executed programs: 305 [ 312.063936][ T6663] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 312.063954][ T6663] 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 [ 312.172196][ T6663] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 312.172215][ T6663] 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 [ 312.355574][ T6663] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 312.355596][ T6663] 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 [ 312.465123][ T6663] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 312.465143][ T6663] 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 [ 312.613214][ T6663] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 312.652531][ T6663] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 312.709697][ T6663] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 312.795881][ T6663] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 312.828947][ T6663] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 312.868264][ T6663] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 312.911052][ T6663] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 312.978784][ T6663] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 313.008390][ T6663] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 313.048802][ T6663] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 313.119203][ T6663] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 313.156019][ T6663] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 313.224067][ T6663] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 313.255029][ T6663] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 313.321721][ T6663] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 313.326322][ T6663] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 313.413910][ T6663] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 313.458344][ T6663] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 313.518780][ T6663] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 313.558520][ T6663] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 313.605835][ T6663] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 313.605852][ T6663] Ratelimiting new instances of previous error [ 313.654092][ T6663] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 313.654109][ T6663] Ratelimiting new instances of previous error [ 313.825622][ T6663] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 313.918576][ T6663] done [ 313.920347][ T6663] bcachefs (loop0): going read-write [ 313.961397][ T6663] workqueue: Failed to create a rescuer kthread for wq "bcachefs": -EINTR [ 313.961496][ T6663] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 314.038577][ T6663] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 314.043190][ T6663] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 314.114213][ T6663] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 314.175087][ T6663] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 314.188098][ T6663] bcachefs (loop0): shutting down [ 314.335126][ T6663] bcachefs (loop0): shutdown complete [ 315.778561][ T6663] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc 2025/06/17 13:51:11 executed programs: 319 [ 318.334539][ T6705] loop0: detected capacity change from 0 to 32768 [ 318.686477][ T6705] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 318.686500][ T6705] allowing incompatible features above 0.0: (unknown version) [ 318.686509][ T6705] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 318.920814][ T6705] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 318.979753][ T6705] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 319.028531][ T6705] bcachefs (loop0): Version upgrade required: [ 319.028531][ T6705] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 319.028531][ T6705] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 319.028531][ T6705] 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,check_rebalance_work,set_fs_needs_rebalance [ 319.701904][ T6705] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 319.701924][ T6705] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 319.701934][ T6705] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 319.701941][ T6705] flagging btree extents lost data [ 319.701947][ T6705] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 319.701961][ T6705] ret btree_node_read_validate_error [ 319.948343][ T6705] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 320.101648][ T6705] bcachefs (loop0): check_topology... [ 320.101710][ T6705] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 320.162864][ T6705] bcachefs (loop0): no nodes found for btree extents, continuing [ 320.242701][ T6705] done [ 320.244064][ T6705] bcachefs (loop0): accounting_read... done [ 320.322559][ T6705] bcachefs (loop0): alloc_read... done [ 320.389332][ T6705] bcachefs (loop0): snapshots_read... done [ 320.408783][ T6705] bcachefs (loop0): check_allocations... [ 320.478398][ T6705] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 320.478417][ T6705] 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 [ 320.622282][ T6705] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 320.622305][ T6705] 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 [ 320.801980][ T6705] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 320.802000][ T6705] 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 [ 320.963366][ T6705] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 320.963387][ T6705] 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 [ 321.151630][ T6705] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 321.151650][ T6705] 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 [ 321.285581][ T6705] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 321.325084][ T6705] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 321.377342][ T6705] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 321.418523][ T6705] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 321.455900][ T6705] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 321.518891][ T6705] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 321.554372][ T6705] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 321.591898][ T6705] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 321.645341][ T6705] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 321.708370][ T6705] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 321.713683][ T6705] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 321.794838][ T6705] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 321.828654][ T6705] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 321.883749][ T6705] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 321.947042][ T6705] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 321.988303][ T6705] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 322.038394][ T6705] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 322.108609][ T6705] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 322.114326][ T6705] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 322.205003][ T6705] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 322.268556][ T6705] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 322.268574][ T6705] Ratelimiting new instances of previous error [ 322.374308][ T6705] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 322.374328][ T6705] Ratelimiting new instances of previous error [ 322.510470][ T6705] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 322.530800][ T1318] ieee802154 phy0 wpan0: encryption failed: -22 [ 322.533858][ T1318] ieee802154 phy1 wpan1: encryption failed: -22 [ 322.592984][ T6705] done [ 322.594949][ T6705] bcachefs (loop0): going read-write [ 322.656920][ T6705] workqueue: Failed to create a rescuer kthread for wq "bcachefs_btree_write_complete": -EINTR [ 322.657042][ T6705] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 322.728264][ T6705] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 322.768493][ T6705] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 322.801143][ T6705] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 322.806199][ T6705] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 322.896516][ T6705] bcachefs (loop0): shutting down [ 323.037706][ T6705] bcachefs (loop0): shutdown complete 2025/06/17 13:51:16 executed programs: 329 [ 324.601304][ T6705] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc [ 326.899583][ T6755] loop0: detected capacity change from 0 to 32768 [ 327.207759][ T6755] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 327.207781][ T6755] allowing incompatible features above 0.0: (unknown version) [ 327.207789][ T6755] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 327.420360][ T6755] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 327.458774][ T6755] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 327.463272][ T6755] bcachefs (loop0): Version upgrade required: [ 327.463272][ T6755] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 327.463272][ T6755] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 327.463272][ T6755] 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,check_rebalance_work,set_fs_needs_rebalance [ 328.079144][ T6755] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 328.079168][ T6755] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 328.079178][ T6755] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 328.079186][ T6755] flagging btree extents lost data [ 328.079192][ T6755] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 328.079200][ T6755] ret btree_node_read_validate_error [ 328.333085][ T6755] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 328.496147][ T6755] bcachefs (loop0): check_topology... [ 328.496218][ T6755] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 328.549377][ T6755] bcachefs (loop0): no nodes found for btree extents, continuing [ 328.589618][ T6755] done [ 328.591108][ T6755] bcachefs (loop0): accounting_read... done [ 328.611449][ T6755] bcachefs (loop0): alloc_read... done [ 328.688250][ T6755] bcachefs (loop0): snapshots_read... done [ 328.728490][ T6755] bcachefs (loop0): check_allocations... [ 328.746158][ T6755] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 328.746179][ T6755] 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 [ 328.947858][ T6755] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 328.947879][ T6755] 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 2025/06/17 13:51:22 executed programs: 342 [ 329.073807][ T6755] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 329.073828][ T6755] 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 [ 329.233131][ T6755] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 329.233154][ T6755] 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 [ 329.378945][ T6755] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 329.378962][ T6755] 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 [ 329.462413][ T6755] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 329.534936][ T6755] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 329.568977][ T6755] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 329.622333][ T6755] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 329.669146][ T6755] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 329.673725][ T6755] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 329.748492][ T6755] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 329.753291][ T6755] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 329.856082][ T6755] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 329.913010][ T6755] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 329.971967][ T6755] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 330.014350][ T6755] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 330.070301][ T6755] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 330.074808][ T6755] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 330.162238][ T6755] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 330.212964][ T6755] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 330.288438][ T6755] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 330.308295][ T6755] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 330.314079][ T6755] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 330.436331][ T6755] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 330.475428][ T6755] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 330.475444][ T6755] Ratelimiting new instances of previous error [ 330.557588][ T6755] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 330.557605][ T6755] Ratelimiting new instances of previous error [ 330.680775][ T6755] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 330.781562][ T6755] done [ 330.783497][ T6755] bcachefs (loop0): going read-write [ 330.818781][ T6755] workqueue: Failed to create a rescuer kthread for wq "bcachefs_btree_write_complete": -EINTR [ 330.818904][ T6755] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 330.896484][ T6755] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 330.942090][ T6755] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 331.008111][ T6755] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 331.020898][ T6755] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 331.062171][ T6755] bcachefs (loop0): shutting down [ 331.171120][ T6755] bcachefs (loop0): shutdown complete [ 332.615508][ T6755] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc 2025/06/17 13:51:28 executed programs: 356 [ 334.946027][ T6794] loop0: detected capacity change from 0 to 32768 [ 335.360519][ T6794] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 335.360560][ T6794] allowing incompatible features above 0.0: (unknown version) [ 335.360566][ T6794] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 335.538349][ T6794] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 335.558464][ T6794] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 335.562573][ T6794] bcachefs (loop0): Version upgrade required: [ 335.562573][ T6794] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 335.562573][ T6794] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 335.562573][ T6794] 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,check_rebalance_work,set_fs_needs_rebalance [ 336.252937][ T6794] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 336.252955][ T6794] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 336.252965][ T6794] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 336.252972][ T6794] flagging btree extents lost data [ 336.252977][ T6794] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 336.252985][ T6794] ret btree_node_read_validate_error [ 336.512289][ T6794] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 336.686331][ T6794] bcachefs (loop0): check_topology... [ 336.686408][ T6794] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 336.705858][ T6794] bcachefs (loop0): no nodes found for btree extents, continuing [ 336.749569][ T6794] done [ 336.788441][ T6794] bcachefs (loop0): accounting_read... done [ 336.848344][ T6794] bcachefs (loop0): alloc_read... done [ 336.874209][ T6794] bcachefs (loop0): snapshots_read... done [ 336.921248][ T6794] bcachefs (loop0): check_allocations... [ 336.961277][ T6794] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 336.961299][ T6794] 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 [ 337.143388][ T6794] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 337.143412][ T6794] 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 [ 337.300121][ T6794] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 337.300142][ T6794] 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 [ 337.469616][ T6794] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 337.469652][ T6794] 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 [ 337.698726][ T6794] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 337.698745][ T6794] 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 [ 337.727137][ T6794] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 337.868332][ T6794] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 337.892507][ T6794] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 337.897373][ T6794] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 337.982172][ T6794] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 337.986918][ T6794] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 338.089160][ T6794] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 338.124239][ T6794] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 338.178926][ T6794] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 338.183597][ T6794] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 338.261781][ T6794] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 338.320143][ T6794] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 338.325775][ T6794] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 338.396685][ T6794] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 338.458429][ T6794] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 338.502598][ T6794] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 338.574222][ T6794] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 338.600082][ T6794] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 338.646799][ T6794] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 338.708844][ T6794] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 338.714250][ T6794] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 338.714267][ T6794] Ratelimiting new instances of previous error [ 338.823925][ T6794] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 338.823942][ T6794] Ratelimiting new instances of previous error [ 338.969019][ T6794] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 339.071414][ T6794] done [ 339.098677][ T6794] bcachefs (loop0): going read-write [ 339.132540][ T6794] workqueue: Failed to create a rescuer kthread for wq "bcachefs": -EINTR [ 339.156078][ T6794] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 339.215823][ T6794] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 339.246171][ T6794] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 339.298172][ T6794] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 339.338176][ T6794] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 339.399812][ T6794] bcachefs (loop0): shutting down [ 339.485674][ T6794] bcachefs (loop0): shutdown complete 2025/06/17 13:51:34 executed programs: 368 [ 341.153523][ T6794] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc [ 343.302518][ T6840] loop0: detected capacity change from 0 to 32768 [ 343.653084][ T6840] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 343.653104][ T6840] allowing incompatible features above 0.0: (unknown version) [ 343.653111][ T6840] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 343.795808][ T6840] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 343.875292][ T6840] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 343.942040][ T6840] bcachefs (loop0): Version upgrade required: [ 343.942040][ T6840] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 343.942040][ T6840] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 343.942040][ T6840] 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,check_rebalance_work,set_fs_needs_rebalance [ 344.589269][ T6840] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 344.589291][ T6840] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 344.589301][ T6840] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 344.589307][ T6840] flagging btree extents lost data [ 344.589313][ T6840] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 344.589320][ T6840] ret btree_node_read_validate_error [ 344.802539][ T6840] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 344.941350][ T6840] bcachefs (loop0): check_topology... [ 344.941414][ T6840] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 344.999358][ T6840] bcachefs (loop0): no nodes found for btree extents, continuing [ 345.067088][ T6840] done [ 345.068712][ T6840] bcachefs (loop0): accounting_read... done [ 345.094150][ T6840] bcachefs (loop0): alloc_read... done [ 345.151071][ T6840] bcachefs (loop0): snapshots_read... done [ 345.238206][ T6840] bcachefs (loop0): check_allocations... [ 345.282818][ T6840] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 345.282835][ T6840] 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 [ 345.406850][ T6840] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 345.406864][ T6840] 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 [ 345.512819][ T6840] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 345.512838][ T6840] 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 [ 345.649628][ T6840] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 345.649649][ T6840] 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 [ 345.792095][ T6840] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 345.792114][ T6840] 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 2025/06/17 13:51:39 executed programs: 382 [ 345.896717][ T6840] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 345.948595][ T6840] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 346.039794][ T6840] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 346.061739][ T6840] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 346.110526][ T6840] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 346.141537][ T6840] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 346.204590][ T6840] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 346.252065][ T6840] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 346.308646][ T6840] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 346.350173][ T6840] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 346.401288][ T6840] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 346.435234][ T6840] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 346.498494][ T6840] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 346.518563][ T6840] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 346.579416][ T6840] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 346.608400][ T6840] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 346.670942][ T6840] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 346.722296][ T6840] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 346.765970][ T6840] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 346.809252][ T6840] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 346.868746][ T6840] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 346.868762][ T6840] Ratelimiting new instances of previous error [ 346.948527][ T6840] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 346.948547][ T6840] Ratelimiting new instances of previous error [ 347.046631][ T6840] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 347.191969][ T6840] done [ 347.194307][ T6840] bcachefs (loop0): going read-write [ 347.222099][ T6840] workqueue: Failed to create a rescuer kthread for wq "bcachefs_btree_write_complete": -EINTR [ 347.222234][ T6840] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 347.331747][ T6840] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 347.336033][ T6840] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 347.418885][ T6840] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 347.468359][ T6840] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 347.528510][ T6840] bcachefs (loop0): shutting down [ 347.649626][ T6840] bcachefs (loop0): shutdown complete [ 349.249262][ T6840] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc [ 351.557713][ T6883] loop0: detected capacity change from 0 to 32768 2025/06/17 13:51:45 executed programs: 395 [ 351.921496][ T6883] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 351.921516][ T6883] allowing incompatible features above 0.0: (unknown version) [ 351.921523][ T6883] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 352.096527][ T6883] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 352.118898][ T6883] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 352.123050][ T6883] bcachefs (loop0): Version upgrade required: [ 352.123050][ T6883] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 352.123050][ T6883] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 352.123050][ T6883] 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,check_rebalance_work,set_fs_needs_rebalance [ 352.838482][ T6883] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 352.838500][ T6883] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 352.838510][ T6883] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 352.838516][ T6883] flagging btree extents lost data [ 352.838522][ T6883] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 352.838530][ T6883] ret btree_node_read_validate_error [ 353.056922][ T6883] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 353.199167][ T6883] bcachefs (loop0): check_topology... [ 353.199229][ T6883] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 353.282801][ T6883] bcachefs (loop0): no nodes found for btree extents, continuing [ 353.315093][ T6883] done [ 353.318351][ T6883] bcachefs (loop0): accounting_read... done [ 353.372393][ T6883] bcachefs (loop0): alloc_read... done [ 353.381872][ T6883] bcachefs (loop0): snapshots_read... done [ 353.445524][ T6883] bcachefs (loop0): check_allocations... [ 353.469971][ T6883] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 353.469991][ T6883] 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 [ 353.634079][ T6883] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 353.634098][ T6883] 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 [ 353.780609][ T6883] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 353.780629][ T6883] 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 [ 353.884702][ T6883] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 353.884722][ T6883] 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 [ 354.047830][ T6883] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 354.047848][ T6883] 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 [ 354.123931][ T6883] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 354.181777][ T6883] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 354.241317][ T6883] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 354.278359][ T6883] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 354.358684][ T6883] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 354.368616][ T6883] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 354.409487][ T6883] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 354.478947][ T6883] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 354.528691][ T6883] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 354.558504][ T6883] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 354.610301][ T6883] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 354.672400][ T6883] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 354.722296][ T6883] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 354.775677][ T6883] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 354.832527][ T6883] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 354.863011][ T6883] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 354.899423][ T6883] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 354.942737][ T6883] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 355.031203][ T6883] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 355.066273][ T6883] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 355.136982][ T6883] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 355.137000][ T6883] Ratelimiting new instances of previous error [ 355.171842][ T6883] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 355.171859][ T6883] Ratelimiting new instances of previous error [ 355.349407][ T6883] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 355.503006][ T6883] done [ 355.504924][ T6883] bcachefs (loop0): going read-write [ 355.551828][ T6883] workqueue: Failed to create a rescuer kthread for wq "bcachefs_btree_write_complete": -EINTR [ 355.551985][ T6883] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 355.658519][ T6883] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 355.666005][ T6883] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 355.762959][ T6883] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 355.802736][ T6883] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 355.806675][ T6883] bcachefs (loop0): shutting down [ 355.952914][ T6883] bcachefs (loop0): shutdown complete 2025/06/17 13:51:50 executed programs: 407 [ 357.596116][ T6883] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc [ 359.929675][ T6924] loop0: detected capacity change from 0 to 32768 [ 360.269177][ T6924] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 360.269195][ T6924] allowing incompatible features above 0.0: (unknown version) [ 360.269202][ T6924] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 360.448267][ T6924] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 360.515776][ T6924] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 360.541674][ T6924] bcachefs (loop0): Version upgrade required: [ 360.541674][ T6924] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 360.541674][ T6924] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 360.541674][ T6924] 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,check_rebalance_work,set_fs_needs_rebalance [ 361.282213][ T6924] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 361.282233][ T6924] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 361.282242][ T6924] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 361.282249][ T6924] flagging btree extents lost data [ 361.282254][ T6924] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 361.282261][ T6924] ret btree_node_read_validate_error [ 361.532351][ T6924] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 361.692889][ T6924] bcachefs (loop0): check_topology... [ 361.692950][ T6924] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 361.748321][ T6924] bcachefs (loop0): no nodes found for btree extents, continuing [ 361.792957][ T6924] done [ 361.808625][ T6924] bcachefs (loop0): accounting_read... done [ 361.847729][ T6924] bcachefs (loop0): alloc_read... done [ 361.925431][ T6924] bcachefs (loop0): snapshots_read... done [ 361.947436][ T6924] bcachefs (loop0): check_allocations... [ 361.964584][ T6924] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 361.964605][ T6924] 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 [ 362.125586][ T6924] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 362.125608][ T6924] 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 2025/06/17 13:51:55 executed programs: 420 [ 362.286035][ T6924] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 362.286056][ T6924] 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 [ 362.458491][ T6924] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 362.458508][ T6924] 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 [ 362.649732][ T6924] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 362.649754][ T6924] 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 [ 362.768307][ T6924] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 362.773078][ T6924] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 362.855140][ T6924] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 362.898992][ T6924] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 362.935238][ T6924] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 362.994368][ T6924] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 363.052491][ T6924] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 363.057740][ T6924] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 363.155803][ T6924] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 363.218543][ T6924] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 363.224430][ T6924] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 363.316410][ T6924] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 363.355876][ T6924] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 363.418323][ T6924] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 363.452131][ T6924] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 363.456923][ T6924] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 363.561789][ T6924] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 363.566779][ T6924] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 363.630338][ T6924] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 363.712596][ T6924] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 363.755803][ T6924] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 363.755819][ T6924] Ratelimiting new instances of previous error [ 363.855218][ T6924] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 363.855234][ T6924] Ratelimiting new instances of previous error [ 364.000556][ T6924] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 364.118835][ T6924] done [ 364.131279][ T6924] bcachefs (loop0): going read-write [ 364.188676][ T6924] workqueue: Failed to create a rescuer kthread for wq "bcachefs_btree_write_complete": -EINTR [ 364.188749][ T6924] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 364.242615][ T6924] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 364.246980][ T6924] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 364.301128][ T6924] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 364.305820][ T6924] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 364.399359][ T6924] bcachefs (loop0): shutting down [ 364.515412][ T6924] bcachefs (loop0): shutdown complete [ 366.161221][ T6924] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc 2025/06/17 13:52:01 executed programs: 432 [ 368.669609][ T6971] loop0: detected capacity change from 0 to 32768 [ 369.013565][ T6971] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 369.013585][ T6971] allowing incompatible features above 0.0: (unknown version) [ 369.013594][ T6971] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 369.155343][ T6971] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 369.252967][ T6971] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 369.324952][ T6971] bcachefs (loop0): Version upgrade required: [ 369.324952][ T6971] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 369.324952][ T6971] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 369.324952][ T6971] 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,check_rebalance_work,set_fs_needs_rebalance [ 370.042382][ T6971] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 370.042403][ T6971] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 370.042412][ T6971] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 370.042419][ T6971] flagging btree extents lost data [ 370.042424][ T6971] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 370.042432][ T6971] ret btree_node_read_validate_error [ 370.288579][ T6971] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 370.439341][ T6971] bcachefs (loop0): check_topology... [ 370.439412][ T6971] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 370.528489][ T6971] bcachefs (loop0): no nodes found for btree extents, continuing [ 370.587431][ T6971] done [ 370.589850][ T6971] bcachefs (loop0): accounting_read... done [ 370.610784][ T6971] bcachefs (loop0): alloc_read... done [ 370.639108][ T6971] bcachefs (loop0): snapshots_read... done [ 370.682929][ T6971] bcachefs (loop0): check_allocations... [ 370.707690][ T6971] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 370.707710][ T6971] 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 [ 370.879169][ T6971] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 370.879192][ T6971] 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 [ 370.990592][ T6971] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 370.990610][ T6971] 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 [ 371.113061][ T6971] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 371.113074][ T6971] 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 [ 371.246866][ T6971] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 371.246889][ T6971] 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 [ 371.362382][ T6971] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 371.412158][ T6971] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 371.451961][ T6971] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 371.514725][ T6971] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 371.559048][ T6971] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 371.597286][ T6971] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 371.678520][ T6971] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 371.707583][ T6971] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 371.759476][ T6971] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 371.828488][ T6971] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 371.858305][ T6971] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 371.928782][ T6971] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 371.979093][ T6971] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 371.983860][ T6971] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 372.082080][ T6971] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 372.087193][ T6971] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 372.176535][ T6971] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 372.218991][ T6971] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 372.298466][ T6971] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 372.321484][ T6971] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 372.327110][ T6971] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 372.327126][ T6971] Ratelimiting new instances of previous error [ 372.444233][ T6971] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 372.444248][ T6971] Ratelimiting new instances of previous error [ 372.565276][ T6971] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 372.679337][ T6971] done [ 372.681434][ T6971] bcachefs (loop0): going read-write [ 372.698302][ T6971] workqueue: Failed to create a rescuer kthread for wq "bcachefs_btree_write_complete": -EINTR [ 372.698401][ T6971] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 372.745261][ T6971] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 372.778079][ T6971] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 372.802649][ T6971] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 372.807537][ T6971] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 372.898518][ T6971] bcachefs (loop0): shutting down 2025/06/17 13:52:06 executed programs: 443 [ 372.999891][ T6971] bcachefs (loop0): shutdown complete [ 374.661560][ T6971] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc [ 376.815105][ T7012] loop0: detected capacity change from 0 to 32768 [ 377.150543][ T7012] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 377.150564][ T7012] allowing incompatible features above 0.0: (unknown version) [ 377.150571][ T7012] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 377.330563][ T7012] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 377.334414][ T7012] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 377.406437][ T7012] bcachefs (loop0): Version upgrade required: [ 377.406437][ T7012] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 377.406437][ T7012] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 377.406437][ T7012] 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,check_rebalance_work,set_fs_needs_rebalance [ 378.018524][ T7012] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 378.018542][ T7012] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 378.018551][ T7012] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 378.018557][ T7012] flagging btree extents lost data [ 378.018562][ T7012] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 378.018569][ T7012] ret btree_node_read_validate_error [ 378.271937][ T7012] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing 2025/06/17 13:52:11 executed programs: 456 [ 378.414947][ T7012] bcachefs (loop0): check_topology... [ 378.422171][ T7012] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 378.494020][ T7012] bcachefs (loop0): no nodes found for btree extents, continuing [ 378.542740][ T7012] done [ 378.557274][ T7012] bcachefs (loop0): accounting_read... done [ 378.601759][ T7012] bcachefs (loop0): alloc_read... done [ 378.653401][ T7012] bcachefs (loop0): snapshots_read... done [ 378.688207][ T7012] bcachefs (loop0): check_allocations... [ 378.717915][ T7012] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 378.718170][ T7012] 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 [ 378.882868][ T7012] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 378.882887][ T7012] 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 [ 378.996532][ T7012] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 378.996550][ T7012] 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 [ 379.163369][ T7012] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 379.163387][ T7012] 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 [ 379.275523][ T7012] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 379.275544][ T7012] 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 [ 379.405802][ T7012] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 379.478680][ T7012] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 379.533145][ T7012] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 379.574603][ T7012] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 379.613871][ T7012] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 379.661020][ T7012] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 379.728977][ T7012] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 379.754274][ T7012] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 379.811264][ T7012] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 379.868736][ T7012] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 379.904948][ T7012] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 379.961180][ T7012] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 379.999004][ T7012] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 380.037867][ T7012] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 380.129419][ T7012] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 380.165028][ T7012] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 380.218507][ T7012] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 380.258345][ T7012] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 380.315146][ T7012] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 380.368587][ T7012] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 380.401751][ T7012] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 380.401773][ T7012] Ratelimiting new instances of previous error [ 380.477219][ T7012] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 380.477237][ T7012] Ratelimiting new instances of previous error [ 380.645825][ T7012] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 380.752702][ T7012] done [ 380.754615][ T7012] bcachefs (loop0): going read-write [ 380.798539][ T7012] workqueue: Failed to create a rescuer kthread for wq "bcachefs": -EINTR [ 380.798634][ T7012] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 380.865289][ T7012] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 380.881703][ T7012] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 380.921238][ T7012] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 380.968632][ T7012] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 380.973291][ T7012] bcachefs (loop0): shutting down [ 381.121418][ T7012] bcachefs (loop0): shutdown complete [ 382.329868][ T7012] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc 2025/06/17 13:52:17 executed programs: 469 [ 383.930394][ T1318] ieee802154 phy0 wpan0: encryption failed: -22 [ 383.933417][ T1318] ieee802154 phy1 wpan1: encryption failed: -22 [ 384.487046][ T7054] loop0: detected capacity change from 0 to 32768 [ 384.861257][ T7054] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 384.861278][ T7054] allowing incompatible features above 0.0: (unknown version) [ 384.861286][ T7054] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 385.054206][ T7054] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 385.103969][ T7054] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 385.141180][ T7054] bcachefs (loop0): Version upgrade required: [ 385.141180][ T7054] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 385.141180][ T7054] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 385.141180][ T7054] 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,check_rebalance_work,set_fs_needs_rebalance [ 385.806942][ T7054] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 385.806963][ T7054] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 385.806974][ T7054] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 385.806981][ T7054] flagging btree extents lost data [ 385.806988][ T7054] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 385.806996][ T7054] ret btree_node_read_validate_error [ 386.058857][ T7054] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 386.219913][ T7054] bcachefs (loop0): check_topology... [ 386.221981][ T7054] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 386.308347][ T7054] bcachefs (loop0): no nodes found for btree extents, continuing [ 386.339909][ T7054] done [ 386.358192][ T7054] bcachefs (loop0): accounting_read... done [ 386.409201][ T7054] bcachefs (loop0): alloc_read... done [ 386.438317][ T7054] bcachefs (loop0): snapshots_read... done [ 386.478337][ T7054] bcachefs (loop0): check_allocations... [ 386.502385][ T7054] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 386.502406][ T7054] 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 [ 386.636685][ T7054] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 386.636704][ T7054] 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 [ 386.834691][ T7054] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 386.834713][ T7054] 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 [ 386.949953][ T7054] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 386.949976][ T7054] 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 [ 387.065157][ T7054] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 387.065177][ T7054] 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 [ 387.224757][ T7054] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 387.269029][ T7054] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 387.275006][ T7054] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 387.358248][ T7054] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 387.418769][ T7054] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 387.452556][ T7054] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 387.514417][ T7054] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 387.540541][ T7054] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 387.546398][ T7054] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 387.638556][ T7054] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 387.681282][ T7054] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 387.686323][ T7054] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 387.780886][ T7054] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 387.786087][ T7054] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 387.875258][ T7054] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 387.950115][ T7054] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 387.955774][ T7054] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 388.038432][ T7054] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 388.085338][ T7054] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 388.138581][ T7054] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 388.203200][ T7054] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 388.203217][ T7054] Ratelimiting new instances of previous error [ 388.293380][ T7054] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 388.293400][ T7054] Ratelimiting new instances of previous error [ 388.456112][ T7054] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 388.528916][ T7054] done [ 388.530959][ T7054] bcachefs (loop0): going read-write [ 388.619774][ T7054] workqueue: Failed to create a rescuer kthread for wq "bcachefs": -EINTR [ 388.622913][ T7054] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 388.688268][ T7054] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 388.725051][ T7054] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 388.778173][ T7054] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 388.831293][ T7054] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 388.835515][ T7054] bcachefs (loop0): shutting down [ 388.976026][ T7054] bcachefs (loop0): shutdown complete 2025/06/17 13:52:22 executed programs: 481 [ 390.372748][ T7054] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc [ 392.333894][ T7103] loop0: detected capacity change from 0 to 32768 [ 392.681411][ T7103] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 392.681432][ T7103] allowing incompatible features above 0.0: (unknown version) [ 392.681438][ T7103] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 392.873335][ T7103] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 392.877453][ T7103] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 392.929081][ T7103] bcachefs (loop0): Version upgrade required: [ 392.929081][ T7103] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 392.929081][ T7103] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 392.929081][ T7103] 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,check_rebalance_work,set_fs_needs_rebalance [ 393.630808][ T7103] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 393.630827][ T7103] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 393.630837][ T7103] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 393.630844][ T7103] flagging btree extents lost data [ 393.630850][ T7103] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 393.630858][ T7103] ret btree_node_read_validate_error [ 393.879659][ T7103] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 394.008534][ T7103] bcachefs (loop0): check_topology... [ 394.008596][ T7103] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 394.048286][ T7103] bcachefs (loop0): no nodes found for btree extents, continuing [ 394.089401][ T7103] done [ 394.090880][ T7103] bcachefs (loop0): accounting_read... done [ 394.156137][ T7103] bcachefs (loop0): alloc_read... done [ 394.203227][ T7103] bcachefs (loop0): snapshots_read... done [ 394.237553][ T7103] bcachefs (loop0): check_allocations... [ 394.278818][ T7103] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 394.278841][ T7103] 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 [ 394.443370][ T7103] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 394.443391][ T7103] 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 [ 394.601010][ T7103] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 394.601032][ T7103] 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 [ 394.732639][ T7103] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 394.732671][ T7103] 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 [ 394.845130][ T7103] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree 2025/06/17 13:52:28 executed programs: 495 [ 394.845154][ T7103] 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 [ 394.969083][ T7103] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 395.049864][ T7103] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 395.077176][ T7103] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 395.134357][ T7103] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 395.196268][ T7103] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 395.238565][ T7103] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 395.244050][ T7103] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 395.330917][ T7103] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 395.336771][ T7103] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 395.426576][ T7103] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 395.478869][ T7103] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 395.483433][ T7103] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 395.568719][ T7103] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 395.608555][ T7103] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 395.641312][ T7103] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 395.696534][ T7103] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 395.753905][ T7103] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 395.797716][ T7103] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 395.878486][ T7103] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 395.883571][ T7103] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 395.970186][ T7103] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 395.970203][ T7103] Ratelimiting new instances of previous error [ 396.052430][ T7103] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 396.052448][ T7103] Ratelimiting new instances of previous error [ 396.188789][ T7103] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 396.288893][ T7103] done [ 396.290914][ T7103] bcachefs (loop0): going read-write [ 396.334697][ T7103] workqueue: Failed to create a rescuer kthread for wq "bcachefs": -EINTR [ 396.334857][ T7103] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 396.379176][ T7103] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 396.383910][ T7103] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 396.436188][ T7103] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 396.471506][ T7103] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 396.518231][ T7103] bcachefs (loop0): shutting down [ 396.617438][ T7103] bcachefs (loop0): shutdown complete [ 398.051649][ T7103] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc 2025/06/17 13:52:33 executed programs: 509 [ 400.173887][ T7143] loop0: detected capacity change from 0 to 32768 [ 400.505890][ T7143] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 400.505909][ T7143] allowing incompatible features above 0.0: (unknown version) [ 400.505914][ T7143] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 400.713132][ T7143] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 400.749769][ T7143] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 400.753838][ T7143] bcachefs (loop0): Version upgrade required: [ 400.753838][ T7143] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 400.753838][ T7143] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 400.753838][ T7143] 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,check_rebalance_work,set_fs_needs_rebalance [ 401.484333][ T7143] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 401.484354][ T7143] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 401.484363][ T7143] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 401.484369][ T7143] flagging btree extents lost data [ 401.484376][ T7143] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 401.484383][ T7143] ret btree_node_read_validate_error [ 401.699150][ T7143] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 401.821205][ T7143] bcachefs (loop0): check_topology... [ 401.821649][ T7143] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 401.865025][ T7143] bcachefs (loop0): no nodes found for btree extents, continuing [ 401.922818][ T7143] done [ 401.955416][ T7143] bcachefs (loop0): accounting_read... done [ 401.996758][ T7143] bcachefs (loop0): alloc_read... done [ 402.048277][ T7143] bcachefs (loop0): snapshots_read... done [ 402.090031][ T7143] bcachefs (loop0): check_allocations... [ 402.102989][ T7143] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 402.103009][ T7143] 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 [ 402.245871][ T7143] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 402.245891][ T7143] 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 [ 402.403106][ T7143] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 402.403125][ T7143] 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 [ 402.551123][ T7143] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 402.551143][ T7143] 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 [ 402.656188][ T7143] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 402.656208][ T7143] 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 [ 402.772603][ T7143] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 402.823321][ T7143] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 402.874225][ T7143] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 402.913431][ T7143] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 402.955298][ T7143] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 403.018507][ T7143] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 403.078729][ T7143] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 403.104038][ T7143] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 403.153008][ T7143] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 403.192808][ T7143] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 403.268799][ T7143] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 403.310243][ T7143] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 403.315997][ T7143] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 403.388592][ T7143] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 403.457678][ T7143] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 403.491045][ T7143] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 403.496848][ T7143] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 403.605997][ T7143] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 403.643758][ T7143] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 403.716258][ T7143] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 403.769777][ T7143] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 403.769800][ T7143] Ratelimiting new instances of previous error [ 403.843751][ T7143] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 403.843770][ T7143] Ratelimiting new instances of previous error [ 403.968886][ T7143] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 404.061707][ T7143] done [ 404.064036][ T7143] bcachefs (loop0): going read-write [ 404.138917][ T7143] workqueue: Failed to create a rescuer kthread for wq "bcachefs": -EINTR [ 404.139100][ T7143] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 404.147842][ T7143] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 404.278093][ T7143] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 404.338199][ T7143] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 404.371029][ T7143] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 404.406990][ T7143] bcachefs (loop0): shutting down [ 404.547778][ T7143] bcachefs (loop0): shutdown complete 2025/06/17 13:52:39 executed programs: 521 [ 405.960483][ T7143] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc [ 408.417790][ T7185] loop0: detected capacity change from 0 to 32768 [ 408.821047][ T7185] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 408.821067][ T7185] allowing incompatible features above 0.0: (unknown version) [ 408.821074][ T7185] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 408.989284][ T7185] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 409.022515][ T7185] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 409.071997][ T7185] bcachefs (loop0): Version upgrade required: [ 409.071997][ T7185] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 409.071997][ T7185] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 409.071997][ T7185] 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,check_rebalance_work,set_fs_needs_rebalance [ 409.778730][ T7185] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 409.778749][ T7185] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 409.778761][ T7185] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 409.778769][ T7185] flagging btree extents lost data [ 409.778775][ T7185] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 409.778784][ T7185] ret btree_node_read_validate_error [ 410.009221][ T7185] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 410.161373][ T7185] bcachefs (loop0): check_topology... [ 410.161443][ T7185] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 410.228386][ T7185] bcachefs (loop0): no nodes found for btree extents, continuing [ 410.284556][ T7185] done [ 410.286488][ T7185] bcachefs (loop0): accounting_read... done [ 410.358404][ T7185] bcachefs (loop0): alloc_read... done [ 410.381279][ T7185] bcachefs (loop0): snapshots_read... done [ 410.417874][ T7185] bcachefs (loop0): check_allocations... [ 410.458585][ T7185] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 410.458607][ T7185] 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 [ 410.625583][ T7185] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 410.625602][ T7185] 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 [ 410.741072][ T7185] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 410.741093][ T7185] 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.875956][ T7185] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 410.875975][ T7185] 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.029432][ T7185] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree 2025/06/17 13:52:44 executed programs: 534 [ 411.029452][ T7185] 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.133036][ T7185] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 411.137445][ T7185] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 411.238744][ T7185] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 411.278420][ T7185] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 411.284289][ T7185] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 411.365199][ T7185] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 411.447437][ T7185] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 411.483139][ T7185] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 411.539222][ T7185] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 411.607691][ T7185] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 411.648823][ T7185] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 411.653788][ T7185] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 411.734221][ T7185] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 411.785246][ T7185] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 411.827536][ T7185] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 411.860974][ T7185] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 411.866619][ T7185] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 411.946211][ T7185] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 411.984278][ T7185] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 412.040065][ T7185] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 412.088694][ T7185] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 412.088716][ T7185] Ratelimiting new instances of previous error [ 412.117056][ T7185] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 412.117074][ T7185] Ratelimiting new instances of previous error [ 412.279544][ T7185] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 412.369865][ T7185] done [ 412.371874][ T7185] bcachefs (loop0): going read-write [ 412.419255][ T7185] workqueue: Failed to create a rescuer kthread for wq "bcachefs": -EINTR [ 412.419388][ T7185] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 412.464890][ T7185] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 412.503657][ T7185] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 412.558687][ T7185] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 412.563980][ T7185] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 412.618060][ T7185] bcachefs (loop0): shutting down [ 412.732185][ T7185] bcachefs (loop0): shutdown complete [ 414.114664][ T7185] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc [ 416.126953][ T7228] loop0: detected capacity change from 0 to 32768 [ 416.429112][ T7228] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names 2025/06/17 13:52:50 executed programs: 548 [ 416.429132][ T7228] allowing incompatible features above 0.0: (unknown version) [ 416.429139][ T7228] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 416.585790][ T7228] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 416.648264][ T7228] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 416.652301][ T7228] bcachefs (loop0): Version upgrade required: [ 416.652301][ T7228] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 416.652301][ T7228] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 416.652301][ T7228] 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,check_rebalance_work,set_fs_needs_rebalance [ 417.388663][ T7228] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 417.388681][ T7228] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 417.388691][ T7228] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 417.388698][ T7228] flagging btree extents lost data [ 417.388704][ T7228] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 417.388711][ T7228] ret btree_node_read_validate_error [ 417.612262][ T7228] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 417.741774][ T7228] bcachefs (loop0): check_topology... [ 417.741824][ T7228] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 417.828304][ T7228] bcachefs (loop0): no nodes found for btree extents, continuing [ 417.873578][ T7228] done [ 417.874984][ T7228] bcachefs (loop0): accounting_read... done [ 417.953084][ T7228] bcachefs (loop0): alloc_read... done [ 417.988224][ T7228] bcachefs (loop0): snapshots_read... done [ 418.037428][ T7228] bcachefs (loop0): check_allocations... [ 418.090022][ T7228] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 418.090044][ T7228] 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 [ 418.237774][ T7228] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 418.237795][ T7228] 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 [ 418.325473][ T7228] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 418.325492][ T7228] 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 [ 418.463601][ T7228] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 418.463621][ T7228] 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 [ 418.569608][ T7228] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 418.569629][ T7228] 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 [ 418.665883][ T7228] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 418.724155][ T7228] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 418.788771][ T7228] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 418.818638][ T7228] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 418.873654][ T7228] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 418.921723][ T7228] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 418.965296][ T7228] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 419.014726][ T7228] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 419.078409][ T7228] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 419.122115][ T7228] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 419.198706][ T7228] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 419.238986][ T7228] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 419.263516][ T7228] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 419.304869][ T7228] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 419.368928][ T7228] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 419.419640][ T7228] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 419.470764][ T7228] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 419.528405][ T7228] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 419.571856][ T7228] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 419.576784][ T7228] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 419.665553][ T7228] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 419.665570][ T7228] Ratelimiting new instances of previous error [ 419.723629][ T7228] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 419.723645][ T7228] Ratelimiting new instances of previous error [ 419.859901][ T7228] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 419.955290][ T7228] done [ 419.957515][ T7228] bcachefs (loop0): going read-write [ 420.021827][ T7228] workqueue: Failed to create a rescuer kthread for wq "bcachefs": -EINTR [ 420.021918][ T7228] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 420.118186][ T7228] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 420.142626][ T7228] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 420.171670][ T7228] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 420.233413][ T7228] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 420.282845][ T7228] bcachefs (loop0): shutting down [ 420.391909][ T7228] bcachefs (loop0): shutdown complete 2025/06/17 13:52:55 executed programs: 560 [ 421.669018][ T7228] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc [ 423.700046][ T7271] loop0: detected capacity change from 0 to 32768 [ 424.025359][ T7271] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 424.025379][ T7271] allowing incompatible features above 0.0: (unknown version) [ 424.025386][ T7271] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 424.210511][ T7271] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 424.241077][ T7271] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 424.245362][ T7271] bcachefs (loop0): Version upgrade required: [ 424.245362][ T7271] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 424.245362][ T7271] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 424.245362][ T7271] 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,check_rebalance_work,set_fs_needs_rebalance [ 424.874303][ T7271] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 424.874322][ T7271] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 424.874330][ T7271] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 424.874336][ T7271] flagging btree extents lost data [ 424.874341][ T7271] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 424.874348][ T7271] ret btree_node_read_validate_error [ 425.148841][ T7271] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 425.310190][ T7271] bcachefs (loop0): check_topology... [ 425.310272][ T7271] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 425.316628][ T7271] bcachefs (loop0): no nodes found for btree extents, continuing [ 425.430475][ T7271] done [ 425.432941][ T7271] bcachefs (loop0): accounting_read... done [ 425.471550][ T7271] bcachefs (loop0): alloc_read... done [ 425.512799][ T7271] bcachefs (loop0): snapshots_read... done [ 425.548195][ T7271] bcachefs (loop0): check_allocations... [ 425.580126][ T7271] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 425.580148][ T7271] 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 [ 425.782854][ T7271] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 425.782873][ T7271] 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 [ 425.900164][ T7271] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 425.900183][ T7271] 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 [ 426.020000][ T7271] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 426.020013][ T7271] 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 [ 426.141035][ T7271] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 426.141054][ T7271] 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 [ 426.288804][ T7271] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 426.293307][ T7271] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 426.388829][ T7271] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 426.438675][ T7271] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 426.505455][ T7271] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 426.547531][ T7271] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 426.585423][ T7271] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 426.648489][ T7271] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 426.688973][ T7271] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 426.714226][ T7271] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 426.778661][ T7271] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 426.811452][ T7271] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 426.868667][ T7271] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 426.899544][ T7271] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 426.936512][ T7271] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 427.018312][ T7271] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 427.048744][ T7271] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 427.053845][ T7271] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 427.118609][ T7271] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 427.183012][ T7271] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 427.238475][ T7271] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 427.238491][ T7271] Ratelimiting new instances of previous error [ 427.306368][ T7271] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing 2025/06/17 13:53:00 executed programs: 574 [ 427.306385][ T7271] Ratelimiting new instances of previous error [ 427.447066][ T7271] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 427.618862][ T7271] done [ 427.620861][ T7271] bcachefs (loop0): going read-write [ 427.641443][ T7271] workqueue: Failed to create a rescuer kthread for wq "bcachefs": -EINTR [ 427.641560][ T7271] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 427.736294][ T7271] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 427.788329][ T7271] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 427.816279][ T7271] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 427.876275][ T7271] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 427.915094][ T7271] bcachefs (loop0): shutting down [ 428.026220][ T7271] bcachefs (loop0): shutdown complete [ 429.522956][ T7271] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc [ 431.579586][ T7313] loop0: detected capacity change from 0 to 32768 [ 431.911193][ T7313] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 431.911218][ T7313] allowing incompatible features above 0.0: (unknown version) [ 431.911226][ T7313] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 432.098220][ T7313] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 432.118643][ T7313] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 432.122302][ T7313] bcachefs (loop0): Version upgrade required: [ 432.122302][ T7313] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 432.122302][ T7313] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 432.122302][ T7313] 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,check_rebalance_work,set_fs_needs_rebalance 2025/06/17 13:53:06 executed programs: 588 [ 432.881456][ T7313] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 432.881476][ T7313] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 432.881487][ T7313] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 432.881494][ T7313] flagging btree extents lost data [ 432.881501][ T7313] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 432.881508][ T7313] ret btree_node_read_validate_error [ 433.111533][ T7313] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 433.268949][ T7313] bcachefs (loop0): check_topology... [ 433.269018][ T7313] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 433.275515][ T7313] bcachefs (loop0): no nodes found for btree extents, continuing [ 433.379647][ T7313] done [ 433.386475][ T7313] bcachefs (loop0): accounting_read... done [ 433.438369][ T7313] bcachefs (loop0): alloc_read... done [ 433.503174][ T7313] bcachefs (loop0): snapshots_read... done [ 433.536963][ T7313] bcachefs (loop0): check_allocations... [ 433.554120][ T7313] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 433.554143][ T7313] 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 [ 433.751265][ T7313] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 433.751285][ T7313] 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 [ 433.865330][ T7313] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 433.865346][ T7313] 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 [ 434.012663][ T7313] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 434.012684][ T7313] 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 [ 434.126227][ T7313] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 434.126250][ T7313] 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 [ 434.226288][ T7313] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 434.288339][ T7313] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 434.318837][ T7313] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 434.376233][ T7313] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 434.425216][ T7313] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 434.479622][ T7313] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 434.529194][ T7313] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 434.554847][ T7313] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 434.616053][ T7313] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 434.638521][ T7313] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 434.674933][ T7313] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 434.720127][ T7313] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 434.763229][ T7313] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 434.810556][ T7313] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 434.858546][ T7313] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 434.883243][ T7313] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 434.935121][ T7313] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 434.982004][ T7313] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 435.029734][ T7313] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 435.070427][ T7313] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 435.126746][ T7313] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 435.126760][ T7313] Ratelimiting new instances of previous error [ 435.248410][ T7313] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 435.248428][ T7313] Ratelimiting new instances of previous error [ 435.378681][ T7313] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 435.479482][ T7313] done [ 435.481948][ T7313] bcachefs (loop0): going read-write [ 435.519251][ T7313] workqueue: Failed to create a rescuer kthread for wq "bcachefs_btree_write_complete": -EINTR [ 435.519368][ T7313] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 435.608465][ T7313] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 435.612793][ T7313] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 435.666349][ T7313] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 435.697768][ T7313] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 435.730694][ T7313] bcachefs (loop0): shutting down [ 435.829666][ T7313] bcachefs (loop0): shutdown complete [ 437.229685][ T7313] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc 2025/06/17 13:53:11 executed programs: 601 [ 439.291765][ T7356] loop0: detected capacity change from 0 to 32768 [ 439.656426][ T7356] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 439.656449][ T7356] allowing incompatible features above 0.0: (unknown version) [ 439.656455][ T7356] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 439.808200][ T7356] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 439.811977][ T7356] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 439.815807][ T7356] bcachefs (loop0): Version upgrade required: [ 439.815807][ T7356] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 439.815807][ T7356] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 439.815807][ T7356] 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,check_rebalance_work,set_fs_needs_rebalance [ 440.509205][ T7356] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 440.509225][ T7356] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 440.509236][ T7356] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 440.509244][ T7356] flagging btree extents lost data [ 440.509252][ T7356] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 440.509260][ T7356] ret btree_node_read_validate_error [ 440.725071][ T7356] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 440.841352][ T7356] bcachefs (loop0): check_topology... [ 440.841426][ T7356] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 440.918634][ T7356] bcachefs (loop0): no nodes found for btree extents, continuing [ 440.970579][ T7356] done [ 440.979707][ T7356] bcachefs (loop0): accounting_read... done [ 440.999657][ T7356] bcachefs (loop0): alloc_read... done [ 441.028188][ T7356] bcachefs (loop0): snapshots_read... done [ 441.096698][ T7356] bcachefs (loop0): check_allocations... [ 441.105765][ T7356] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 441.105786][ T7356] 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 [ 441.249774][ T7356] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 441.249789][ T7356] 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 [ 441.415955][ T7356] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 441.415974][ T7356] 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 [ 441.522513][ T7356] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 441.522534][ T7356] 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 [ 441.673525][ T7356] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 441.673544][ T7356] 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 [ 441.836113][ T7356] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 441.871047][ T7356] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 441.942073][ T7356] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 441.978300][ T7356] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 442.019996][ T7356] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 442.062651][ T7356] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 442.117478][ T7356] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 442.188479][ T7356] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 442.228406][ T7356] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 442.254321][ T7356] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 442.291513][ T7356] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 442.351369][ T7356] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 442.357782][ T7356] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 442.431552][ T7356] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 442.437412][ T7356] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 442.521106][ T7356] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 442.526454][ T7356] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 442.618393][ T7356] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 442.624224][ T7356] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 442.731862][ T7356] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 442.737861][ T7356] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 442.737877][ T7356] Ratelimiting new instances of previous error [ 442.833653][ T7356] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 442.833669][ T7356] Ratelimiting new instances of previous error [ 442.985452][ T7356] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing 2025/06/17 13:53:16 executed programs: 614 [ 443.142213][ T7356] done [ 443.144196][ T7356] bcachefs (loop0): going read-write [ 443.188352][ T7356] workqueue: Failed to create a rescuer kthread for wq "bcachefs_btree_write_complete": -EINTR [ 443.188449][ T7356] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 443.258398][ T7356] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 443.263371][ T7356] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 443.348217][ T7356] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 443.382796][ T7356] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 443.428387][ T7356] bcachefs (loop0): shutting down [ 443.579816][ T7356] bcachefs (loop0): shutdown complete [ 445.189800][ T7356] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc [ 445.388737][ T1318] ieee802154 phy0 wpan0: encryption failed: -22 [ 445.391587][ T1318] ieee802154 phy1 wpan1: encryption failed: -22 [ 447.321238][ T7401] loop0: detected capacity change from 0 to 32768 [ 447.556875][ T7401] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 447.556896][ T7401] allowing incompatible features above 0.0: (unknown version) [ 447.556912][ T7401] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 447.758282][ T7401] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 447.762139][ T7401] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 447.766374][ T7401] bcachefs (loop0): Version upgrade required: [ 447.766374][ T7401] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 447.766374][ T7401] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 447.766374][ T7401] 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,check_rebalance_work,set_fs_needs_rebalance [ 448.465249][ T7401] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 448.465269][ T7401] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 448.465278][ T7401] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 448.465285][ T7401] flagging btree extents lost data [ 448.465290][ T7401] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 448.465297][ T7401] ret btree_node_read_validate_error 2025/06/17 13:53:22 executed programs: 627 [ 448.708510][ T7401] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 448.863202][ T7401] bcachefs (loop0): check_topology... [ 448.863260][ T7401] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 448.938236][ T7401] bcachefs (loop0): no nodes found for btree extents, continuing [ 448.995700][ T7401] done [ 449.025535][ T7401] bcachefs (loop0): accounting_read... done [ 449.073479][ T7401] bcachefs (loop0): alloc_read... done [ 449.077654][ T7401] bcachefs (loop0): snapshots_read... done [ 449.168340][ T7401] bcachefs (loop0): check_allocations... [ 449.183258][ T7401] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 449.183302][ T7401] 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 [ 449.343497][ T7401] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 449.343518][ T7401] 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 [ 449.493316][ T7401] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 449.493338][ T7401] 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 [ 449.656901][ T7401] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 449.656922][ T7401] 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 [ 449.808908][ T7401] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 449.808922][ T7401] 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 [ 449.949037][ T7401] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 449.976792][ T7401] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 450.039993][ T7401] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 450.098350][ T7401] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 450.132671][ T7401] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 450.169384][ T7401] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 450.211565][ T7401] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 450.260802][ T7401] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 450.312466][ T7401] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 450.386578][ T7401] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 450.414208][ T7401] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 450.474373][ T7401] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 450.548439][ T7401] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 450.585002][ T7401] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 450.675551][ T7401] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 450.709717][ T7401] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 450.715018][ T7401] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 450.795228][ T7401] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 450.848704][ T7401] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 450.898256][ T7401] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 450.903848][ T7401] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 450.903864][ T7401] Ratelimiting new instances of previous error [ 451.005829][ T7401] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 451.005847][ T7401] Ratelimiting new instances of previous error [ 451.136025][ T7401] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 451.207450][ T7401] done [ 451.273199][ T7401] bcachefs (loop0): going read-write [ 451.319070][ T7401] workqueue: Failed to create a rescuer kthread for wq "bcachefs_btree_write_complete": -EINTR [ 451.319164][ T7401] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 451.412612][ T7401] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 451.417099][ T7401] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 451.474333][ T7401] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 451.532812][ T7401] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 451.580524][ T7401] bcachefs (loop0): shutting down [ 451.682413][ T7401] bcachefs (loop0): shutdown complete [ 452.833812][ T7401] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc 2025/06/17 13:53:27 executed programs: 641 [ 454.874187][ T7451] loop0: detected capacity change from 0 to 32768 [ 455.145094][ T7451] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 455.145131][ T7451] allowing incompatible features above 0.0: (unknown version) [ 455.145139][ T7451] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 455.378289][ T7451] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 455.411478][ T7451] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 455.416012][ T7451] bcachefs (loop0): Version upgrade required: [ 455.416012][ T7451] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 455.416012][ T7451] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 455.416012][ T7451] 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,check_rebalance_work,set_fs_needs_rebalance [ 456.115004][ T7451] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 456.115024][ T7451] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 456.115034][ T7451] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 456.115041][ T7451] flagging btree extents lost data [ 456.115047][ T7451] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 456.115058][ T7451] ret btree_node_read_validate_error [ 456.361131][ T7451] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 456.492200][ T7451] bcachefs (loop0): check_topology... [ 456.492276][ T7451] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 456.560906][ T7451] bcachefs (loop0): no nodes found for btree extents, continuing [ 456.602367][ T7451] done [ 456.618241][ T7451] bcachefs (loop0): accounting_read... done [ 456.653485][ T7451] bcachefs (loop0): alloc_read... done [ 456.720924][ T7451] bcachefs (loop0): snapshots_read... done [ 456.758140][ T7451] bcachefs (loop0): check_allocations... [ 456.786269][ T7451] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 456.786289][ T7451] 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 [ 456.934671][ T7451] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 456.934690][ T7451] 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 [ 457.079106][ T7451] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 457.079127][ T7451] 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 [ 457.232751][ T7451] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 457.232773][ T7451] 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 [ 457.365648][ T7451] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 457.365669][ T7451] 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 [ 457.505597][ T7451] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 457.559080][ T7451] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 457.603948][ T7451] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 457.659418][ T7451] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 457.708942][ T7451] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 457.749320][ T7451] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 457.801893][ T7451] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 457.830878][ T7451] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 457.893779][ T7451] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 457.964819][ T7451] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 457.988564][ T7451] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 458.019012][ T7451] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 458.079070][ T7451] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 458.127663][ T7451] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 458.171754][ T7451] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 458.218514][ T7451] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 458.269589][ T7451] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 458.317486][ T7451] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 458.360562][ T7451] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 458.419685][ T7451] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 458.425538][ T7451] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 458.425552][ T7451] Ratelimiting new instances of previous error [ 458.504257][ T7451] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 458.504274][ T7451] Ratelimiting new instances of previous error [ 458.641909][ T7451] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 458.741159][ T7451] done [ 458.742978][ T7451] bcachefs (loop0): going read-write [ 458.798079][ T7451] workqueue: Failed to create a rescuer kthread for wq "bcachefs_btree_write_complete": -EINTR [ 458.798252][ T7451] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 458.865546][ T7451] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 458.913845][ T7451] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 458.971915][ T7451] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 458.976513][ T7451] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 459.031715][ T7451] bcachefs (loop0): shutting down [ 459.192350][ T7451] bcachefs (loop0): shutdown complete 2025/06/17 13:53:33 executed programs: 653 [ 460.560214][ T7451] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc [ 462.623103][ T7492] loop0: detected capacity change from 0 to 32768 [ 462.929130][ T7492] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 462.929151][ T7492] allowing incompatible features above 0.0: (unknown version) [ 462.929159][ T7492] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 463.091445][ T7492] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 463.124624][ T7492] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 463.165704][ T7492] bcachefs (loop0): Version upgrade required: [ 463.165704][ T7492] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 463.165704][ T7492] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 463.165704][ T7492] 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,check_rebalance_work,set_fs_needs_rebalance [ 463.876276][ T7492] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 463.876299][ T7492] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 463.876311][ T7492] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 463.876318][ T7492] flagging btree extents lost data [ 463.876325][ T7492] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 463.876333][ T7492] ret btree_node_read_validate_error [ 464.109837][ T7492] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 464.224194][ T7492] bcachefs (loop0): check_topology... [ 464.224250][ T7492] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 464.295244][ T7492] bcachefs (loop0): no nodes found for btree extents, continuing [ 464.359355][ T7492] done [ 464.374758][ T7492] bcachefs (loop0): accounting_read... done [ 464.438125][ T7492] bcachefs (loop0): alloc_read... done [ 464.465754][ T7492] bcachefs (loop0): snapshots_read... done [ 464.518067][ T7492] bcachefs (loop0): check_allocations... [ 464.550083][ T7492] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 464.550105][ T7492] 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 2025/06/17 13:53:38 executed programs: 667 [ 464.774014][ T7492] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 464.774034][ T7492] 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 [ 464.916769][ T7492] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 464.916789][ T7492] 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 [ 465.041597][ T7492] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 465.041617][ T7492] 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 [ 465.173768][ T7492] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 465.173788][ T7492] 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 [ 465.283375][ T7492] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 465.322117][ T7492] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 465.365565][ T7492] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 465.421315][ T7492] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 465.427012][ T7492] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 465.518725][ T7492] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 465.523975][ T7492] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 465.602545][ T7492] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 465.664691][ T7492] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 465.728841][ T7492] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 465.734143][ T7492] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 465.798336][ T7492] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 465.901223][ T7492] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 465.958176][ T7492] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 466.000702][ T7492] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 466.005321][ T7492] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 466.073521][ T7492] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 466.127426][ T7492] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 466.186852][ T7492] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 466.233783][ T7492] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 466.281366][ T7492] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 466.281384][ T7492] Ratelimiting new instances of previous error [ 466.363416][ T7492] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 466.363436][ T7492] Ratelimiting new instances of previous error [ 466.510029][ T7492] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 466.601143][ T7492] done [ 466.603305][ T7492] bcachefs (loop0): going read-write [ 466.649242][ T7492] workqueue: Failed to create a rescuer kthread for wq "bcachefs_btree_write_complete": -EINTR [ 466.649383][ T7492] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 466.716697][ T7492] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 466.764262][ T7492] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 466.799679][ T7492] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 466.863087][ T7492] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 466.867619][ T7492] bcachefs (loop0): shutting down [ 466.985421][ T7492] bcachefs (loop0): shutdown complete [ 468.199173][ T7492] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc 2025/06/17 13:53:43 executed programs: 680 [ 470.233368][ T7535] loop0: detected capacity change from 0 to 32768 [ 470.504679][ T7535] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 470.504699][ T7535] allowing incompatible features above 0.0: (unknown version) [ 470.504712][ T7535] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 470.710131][ T7535] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 470.713867][ T7535] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 470.717602][ T7535] bcachefs (loop0): Version upgrade required: [ 470.717602][ T7535] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 470.717602][ T7535] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 470.717602][ T7535] 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,check_rebalance_work,set_fs_needs_rebalance [ 471.409890][ T7535] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 471.409908][ T7535] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 471.409918][ T7535] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 471.409926][ T7535] flagging btree extents lost data [ 471.409931][ T7535] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 471.409940][ T7535] ret btree_node_read_validate_error [ 471.621860][ T7535] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 471.734346][ T7535] bcachefs (loop0): check_topology... [ 471.734405][ T7535] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 471.800118][ T7535] bcachefs (loop0): no nodes found for btree extents, continuing [ 471.878245][ T7535] done [ 471.879642][ T7535] bcachefs (loop0): accounting_read... done [ 471.914513][ T7535] bcachefs (loop0): alloc_read... done [ 471.980742][ T7535] bcachefs (loop0): snapshots_read... done [ 472.000268][ T7535] bcachefs (loop0): check_allocations... [ 472.022943][ T7535] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 472.022963][ T7535] 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 [ 472.161576][ T7535] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 472.161598][ T7535] 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 [ 472.356414][ T7535] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 472.356434][ T7535] 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 [ 472.508769][ T7535] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 472.508790][ T7535] 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 [ 472.638516][ T7535] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 472.638537][ T7535] 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 [ 472.773389][ T7535] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 472.821240][ T7535] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 472.881846][ T7535] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 472.928277][ T7535] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 472.988765][ T7535] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 473.011503][ T7535] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 473.068526][ T7535] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 473.109384][ T7535] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 473.161599][ T7535] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 473.218442][ T7535] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 473.256195][ T7535] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 473.316390][ T7535] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 473.372734][ T7535] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 473.446060][ T7535] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 473.480703][ T7535] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 473.538977][ T7535] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 473.574601][ T7535] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 473.639482][ T7535] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 473.684842][ T7535] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 473.728264][ T7535] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 473.798578][ T7535] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 473.798596][ T7535] Ratelimiting new instances of previous error [ 473.861818][ T7535] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 473.861836][ T7535] Ratelimiting new instances of previous error [ 474.028396][ T7535] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 474.148951][ T7535] done [ 474.150818][ T7535] bcachefs (loop0): going read-write [ 474.178412][ T7535] workqueue: Failed to create a rescuer kthread for wq "bcachefs_btree_write_complete": -EINTR [ 474.178782][ T7535] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 474.258256][ T7535] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 474.283311][ T7535] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 474.322260][ T7535] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 474.327038][ T7535] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 474.388230][ T7535] bcachefs (loop0): shutting down [ 474.480058][ T7535] bcachefs (loop0): shutdown complete 2025/06/17 13:53:48 executed programs: 693 [ 475.707671][ T7535] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc [ 477.844463][ T7576] loop0: detected capacity change from 0 to 32768 [ 478.165693][ T7576] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 478.165712][ T7576] allowing incompatible features above 0.0: (unknown version) [ 478.165719][ T7576] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 478.388319][ T7576] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 478.402917][ T7576] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 478.407070][ T7576] bcachefs (loop0): Version upgrade required: [ 478.407070][ T7576] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 478.407070][ T7576] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 478.407070][ T7576] 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,check_rebalance_work,set_fs_needs_rebalance [ 479.057722][ T7576] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 479.057740][ T7576] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 479.057749][ T7576] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 479.057755][ T7576] flagging btree extents lost data [ 479.057761][ T7576] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 479.057767][ T7576] ret btree_node_read_validate_error [ 479.290424][ T7576] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 479.440533][ T7576] bcachefs (loop0): check_topology... [ 479.440596][ T7576] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 479.447357][ T7576] bcachefs (loop0): no nodes found for btree extents, continuing [ 479.576581][ T7576] done [ 479.588819][ T7576] bcachefs (loop0): accounting_read... done [ 479.623616][ T7576] bcachefs (loop0): alloc_read... done [ 479.660931][ T7576] bcachefs (loop0): snapshots_read... done [ 479.718196][ T7576] bcachefs (loop0): check_allocations... [ 479.783100][ T7576] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 479.783122][ T7576] 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 [ 479.951156][ T7576] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 479.951175][ T7576] 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 [ 480.056703][ T7576] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 480.056731][ T7576] 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 [ 480.194139][ T7576] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 480.194157][ T7576] 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 [ 480.321014][ T7576] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 480.321034][ T7576] 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 [ 480.490915][ T7576] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 480.538261][ T7576] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 480.544136][ T7576] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 480.611381][ T7576] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 480.668561][ T7576] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 480.714281][ T7576] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 480.748479][ T7576] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 480.753629][ T7576] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 480.837277][ T7576] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 480.886146][ T7576] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 480.957749][ T7576] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 480.984913][ T7576] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 481.052123][ T7576] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 481.056719][ T7576] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing 2025/06/17 13:53:54 executed programs: 706 [ 481.153991][ T7576] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 481.180284][ T7576] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 481.250726][ T7576] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 481.255323][ T7576] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 481.342814][ T7576] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 481.392621][ T7576] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 481.459844][ T7576] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 481.459860][ T7576] Ratelimiting new instances of previous error [ 481.541889][ T7576] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 481.541906][ T7576] Ratelimiting new instances of previous error [ 481.738669][ T7576] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 481.801026][ T7576] done [ 481.802988][ T7576] bcachefs (loop0): going read-write [ 481.858552][ T7576] workqueue: Failed to create a rescuer kthread for wq "bcachefs_btree_write_complete": -EINTR [ 481.858680][ T7576] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 481.907452][ T7576] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 481.969108][ T7576] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 481.992958][ T7576] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 481.997668][ T7576] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 482.080989][ T7576] bcachefs (loop0): shutting down [ 482.199616][ T7576] bcachefs (loop0): shutdown complete [ 483.511320][ T7576] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc [ 485.573209][ T7623] loop0: detected capacity change from 0 to 32768 [ 485.796419][ T7623] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 485.796439][ T7623] allowing incompatible features above 0.0: (unknown version) [ 485.796446][ T7623] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 486.031854][ T7623] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 486.035735][ T7623] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 486.095832][ T7623] bcachefs (loop0): Version upgrade required: [ 486.095832][ T7623] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 486.095832][ T7623] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 486.095832][ T7623] 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,check_rebalance_work,set_fs_needs_rebalance [ 486.678830][ T7623] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 486.678850][ T7623] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 486.678860][ T7623] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 486.678867][ T7623] flagging btree extents lost data [ 486.678874][ T7623] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 486.678881][ T7623] ret btree_node_read_validate_error [ 486.894326][ T7623] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 487.046408][ T7623] bcachefs (loop0): check_topology... [ 487.046471][ T7623] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 487.078261][ T7623] bcachefs (loop0): no nodes found for btree extents, continuing [ 487.134269][ T7623] done [ 487.135771][ T7623] bcachefs (loop0): accounting_read... done 2025/06/17 13:54:00 executed programs: 722 [ 487.177431][ T7623] bcachefs (loop0): alloc_read... done [ 487.223751][ T7623] bcachefs (loop0): snapshots_read... done [ 487.271719][ T7623] bcachefs (loop0): check_allocations... [ 487.275953][ T7623] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 487.275971][ T7623] 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 [ 487.416271][ T7623] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 487.416291][ T7623] 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 [ 487.593821][ T7623] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 487.593842][ T7623] 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 [ 487.711190][ T7623] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 487.711208][ T7623] 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 [ 487.873171][ T7623] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 487.873191][ T7623] 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 [ 487.962210][ T7623] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 488.041219][ T7623] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 488.087689][ T7623] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 488.152794][ T7623] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 488.192590][ T7623] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 488.241708][ T7623] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 488.301540][ T7623] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 488.339593][ T7623] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 488.378836][ T7623] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 488.433148][ T7623] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 488.478609][ T7623] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 488.518536][ T7623] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 488.573035][ T7623] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 488.634150][ T7623] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 488.674433][ T7623] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 488.741147][ T7623] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 488.788448][ T7623] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 488.818603][ T7623] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 488.867529][ T7623] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 488.928473][ T7623] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 488.989322][ T7623] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 488.989343][ T7623] Ratelimiting new instances of previous error [ 489.050402][ T7623] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 489.050420][ T7623] Ratelimiting new instances of previous error [ 489.223387][ T7623] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 489.358827][ T7623] done [ 489.366144][ T7623] bcachefs (loop0): going read-write [ 489.409789][ T7623] workqueue: Failed to create a rescuer kthread for wq "bcachefs": -EINTR [ 489.409972][ T7623] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 489.496531][ T7623] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 489.553211][ T7623] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 489.588290][ T7623] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 489.611936][ T7623] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 489.657479][ T7623] bcachefs (loop0): shutting down [ 489.776287][ T7623] bcachefs (loop0): shutdown complete [ 490.898823][ T7623] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc 2025/06/17 13:54:06 executed programs: 736 [ 493.047503][ T7661] loop0: detected capacity change from 0 to 32768 [ 493.323771][ T7661] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 493.323791][ T7661] allowing incompatible features above 0.0: (unknown version) [ 493.323798][ T7661] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 493.519477][ T7661] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 493.523678][ T7661] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 493.527615][ T7661] bcachefs (loop0): Version upgrade required: [ 493.527615][ T7661] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 493.527615][ T7661] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 493.527615][ T7661] 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,check_rebalance_work,set_fs_needs_rebalance [ 494.140379][ T7661] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 494.140403][ T7661] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 494.140412][ T7661] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 494.140418][ T7661] flagging btree extents lost data [ 494.140423][ T7661] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 494.140430][ T7661] ret btree_node_read_validate_error [ 494.356559][ T7661] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 494.459373][ T7661] bcachefs (loop0): check_topology... [ 494.459432][ T7661] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 494.466577][ T7661] bcachefs (loop0): no nodes found for btree extents, continuing [ 494.594024][ T7661] done [ 494.598736][ T7661] bcachefs (loop0): accounting_read... done [ 494.651553][ T7661] bcachefs (loop0): alloc_read... done [ 494.703864][ T7661] bcachefs (loop0): snapshots_read... done [ 494.788624][ T7661] bcachefs (loop0): check_allocations... [ 494.802607][ T7661] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 494.802626][ T7661] 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 [ 494.945681][ T7661] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 494.945704][ T7661] 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 [ 495.061314][ T7661] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 495.061332][ T7661] 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 [ 495.194602][ T7661] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 495.194620][ T7661] 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 [ 495.324467][ T7661] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 495.324488][ T7661] 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 [ 495.428911][ T7661] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 495.468578][ T7661] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 495.538373][ T7661] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 495.583113][ T7661] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 495.639736][ T7661] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 495.700828][ T7661] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 495.760245][ T7661] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 495.798610][ T7661] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 495.850495][ T7661] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 495.888342][ T7661] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 495.948518][ T7661] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 495.984334][ T7661] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 496.035394][ T7661] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 496.098386][ T7661] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 496.138636][ T7661] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 496.178369][ T7661] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 496.229593][ T7661] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 496.283262][ T7661] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 496.340217][ T7661] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 496.367306][ T7661] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 496.416996][ T7661] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 496.417015][ T7661] Ratelimiting new instances of previous error [ 496.490979][ T7661] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 496.490996][ T7661] Ratelimiting new instances of previous error [ 496.628762][ T7661] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 496.683764][ T7661] done [ 496.685784][ T7661] bcachefs (loop0): going read-write [ 496.760939][ T7661] workqueue: Failed to create a rescuer kthread for wq "bcachefs_btree_write_complete": -EINTR [ 496.761055][ T7661] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 496.841175][ T7661] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 496.845670][ T7661] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 496.909320][ T7661] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 496.913897][ T7661] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 496.993065][ T7661] bcachefs (loop0): shutting down [ 497.110151][ T7661] bcachefs (loop0): shutdown complete 2025/06/17 13:54:11 executed programs: 748 [ 498.411890][ T7661] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc [ 500.385874][ T7706] loop0: detected capacity change from 0 to 32768 [ 500.694593][ T7706] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 500.694616][ T7706] allowing incompatible features above 0.0: (unknown version) [ 500.694625][ T7706] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 500.883033][ T7706] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 500.887222][ T7706] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 500.970624][ T7706] bcachefs (loop0): Version upgrade required: [ 500.970624][ T7706] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 500.970624][ T7706] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 500.970624][ T7706] 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,check_rebalance_work,set_fs_needs_rebalance [ 501.619107][ T7706] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 501.619127][ T7706] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 501.619136][ T7706] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 501.619142][ T7706] flagging btree extents lost data [ 501.619148][ T7706] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 501.619155][ T7706] ret btree_node_read_validate_error [ 501.833348][ T7706] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 501.960057][ T7706] bcachefs (loop0): check_topology... [ 501.960118][ T7706] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 502.028530][ T7706] bcachefs (loop0): no nodes found for btree extents, continuing [ 502.091170][ T7706] done [ 502.092534][ T7706] bcachefs (loop0): accounting_read... done [ 502.188486][ T7706] bcachefs (loop0): alloc_read... done [ 502.237613][ T7706] bcachefs (loop0): snapshots_read... done [ 502.286902][ T7706] bcachefs (loop0): check_allocations... [ 502.352062][ T7706] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 502.352083][ T7706] 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 [ 502.530678][ T7706] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 502.530700][ T7706] 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 [ 502.676972][ T7706] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 502.676991][ T7706] 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 [ 502.793992][ T7706] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree 2025/06/17 13:54:16 executed programs: 762 [ 502.794010][ T7706] 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 [ 502.998893][ T7706] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 502.998912][ T7706] 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 [ 503.092504][ T7706] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 503.097427][ T7706] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 503.208559][ T7706] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 503.213555][ T7706] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 503.284292][ T7706] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 503.327550][ T7706] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 503.388457][ T7706] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 503.393624][ T7706] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 503.462468][ T7706] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 503.534039][ T7706] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 503.571912][ T7706] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 503.576791][ T7706] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 503.666049][ T7706] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 503.712468][ T7706] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 503.775054][ T7706] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 503.818313][ T7706] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 503.858290][ T7706] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 503.863008][ T7706] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 503.944294][ T7706] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 503.983678][ T7706] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 504.042151][ T7706] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 504.042167][ T7706] Ratelimiting new instances of previous error [ 504.091935][ T7706] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 504.091951][ T7706] Ratelimiting new instances of previous error [ 504.208654][ T7706] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 504.292309][ T7706] done [ 504.293993][ T7706] bcachefs (loop0): going read-write [ 504.340538][ T7706] workqueue: Failed to create a rescuer kthread for wq "bcachefs": -EINTR [ 504.340639][ T7706] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 504.418200][ T7706] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 504.442569][ T7706] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 504.487919][ T7706] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 504.518342][ T7706] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 504.564112][ T7706] bcachefs (loop0): shutting down