Warning: Permanently added '[localhost]:59711' (ED25519) to the list of known hosts. executing program [ 64.099891][ T5310] loop0: detected capacity change from 0 to 32768 [ 64.177664][ 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 [ 64.185337][ T5310] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 64.188509][ T5310] bcachefs (loop0): Version upgrade required: [ 64.188509][ T5310] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 64.188509][ T5310] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 64.188509][ 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 [ 64.220399][ T5310] invalid bkey u64s 17 type inode_v3 0:4097:U32_MAX len 0 ver 0: (unpack error) [ 64.220420][ T5310] invalid variable length fields: delete?, fixing [ 64.227587][ T5310] bcachefs (loop0): flagging btree xattrs lost data [ 64.232736][ T5310] error reading btree root xattrs l=0: btree_node_read_error, fixing [ 64.235724][ T5310] bcachefs (loop0): will run btree node scan [ 64.240162][ T5310] invalid bkey u64s 12 type alloc_v4 0:28:0 len 0 ver 0: [ 64.240181][ T5310] gen 0 oldest_gen 0 data_type btree [ 64.240188][ T5310] journal_seq 6 [ 64.240193][ T5310] need_discard 1 [ 64.240199][ T5310] need_inc_gen 1 [ 64.240205][ T5310] dirty_sectors 0 [ 64.240211][ T5310] stripe_sectors 0 [ 64.240216][ T5310] cached_sectors 0 [ 64.240222][ T5310] stripe 0 [ 64.240227][ T5310] stripe_redundancy 0 [ 64.240233][ T5310] io_time[READ] 1 [ 64.240239][ T5310] io_time[WRITE] 768 [ 64.240245][ T5310] fragmentation 0 [ 64.240250][ T5310] bp_start 8 [ 64.240255][ T5310] [ 64.240261][ T5310] invalid data type (got 3 should be 9): delete?, fixing [ 64.270380][ T5310] bcachefs (loop0): flagging btree snapshots lost data [ 64.274305][ T5310] error reading btree root snapshots l=251: btree_node_read_error, fixing [ 64.280181][ T5310] bcachefs (loop0): scan_for_btree_nodes... [ 64.290258][ T5310] bch2_scan_for_btree_nodes: nodes found after overwrites: [ 64.290282][ T5310] extents l=0 seq=1 journal_seq=5 cookie=c6c25c03258c59c5 POS_MIN-SPOS_MAX ptr: 0:27:0 gen 0 [ 64.290289][ T5310] inodes l=0 seq=1 journal_seq=5 cookie=7589ab5e0c11cc7a POS_MIN-SPOS_MAX ptr: 0:38:0 gen 0 [ 64.290296][ T5310] dirents l=0 seq=1 journal_seq=4 cookie=9aa2895aefce4bdf POS_MIN-SPOS_MAX ptr: 0:41:0 gen 0 [ 64.290303][ T5310] xattrs l=0 seq=1 journal_seq=0 cookie=585c34bed0abe32 POS_MIN-SPOS_MAX ptr: 0:31:0 gen 0 [ 64.290311][ T5310] subvolumes l=0 seq=1 journal_seq=1 cookie=c0bef60d07ceb940 POS_MIN-SPOS_MAX ptr: 0:35:0 gen 0 [ 64.290318][ T5310] snapshots l=0 seq=1 journal_seq=1 cookie=ebb8d5a9e3463bdb POS_MIN-SPOS_MAX ptr: 0:32:0 gen 0 [ 64.290324][ T5310] lru l=0 seq=1 journal_seq=5 cookie=28f61e078e70b95c POS_MIN-SPOS_MAX ptr: 0:28:0 gen 0 [ 64.290332][ T5310] deleted_inodes l=0 seq=1 journal_seq=0 cookie=1db8f60c84bb244c POS_MIN-SPOS_MAX ptr: 0:42:0 gen 0 [ 64.290339][ T5310] [ 64.329812][ T5310] done [ 64.331077][ T5310] bcachefs (loop0): check_topology... [ 64.331131][ T5310] bcachefs (loop0): btree root xattrs unreadable, must recover from scan [ 64.337246][ T5310] bcachefs (loop0): bch2_get_scanned_nodes(): recovering xattrs l=0 POS_MIN - SPOS_MAX [ 64.341065][ 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.350466][ T5310] bcachefs (loop0): btree root snapshots unreadable, must recover from scan [ 64.353904][ T5310] bcachefs (loop0): bch2_get_scanned_nodes(): recovering snapshots l=0 POS_MIN - SPOS_MAX [ 64.357444][ 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.365655][ T5310] done [ 64.366738][ T5310] bcachefs (loop0): accounting_read... done [ 64.370328][ T5310] bcachefs (loop0): alloc_read... done [ 64.372511][ T5310] bcachefs (loop0): stripes_read... done [ 64.374960][ T5310] bcachefs (loop0): snapshots_read... [ 64.375872][ T5310] bcachefs (loop0): running explicit recovery pass reconstruct_snapshots (20), currently at snapshots_read (6) [ 64.382874][ T5310] done [ 64.383950][ T5310] bcachefs (loop0): check_allocations... [ 64.387484][ T5310] bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 64.387504][ 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.400667][ T5310] bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 64.400682][ 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.410297][ T5310] bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 64.410308][ 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.420118][ T5310] bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 64.420132][ 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.430177][ T5310] bucket 0:28 data type btree ptr gen 0 missing in alloc btree [ 64.430191][ 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.442728][ T5310] bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 64.442743][ 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.452729][ T5310] bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 64.456589][ T5310] bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 64.462787][ T5310] bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 64.466839][ T5310] bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 64.472088][ T5310] bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 64.475376][ T5310] bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 64.479811][ T5310] bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 64.482856][ T5310] bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 64.486883][ T5310] bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 64.491303][ T5310] bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 64.495751][ T5310] bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 64.499913][ T5310] bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 64.503690][ T5310] bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 64.506852][ T5310] bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 64.511093][ T5310] bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 64.514300][ T5310] bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 64.518507][ T5310] bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 64.522916][ T5310] bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 64.527361][ T5310] bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 64.531624][ T5310] bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 64.536065][ T5310] bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 64.541772][ T5310] bcachefs (loop0): Ratelimiting new instances of previous error [ 64.544819][ T5310] bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 64.548501][ T5310] bcachefs (loop0): Ratelimiting new instances of previous error [ 64.559216][ T5310] done [ 64.561391][ T5310] bcachefs (loop0): going read-write [ 64.565414][ T5310] bcachefs (loop0): journal_replay... done [ 64.791914][ T5310] bcachefs (loop0): check_alloc_info... [ 64.793341][ T5310] incorrect key in freespace btree (got set should be deleted) [ 64.793362][ T5310] u64s 13 type alloc_v4 0:34:0 len 0 ver 0: [ 64.793369][ T5310] gen 0 oldest_gen 0 data_type user [ 64.793376][ T5310] journal_seq 5 [ 64.793382][ T5310] need_discard 1 [ 64.793387][ T5310] need_inc_gen 1 [ 64.793392][ T5310] dirty_sectors 32 [ 64.793397][ T5310] stripe_sectors 0 [ 64.793403][ T5310] cached_sectors 0 [ 64.793409][ T5310] stripe 0 [ 64.793415][ T5310] stripe_redundancy 0 [ 64.793421][ T5310] io_time[READ] 1 [ 64.793427][ T5310] io_time[WRITE] 512 [ 64.793434][ T5310] fragmentation 268435456 [ 64.793440][ T5310] bp_start 8 [ 64.793446][ T5310] , fixing [ 64.827309][ T5310] incorrect key in freespace btree (got set should be deleted) [ 64.827325][ T5310] u64s 12 type alloc_v4 0:37:0 len 0 ver 0: [ 64.827332][ T5310] gen 0 oldest_gen 0 data_type btree [ 64.827338][ T5310] journal_seq 6 [ 64.827343][ T5310] need_discard 1 [ 64.827348][ T5310] need_inc_gen 1 [ 64.827354][ T5310] dirty_sectors 256 [ 64.827359][ T5310] stripe_sectors 0 [ 64.827366][ T5310] cached_sectors 0 [ 64.827372][ T5310] stripe 0 [ 64.827378][ T5310] stripe_redundancy 0 [ 64.827384][ T5310] io_time[READ] 1 [ 64.827390][ T5310] io_time[WRITE] 1024 [ 64.827396][ T5310] fragmentation 0 [ 64.827402][ T5310] bp_start 8 [ 64.827409][ T5310] , fixing [ 64.858194][ T5310] incorrect key in freespace btree (got set should be deleted) [ 64.858216][ T5310] u64s 12 type alloc_v4 0:42:0 len 0 ver 0: [ 64.858224][ T5310] gen 0 oldest_gen 0 data_type btree [ 64.858230][ T5310] journal_seq 7 [ 64.858236][ T5310] need_discard 1 [ 64.858242][ T5310] need_inc_gen 1 [ 64.858248][ T5310] dirty_sectors 256 [ 64.858254][ T5310] stripe_sectors 0 [ 64.858260][ T5310] cached_sectors 0 [ 64.858266][ T5310] stripe 0 [ 64.858272][ T5310] stripe_redundancy 0 [ 64.858278][ T5310] io_time[READ] 1 [ 64.858284][ T5310] io_time[WRITE] 1280 [ 64.858290][ T5310] fragmentation 0 [ 64.858296][ T5310] bp_start 8 [ 64.858302][ T5310] , fixing [ 64.890830][ T5310] done [ 64.893034][ T5310] bcachefs (loop0): check_lrus... [ 64.893748][ T5310] incorrect lru entry: lru fragmentation time 134217728 [ 64.893759][ T5310] u64s 5 type set 18446462598867058688:34:0 len 0 ver 0 [ 64.893765][ T5310] for u64s 13 type alloc_v4 0:34:0 len 0 ver 0: [ 64.893771][ T5310] gen 0 oldest_gen 0 data_type user [ 64.893777][ T5310] journal_seq 5 [ 64.893782][ T5310] need_discard 1 [ 64.893788][ T5310] need_inc_gen 1 [ 64.893794][ T5310] dirty_sectors 32 [ 64.893800][ T5310] stripe_sectors 0 [ 64.893806][ T5310] cached_sectors 0 [ 64.893812][ T5310] stripe 0 [ 64.893818][ T5310] stripe_redundancy 0 [ 64.893824][ T5310] io_time[READ] 1 [ 64.893831][ T5310] io_time[WRITE] 512 [ 64.893837][ T5310] fragmentation 268435456 [ 64.893842][ T5310] bp_start 8 [ 64.893847][ T5310] , fixing [ 64.928155][ T5310] done [ 64.930299][ T5310] bcachefs (loop0): check_btree_backpointers... done [ 64.933895][ T5310] bcachefs (loop0): check_backpointers_to_extents... [ 64.934616][ T5310] backpointer for missing extent [ 64.934627][ 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.946385][ T5310] backpointer for missing btree node [ 64.946400][ 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.954312][ T5310] done [ 64.957228][ T5310] bcachefs (loop0): check_extents_to_backpointers... [ 64.957652][ 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.957662][ T5310] got: u64s 5 type deleted 0:8921088:0 len 0 ver 0 [ 64.957666][ 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.976076][ 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.976091][ T5310] got: u64s 5 type deleted 0:9961472:0 len 0 ver 0 [ 64.976098][ 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.989497][ 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.989515][ T5310] got: u64s 5 type deleted 0:10747904:0 len 0 ver 0 [ 64.989524][ 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 [ 65.005679][ 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 [ 65.005697][ T5310] got: u64s 5 type deleted 0:6815744:0 len 0 ver 0 [ 65.005705][ 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 [ 65.021500][ 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 [ 65.021517][ T5310] got: u64s 5 type deleted 0:9175040:0 len 0 ver 0 [ 65.021525][ 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 [ 65.037037][ 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 [ 65.037058][ T5310] got: u64s 5 type deleted 0:8388608:0 len 0 ver 0 [ 65.037065][ 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 [ 65.052001][ 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 [ 65.052019][ T5310] got: u64s 5 type deleted 0:7602176:0 len 0 ver 0 [ 65.052027][ 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 [ 65.067312][ 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 [ 65.067330][ T5310] got: u64s 5 type deleted 0:9699328:0 len 0 ver 0 [ 65.067338][ 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 [ 65.082698][ T5310] done [ 65.084943][ T5310] bcachefs (loop0): check_alloc_to_lru_refs... [ 65.085833][ T5310] missing fragmentation lru entry [ 65.085844][ T5310] u64s 13 type alloc_v4 0:34:0 len 0 ver 0: [ 65.085852][ T5310] gen 0 oldest_gen 0 data_type user [ 65.085859][ T5310] journal_seq 5 [ 65.085866][ T5310] need_discard 1 [ 65.085872][ T5310] need_inc_gen 1 [ 65.085878][ T5310] dirty_sectors 32 [ 65.085885][ T5310] stripe_sectors 0 [ 65.085891][ T5310] cached_sectors 0 [ 65.085898][ T5310] stripe 0 [ 65.085904][ T5310] stripe_redundancy 0 [ 65.085911][ T5310] io_time[READ] 1 [ 65.085918][ T5310] io_time[WRITE] 512 [ 65.085924][ T5310] fragmentation 268435456 [ 65.085931][ T5310] bp_start 8 [ 65.085938][ T5310] , fixing [ 65.119967][ T5310] done [ 65.122147][ T5310] bcachefs (loop0): bucket_gens_init... done [ 65.131401][ T5310] bcachefs (loop0): reconstruct_snapshots... done [ 65.134493][ T5310] bcachefs (loop0): check_snapshot_trees... done [ 65.137396][ T5310] bcachefs (loop0): check_snapshots... [ 65.137777][ T5310] snapshot points to missing/incorrect tree: [ 65.137789][ 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 [ 65.153884][ T5310] done [ 65.156241][ T5310] bcachefs (loop0): check_subvols... done [ 65.159845][ T5310] bcachefs (loop0): check_subvol_children... done [ 65.162695][ T5310] bcachefs (loop0): delete_dead_snapshots... done [ 65.165576][ T5310] bcachefs (loop0): check_inodes... done [ 65.169375][ T5310] bcachefs (loop0): check_extents... done [ 65.172575][ T5310] bcachefs (loop0): check_indirect_extents... done [ 65.175530][ T5310] bcachefs (loop0): check_dirents... [ 65.176439][ T5310] dirent points to missing inode: [ 65.176450][ T5310] u64s 8 type dirent 4096:8130059955150870709:U32_MAX len 0 ver 0: lost+found -> 4097 type dir, fixing [ 65.185563][ T5310] done [ 65.187614][ T5310] bcachefs (loop0): check_xattrs... done [ 65.190683][ T5310] bcachefs (loop0): check_root... done [ 65.192985][ T5310] bcachefs (loop0): check_unreachable_inodes... done [ 65.196220][ T5310] bcachefs (loop0): check_subvolume_structure... done [ 65.199705][ T5310] bcachefs (loop0): check_directory_structure... done [ 65.203091][ T5310] bcachefs (loop0): check_nlinks... done [ 65.206095][ T5310] bcachefs (loop0): resume_logged_ops... done [ 65.208469][ T5310] bcachefs (loop0): delete_dead_inodes... done [ 65.211496][ T5310] bcachefs (loop0): set_fs_needs_rebalance... done [ 65.227371][ T5310] bcachefs (loop0): Fixed errors, running fsck a second time to verify fs is clean [ 65.231082][ T5310] bcachefs (loop0): check_alloc_info... done [ 65.236174][ T5310] bcachefs (loop0): check_lrus... done [ 65.238311][ T5310] bcachefs (loop0): check_btree_backpointers... done [ 65.241929][ T5310] bcachefs (loop0): check_backpointers_to_extents... done [ 65.245254][ T5310] bcachefs (loop0): check_extents_to_backpointers... done [ 65.248509][ T5310] bcachefs (loop0): check_alloc_to_lru_refs... done [ 65.252223][ T5310] bcachefs (loop0): bucket_gens_init... done [ 65.255453][ T5310] bcachefs (loop0): reconstruct_snapshots... done [ 65.258054][ T5310] bcachefs (loop0): check_snapshot_trees... done [ 65.261342][ T5310] bcachefs (loop0): check_snapshots... done [ 65.263760][ T5310] bcachefs (loop0): check_subvols... done [ 65.265963][ T5310] bcachefs (loop0): check_subvol_children... done [ 65.268470][ T5310] bcachefs (loop0): delete_dead_snapshots... done [ 65.271489][ T5310] bcachefs (loop0): check_inodes... done [ 65.274004][ T5310] bcachefs (loop0): check_extents... done [ 65.276417][ T5310] bcachefs (loop0): check_indirect_extents... done [ 65.279345][ T5310] bcachefs (loop0): check_dirents... [ 65.279731][ T5310] directory 4096:4294967295 with wrong i_nlink: got 2, should be 1, fixing [ 65.284760][ T5310] done [ 65.286279][ T5310] bcachefs (loop0): check_xattrs... done [ 65.288137][ T5310] bcachefs (loop0): check_root... done [ 65.290646][ T5310] bcachefs (loop0): check_unreachable_inodes... done [ 65.293275][ T5310] bcachefs (loop0): check_subvolume_structure... done [ 65.295912][ T5310] bcachefs (loop0): check_directory_structure... done [ 65.298557][ T5310] bcachefs (loop0): check_nlinks... done [ 65.301478][ T5310] bcachefs (loop0): resume_logged_ops... done [ 65.303823][ T5310] bcachefs (loop0): delete_dead_inodes... done [ 65.306281][ T5310] bcachefs (loop0): set_fs_needs_rebalance... done [ 65.318177][ T5310] bcachefs (loop0): Second fsck run was not clean [ 65.320941][ T5310] bcachefs (loop0): reading quotas [ 65.324398][ T5310] bcachefs (loop0): quotas done [ 65.337683][ T5310] bcachefs (loop0): done starting filesystem [ 65.346352][ T5323] ------------[ cut here ]------------ [ 65.348662][ T5323] kernel BUG at fs/bcachefs/checksum.c:424! [ 65.364179][ T5310] syz-executor282 (5310) used greatest stack depth: 12016 bytes left executing program [ 65.381237][ T5323] Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI [ 65.383984][ T5323] CPU: 0 UID: 0 PID: 5323 Comm: bch-rebalance/l Not tainted 6.12.0-rc6-syzkaller #0 [ 65.387438][ T5323] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 65.391455][ T5323] RIP: 0010:bch2_rechecksum_bio+0x148c/0x14b0 [ 65.393746][ 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.400922][ T5323] RSP: 0018:ffffc9000d14e480 EFLAGS: 00010293 [ 65.403209][ T5323] RAX: ffffffff8426e67b RBX: 0000000000000007 RCX: ffff88801ea34880 [ 65.406090][ T5323] RDX: 0000000000000000 RSI: 0000000000000018 RDI: 0000000000000008 [ 65.408925][ T5323] RBP: ffffc9000d14e7d0 R08: ffffffff8426d688 R09: 0000000000000000 [ 65.411661][ T5323] R10: ffffc9000d14e6a0 R11: fffff52001a29cda R12: 0000000000000018 [ 65.414447][ T5323] R13: dffffc0000000000 R14: 0000000000000008 R15: 0000000000000000 [ 65.417470][ T5323] FS: 0000000000000000(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 [ 65.420917][ T5323] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 65.423491][ T5323] CR2: 00007f44a8ddc064 CR3: 0000000042234000 CR4: 0000000000352ef0 [ 65.426467][ T5323] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 65.429483][ T5323] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 65.432519][ T5323] Call Trace: [ 65.433820][ T5323] [ 65.435000][ T5323] ? __die_body+0x5f/0xb0 [ 65.436633][ T5323] ? die+0x9e/0xc0 [ 65.438055][ T5323] ? do_trap+0x15a/0x3a0 [ 65.439729][ T5323] ? bch2_rechecksum_bio+0x148c/0x14b0 [ 65.441779][ T5323] ? do_error_trap+0x1dc/0x2c0 [ 65.443590][ T5323] ? bch2_rechecksum_bio+0x148c/0x14b0 [ 65.445722][ T5323] ? __pfx_do_error_trap+0x10/0x10 [ 65.447512][ T5323] ? report_bug+0x3e8/0x500 [ 65.449276][ T5323] ? handle_invalid_op+0x34/0x40 [ 65.451165][ T5323] ? bch2_rechecksum_bio+0x148c/0x14b0 [ 65.453243][ T5323] ? exc_invalid_op+0x38/0x50 [ 65.455082][ T5323] ? asm_exc_invalid_op+0x1a/0x20 [ 65.457010][ T5323] ? bch2_rechecksum_bio+0x498/0x14b0 [ 65.459050][ T5323] ? bch2_rechecksum_bio+0x148b/0x14b0 [ 65.461101][ T5323] ? bch2_rechecksum_bio+0x148c/0x14b0 [ 65.463117][ T5323] ? __pfx_bch2_rechecksum_bio+0x10/0x10 [ 65.465271][ T5323] ? bch2_trans_put+0x7af/0xf00 [ 65.467096][ T5323] ? rcu_is_watching+0x15/0xb0 [ 65.468928][ T5323] ? bch2_trans_put+0x7af/0xf00 [ 65.470825][ T5323] ? kfree+0x4e/0x440 [ 65.472377][ T5323] ? bch2_trans_put+0x95f/0xf00 [ 65.474130][ T5323] __bch2_write+0x2f7b/0x5dd0 [ 65.475814][ T5323] ? __bch2_btree_node_iter_advance+0x15e/0xaa0 [ 65.478053][ T5323] ? bch2_btree_node_iter_advance+0x3c8/0xc70 [ 65.480193][ T5323] ? __pfx___bch2_write+0x10/0x10 [ 65.481933][ T5323] ? __asan_memset+0x23/0x50 [ 65.483574][ T5323] ? bch2_btree_path_verify_level+0x369/0x1970 [ 65.485988][ T5323] ? __asan_memset+0x23/0x50 [ 65.487811][ T5323] ? bch2_btree_iter_verify_ret+0x174/0x16e0 [ 65.490141][ T5323] ? __bch2_bkey_cmp_left_packed+0x4d0/0x790 [ 65.492433][ T5323] ? __pfx___bch2_bkey_cmp_left_packed+0x10/0x10 [ 65.494856][ T5323] ? __pfx_bch2_btree_iter_verify_ret+0x10/0x10 [ 65.497228][ T5323] ? bch2_btree_path_verify_locks+0x633/0x720 [ 65.499567][ T5323] bch2_write+0x9b5/0x1760 [ 65.501315][ T5323] ? __pfx_bch2_write+0x10/0x10 [ 65.503242][ T5323] ? bch2_btree_iter_verify_entry_exit+0x2e9/0x550 [ 65.505733][ T5323] ? bch2_trans_srcu_unlock+0x43b/0x5b0 [ 65.507851][ T5323] ? bch2_data_update_read_done+0xfd/0x330 [ 65.510073][ T5323] bch2_data_update_read_done+0x22e/0x330 [ 65.512268][ T5323] ? __pfx_bch2_data_update_read_done+0x10/0x10 [ 65.514617][ T5323] ? bch2_trans_srcu_unlock+0x44a/0x5b0 [ 65.516876][ T5323] bch2_moving_ctxt_do_pending_writes+0x44c/0x8d0 [ 65.519325][ T5323] ? __pfx_bch2_moving_ctxt_do_pending_writes+0x10/0x10 [ 65.521945][ T5323] ? __pfx___might_resched+0x10/0x10 [ 65.524003][ T5323] ? _raw_spin_unlock_irqrestore+0xdd/0x140 [ 65.526201][ T5323] ? __pfx_bch2_btree_iter_peek_upto+0x10/0x10 [ 65.528601][ T5323] bch2_move_ratelimit+0x76c/0xeb0 [ 65.530576][ T5323] ? __pfx_bch2_move_ratelimit+0x10/0x10 [ 65.532695][ T5323] ? __bch2_move_data+0x12d6/0x1b10 [ 65.534654][ T5323] ? __bch2_move_data+0x717/0x1b10 [ 65.536579][ T5323] ? bch2_btree_iter_advance+0x394/0x870 [ 65.538541][ T5323] __bch2_move_data+0x12bb/0x1b10 [ 65.540460][ T5323] ? __pfx_rebalance_pred+0x10/0x10 [ 65.542441][ T5323] ? __pfx___bch2_move_data+0x10/0x10 [ 65.544557][ T5323] ? string+0x26a/0x2b0 [ 65.546207][ T5323] ? widen_string+0x3a/0x310 [ 65.547969][ T5323] ? string+0x26a/0x2b0 [ 65.549564][ T5323] ? __bch2_move_data+0x85a/0x1b10 [ 65.551517][ T5323] ? __pfx_bch2_move_ratelimit+0x10/0x10 [ 65.553600][ T5323] ? scnprintf+0x109/0x170 [ 65.555405][ T5323] ? __pfx_scnprintf+0x10/0x10 [ 65.557228][ T5323] bch2_rebalance_thread+0xd5e/0x1fc0 [ 65.559281][ T5323] ? bch2_rebalance_thread+0x3c7/0x1fc0 [ 65.561384][ T5323] ? __pfx_bch2_rebalance_thread+0x10/0x10 [ 65.563640][ T5323] ? __pfx_lock_acquire+0x10/0x10 [ 65.565572][ T5323] ? bch2_rebalance_thread+0x3c7/0x1fc0 [ 65.567671][ T5323] ? bch2_rebalance_thread+0x116/0x1fc0 [ 65.569780][ T5323] ? _raw_spin_unlock_irqrestore+0xdd/0x140 [ 65.572010][ T5323] ? __kthread_parkme+0x169/0x1d0 [ 65.573911][ T5323] ? __pfx_bch2_rebalance_thread+0x10/0x10 [ 65.576071][ T5323] kthread+0x2f0/0x390 [ 65.577590][ T5323] ? __pfx_bch2_rebalance_thread+0x10/0x10 [ 65.579879][ T5323] ? __pfx_kthread+0x10/0x10 [ 65.581655][ T5323] ret_from_fork+0x4b/0x80 [ 65.583397][ T5323] ? __pfx_kthread+0x10/0x10 [ 65.585168][ T5323] ret_from_fork_asm+0x1a/0x30 [ 65.586942][ T5323] [ 65.588162][ T5323] Modules linked in: [ 65.590011][ T5323] ---[ end trace 0000000000000000 ]--- [ 65.819353][ T5323] RIP: 0010:bch2_rechecksum_bio+0x148c/0x14b0 [ 65.821647][ 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 executing program [ 65.869222][ T5323] RSP: 0018:ffffc9000d14e480 EFLAGS: 00010293 [ 65.871683][ T5323] RAX: ffffffff8426e67b RBX: 0000000000000007 RCX: ffff88801ea34880 [ 65.874494][ T5323] RDX: 0000000000000000 RSI: 0000000000000018 RDI: 0000000000000008 [ 65.877407][ T5323] RBP: ffffc9000d14e7d0 R08: ffffffff8426d688 R09: 0000000000000000 [ 65.888812][ T5323] R10: ffffc9000d14e6a0 R11: fffff52001a29cda R12: 0000000000000018 [ 65.891526][ T5323] R13: dffffc0000000000 R14: 0000000000000008 R15: 0000000000000000 [ 65.899505][ T5323] FS: 0000000000000000(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 [ 65.903013][ T5323] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 65.915611][ T5323] CR2: 00007f44a1451000 CR3: 0000000011998000 CR4: 0000000000352ef0 [ 65.918700][ T5323] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 65.922096][ T5323] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 65.925122][ T5323] Kernel panic - not syncing: Fatal exception [ 65.927750][ T5323] Kernel Offset: disabled [ 65.929425][ T5323] Rebooting in 86400 seconds.. VM DIAGNOSIS: 18:03:33 Registers: info registers vcpu 0 CPU#0 RAX=0000000080000001 RBX=00000000ffffffff RCX=0000000000000001 RDX=dffffc0000000000 RSI=ffffc9000d088000 RDI=0000000000000001 RBP=ffffc9000d08f8c0 RSP=ffffc9000d08f7d8 R8 =ffffc9000d08fd30 R9 =0000000000000000 R10=ffffc9000d08f910 R11=fffff52001a11f24 R12=dffffc0000000000 R13=ffffc9000d08f8c0 R14=dffffc0000000000 R15=ffffc9000d08fd40 RIP=ffffffff816330af RFL=00000297 [--S-APC] 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 0000555585d26380 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=00007f44a8e11098 CR3=0000000043724000 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=00000000fffffbfe Opmask01=0000000000000000 Opmask02=00000000000000ff Opmask03=0000000000000000 Opmask04=0000000000000000 Opmask05=0000000000000000 Opmask06=0000000000000000 Opmask07=0000000000000000 ZMM00=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM01=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ffeb8e3bab0 00007ffeb8e3ba90 ZMM02=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ffeb8e3bbf0 00007ffeb8e3ba70 ZMM03=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007f44a8dfdbc4 00007f44a8e11260 ZMM04=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ffeb8e3bab0 ZMM05=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ffeb8e3bbf0 ZMM06=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ffeb8e3bbf0 00007ffeb8e3ba70 ZMM07=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ffeb8e3bab0 00007ffeb8e3ba90 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 0000000000000000 0000000000000000 0000000000000000 7366656863616362 ZMM18=0000000000000000 0000000000000000 0000000000000000 0000000000000000 687361682c6b6373 662c6f695f617461 645f6f6e2c736579 3d73726f7272655f ZMM19=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000d50000 000000000000002c ZMM20=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 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