[ 488.926039][ T8737] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree snapshots level 0/0 [ 488.926050][ T8737] u64s 11 type btree_ptr_v2 18446742987082825727:U64_MAX:U32_MAX len 0 ver 0: seq ebb8d5a9e3463bdb written 16 min_key POS_MIN durability: 1 ptr: 0:32:0 gen 0 [ 488.926059][ T8737] node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX, btree topology error: [ 488.972508][ T8737] bcachefs (loop0): flagging btree snapshots lost data [ 488.976379][ T8737] bcachefs (loop0): error reading btree root btree=snapshots level=0: btree_node_read_error, fixing [ 488.988253][ T8737] bcachefs (loop0): scan_for_btree_nodes... [ 488.996507][ T8737] bcachefs (loop0): btree node scan found 6 nodes after overwrites [ 489.003115][ T8737] done [ 489.004898][ T8737] bcachefs (loop0): check_topology... [ 489.005570][ T8737] bcachefs (loop0): btree root subvolumes unreadable, must recover from scan [ 489.013103][ T8737] bcachefs (loop0): no nodes found for btree subvolumes, continuing [ 489.017497][ T8737] bcachefs (loop0): btree root snapshots unreadable, must recover from scan [ 489.022400][ T8737] bcachefs (loop0): bch2_get_scanned_nodes(): recovery btree=snapshots level=0 POS_MIN - SPOS_MAX [ 489.027289][ T8737] 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 [ 489.037720][ T8737] done [ 489.039617][ T8737] bcachefs (loop0): accounting_read... done [ 489.043195][ T8737] bcachefs (loop0): alloc_read... done [ 489.045653][ T8737] bcachefs (loop0): snapshots_read... [ 489.046277][ T8737] bcachefs (loop0): running explicit recovery pass reconstruct_snapshots (21), currently at snapshots_read (7) [ 489.054045][ T8737] done [ 489.055506][ T8737] bcachefs (loop0): check_allocations... [ 489.056404][ T8737] bcachefs (loop0): bucket 0:34 data type user ptr gen 0 missing in alloc btree [ 489.056417][ T8737] while marking u64s 7 type extent 4099:8:4294905343 len 8 ver 0: durability: 1 crc: c_size 8 size 8 offset 0 nonce 0 csum none 0:0 compress incompressible ptr: 0:34:0 gen 0, fixing [ 489.073234][ T8737] bcachefs (loop0): bucket 0:27 data type btree ptr gen 0 missing in alloc btree [ 489.073248][ T8737] 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, fixing [ 489.086589][ T8737] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 489.086603][ T8737] 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 [ 489.102701][ T8737] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 489.102715][ T8737] 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 [ 489.114357][ T8737] bcachefs (loop0): bucket 0:31 data type btree ptr gen 0 missing in alloc btree [ 489.114372][ T8737] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 2285c34bed0abe32 written 16 min_key POS_MIN durability: 1 ptr: 0:31:0 gen 0, fixing [ 489.127561][ T8737] bcachefs (loop0): bucket 0:32 data type btree ptr gen 0 missing in alloc btree [ 489.127576][ T8737] while marking 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, fixing [ 489.138965][ T8737] bcachefs (loop0): bucket 0:28 data type btree ptr gen 0 missing in alloc btree [ 489.138979][ T8737] 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 [ 489.153715][ T8737] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 489.153727][ T8737] 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 [ 489.165618][ T8737] bcachefs (loop0): bucket 0:37 data type btree ptr gen 0 missing in alloc btree [ 489.165632][ T8737] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 4a8b0fa43a9980a6 written 24 min_key POS_MIN durability: 1 ptr: 0:37:0 gen 0, fixing [ 489.178763][ T8737] bcachefs (loop0): bucket 0:42 data type btree ptr gen 0 missing in alloc btree [ 489.178776][ T8737] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 1db8f60c84bb244c written 8 min_key POS_MIN durability: 1 ptr: 0:42:0 gen 0, fixing [ 489.196767][ T8737] done [ 489.198901][ T8737] bcachefs (loop0): going read-write [ 489.204290][ T8737] bcachefs (loop0): journal_replay... done [ 489.239642][ T8737] bcachefs (loop0): check_alloc_info... [ 489.241895][ T8737] bcachefs (loop0): hole in alloc btree missing in freespace btree [ 489.241908][ T8737] device 0 buckets 26-27, fixing [ 489.252783][ T8737] bcachefs (loop0): hole in alloc btree missing in freespace btree [ 489.252799][ T8737] device 0 buckets 35-36, fixing [ 489.273059][ T8737] done [ 489.285402][ T8737] bcachefs (loop0): check_lrus... done [ 489.291696][ T8737] bcachefs (loop0): check_backpointers_to_extents... done [ 489.304737][ T8737] bcachefs (loop0): check_extents_to_backpointers... [ 489.305547][ T8737] bcachefs (loop0): scanning for missing backpointers in 5/128 buckets [ 489.323208][ T8737] done [ 489.332275][ T8737] bcachefs (loop0): reconstruct_snapshots... [ 489.332663][ T8737] bcachefs (loop0): snapshot node 4294905343 from tree 4294905343 missing, recreating [ 489.357605][ T8737] done [ 489.366526][ T8737] bcachefs (loop0): check_subvols... done [ 489.369553][ T8737] bcachefs (loop0): check_inodes... [ 489.369734][ T8737] bcachefs (loop0): reconstructing subvol 1 with root inode 4096 [ 489.381642][ T8737] bcachefs (loop0): reconstructing subvol 1 with root inode 4096 [ 489.385207][ T8737] bcachefs (loop0): reconstruct_subvol(): error getting snapshot tree 0 ENOENT_bkey_type_mismatch [ 489.401670][ T8737] bcachefs (loop0): check_inode(): error ENOENT_bkey_type_mismatch [ 489.405153][ T8737] bcachefs (loop0): bch2_check_inodes(): error ENOENT_bkey_type_mismatch [ 489.408932][ T1348] bcachefs (loop0): going read-only [ 489.416994][ T1348] bcachefs (loop0): finished waiting for writes to stop [ 489.420449][ T1348] bcachefs (loop0): flushing journal and stopping allocators, journal seq 19 [ 489.425609][ T8737] bcachefs (loop0): bch2_fs_recovery(): error ENOENT_bkey_type_mismatch [ 489.429057][ T8737] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOENT_bkey_type_mismatch [ 489.433229][ T1348] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 19 [ 489.437688][ T1348] bcachefs (loop0): unclean shutdown complete, journal seq 19 [ 489.441842][ T8737] bcachefs (loop0): shutting down [ 489.471875][ T1348] bcachefs (loop0): done going read-only, filesystem not clean [ 489.513689][ T8737] bcachefs (loop0): shutdown complete [ 490.097785][ T8737] bcachefs: bch2_fs_get_tree() error: ENOENT_bkey_type_mismatch [ 490.581802][ T8754] loop0: detected capacity change from 0 to 32768 [ 490.708376][ T8754] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 490.782971][ T8754] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,erasure_code,usrquota,nojournal_transaction_names [ 490.782971][ T8754] allowing incompatible features above 0.0: (unknown version) [ 490.811040][ T8754] bcachefs (loop0): invalid journal entry, version=1.7: mi_btree_bitmap type=data_usage in superblock: invalid journal entry usage: bad size, fixing [ 490.817778][ T8754] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 490.837346][ T8754] bcachefs (loop0): Version upgrade from 1.3: rebalance_work to 1.7: mi_btree_bitmap incomplete [ 490.837346][ T8754] Doing compatible version upgrade from 1.3: rebalance_work to 1.25: extent_flags [ 490.837346][ T8754] running recovery passes: check_allocations,check_extents_to_backpointers,check_subvols,check_inodes,check_dirents [ 490.875580][ T8754] bcachefs (loop0): invalid bkey in btree_node btree=alloc level=0: u64s 11 type alloc_v4 0:20802:182124544 len 0 ver 0: [ 490.875596][ T8754] gen 0 oldest_gen 0 data_type journal [ 490.875603][ T8754] journal_seq_nonempty 1 [ 490.875608][ T8754] journal_seq_empty 0 [ 490.875613][ T8754] need_discard 1 [ 490.875619][ T8754] need_inc_gen 1 [ 490.875631][ T8754] dirty_sectors 256 [ 490.875637][ T8754] stripe_sectors 0 [ 490.875643][ T8754] cached_sectors 0 [ 490.875650][ T8754] stripe 0 [ 490.875655][ T8754] stripe_redundancy 0 [ 490.875661][ T8754] io_time[READ] 1 [ 490.875667][ T8754] io_time[WRITE] 1 [ 490.875673][ T8754] bp_start 8 [ 490.875679][ T8754] [ 490.875684][ T8754] nonzero snapshot, deleting [ 490.949671][ T8754] bcachefs (loop0): flagging btree alloc lost data [ 490.960970][ T8754] bcachefs (loop0): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 490.966009][ T8754] bcachefs (loop0): running explicit recovery pass check_lrus (14), currently at recovery_pass_empty (0) [ 490.970509][ T8754] bcachefs (loop0): running explicit recovery pass check_backpointers_to_extents (16), currently at recovery_pass_empty (0) [ 490.993036][ T8754] bcachefs (loop0): running explicit recovery pass check_alloc_info (13), currently at recovery_pass_empty (0) [ 491.001922][ T8754] bcachefs (loop0): error reading btree root btree=alloc level=0: btree_node_read_error, fixing [ 491.012769][ T8754] bcachefs (loop0): invalid bkey in btree_node btree=subvolumes level=0: u64s 7 type inode_generation 0:1:0 len 0 ver 0: generation: 0 [ 491.012785][ T8754] invalid key type for btree subvolumes (inode_generation), deleting [ 491.049677][ T8754] bcachefs (loop0): flagging btree subvolumes lost data [ 491.053290][ T8754] bcachefs (loop0): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 491.059009][ T8754] bcachefs (loop0): error reading btree root btree=subvolumes level=0: btree_node_read_error, fixing [ 491.068360][ T8754] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree snapshots level 0/0 [ 491.068373][ T8754] u64s 11 type btree_ptr_v2 18446742987082825727:U64_MAX:U32_MAX len 0 ver 0: seq ebb8d5a9e3463bdb written 16 min_key POS_MIN durability: 1 ptr: 0:32:0 gen 0 [ 491.068383][ T8754] node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX, btree topology error: [ 491.084434][ T8754] bcachefs (loop0): flagging btree snapshots lost data [ 491.088034][ T8754] bcachefs (loop0): error reading btree root btree=snapshots level=0: btree_node_read_error, fixing [ 491.096396][ T8754] bcachefs (loop0): scan_for_btree_nodes... [ 491.105181][ T8754] bcachefs (loop0): btree node scan found 6 nodes after overwrites [ 491.111250][ T8754] done [ 491.112992][ T8754] bcachefs (loop0): check_topology... [ 491.113528][ T8754] bcachefs (loop0): btree root subvolumes unreadable, must recover from scan [ 491.119608][ T8754] bcachefs (loop0): no nodes found for btree subvolumes, continuing [ 491.125540][ T8754] bcachefs (loop0): btree root snapshots unreadable, must recover from scan [ 491.129245][ T8754] bcachefs (loop0): bch2_get_scanned_nodes(): recovery btree=snapshots level=0 POS_MIN - SPOS_MAX [ 491.134717][ T8754] 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 [ 491.145353][ T8754] done [ 491.147554][ T8754] bcachefs (loop0): accounting_read... done [ 491.151273][ T8754] bcachefs (loop0): alloc_read... done [ 491.154275][ T8754] bcachefs (loop0): snapshots_read... [ 491.154968][ T8754] bcachefs (loop0): running explicit recovery pass reconstruct_snapshots (21), currently at snapshots_read (7) [ 491.164168][ T8754] done [ 491.165420][ T8754] bcachefs (loop0): check_allocations... [ 491.166304][ T8754] bcachefs (loop0): bucket 0:34 data type user ptr gen 0 missing in alloc btree [ 491.166317][ T8754] while marking u64s 7 type extent 4099:8:4294905343 len 8 ver 0: durability: 1 crc: c_size 8 size 8 offset 0 nonce 0 csum none 0:0 compress incompressible ptr: 0:34:0 gen 0, fixing [ 491.187610][ T8754] bcachefs (loop0): bucket 0:27 data type btree ptr gen 0 missing in alloc btree [ 491.187622][ T8754] 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, fixing [ 491.199318][ T8754] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 491.199329][ T8754] 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 [ 491.211833][ T8754] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 491.211848][ T8754] 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 [ 491.224493][ T8754] bcachefs (loop0): bucket 0:31 data type btree ptr gen 0 missing in alloc btree [ 491.224505][ T8754] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 2285c34bed0abe32 written 16 min_key POS_MIN durability: 1 ptr: 0:31:0 gen 0, fixing [ 491.238556][ T8754] bcachefs (loop0): bucket 0:32 data type btree ptr gen 0 missing in alloc btree [ 491.238571][ T8754] while marking 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, fixing [ 491.250088][ T8754] bcachefs (loop0): bucket 0:28 data type btree ptr gen 0 missing in alloc btree [ 491.250102][ T8754] 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 [ 491.262742][ T8754] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 491.262757][ T8754] 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 [ 491.273691][ T8754] bcachefs (loop0): bucket 0:37 data type btree ptr gen 0 missing in alloc btree [ 491.273705][ T8754] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 4a8b0fa43a9980a6 written 24 min_key POS_MIN durability: 1 ptr: 0:37:0 gen 0, fixing [ 491.285353][ T8754] bcachefs (loop0): bucket 0:42 data type btree ptr gen 0 missing in alloc btree [ 491.285367][ T8754] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 1db8f60c84bb244c written 8 min_key POS_MIN durability: 1 ptr: 0:42:0 gen 0, fixing [ 491.302575][ T8754] done [ 491.304681][ T8754] bcachefs (loop0): going read-write [ 491.309403][ T8754] bcachefs (loop0): journal_replay... done [ 491.347921][ T8754] bcachefs (loop0): check_alloc_info... [ 491.349260][ T8754] bcachefs (loop0): hole in alloc btree missing in freespace btree [ 491.349272][ T8754] device 0 buckets 26-27, fixing [ 491.358791][ T8754] bcachefs (loop0): hole in alloc btree missing in freespace btree [ 491.358805][ T8754] device 0 buckets 35-36, fixing [ 491.368030][ T8754] done [ 491.370061][ T8754] bcachefs (loop0): check_lrus... done [ 491.373516][ T8754] bcachefs (loop0): check_backpointers_to_extents... done [ 491.378218][ T8754] bcachefs (loop0): check_extents_to_backpointers... [ 491.378788][ T8754] bcachefs (loop0): scanning for missing backpointers in 5/128 buckets [ 491.386735][ T8754] done [ 491.388844][ T8754] bcachefs (loop0): reconstruct_snapshots... [ 491.389200][ T8754] bcachefs (loop0): snapshot node 4294905343 from tree 4294905343 missing, recreating [ 491.404912][ T8754] done [ 491.407129][ T8754] bcachefs (loop0): check_subvols... done [ 491.410212][ T8754] bcachefs (loop0): check_inodes... [ 491.410388][ T8754] bcachefs (loop0): reconstructing subvol 1 with root inode 4096 [ 491.416835][ T8754] bcachefs (loop0): reconstructing subvol 1 with root inode 4096 [ 491.420358][ T8754] bcachefs (loop0): reconstruct_subvol(): error getting snapshot tree 0 ENOENT_bkey_type_mismatch [ 491.425438][ T8754] bcachefs (loop0): check_inode(): error ENOENT_bkey_type_mismatch [ 491.428706][ T8754] bcachefs (loop0): bch2_check_inodes(): error ENOENT_bkey_type_mismatch [ 491.432752][ T1348] bcachefs (loop0): going read-only [ 491.434978][ T1348] bcachefs (loop0): finished waiting for writes to stop [ 491.439349][ T1348] bcachefs (loop0): flushing journal and stopping allocators, journal seq 19 [ 491.444257][ T8754] bcachefs (loop0): bch2_fs_recovery(): error ENOENT_bkey_type_mismatch [ 491.447704][ T8754] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOENT_bkey_type_mismatch [ 491.452874][ T1348] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 19 [ 491.457000][ T1348] bcachefs (loop0): unclean shutdown complete, journal seq 19 [ 491.460392][ T8754] bcachefs (loop0): shutting down [ 491.482755][ T1348] bcachefs (loop0): done going read-only, filesystem not clean [ 491.524444][ T8754] bcachefs (loop0): shutdown complete [ 492.063319][ T8754] bcachefs: bch2_fs_get_tree() error: ENOENT_bkey_type_mismatch [ 492.276459][ T1036] netdevsim netdevsim0 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 492.322207][ T1036] netdevsim netdevsim0 netdevsim2 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 492.362871][ T1036] netdevsim netdevsim0 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 492.404229][ T1036] netdevsim netdevsim0 netdevsim0 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 492.537638][ T1036] bridge_slave_1: left allmulticast mode [ 492.540365][ T1036] bridge_slave_1: left promiscuous mode [ 492.552034][ T1036] bridge0: port 2(bridge_slave_1) entered disabled state [ 492.557190][ T1036] bridge_slave_0: left allmulticast mode [ 492.559851][ T1036] bridge_slave_0: left promiscuous mode [ 492.572551][ T1036] bridge0: port 1(bridge_slave_0) entered disabled state [ 492.962877][ T1036] bond0 (unregistering): (slave bond_slave_0): Releasing backup interface [ 492.968649][ T1036] bond0 (unregistering): (slave bond_slave_1): Releasing backup interface [ 492.974854][ T1036] bond0 (unregistering): Released all slaves [ 493.186789][ T1036] hsr_slave_0: left promiscuous mode [ 493.196629][ T1036] hsr_slave_1: left promiscuous mode [ 493.212821][ T1036] batman_adv: batadv0: Interface deactivated: batadv_slave_0 [ 493.216429][ T1036] batman_adv: batadv0: Removing interface: batadv_slave_0 [ 493.231880][ T1036] batman_adv: batadv0: Interface deactivated: batadv_slave_1 [ 493.235188][ T1036] batman_adv: batadv0: Removing interface: batadv_slave_1 [ 493.258840][ T1036] veth1_macvtap: left promiscuous mode [ 493.261830][ T1036] veth0_macvtap: left promiscuous mode [ 493.264405][ T1036] veth1_vlan: left promiscuous mode [ 493.266758][ T1036] veth0_vlan: left promiscuous mode [ 493.623985][ T1036] team0 (unregistering): Port device team_slave_1 removed [ 493.646094][ T1036] team0 (unregistering): Port device team_slave_0 removed [ 506.533227][ T1311] ieee802154 phy0 wpan0: encryption failed: -22 [ 506.536046][ T1311] ieee802154 phy1 wpan1: encryption failed: -22