Warning: Permanently added '[localhost]:14002' (ED25519) to the list of known hosts. executing program [ 63.867559][ T5310] loop0: detected capacity change from 0 to 32768 [ 63.956565][ T5310] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,usrquota,grpquota,fsck,fix_errors=yes,nojournal_transaction_names,no_data_io [ 63.964026][ T5310] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 63.967940][ T5310] bcachefs (loop0): Version upgrade required: [ 63.967940][ T5310] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 63.967940][ T5310] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 63.967940][ T5310] 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 [ 63.998897][ T5310] invalid bkey u64s 17 type inode_v3 0:4097:U32_MAX len 0 ver 0: (unpack error) [ 63.998919][ T5310] invalid variable length fields: delete?, fixing [ 64.006997][ T5310] bcachefs (loop0): flagging btree xattrs lost data [ 64.011035][ T5310] error reading btree root xattrs l=0: btree_node_read_error, fixing [ 64.013987][ T5310] bcachefs (loop0): will run btree node scan [ 64.018205][ T5310] invalid bkey u64s 12 type alloc_v4 0:28:0 len 0 ver 0: [ 64.018217][ T5310] gen 0 oldest_gen 0 data_type btree [ 64.018224][ T5310] journal_seq 6 [ 64.018230][ T5310] need_discard 1 [ 64.018235][ T5310] need_inc_gen 1 [ 64.018240][ T5310] dirty_sectors 0 [ 64.018246][ T5310] stripe_sectors 0 [ 64.018253][ T5310] cached_sectors 0 [ 64.018258][ T5310] stripe 0 [ 64.018264][ T5310] stripe_redundancy 0 [ 64.018277][ T5310] io_time[READ] 1 [ 64.018283][ T5310] io_time[WRITE] 768 [ 64.018289][ T5310] fragmentation 0 [ 64.018295][ T5310] bp_start 8 [ 64.018300][ T5310] [ 64.018306][ T5310] invalid data type (got 3 should be 9): delete?, fixing [ 64.047571][ T5310] bcachefs (loop0): flagging btree snapshots lost data [ 64.050717][ T5310] error reading btree root snapshots l=251: btree_node_read_error, fixing [ 64.056672][ T5310] bcachefs (loop0): scan_for_btree_nodes... [ 64.067430][ T5310] bch2_scan_for_btree_nodes: nodes found after overwrites: [ 64.067450][ T5310] extents l=0 seq=1 journal_seq=5 cookie=c6c25c03258c59c5 POS_MIN-SPOS_MAX ptr: 0:27:0 gen 0 [ 64.067457][ T5310] inodes l=0 seq=1 journal_seq=5 cookie=7589ab5e0c11cc7a POS_MIN-SPOS_MAX ptr: 0:38:0 gen 0 [ 64.067464][ T5310] dirents l=0 seq=1 journal_seq=4 cookie=9aa2895aefce4bdf POS_MIN-SPOS_MAX ptr: 0:41:0 gen 0 [ 64.067471][ T5310] xattrs l=0 seq=1 journal_seq=0 cookie=585c34bed0abe32 POS_MIN-SPOS_MAX ptr: 0:31:0 gen 0 [ 64.067478][ T5310] subvolumes l=0 seq=1 journal_seq=1 cookie=c0bef60d07ceb940 POS_MIN-SPOS_MAX ptr: 0:35:0 gen 0 [ 64.067485][ T5310] snapshots l=0 seq=1 journal_seq=1 cookie=ebb8d5a9e3463bdb POS_MIN-SPOS_MAX ptr: 0:32:0 gen 0 [ 64.067492][ T5310] lru l=0 seq=1 journal_seq=5 cookie=28f61e078e70b95c POS_MIN-SPOS_MAX ptr: 0:28:0 gen 0 [ 64.067499][ T5310] deleted_inodes l=0 seq=1 journal_seq=0 cookie=1db8f60c84bb244c POS_MIN-SPOS_MAX ptr: 0:42:0 gen 0 [ 64.067506][ T5310] [ 64.106278][ T5310] done [ 64.107315][ T5310] bcachefs (loop0): check_topology... [ 64.107509][ T5310] bcachefs (loop0): btree root xattrs unreadable, must recover from scan [ 64.113545][ T5310] bcachefs (loop0): bch2_get_scanned_nodes(): recovering xattrs l=0 POS_MIN - SPOS_MAX [ 64.117304][ T5310] bcachefs (loop0): bch2_get_scanned_nodes(): recovering u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 585c34bed0abe32 written 8 min_key POS_MIN durability: 1 ptr: 0:31:0 gen 0 [ 64.126989][ T5310] bcachefs (loop0): btree root snapshots unreadable, must recover from scan [ 64.130239][ T5310] bcachefs (loop0): bch2_get_scanned_nodes(): recovering snapshots l=0 POS_MIN - SPOS_MAX [ 64.133978][ T5310] bcachefs (loop0): bch2_get_scanned_nodes(): recovering u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ebb8d5a9e3463bdb written 16 min_key POS_MIN durability: 1 ptr: 0:32:0 gen 0 [ 64.142704][ T5310] done [ 64.143807][ T5310] bcachefs (loop0): accounting_read... done [ 64.147121][ T5310] bcachefs (loop0): alloc_read... done [ 64.149245][ T5310] bcachefs (loop0): stripes_read... done [ 64.151401][ T5310] bcachefs (loop0): snapshots_read... [ 64.152200][ T5310] bcachefs (loop0): running explicit recovery pass reconstruct_snapshots (20), currently at snapshots_read (6) [ 64.159422][ T5310] done [ 64.160727][ T5310] bcachefs (loop0): check_allocations... [ 64.165378][ T5310] bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 64.165398][ T5310] 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 [ 64.179042][ T5310] bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 64.179056][ T5310] 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 [ 64.189402][ T5310] bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 64.189417][ T5310] 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 [ 64.199473][ T5310] bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 64.199486][ T5310] 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 [ 64.210063][ T5310] bucket 0:28 data type btree ptr gen 0 missing in alloc btree [ 64.210079][ T5310] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 28f61e078e70b95c written 16 min_key POS_MIN durability: 1 ptr: 0:28:0 gen 0, fixing [ 64.220290][ T5310] bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 64.220304][ T5310] 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 [ 64.230276][ T5310] bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 64.233487][ T5310] bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 64.238637][ T5310] bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 64.241823][ T5310] bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 64.245453][ T5310] bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 64.249102][ T5310] bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 64.253618][ T5310] bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 64.257458][ T5310] bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 64.261095][ T5310] bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 64.264163][ T5310] bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 64.268317][ T5310] bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 64.271837][ T5310] bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 64.275396][ T5310] bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 64.278947][ T5310] bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 64.282599][ T5310] bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 64.285683][ T5310] bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 64.289667][ T5310] bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 64.292911][ T5310] bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 64.296837][ T5310] bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 64.300120][ T5310] bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 64.304084][ T5310] bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 64.307674][ T5310] bcachefs (loop0): Ratelimiting new instances of previous error [ 64.310416][ T5310] bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 64.314128][ T5310] bcachefs (loop0): Ratelimiting new instances of previous error [ 64.323214][ T5310] done [ 64.325361][ T5310] bcachefs (loop0): going read-write [ 64.330865][ T5310] bcachefs (loop0): journal_replay... done [ 64.560324][ T5310] bcachefs (loop0): check_alloc_info... [ 64.561938][ T5310] incorrect key in freespace btree (got set should be deleted) [ 64.561961][ T5310] u64s 13 type alloc_v4 0:34:0 len 0 ver 0: [ 64.561968][ T5310] gen 0 oldest_gen 0 data_type user [ 64.561974][ T5310] journal_seq 5 [ 64.561980][ T5310] need_discard 1 [ 64.561986][ T5310] need_inc_gen 1 [ 64.561992][ T5310] dirty_sectors 32 [ 64.561998][ T5310] stripe_sectors 0 [ 64.562003][ T5310] cached_sectors 0 [ 64.562009][ T5310] stripe 0 [ 64.562016][ T5310] stripe_redundancy 0 [ 64.562021][ T5310] io_time[READ] 1 [ 64.562027][ T5310] io_time[WRITE] 512 [ 64.562033][ T5310] fragmentation 268435456 [ 64.562039][ T5310] bp_start 8 [ 64.562045][ T5310] , fixing [ 64.596852][ T5310] incorrect key in freespace btree (got set should be deleted) [ 64.596870][ T5310] u64s 12 type alloc_v4 0:37:0 len 0 ver 0: [ 64.596878][ T5310] gen 0 oldest_gen 0 data_type btree [ 64.596885][ T5310] journal_seq 6 [ 64.596891][ T5310] need_discard 1 [ 64.596896][ T5310] need_inc_gen 1 [ 64.596901][ T5310] dirty_sectors 256 [ 64.596906][ T5310] stripe_sectors 0 [ 64.596912][ T5310] cached_sectors 0 [ 64.596918][ T5310] stripe 0 [ 64.596924][ T5310] stripe_redundancy 0 [ 64.596930][ T5310] io_time[READ] 1 [ 64.596936][ T5310] io_time[WRITE] 1024 [ 64.596942][ T5310] fragmentation 0 [ 64.596946][ T5310] bp_start 8 [ 64.596949][ T5310] , fixing [ 64.626452][ T5310] incorrect key in freespace btree (got set should be deleted) [ 64.626466][ T5310] u64s 12 type alloc_v4 0:42:0 len 0 ver 0: [ 64.626473][ T5310] gen 0 oldest_gen 0 data_type btree [ 64.626480][ T5310] journal_seq 7 [ 64.626486][ T5310] need_discard 1 [ 64.626491][ T5310] need_inc_gen 1 [ 64.626497][ T5310] dirty_sectors 256 [ 64.626503][ T5310] stripe_sectors 0 [ 64.626509][ T5310] cached_sectors 0 [ 64.626515][ T5310] stripe 0 [ 64.626521][ T5310] stripe_redundancy 0 [ 64.626526][ T5310] io_time[READ] 1 [ 64.626532][ T5310] io_time[WRITE] 1280 [ 64.626538][ T5310] fragmentation 0 [ 64.626544][ T5310] bp_start 8 [ 64.626550][ T5310] , fixing [ 64.657349][ T5310] done [ 64.660072][ T5310] bcachefs (loop0): check_lrus... [ 64.660678][ T5310] incorrect lru entry: lru fragmentation time 134217728 [ 64.660690][ T5310] u64s 5 type set 18446462598867058688:34:0 len 0 ver 0 [ 64.660697][ T5310] for u64s 13 type alloc_v4 0:34:0 len 0 ver 0: [ 64.660703][ T5310] gen 0 oldest_gen 0 data_type user [ 64.660709][ T5310] journal_seq 5 [ 64.660715][ T5310] need_discard 1 [ 64.660721][ T5310] need_inc_gen 1 [ 64.660727][ T5310] dirty_sectors 32 [ 64.660733][ T5310] stripe_sectors 0 [ 64.660739][ T5310] cached_sectors 0 [ 64.660745][ T5310] stripe 0 [ 64.660751][ T5310] stripe_redundancy 0 [ 64.660757][ T5310] io_time[READ] 1 [ 64.660763][ T5310] io_time[WRITE] 512 [ 64.660767][ T5310] fragmentation 268435456 [ 64.660773][ T5310] bp_start 8 [ 64.660780][ T5310] , fixing [ 64.694349][ T5310] done [ 64.696671][ T5310] bcachefs (loop0): check_btree_backpointers... done [ 64.699954][ T5310] bcachefs (loop0): check_backpointers_to_extents... [ 64.700689][ T5310] backpointer for missing extent [ 64.700697][ T5310] u64s 9 type backpointer 0:8921088:0 len 0 ver 0: bucket=0:34:0 btree=extents l=0 offset=8:0 len=8 pos=536870913:24:U32_MAX, fixing [ 64.712066][ T5310] backpointer for missing btree node [ 64.712080][ T5310] u64s 9 type backpointer 0:9699328:0 len 0 ver 0: bucket=0:37:0 btree=backpointers l=1 offset=0:0 len=257 pos=SPOS_MAX, fixing [ 64.719128][ T5310] done [ 64.721032][ T5310] bcachefs (loop0): check_extents_to_backpointers... [ 64.721494][ T5310] missing backpointer for btree=extents l=0 u64s 7 type extent 536870913:24:U32_MAX len 24 ver 0: durability: 1 crc: c_size 8 size 24 offset 0 nonce 0 csum xxhash 0:0 compress none ptr: 0:34:8 gen 0 [ 64.721507][ T5310] got: u64s 5 type deleted 0:8921088:0 len 0 ver 0 [ 64.721514][ T5310] want: u64s 9 type backpointer 0:8921088:0 len 0 ver 0: bucket=0:34:0 btree=extents l=0 offset=8:0 len=24 pos=536870913:24:U32_MAX, fixing [ 64.740595][ T5310] missing backpointer for btree=inodes l=1 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 [ 64.740614][ T5310] got: u64s 5 type deleted 0:9961472:0 len 0 ver 0 [ 64.740621][ T5310] want: u64s 9 type backpointer 0:9961472:0 len 0 ver 0: bucket=0:38:0 btree=inodes l=1 offset=0:0 len=256 pos=SPOS_MAX, fixing [ 64.758051][ T5310] missing backpointer for btree=dirents l=1 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 [ 64.758068][ T5310] got: u64s 5 type deleted 0:10747904:0 len 0 ver 0 [ 64.758075][ T5310] want: u64s 9 type backpointer 0:10747904:0 len 0 ver 0: bucket=0:41:0 btree=dirents l=1 offset=0:0 len=256 pos=SPOS_MAX, fixing [ 64.774344][ T5310] missing backpointer for btree=alloc l=1 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 32 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 64.774362][ T5310] got: u64s 5 type deleted 0:6815744:0 len 0 ver 0 [ 64.774369][ T5310] want: u64s 9 type backpointer 0:6815744:0 len 0 ver 0: bucket=0:26:0 btree=alloc l=1 offset=0:0 len=256 pos=SPOS_MAX, fixing [ 64.794034][ T5310] missing backpointer for btree=subvolumes l=1 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 [ 64.794052][ T5310] got: u64s 5 type deleted 0:9175040:0 len 0 ver 0 [ 64.794059][ T5310] want: u64s 9 type backpointer 0:9175040:0 len 0 ver 0: bucket=0:35:0 btree=subvolumes l=1 offset=0:0 len=256 pos=SPOS_MAX, fixing [ 64.809085][ T5310] missing backpointer for btree=snapshots l=1 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ebb8d5a9e3463bdb written 16 min_key POS_MIN durability: 1 ptr: 0:32:0 gen 0 [ 64.809102][ T5310] got: u64s 5 type deleted 0:8388608:0 len 0 ver 0 [ 64.809108][ T5310] want: u64s 9 type backpointer 0:8388608:0 len 0 ver 0: bucket=0:32:0 btree=snapshots l=1 offset=0:0 len=256 pos=SPOS_MAX, fixing [ 64.823211][ T5310] missing backpointer for btree=freespace l=1 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 48 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0 [ 64.823222][ T5310] got: u64s 5 type deleted 0:7602176:0 len 0 ver 0 [ 64.823226][ T5310] want: u64s 9 type backpointer 0:7602176:0 len 0 ver 0: bucket=0:29:0 btree=freespace l=1 offset=0:0 len=256 pos=SPOS_MAX, fixing [ 64.838092][ T5310] missing backpointer for btree=backpointers l=1 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 4a8b0fa43a9980a6 written 32 min_key POS_MIN durability: 1 ptr: 0:37:0 gen 0 [ 64.838107][ T5310] got: u64s 5 type deleted 0:9699328:0 len 0 ver 0 [ 64.838112][ T5310] want: u64s 9 type backpointer 0:9699328:0 len 0 ver 0: bucket=0:37:0 btree=backpointers l=1 offset=0:0 len=256 pos=SPOS_MAX, fixing [ 64.851061][ T5310] done [ 64.853345][ T5310] bcachefs (loop0): check_alloc_to_lru_refs... [ 64.854499][ T5310] missing fragmentation lru entry [ 64.854512][ T5310] u64s 13 type alloc_v4 0:34:0 len 0 ver 0: [ 64.854519][ T5310] gen 0 oldest_gen 0 data_type user [ 64.854527][ T5310] journal_seq 5 [ 64.854534][ T5310] need_discard 1 [ 64.854540][ T5310] need_inc_gen 1 [ 64.854547][ T5310] dirty_sectors 32 [ 64.854553][ T5310] stripe_sectors 0 [ 64.854560][ T5310] cached_sectors 0 [ 64.854567][ T5310] stripe 0 [ 64.854574][ T5310] stripe_redundancy 0 [ 64.854581][ T5310] io_time[READ] 1 [ 64.854587][ T5310] io_time[WRITE] 512 [ 64.854594][ T5310] fragmentation 268435456 [ 64.854601][ T5310] bp_start 8 [ 64.854608][ T5310] , fixing [ 64.883876][ T5310] done [ 64.885793][ T5310] bcachefs (loop0): bucket_gens_init... done [ 64.894790][ T5310] bcachefs (loop0): reconstruct_snapshots... done [ 64.898237][ T5310] bcachefs (loop0): check_snapshot_trees... done [ 64.900812][ T5310] bcachefs (loop0): check_snapshots... [ 64.901084][ T5310] snapshot points to missing/incorrect tree: [ 64.901094][ T5310] u64s 8 type snapshot 0:4294967295:0 len 0 ver 0: is_subvol 1 deleted 0 parent 0 children 0 0 subvol 1 tree 0, fixing [ 64.914343][ T5310] done [ 64.916462][ T5310] bcachefs (loop0): check_subvols... done [ 64.919321][ T5310] bcachefs (loop0): check_subvol_children... done [ 64.921933][ T5310] bcachefs (loop0): delete_dead_snapshots... done [ 64.925160][ T5310] bcachefs (loop0): check_inodes... done [ 64.928978][ T5310] bcachefs (loop0): check_extents... done [ 64.932008][ T5310] bcachefs (loop0): check_indirect_extents... done [ 64.934746][ T5310] bcachefs (loop0): check_dirents... [ 64.935592][ T5310] dirent points to missing inode: [ 64.935603][ T5310] u64s 8 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found -> 4097 type dir, fixing [ 64.944468][ T5310] done [ 64.946845][ T5310] bcachefs (loop0): check_xattrs... done [ 64.949261][ T5310] bcachefs (loop0): check_root... done [ 64.951669][ T5310] bcachefs (loop0): check_unreachable_inodes... done [ 64.954771][ T5310] bcachefs (loop0): check_subvolume_structure... done [ 64.958751][ T5310] bcachefs (loop0): check_directory_structure... done [ 64.962718][ T5310] bcachefs (loop0): check_nlinks... done [ 64.966733][ T5310] bcachefs (loop0): resume_logged_ops... done [ 64.969084][ T5310] bcachefs (loop0): delete_dead_inodes... done [ 64.971568][ T5310] bcachefs (loop0): set_fs_needs_rebalance... done [ 64.984658][ T5310] bcachefs (loop0): Fixed errors, running fsck a second time to verify fs is clean [ 64.989059][ T5310] bcachefs (loop0): check_alloc_info... done [ 64.993770][ T5310] bcachefs (loop0): check_lrus... done [ 64.995729][ T5310] bcachefs (loop0): check_btree_backpointers... done [ 64.999162][ T5310] bcachefs (loop0): check_backpointers_to_extents... done [ 65.002340][ T5310] bcachefs (loop0): check_extents_to_backpointers... done [ 65.005574][ T5310] bcachefs (loop0): check_alloc_to_lru_refs... done [ 65.009133][ T5310] bcachefs (loop0): bucket_gens_init... done [ 65.012476][ T5310] bcachefs (loop0): reconstruct_snapshots... done [ 65.015153][ T5310] bcachefs (loop0): check_snapshot_trees... done [ 65.018050][ T5310] bcachefs (loop0): check_snapshots... done [ 65.020979][ T5310] bcachefs (loop0): check_subvols... done [ 65.023485][ T5310] bcachefs (loop0): check_subvol_children... done [ 65.027009][ T5310] bcachefs (loop0): delete_dead_snapshots... done [ 65.029996][ T5310] bcachefs (loop0): check_inodes... done [ 65.032601][ T5310] bcachefs (loop0): check_extents... done [ 65.034800][ T5310] bcachefs (loop0): check_indirect_extents... done [ 65.037640][ T5310] bcachefs (loop0): check_dirents... [ 65.038015][ T5310] directory 4096:4294967295 with wrong i_nlink: got 2, should be 1, fixing [ 65.043312][ T5310] done [ 65.044850][ T5310] bcachefs (loop0): check_xattrs... done [ 65.047540][ T5310] bcachefs (loop0): check_root... done [ 65.049702][ T5310] bcachefs (loop0): check_unreachable_inodes... done [ 65.052224][ T5310] bcachefs (loop0): check_subvolume_structure... done [ 65.054731][ T5310] bcachefs (loop0): check_directory_structure... done [ 65.057929][ T5310] bcachefs (loop0): check_nlinks... done [ 65.060204][ T5310] bcachefs (loop0): resume_logged_ops... done [ 65.062379][ T5310] bcachefs (loop0): delete_dead_inodes... done [ 65.064601][ T5310] bcachefs (loop0): set_fs_needs_rebalance... done [ 65.068371][ T5310] bcachefs (loop0): Second fsck run was not clean [ 65.070990][ T5310] bcachefs (loop0): reading quotas [ 65.074093][ T5310] bcachefs (loop0): quotas done [ 65.079647][ T5310] bcachefs (loop0): done starting filesystem [ 65.090720][ T5323] ------------[ cut here ]------------ [ 65.092785][ T5323] kernel BUG at fs/bcachefs/checksum.c:424! [ 65.094967][ T5323] Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI [ 65.098452][ T5323] CPU: 0 UID: 0 PID: 5323 Comm: bch-rebalance/l Not tainted 6.12.0-rc6-syzkaller #0 [ 65.101712][ T5323] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 65.105512][ T5323] RIP: 0010:bch2_rechecksum_bio+0x148c/0x14b0 [ 65.107724][ T5323] Code: 48 89 df e8 76 b9 d7 fd e9 4d f9 ff ff 89 f9 80 e1 07 38 c1 0f 8c 1c fd ff ff e8 4f ba d7 fd e9 12 fd ff ff e8 e5 f3 6d fd 90 <0f> 0b e8 dd f3 6d fd 90 0f 0b e8 d5 f3 6d fd 90 0f 0b e8 1d 50 a0 [ 65.114812][ T5323] RSP: 0018:ffffc9000d186b20 EFLAGS: 00010293 [ 65.117009][ T5323] RAX: ffffffff8426e67b RBX: 0000000000000007 RCX: ffff88801e00c880 [ 65.119975][ T5323] RDX: 0000000000000000 RSI: 0000000000000018 RDI: 0000000000000008 [ 65.122944][ T5323] RBP: ffffc9000d186e70 R08: ffffffff8426d688 R09: 0000000000000000 [ 65.125851][ T5323] R10: ffffc9000d186d40 R11: fffff52001a30dae R12: 0000000000000018 [ 65.128812][ T5323] R13: dffffc0000000000 R14: 0000000000000008 R15: 0000000000000000 [ 65.131773][ T5323] FS: 0000000000000000(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 [ 65.135126][ T5323] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 65.137638][ T5323] CR2: 000055bb8ac5e0b8 CR3: 0000000011c00000 CR4: 0000000000352ef0 [ 65.140731][ T5323] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 65.143550][ T5323] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 65.146515][ T5323] Call Trace: [ 65.147725][ T5323] [ 65.148812][ T5323] ? __die_body+0x5f/0xb0 [ 65.150390][ T5323] ? die+0x9e/0xc0 [ 65.151844][ T5323] ? do_trap+0x15a/0x3a0 [ 65.153435][ T5323] ? bch2_rechecksum_bio+0x148c/0x14b0 [ 65.155386][ T5323] ? do_error_trap+0x1dc/0x2c0 [ 65.157119][ T5323] ? bch2_rechecksum_bio+0x148c/0x14b0 [ 65.159170][ T5323] ? __pfx_do_error_trap+0x10/0x10 [ 65.161117][ T5323] ? handle_invalid_op+0x34/0x40 [ 65.162950][ T5323] ? bch2_rechecksum_bio+0x148c/0x14b0 [ 65.164888][ T5323] ? exc_invalid_op+0x38/0x50 [ 65.166651][ T5323] ? asm_exc_invalid_op+0x1a/0x20 [ 65.168547][ T5323] ? bch2_rechecksum_bio+0x498/0x14b0 [ 65.170568][ T5323] ? bch2_rechecksum_bio+0x148b/0x14b0 [ 65.172606][ T5323] ? bch2_rechecksum_bio+0x148c/0x14b0 [ 65.174650][ T5323] ? __pfx_bch2_rechecksum_bio+0x10/0x10 [ 65.176703][ T5323] ? bch2_trans_put+0x7af/0xf00 [ 65.178479][ T5323] ? rcu_is_watching+0x15/0xb0 [ 65.180276][ T5323] ? bch2_trans_put+0x7af/0xf00 [ 65.182039][ T5323] ? kfree+0x4e/0x440 [ 65.183501][ T5323] ? bch2_trans_put+0x95f/0xf00 [ 65.185321][ T5323] __bch2_write+0x2f7b/0x5dd0 [ 65.187141][ T5323] ? __pfx_validate_chain+0x10/0x10 [ 65.189061][ T5323] ? lockdep_unlock+0x16a/0x300 [ 65.190826][ T5323] ? mark_lock+0x9a/0x360 [ 65.192441][ T5323] ? __pfx___bch2_write+0x10/0x10 [ 65.194352][ T5323] ? __pfx_validate_chain+0x10/0x10 [ 65.196287][ T5323] bch2_write+0x9b5/0x1760 [ 65.197953][ T5323] ? mark_lock+0x9a/0x360 [ 65.199578][ T5323] ? __pfx_bch2_write+0x10/0x10 [ 65.201367][ T5323] ? bch2_data_update_read_done+0xfd/0x330 [ 65.203326][ T5323] bch2_data_update_read_done+0x22e/0x330 [ 65.205442][ T5323] ? __pfx_bch2_data_update_read_done+0x10/0x10 [ 65.207619][ T5323] ? bch2_trans_srcu_unlock+0x57/0x5b0 [ 65.209651][ T5323] bch2_moving_ctxt_do_pending_writes+0x44c/0x8d0 [ 65.211946][ T5323] ? __pfx_bch2_moving_ctxt_do_pending_writes+0x10/0x10 [ 65.214459][ T5323] ? _raw_spin_unlock_irqrestore+0xdd/0x140 [ 65.216519][ T5323] ? __pfx__raw_spin_unlock_irqrestore+0x10/0x10 [ 65.218856][ T5323] ? finish_wait+0xd4/0x1e0 [ 65.220548][ T5323] bch2_moving_ctxt_flush_all+0x1c3/0x2f0 [ 65.222747][ T5323] ? __pfx_bch2_moving_ctxt_flush_all+0x10/0x10 [ 65.225060][ T5323] ? __pfx_autoremove_wake_function+0x10/0x10 [ 65.227316][ T5323] bch2_rebalance_thread+0x1a87/0x1fc0 [ 65.229261][ T5323] ? bch2_rebalance_thread+0x3c7/0x1fc0 [ 65.231283][ T5323] ? __pfx_bch2_rebalance_thread+0x10/0x10 [ 65.233408][ T5323] ? rcu_read_lock_sched_held+0x8d/0x130 [ 65.235517][ T5323] ? __pfx_rcu_read_lock_sched_held+0x10/0x10 [ 65.237753][ T5323] ? bch2_rebalance_thread+0x3c7/0x1fc0 [ 65.239690][ T5323] ? bch2_rebalance_thread+0x3c7/0x1fc0 [ 65.241531][ T5323] ? bch2_rebalance_thread+0x116/0x1fc0 [ 65.243667][ T5323] ? _raw_spin_unlock_irqrestore+0xdd/0x140 [ 65.245815][ T5323] ? __kthread_parkme+0x169/0x1d0 [ 65.247606][ T5323] ? __pfx_bch2_rebalance_thread+0x10/0x10 [ 65.250118][ T5323] kthread+0x2f0/0x390 [ 65.251863][ T5323] ? __pfx_bch2_rebalance_thread+0x10/0x10 [ 65.253710][ T5323] ? __pfx_kthread+0x10/0x10 [ 65.255393][ T5323] ret_from_fork+0x4b/0x80 [ 65.256894][ T5323] ? __pfx_kthread+0x10/0x10 [ 65.258639][ T5323] ret_from_fork_asm+0x1a/0x30 [ 65.260439][ T5323] [ 65.261593][ T5323] Modules linked in: [ 65.263393][ T5323] ---[ end trace 0000000000000000 ]--- [ 65.268624][ T5310] syz-executor103 (5310) used greatest stack depth: 11920 bytes left executing program [ 65.493783][ T5323] RIP: 0010:bch2_rechecksum_bio+0x148c/0x14b0 [ 65.496572][ T5323] Code: 48 89 df e8 76 b9 d7 fd e9 4d f9 ff ff 89 f9 80 e1 07 38 c1 0f 8c 1c fd ff ff e8 4f ba d7 fd e9 12 fd ff ff e8 e5 f3 6d fd 90 <0f> 0b e8 dd f3 6d fd 90 0f 0b e8 d5 f3 6d fd 90 0f 0b e8 1d 50 a0 [ 65.503023][ T5323] RSP: 0018:ffffc9000d186b20 EFLAGS: 00010293 [ 65.505469][ T5323] RAX: ffffffff8426e67b RBX: 0000000000000007 RCX: ffff88801e00c880 [ 65.530349][ T5323] RDX: 0000000000000000 RSI: 0000000000000018 RDI: 0000000000000008 [ 65.533174][ T5323] RBP: ffffc9000d186e70 R08: ffffffff8426d688 R09: 0000000000000000 [ 65.540497][ T5323] R10: ffffc9000d186d40 R11: fffff52001a30dae R12: 0000000000000018 [ 65.543317][ T5323] R13: dffffc0000000000 R14: 0000000000000008 R15: 0000000000000000 [ 65.556106][ T5323] FS: 0000000000000000(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 [ 65.559273][ T5323] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 65.566300][ T5323] CR2: 00007fbfaf9ff000 CR3: 000000001fb7e000 CR4: 0000000000352ef0 [ 65.569083][ T5323] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 65.573936][ T5323] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 65.577225][ T5323] Kernel panic - not syncing: Fatal exception [ 65.579682][ T5323] Kernel Offset: disabled [ 65.581189][ T5323] Rebooting in 86400 seconds.. VM DIAGNOSIS: 19:39:37 Registers: info registers vcpu 0 CPU#0 RAX=0000000000000045 RBX=ffffffff9a719ec0 RCX=0000000000000000 RDX=00000000000003f8 RSI=0000000000000000 RDI=0000000000000020 RBP=0000000000000000 RSP=ffffc9000d1861d0 R8 =ffffffff854ae4db R9 =1ffff11003d48046 R10=dffffc0000000000 R11=ffffffff854ae490 R12=dffffc0000000000 R13=ffffffff9a414f1b R14=0000000000000045 R15=00000000000003f8 RIP=ffffffff854ae50e RFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0 ES =0000 0000000000000000 ffffffff 00c00000 CS =0010 0000000000000000 ffffffff 00a09b00 DPL=0 CS64 [-RA] SS =0018 0000000000000000 ffffffff 00c09300 DPL=0 DS [-WA] DS =0000 0000000000000000 ffffffff 00c00000 FS =0000 0000000000000000 ffffffff 00c00000 GS =0000 ffff88801fc00000 ffffffff 00c00000 LDT=0000 0000000000000000 ffffffff 00c00000 TR =0040 fffffe0000003000 00004087 00008b00 DPL=0 TSS64-busy GDT= fffffe0000001000 0000007f IDT= fffffe0000000000 00000fff CR0=80050033 CR2=000055bb8ac5e0b8 CR3=0000000011c00000 CR4=00352ef0 DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 DR6=00000000fffe0ff0 DR7=0000000000000400 EFER=0000000000000d01 FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80 FPR0=0000000000000000 0000 FPR1=0000000000000000 0000 FPR2=0000000000000000 0000 FPR3=0000000000000000 0000 FPR4=0000000000000000 0000 FPR5=0000000000000000 0000 FPR6=0000000000000000 0000 FPR7=0000000000000000 0000 Opmask00=0000000040000000 Opmask01=0000000000800010 Opmask02=0000000000000000 Opmask03=0000000000000000 Opmask04=0000000000000000 Opmask05=0000000000000000 Opmask06=0000000000000000 Opmask07=0000000000000000 ZMM00=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000001 ZMM01=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007fffb4ef6730 0000003000000010 ZMM02=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 6565656565656565 6565656565656565 ZMM03=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM04=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ff00ff0000000000 0000000000000000 ZMM05=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ffffffffffffffff ffffffffffff0000 ZMM06=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ff00ff0000000000 0000000000000000 ZMM07=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM08=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM09=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM10=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM11=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM12=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM13=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM14=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM15=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM16=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM17=0000000000000000 0000000000000000 0000000000000000 0000000000000000 2525252525252525 2525252525252525 2525252525252525 2525252525252525 ZMM18=0000000000000000 0000000000000000 0000000000000000 0000000000000000 4f6e3a6d5e007325 2e73250064252e73 2500656c6f736e6f 632f7665642f000a ZMM19=0000000000000000 0000000000000000 0000000000000000 0000000000000000 4f4b1f485e005600 0b56000041000b56 000040494a564b4a 460a5340410a000a ZMM20=0000000000000000 0000000000000000 0000000000000000 0000000000000000 3020202020202020 000a666969656920 202c206564206520 646e20000a6e2061 ZMM21=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM22=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM23=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM24=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM25=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM26=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM27=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM28=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM29=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM30=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM31=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000