Warning: Permanently added '10.128.10.60' (ED25519) to the list of known hosts. executing program executing program executing program executing program executing program [ 35.159953][ T6427] loop3: detected capacity change from 0 to 32768 [ 35.209278][ T6425] loop1: detected capacity change from 0 to 32768 [ 35.288472][ T6423] loop2: detected capacity change from 0 to 32768 [ 35.302230][ T6419] loop0: detected capacity change from 0 to 32768 [ 35.306250][ T6426] loop4: detected capacity change from 0 to 32768 [ 35.350879][ T6425] bcachefs (loop1): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=gzip,degraded,norecovery,reconstruct_alloc,no_data_io [ 35.352350][ T6427] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 35.355778][ T6425] bcachefs (loop1): recovering from clean shutdown, journal seq 10 [ 35.358831][ T6425] bcachefs (loop1): Version upgrade required: [ 35.358831][ T6425] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 35.358831][ T6425] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 35.358831][ T6425] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 35.363710][ T6427] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 35.375847][ T6423] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 35.378400][ T6423] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 35.380621][ T6425] bcachefs (loop1): dropping and reconstructing all alloc info [ 35.386186][ T6425] bcachefs (loop1): flagging btree extents lost data [ 35.389566][ T6425] error reading btree root extents l=0: btree_node_read_error, fixing [ 35.391638][ T6425] bcachefs (loop1): will run btree node scan [ 35.398845][ T6425] bcachefs (loop1): scan_for_btree_nodes... [ 35.416377][ T6425] bch2_scan_for_btree_nodes: nodes found after overwrites: [ 35.416400][ T6425] extents l=0 seq=1 journal_seq=5 cookie=c6c25c03258c59c5 POS_MIN-SPOS_MAX ptr: 0:27:0 gen 0 [ 35.416410][ T6425] inodes l=0 seq=1 journal_seq=5 cookie=7589ab5e0c11cc7a POS_MIN-SPOS_MAX ptr: 0:38:0 gen 0 [ 35.416420][ T6425] dirents l=0 seq=1 journal_seq=4 cookie=9aa2895aefce4bdf POS_MIN-SPOS_MAX ptr: 0:41:0 gen 0 [ 35.416429][ T6425] xattrs l=0 seq=1 journal_seq=4 cookie=2285c34bed0abe32 POS_MIN-SPOS_MAX ptr: 0:31:0 gen 0 [ 35.416438][ T6425] subvolumes l=0 seq=1 journal_seq=1 cookie=c0bef60d07ceb940 POS_MIN-SPOS_MAX ptr: 0:35:0 gen 0 [ 35.416448][ T6425] snapshots l=0 seq=1 journal_seq=1 cookie=ebb8d5a9e3463bdb POS_MIN-SPOS_MAX ptr: 0:32:0 gen 0 [ 35.416457][ T6425] lru l=0 seq=1 journal_seq=5 cookie=28f61e078e70b95c POS_MIN-SPOS_MAX ptr: 0:28:0 gen 0 [ 35.416467][ T6425] deleted_inodes l=0 seq=1 journal_seq=0 cookie=1db8f60c84bb244c POS_MIN-SPOS_MAX ptr: 0:42:0 gen 0 [ 35.416476][ T6425] [ 35.438384][ T6425] done [ 35.439076][ T6425] bcachefs (loop1): check_topology... [ 35.439118][ T6425] bcachefs (loop1): btree root extents unreadable, must recover from scan [ 35.442331][ T6425] bcachefs (loop1): bch2_get_scanned_nodes(): recovering extents l=0 POS_MIN - SPOS_MAX [ 35.444426][ T6425] bcachefs (loop1): bch2_get_scanned_nodes(): recovering u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 35.451610][ T41] bcachefs (loop1): error validating btree node at btree extents level 0/0 [ 35.451630][ T41] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 35.451641][ T41] node offset 8/16 bset u64s 49 bset byte offset 176: keys out of order: u64s 10 type inline_data 4720053884460994564:8:U32_MAX len 8 ver 0 > u64s 7 type inline_data 536870912:8:U32_MAX len 8 ver 0, fixing [ 35.462049][ T41] bcachefs (loop1): btree_node_read_work: rewriting btree node at btree=extents level=0 SPOS_MAX due to error [ 35.465312][ T6425] done [ 35.466167][ T6425] bcachefs (loop1): accounting_read... [ 35.471231][ T6419] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 35.474429][ T6419] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 35.491719][ T6426] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 35.493768][ T6426] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 35.497858][ T6427] bcachefs: bch2_fs_get_tree() error: EINVAL [ 35.515742][ T6425] done [ 35.516434][ T6425] bcachefs (loop1): alloc_read... done [ 35.517894][ T6425] bcachefs (loop1): stripes_read... done [ 35.519253][ T6425] bcachefs (loop1): snapshots_read... done [ 35.520072][ T6423] bcachefs: bch2_fs_get_tree() error: EINVAL [ 35.520756][ T6425] bcachefs (loop1): check_allocations... [ 35.539464][ T6419] bcachefs: bch2_fs_get_tree() error: EINVAL [ 35.563061][ T6425] done [ 35.563985][ T6425] bcachefs (loop1): going read-write [ 35.600013][ T6425] bcachefs (loop1): done starting filesystem executing program [ 35.653448][ T6418] bcachefs (loop1): shutting down [ 35.654679][ T6418] bcachefs (loop1): going read-only [ 35.657672][ T6426] bcachefs: bch2_fs_get_tree() error: EINVAL [ 35.700339][ T6418] bcachefs (loop1): finished waiting for writes to stop [ 35.737474][ T6418] bcachefs (loop1): flushing journal and stopping allocators, journal seq 13 executing program executing program [ 35.835780][ T6418] bcachefs (loop1): flushing journal and stopping allocators complete, journal seq 14 [ 35.839500][ T6418] bcachefs (loop1): unshutdown complete, journal seq 15 [ 35.841597][ T6418] bcachefs (loop1): done going read-only, filesystem not clean executing program [ 35.862136][ T6418] bcachefs (loop1): shutdown complete [ 35.885923][ T6469] loop2: detected capacity change from 0 to 32768 [ 35.991319][ T6471] loop3: detected capacity change from 0 to 32768 [ 36.065865][ T6470] loop0: detected capacity change from 0 to 32768 [ 36.119050][ T6472] loop4: detected capacity change from 0 to 32768 [ 36.375841][ T6469] bcachefs (loop2): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=gzip,degraded,norecovery,reconstruct_alloc,no_data_io [ 36.376748][ T6471] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 36.379954][ T6469] bcachefs (loop2): recovering from clean shutdown, journal seq 10 [ 36.381941][ T6471] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 36.383609][ T6470] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 36.387524][ T6469] bcachefs (loop2): Version upgrade required: [ 36.387524][ T6469] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 36.387524][ T6469] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 36.387524][ T6469] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 36.404796][ T6470] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 36.415781][ T6469] bcachefs (loop2): dropping and reconstructing all alloc info [ 36.415909][ T6472] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 36.419305][ T6469] bcachefs (loop2): flagging btree extents lost data [ 36.425503][ T6472] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 36.439046][ T6469] error reading btree root extents l=0: btree_node_read_error, fixing [ 36.440878][ T6469] bcachefs (loop2): will run btree node scan [ 36.447852][ T6469] bcachefs (loop2): scan_for_btree_nodes... [ 36.450861][ T6470] bcachefs: bch2_fs_get_tree() error: EINVAL [ 36.475762][ T6471] bcachefs: bch2_fs_get_tree() error: EINVAL [ 36.492669][ T6469] bch2_scan_for_btree_nodes: nodes found after overwrites: [ 36.492685][ T6469] extents l=0 seq=1 journal_seq=5 cookie=c6c25c03258c59c5 POS_MIN-SPOS_MAX ptr: 0:27:0 gen 0 executing program [ 36.492694][ T6469] inodes l=0 seq=1 journal_seq=5 cookie=7589ab5e0c11cc7a POS_MIN-SPOS_MAX ptr: 0:38:0 gen 0 [ 36.492703][ T6469] dirents l=0 seq=1 journal_seq=4 cookie=9aa2895aefce4bdf POS_MIN-SPOS_MAX ptr: 0:41:0 gen 0 [ 36.492712][ T6469] xattrs l=0 seq=1 journal_seq=4 cookie=2285c34bed0abe32 POS_MIN-SPOS_MAX ptr: 0:31:0 gen 0 [ 36.492721][ T6469] subvolumes l=0 seq=1 journal_seq=1 cookie=c0bef60d07ceb940 POS_MIN-SPOS_MAX ptr: 0:35:0 gen 0 [ 36.492730][ T6469] snapshots l=0 seq=1 journal_seq=1 cookie=ebb8d5a9e3463bdb POS_MIN-SPOS_MAX ptr: 0:32:0 gen 0 [ 36.492739][ T6469] lru l=0 seq=1 journal_seq=5 cookie=28f61e078e70b95c POS_MIN-SPOS_MAX ptr: 0:28:0 gen 0 [ 36.492747][ T6469] deleted_inodes l=0 seq=1 journal_seq=0 cookie=1db8f60c84bb244c POS_MIN-SPOS_MAX ptr: 0:42:0 gen 0 [ 36.492756][ T6469] [ 36.570516][ T6472] bcachefs: bch2_fs_get_tree() error: EINVAL [ 36.591831][ T6469] done [ 36.592459][ T6469] bcachefs (loop2): check_topology... [ 36.592478][ T6469] bcachefs (loop2): btree root extents unreadable, must recover from scan executing program [ 36.621349][ T6469] bcachefs (loop2): bch2_get_scanned_nodes(): recovering extents l=0 POS_MIN - SPOS_MAX [ 36.623521][ T6469] bcachefs (loop2): bch2_get_scanned_nodes(): recovering u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 executing program [ 36.660204][ T41] bcachefs (loop2): error validating btree node at btree extents level 0/0 [ 36.660225][ T41] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 36.660236][ T41] node offset 8/16 bset u64s 49 bset byte offset 176: keys out of order: u64s 10 type inline_data 4720053884460994564:8:U32_MAX len 8 ver 0 > u64s 7 type inline_data 536870912:8:U32_MAX len 8 ver 0, fixing [ 36.670012][ T41] bcachefs (loop2): btree_node_read_work: rewriting btree node at btree=extents level=0 SPOS_MAX due to error [ 36.673219][ T6469] done executing program [ 36.673894][ T6469] bcachefs (loop2): accounting_read... done [ 36.720715][ T6469] bcachefs (loop2): alloc_read... done [ 36.721884][ T6469] bcachefs (loop2): stripes_read... done [ 36.735272][ T6469] bcachefs (loop2): snapshots_read... done [ 36.736577][ T6469] bcachefs (loop2): check_allocations... done [ 36.773383][ T6469] bcachefs (loop2): going read-write [ 36.796959][ T6504] loop3: detected capacity change from 0 to 32768 [ 36.830853][ T6469] bcachefs (loop2): done starting filesystem [ 36.866398][ T6420] bcachefs (loop2): shutting down [ 36.867515][ T6420] bcachefs (loop2): going read-only [ 36.875391][ T6420] bcachefs (loop2): finished waiting for writes to stop [ 36.891429][ T6504] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 36.893628][ T6504] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 36.916664][ T6420] bcachefs (loop2): flushing journal and stopping allocators, journal seq 12 [ 36.929598][ T6504] bcachefs: bch2_fs_get_tree() error: EINVAL [ 36.961977][ T6420] bcachefs (loop2): flushing journal and stopping allocators complete, journal seq 14 [ 36.970037][ T6420] bcachefs (loop2): unshutdown complete, journal seq 15 [ 36.972126][ T6420] bcachefs (loop2): done going read-only, filesystem not clean [ 36.985884][ T6420] bcachefs (loop2): shutdown complete [ 37.004065][ T6503] loop0: detected capacity change from 0 to 32768 [ 37.040422][ T6505] loop1: detected capacity change from 0 to 32768 executing program [ 37.124835][ T6506] loop4: detected capacity change from 0 to 32768 [ 37.244020][ T6517] loop3: detected capacity change from 0 to 32768 [ 37.573403][ T6503] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=gzip,degraded,norecovery,reconstruct_alloc,no_data_io [ 37.577616][ T6503] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 37.579738][ T6503] bcachefs (loop0): Version upgrade required: [ 37.579738][ T6503] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 37.579738][ T6503] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 37.579738][ T6503] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 37.580112][ T6506] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 37.600418][ T6503] bcachefs (loop0): dropping and reconstructing all alloc info [ 37.600907][ T6506] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 37.604094][ T6505] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 37.607945][ T6517] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 37.608075][ T6503] bcachefs (loop0): flagging btree extents lost data [ 37.609795][ T6517] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 37.619230][ T6505] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 37.622684][ T6503] error reading btree root extents l=0: btree_node_read_error, fixing [ 37.642509][ T6503] bcachefs (loop0): will run btree node scan [ 37.650895][ T6506] bcachefs: bch2_fs_get_tree() error: EINVAL [ 37.667414][ T6503] bcachefs (loop0): scan_for_btree_nodes... [ 37.684165][ T6503] bch2_scan_for_btree_nodes: nodes found after overwrites: [ 37.684181][ T6503] extents l=0 seq=1 journal_seq=5 cookie=c6c25c03258c59c5 POS_MIN-SPOS_MAX ptr: 0:27:0 gen 0 [ 37.684191][ T6503] inodes l=0 seq=1 journal_seq=5 cookie=7589ab5e0c11cc7a POS_MIN-SPOS_MAX ptr: 0:38:0 gen 0 [ 37.684200][ T6503] dirents l=0 seq=1 journal_seq=4 cookie=9aa2895aefce4bdf POS_MIN-SPOS_MAX ptr: 0:41:0 gen 0 [ 37.684210][ T6503] xattrs l=0 seq=1 journal_seq=4 cookie=2285c34bed0abe32 POS_MIN-SPOS_MAX ptr: 0:31:0 gen 0 [ 37.684219][ T6503] subvolumes l=0 seq=1 journal_seq=1 cookie=c0bef60d07ceb940 POS_MIN-SPOS_MAX ptr: 0:35:0 gen 0 [ 37.684229][ T6503] snapshots l=0 seq=1 journal_seq=1 cookie=ebb8d5a9e3463bdb POS_MIN-SPOS_MAX ptr: 0:32:0 gen 0 [ 37.684238][ T6503] lru l=0 seq=1 journal_seq=5 cookie=28f61e078e70b95c POS_MIN-SPOS_MAX ptr: 0:28:0 gen 0 [ 37.684247][ T6503] deleted_inodes l=0 seq=1 journal_seq=0 cookie=1db8f60c84bb244c POS_MIN-SPOS_MAX ptr: 0:42:0 gen 0 [ 37.684257][ T6503] [ 37.718791][ T6517] bcachefs: bch2_fs_get_tree() error: EINVAL [ 37.719992][ T6503] done [ 37.732202][ T6505] bcachefs: bch2_fs_get_tree() error: EINVAL [ 37.749996][ T6503] bcachefs (loop0): check_topology... [ 37.750023][ T6503] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 37.753156][ T6503] bcachefs (loop0): bch2_get_scanned_nodes(): recovering extents l=0 POS_MIN - SPOS_MAX [ 37.771032][ T6503] bcachefs (loop0): bch2_get_scanned_nodes(): recovering u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 executing program [ 37.788915][ T57] bcachefs (loop0): error validating btree node at btree extents level 0/0 [ 37.788935][ T57] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 37.788947][ T57] node offset 8/16 bset u64s 49 bset byte offset 176: keys out of order: u64s 10 type inline_data 4720053884460994564:8:U32_MAX len 8 ver 0 > u64s 7 type inline_data 536870912:8:U32_MAX len 8 ver 0, fixing [ 37.799120][ T57] bcachefs (loop0): btree_node_read_work: rewriting btree node at btree=extents level=0 SPOS_MAX due to error [ 37.803166][ T6503] done executing program [ 37.803787][ T6503] bcachefs (loop0): accounting_read... done [ 37.866614][ T6503] bcachefs (loop0): alloc_read... done [ 37.867913][ T6503] bcachefs (loop0): stripes_read... done [ 37.869234][ T6503] bcachefs (loop0): snapshots_read... done [ 37.870667][ T6503] bcachefs (loop0): check_allocations... done [ 37.911431][ T6503] bcachefs (loop0): going read-write executing program [ 37.935636][ T6503] bcachefs (loop0): done starting filesystem executing program [ 37.938696][ T13] bucket 0:27 gen 0 data type btree sector count overflow: 0 + -256 > U32_MAX [ 37.938716][ T13] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, continuing [ 37.944092][ T13] bucket 0:27 gen 0 data type btree sector count overflow: 0 + -256 > U32_MAX [ 37.944105][ T13] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, continuing [ 37.950395][ T13] bucket 0:27 gen 0 data type btree sector count overflow: 0 + -256 > U32_MAX [ 37.950415][ T13] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, continuing [ 37.970352][ T6417] bcachefs (loop0): shutting down [ 37.971464][ T6417] bcachefs (loop0): going read-only [ 37.972535][ T6417] bcachefs (loop0): finished waiting for writes to stop [ 38.008937][ T6547] loop2: detected capacity change from 0 to 32768 [ 38.017574][ T6417] bcachefs (loop0): flushing journal and stopping allocators, journal seq 12 [ 38.045544][ T6417] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 15 [ 38.049400][ T6417] bcachefs (loop0): unshutdown complete, journal seq 16 [ 38.051514][ T6417] bcachefs (loop0): done going read-only, filesystem not clean [ 38.087063][ T6417] bcachefs (loop0): shutdown complete [ 38.213704][ T6550] loop3: detected capacity change from 0 to 32768 [ 38.252988][ T6548] loop4: detected capacity change from 0 to 32768 [ 38.264531][ T6547] bcachefs (loop2): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=gzip,degraded,norecovery,reconstruct_alloc,no_data_io [ 38.272029][ T6547] bcachefs (loop2): recovering from clean shutdown, journal seq 10 [ 38.274251][ T6547] bcachefs (loop2): Version upgrade required: [ 38.274251][ T6547] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 38.274251][ T6547] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 38.274251][ T6547] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 38.287262][ T6549] loop1: detected capacity change from 0 to 32768 [ 38.290832][ T6547] bcachefs (loop2): dropping and reconstructing all alloc info [ 38.294573][ T6547] bcachefs (loop2): flagging btree extents lost data [ 38.300069][ T6547] error reading btree root extents l=0: btree_node_read_error, fixing [ 38.301834][ T6547] bcachefs (loop2): will run btree node scan [ 38.306596][ T6550] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 38.313000][ T6550] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete executing program [ 38.330311][ T6547] bcachefs (loop2): scan_for_btree_nodes... [ 38.370707][ T6547] bch2_scan_for_btree_nodes: nodes found after overwrites: [ 38.370726][ T6547] extents l=0 seq=1 journal_seq=5 cookie=c6c25c03258c59c5 POS_MIN-SPOS_MAX ptr: 0:27:0 gen 0 [ 38.370735][ T6547] inodes l=0 seq=1 journal_seq=5 cookie=7589ab5e0c11cc7a POS_MIN-SPOS_MAX ptr: 0:38:0 gen 0 [ 38.370744][ T6547] dirents l=0 seq=1 journal_seq=4 cookie=9aa2895aefce4bdf POS_MIN-SPOS_MAX ptr: 0:41:0 gen 0 [ 38.370753][ T6547] xattrs l=0 seq=1 journal_seq=4 cookie=2285c34bed0abe32 POS_MIN-SPOS_MAX ptr: 0:31:0 gen 0 [ 38.370761][ T6547] subvolumes l=0 seq=1 journal_seq=1 cookie=c0bef60d07ceb940 POS_MIN-SPOS_MAX ptr: 0:35:0 gen 0 [ 38.370770][ T6547] snapshots l=0 seq=1 journal_seq=1 cookie=ebb8d5a9e3463bdb POS_MIN-SPOS_MAX ptr: 0:32:0 gen 0 [ 38.370779][ T6547] lru l=0 seq=1 journal_seq=5 cookie=28f61e078e70b95c POS_MIN-SPOS_MAX ptr: 0:28:0 gen 0 [ 38.370788][ T6547] deleted_inodes l=0 seq=1 journal_seq=0 cookie=1db8f60c84bb244c POS_MIN-SPOS_MAX ptr: 0:42:0 gen 0 [ 38.370797][ T6547] [ 38.387564][ T6550] bcachefs: bch2_fs_get_tree() error: EINVAL [ 38.399404][ T6548] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 38.400291][ T6547] done [ 38.402582][ T6548] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 38.404724][ T6547] bcachefs (loop2): check_topology... [ 38.426555][ T6549] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 38.434259][ T6549] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 38.447649][ T6547] bcachefs (loop2): btree root extents unreadable, must recover from scan [ 38.449566][ T6547] bcachefs (loop2): bch2_get_scanned_nodes(): recovering extents l=0 POS_MIN - SPOS_MAX [ 38.451901][ T6547] bcachefs (loop2): bch2_get_scanned_nodes(): recovering u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 38.467620][ T57] bcachefs (loop2): error validating btree node at btree extents level 0/0 [ 38.467641][ T57] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 38.467652][ T57] node offset 8/16 bset u64s 49 bset byte offset 176: keys out of order: u64s 10 type inline_data 4720053884460994564:8:U32_MAX len 8 ver 0 > u64s 7 type inline_data 536870912:8:U32_MAX len 8 ver 0, fixing [ 38.468164][ T6548] bcachefs: bch2_fs_get_tree() error: EINVAL [ 38.469892][ T57] bcachefs (loop2): btree_node_read_work: rewriting btree node at btree=extents level=0 SPOS_MAX due to error executing program [ 38.534636][ T6547] done [ 38.537918][ T6547] bcachefs (loop2): accounting_read... [ 38.538715][ T6549] bcachefs: bch2_fs_get_tree() error: EINVAL [ 38.587120][ T6547] done [ 38.587784][ T6547] bcachefs (loop2): alloc_read... done [ 38.588973][ T6547] bcachefs (loop2): stripes_read... done executing program [ 38.625249][ T6547] bcachefs (loop2): snapshots_read... done executing program [ 38.626588][ T6547] bcachefs (loop2): check_allocations... [ 38.676501][ T6581] loop0: detected capacity change from 0 to 32768 [ 38.712217][ T6547] done [ 38.713232][ T6547] bcachefs (loop2): going read-write [ 38.750104][ T6547] bcachefs (loop2): done starting filesystem [ 38.775672][ T6581] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 38.777750][ T6581] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 38.793585][ T6420] bcachefs (loop2): shutting down [ 38.794820][ T6420] bcachefs (loop2): going read-only [ 38.802337][ T6420] bcachefs (loop2): finished waiting for writes to stop [ 38.823004][ T6581] bcachefs: bch2_fs_get_tree() error: EINVAL [ 38.841749][ T6420] bcachefs (loop2): flushing journal and stopping allocators, journal seq 13 [ 38.918167][ T6420] bcachefs (loop2): flushing journal and stopping allocators complete, journal seq 14 [ 38.924490][ T6420] bcachefs (loop2): unshutdown complete, journal seq 15 [ 38.927646][ T6585] loop4: detected capacity change from 0 to 32768 [ 38.929241][ T6584] loop3: detected capacity change from 0 to 32768 [ 38.932318][ T6420] bcachefs (loop2): done going read-only, filesystem not clean [ 38.964213][ T6586] loop1: detected capacity change from 0 to 32768 [ 38.974642][ T6420] bcachefs (loop2): shutdown complete executing program [ 39.131050][ T6596] loop0: detected capacity change from 0 to 32768 [ 39.592066][ T6585] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 39.592244][ T6586] bcachefs (loop1): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=gzip,degraded,norecovery,reconstruct_alloc,no_data_io [ 39.597997][ T6596] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 39.598551][ T6586] bcachefs (loop1): recovering from clean shutdown, journal seq 10 [ 39.600169][ T6584] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 39.603658][ T6584] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 39.604077][ T6420] ------------[ cut here ]------------ [ 39.605501][ T6596] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 39.606530][ T6420] kernel BUG at fs/bcachefs/btree_cache.c:614! [ 39.609172][ T6585] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 39.609662][ T6420] Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP [ 39.613057][ T6420] Modules linked in: [ 39.613832][ T6586] bcachefs (loop1): Version upgrade required: [ 39.613832][ T6586] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 39.613832][ T6586] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 39.613832][ T6586] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 39.613845][ T6420] CPU: 0 UID: 0 PID: 6420 Comm: syz-executor159 Not tainted 6.12.0-rc7-syzkaller-g887407160d72 #0 [ 39.614268][ T6586] bcachefs (loop1): dropping and reconstructing all alloc info [ 39.628637][ T6420] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 39.628652][ T6420] pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 39.628667][ T6420] pc : bch2_fs_btree_cache_exit+0x1238/0x123c [ 39.628686][ T6420] lr : bch2_fs_btree_cache_exit+0x1238/0x123c [ 39.636141][ T6586] bcachefs (loop1): flagging btree extents lost data [ 39.636589][ T6420] sp : ffff80009cdc7a20 [ 39.641639][ T6420] x29: ffff80009cdc7a60 x28: 1fffe00019b0f245 x27: ffff0000e8a01c80 [ 39.641664][ T6420] x26: ffff0000e8a01c78 x25: ffff0000cd879000 x24: ffff0000e8a01cf8 [ 39.641676][ T6586] error reading btree root extents l=0: btree_node_read_error, fixing [ 39.641682][ T6420] x23: 0000000000000002 x22: ffff0000e8a00000 x21: ffff0000e8a01c78 [ 39.643395][ T6586] bcachefs (loop1): will run btree node scan [ 39.645133][ T6420] x20: 00000000000fffff x19: dfff800000000000 x18: 1fffe000366c6c76 [ 39.650376][ T6586] bcachefs (loop1): scan_for_btree_nodes... [ 39.651748][ T6420] x17: ffff80008f80d000 x16: ffff800080355c58 x15: 0000000000000001 [ 39.651771][ T6420] x14: 1fffe0001d1403b6 x13: 0000000000000000 x12: 0000000000000000 [ 39.656507][ T6420] x11: ffff60001d1403b7 x10: 0000000000ff0100 x9 : 0000000000000000 [ 39.658260][ T6420] x8 : ffff0000c2bf8000 x7 : 0000000000000000 x6 : 000000000000003f [ 39.659926][ T6420] x5 : 0000000000000040 x4 : 0000000000000001 x3 : ffff8000827c0018 [ 39.661757][ T6420] x2 : 0000000000000000 x1 : 0000000000000002 x0 : 0000000000000000 [ 39.661778][ T6420] Call trace: [ 39.661782][ T6420] bch2_fs_btree_cache_exit+0x1238/0x123c (P) [ 39.661811][ T6420] bch2_fs_btree_cache_exit+0x1238/0x123c (L) [ 39.661817][ T6586] bch2_scan_for_btree_nodes: nodes found after overwrites: [ 39.661829][ T6586] extents l=0 seq=1 journal_seq=5 cookie=c6c25c03258c59c5 POS_MIN-SPOS_MAX ptr: 0:27:0 gen 0 [ 39.661826][ T6420] bch2_fs_release+0x204/0x728 [ 39.661837][ T6586] inodes l=0 seq=1 journal_seq=5 cookie=7589ab5e0c11cc7a POS_MIN-SPOS_MAX ptr: 0:38:0 gen 0 [ 39.661839][ T6420] kobject_put+0x2a8/0x41c [ 39.661845][ T6586] dirents l=0 seq=1 journal_seq=4 cookie=9aa2895aefce4bdf POS_MIN-SPOS_MAX ptr: 0:41:0 gen 0 [ 39.661852][ T6586] xattrs l=0 seq=1 journal_seq=4 cookie=2285c34bed0abe32 POS_MIN-SPOS_MAX ptr: 0:31:0 gen 0 [ 39.661854][ T6420] bch2_fs_free+0x2c4/0x334 [ 39.661860][ T6586] subvolumes l=0 seq=1 journal_seq=1 cookie=c0bef60d07ceb940 POS_MIN-SPOS_MAX ptr: 0:35:0 gen 0 [ 39.661865][ T6420] bch2_kill_sb+0x48/0x58 [ 39.661868][ T6586] snapshots l=0 seq=1 journal_seq=1 cookie=ebb8d5a9e3463bdb POS_MIN-SPOS_MAX ptr: 0:32:0 gen 0 [ 39.661876][ T6586] lru l=0 seq=1 journal_seq=5 cookie=28f61e078e70b95c POS_MIN-SPOS_MAX ptr: 0:28:0 gen 0 [ 39.661877][ T6420] deactivate_locked_super+0xc4/0x12c [ 39.661884][ T6586] deleted_inodes l=0 seq=1 journal_seq=0 cookie=1db8f60c84bb244c POS_MIN-SPOS_MAX ptr: 0:42:0 gen 0 [ 39.661891][ T6586] [ 39.661892][ T6420] deactivate_super+0xe0/0x100 [ 39.663660][ T6586] done [ 39.664241][ T6420] cleanup_mnt+0x34c/0x3dc [ 39.665818][ T6586] bcachefs (loop1): check_topology... [ 39.666667][ T6420] __cleanup_mnt+0x20/0x30 [ 39.668087][ T6586] bcachefs (loop1): btree root extents unreadable, must recover from scan [ 39.670234][ T6420] task_work_run+0x230/0x2e0 [ 39.671294][ T6586] bcachefs (loop1): bch2_get_scanned_nodes(): recovering extents l=0 POS_MIN - SPOS_MAX [ 39.673490][ T6420] do_notify_resume+0x178/0x1f4 [ 39.675665][ T6586] bcachefs (loop1): bch2_get_scanned_nodes(): recovering u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 39.676605][ T6420] el0_svc+0xac/0x168 [ 39.706193][ T6420] el0t_64_sync_handler+0x84/0x108 [ 39.706219][ T6420] el0t_64_sync+0x198/0x19c [ 39.706222][ T57] bcachefs (loop1): error validating btree node at btree extents level 0/0 [ 39.706237][ T57] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 39.706240][ T6420] Code: d4210000 97771578 d4210000 97771576 (d4210000) [ 39.706248][ T6420] ---[ end trace 0000000000000000 ]--- [ 39.706247][ T57] node offset 8/16 bset u64s 49 bset byte offset 176: keys out of order: u64s 10 type inline_data 4720053884460994564:8:U32_MAX len 8 ver 0 > u64s 7 type inline_data 536870912:8:U32_MAX len 8 ver 0, fixing [ 40.123630][ T6420] Kernel panic - not syncing: Oops - BUG: Fatal exception [ 40.123645][ T6420] SMP: stopping secondary CPUs [ 40.123668][ T6420] Kernel Offset: disabled [ 40.123672][ T6420] CPU features: 0x40,0000081c,00800250,82017203 [ 40.123680][ T6420] Memory Limit: none