efs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 307.024418][ T6820] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 307.032433][ T6820] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 307.074449][ T6820] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 307.127122][ T6820] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 307.194947][ T6820] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 307.238246][ T6820] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 307.243505][ T6820] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 307.324159][ T6820] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 307.329847][ T6820] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 307.436553][ T6820] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 307.442205][ T6820] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 307.442222][ T6820] Ratelimiting new instances of previous error [ 307.537610][ T6820] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 307.537634][ T6820] Ratelimiting new instances of previous error [ 307.696791][ T6820] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 307.739849][ T6820] done [ 307.741984][ T6820] bcachefs (loop0): going read-write [ 307.827176][ T6820] workqueue: Failed to create a rescuer kthread for wq "bcachefs": -EINTR [ 307.827274][ T6820] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 307.924286][ T6820] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 307.928685][ T6820] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 307.995391][ T6820] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 307.999845][ T6820] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 308.114377][ T6820] bcachefs (loop0): shutting down [ 308.219472][ T6820] bcachefs (loop0): shutdown complete [ 309.817518][ T6820] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc 2025/06/17 14:17:28 executed programs: 251 [ 311.985697][ T6862] loop0: detected capacity change from 0 to 32768 [ 312.350758][ T6862] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 312.350776][ T6862] allowing incompatible features above 0.0: (unknown version) [ 312.350783][ T6862] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 312.535331][ T6862] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 312.584497][ T6862] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 312.616669][ T6862] bcachefs (loop0): Version upgrade required: [ 312.616669][ T6862] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 312.616669][ T6862] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 312.616669][ T6862] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,check_rebalance_work,set_fs_needs_rebalance [ 313.249187][ T6862] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 313.249208][ T6862] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 313.249217][ T6862] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 313.249223][ T6862] flagging btree extents lost data [ 313.249229][ T6862] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 313.249236][ T6862] ret btree_node_read_validate_error [ 313.476861][ T6862] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 313.623253][ T6862] bcachefs (loop0): check_topology... [ 313.623310][ T6862] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 313.684500][ T6862] bcachefs (loop0): no nodes found for btree extents, continuing [ 313.717252][ T6862] done [ 313.734620][ T6862] bcachefs (loop0): accounting_read... done [ 313.789886][ T6862] bcachefs (loop0): alloc_read... done [ 313.820732][ T6862] bcachefs (loop0): snapshots_read... done [ 313.874920][ T6862] bcachefs (loop0): check_allocations... [ 313.898267][ T6862] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 313.898286][ T6862] 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 [ 314.073580][ T6862] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 314.073601][ T6862] 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 [ 314.212577][ T6862] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 314.212598][ T6862] 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 [ 314.358097][ T6862] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 314.358117][ T6862] 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 [ 314.478783][ T6862] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 314.478802][ T6862] 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 [ 314.599642][ T6862] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 314.644673][ T6862] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 314.688172][ T6862] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 314.749137][ T6862] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 314.784739][ T6862] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 314.834483][ T6862] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 314.879888][ T6862] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 314.925515][ T6862] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 314.977727][ T6862] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 315.034346][ T6862] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 315.054973][ T6862] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 315.114190][ T6862] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 315.135055][ T6862] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 315.214312][ T6862] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 315.234912][ T6862] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 315.299955][ T6862] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 315.335286][ T6862] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 315.377636][ T6862] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing 2025/06/17 14:17:33 executed programs: 263 [ 315.444768][ T6862] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 315.479281][ T6862] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 315.536256][ T6862] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 315.536274][ T6862] Ratelimiting new instances of previous error [ 315.629164][ T6862] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 315.629184][ T6862] Ratelimiting new instances of previous error [ 315.768579][ T6862] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 315.943168][ T6862] done [ 315.947667][ T6862] bcachefs (loop0): going read-write [ 316.014691][ T6862] workqueue: Failed to create a rescuer kthread for wq "bcachefs_btree_write_complete": -EINTR [ 316.014788][ T6862] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 316.023736][ T6862] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 316.131151][ T6862] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 316.150359][ T6862] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 316.195092][ T6862] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 316.200262][ T6862] bcachefs (loop0): shutting down [ 316.355898][ T6862] bcachefs (loop0): shutdown complete [ 318.275189][ T6862] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc [ 320.431460][ T6907] loop0: detected capacity change from 0 to 32768 2025/06/17 14:17:39 executed programs: 276 [ 320.736737][ T6907] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 320.736756][ T6907] allowing incompatible features above 0.0: (unknown version) [ 320.736763][ T6907] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 320.928757][ T6907] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 320.932445][ T6907] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 320.977386][ T6907] bcachefs (loop0): Version upgrade required: [ 320.977386][ T6907] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 320.977386][ T6907] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 320.977386][ T6907] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,check_rebalance_work,set_fs_needs_rebalance [ 322.136547][ T6907] bcachefs (loop0): error reallocating journal fifo (32768 open entries) [ 322.157407][ T6907] bcachefs (loop0): error in recovery: ENOMEM_journal_pin_fifoemergency read only at seq 0 [ 322.217255][ T6907] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_journal_pin_fifo [ 322.251857][ T6907] bcachefs (loop0): shutting down [ 322.402041][ T6907] bcachefs (loop0): shutdown complete [ 322.545048][ T1316] ieee802154 phy0 wpan0: encryption failed: -22 [ 322.547863][ T1316] ieee802154 phy1 wpan1: encryption failed: -22 [ 324.064531][ T6907] bcachefs: bch2_fs_get_tree() error: ENOMEM_journal_pin_fifo 2025/06/17 14:17:44 executed programs: 289 [ 326.420572][ T6937] loop0: detected capacity change from 0 to 32768 [ 326.737282][ T6937] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 326.737309][ T6937] allowing incompatible features above 0.0: (unknown version) [ 326.737316][ T6937] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 326.940928][ T6937] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 326.974357][ T6937] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 326.997270][ T6937] bcachefs (loop0): Version upgrade required: [ 326.997270][ T6937] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 326.997270][ T6937] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 326.997270][ T6937] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,check_rebalance_work,set_fs_needs_rebalance [ 328.228993][ T6937] syz.0.288: vmalloc error: size 7077888, failed to allocated page array size 13824, mode:0xcc2(GFP_KERNEL|__GFP_HIGHMEM), nodemask=(null),cpuset=/,mems_allowed=0-1 [ 328.302846][ T6937] CPU: 0 UID: 0 PID: 6937 Comm: syz.0.288 Not tainted 6.16.0-rc2-syzkaller-g9afe652958c3 #0 PREEMPT(full) [ 328.302871][ T6937] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 328.302879][ T6937] Call Trace: [ 328.302887][ T6937] [ 328.302894][ T6937] dump_stack_lvl+0x189/0x250 [ 328.302964][ T6937] ? __pfx_dump_stack_lvl+0x10/0x10 [ 328.302985][ T6937] ? __pfx__printk+0x10/0x10 [ 328.303026][ T6937] ? cpuset_print_current_mems_allowed+0x1f/0x360 [ 328.303050][ T6937] ? cpuset_print_current_mems_allowed+0x1f/0x360 [ 328.303065][ T6937] ? cpuset_print_current_mems_allowed+0x2ee/0x360 [ 328.303080][ T6937] warn_alloc+0x214/0x310 [ 328.303101][ T6937] ? __pfx_warn_alloc+0x10/0x10 [ 328.303120][ T6937] ? __get_vm_area_node+0x28f/0x300 [ 328.303135][ T6937] ? bch2_fs_journal_start+0x480/0x1510 [ 328.303158][ T6937] __vmalloc_node_range_noprof+0x67e/0x12f0 [ 328.303192][ T6937] ? __pfx___vmalloc_node_range_noprof+0x10/0x10 [ 328.303210][ T6937] ? rcu_is_watching+0x15/0xb0 [ 328.303249][ T6937] ? bch2_fs_journal_start+0x480/0x1510 [ 328.303266][ T6937] ? bch2_fs_journal_start+0x480/0x1510 [ 328.303281][ T6937] __kvmalloc_node_noprof+0x3b8/0x5f0 [ 328.303296][ T6937] ? bch2_fs_journal_start+0x480/0x1510 [ 328.303319][ T6937] bch2_fs_journal_start+0x480/0x1510 [ 328.303346][ T6937] ? bch2_journal_log_msg+0xd9/0x120 [ 328.303368][ T6937] ? __pfx_bch2_fs_journal_start+0x10/0x10 [ 328.303385][ T6937] ? __pfx_bch2_journal_log_msg+0x10/0x10 [ 328.303412][ T6937] bch2_fs_recovery+0x2237/0x3950 [ 328.303445][ T6937] ? __pfx_bch2_fs_recovery+0x10/0x10 [ 328.303466][ T6937] ? __pfx___console_unlock+0x10/0x10 [ 328.303508][ T6937] ? __lock_acquire+0xab9/0xd20 [ 328.303548][ T6937] ? __lock_acquire+0xab9/0xd20 [ 328.303574][ T6937] ? __lock_acquire+0xab9/0xd20 [ 328.303610][ T6937] ? bch2_fs_start+0x9fe/0xd90 [ 328.303623][ T6937] ? up_write+0x1c4/0x420 [ 328.303631][ T6937] ? bch2_fs_start+0x5c4/0xd90 [ 328.303643][ T6937] bch2_fs_start+0xa99/0xd90 [ 328.303657][ T6937] ? bch2_fs_start+0x5c4/0xd90 [ 328.303672][ T6937] ? __pfx_bch2_fs_start+0x10/0x10 [ 328.303700][ T6937] ? sget+0x267/0x620 [ 328.303724][ T6937] bch2_fs_get_tree+0xb02/0x14f0 [ 328.303763][ T6937] ? __pfx_bch2_fs_get_tree+0x10/0x10 [ 328.303795][ T6937] ? aa_get_newest_label+0xf7/0x5d0 [ 328.303813][ T6937] ? vfs_parse_monolithic_sep+0x2df/0x310 [ 328.303896][ T6937] ? apparmor_capable+0x137/0x1b0 [ 328.303912][ T6937] vfs_get_tree+0x92/0x2b0 [ 328.303928][ T6937] do_new_mount+0x24a/0xa40 [ 328.303949][ T6937] __se_sys_mount+0x317/0x410 [ 328.303969][ T6937] ? __pfx___se_sys_mount+0x10/0x10 [ 328.303988][ T6937] ? do_syscall_64+0xbe/0x3b0 [ 328.304060][ T6937] ? __x64_sys_mount+0x20/0xc0 [ 328.304076][ T6937] do_syscall_64+0xfa/0x3b0 [ 328.304088][ T6937] ? lockdep_hardirqs_on+0x9c/0x150 [ 328.304106][ T6937] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 328.304119][ T6937] ? clear_bhb_loop+0x60/0xb0 [ 328.304136][ T6937] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 328.304149][ T6937] RIP: 0033:0x7f65dbd874ca [ 328.304164][ T6937] Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 [ 328.304175][ T6937] RSP: 002b:00007f65dcaf9e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 [ 328.304218][ T6937] RAX: ffffffffffffffda RBX: 00007f65dcaf9ef0 RCX: 00007f65dbd874ca [ 328.304228][ T6937] RDX: 00000000200000c0 RSI: 0000000020000000 RDI: 00007f65dcaf9eb0 [ 328.304237][ T6937] RBP: 00000000200000c0 R08: 00007f65dcaf9ef0 R09: 0000000000800000 [ 328.304246][ T6937] R10: 0000000000800000 R11: 0000000000000246 R12: 0000000020000000 [ 328.304256][ T6937] R13: 00007f65dcaf9eb0 R14: 0000000000005962 R15: 0000000020005bc0 [ 328.304277][ T6937] [ 329.776974][ T6937] Mem-Info: [ 329.788787][ T6937] active_anon:34025 inactive_anon:8896 isolated_anon:0 [ 329.788787][ T6937] active_file:13162 inactive_file:82 isolated_file:0 [ 329.788787][ T6937] unevictable:1768 dirty:51 writeback:0 [ 329.788787][ T6937] slab_reclaimable:5108 slab_unreclaimable:50732 [ 329.788787][ T6937] mapped:11808 shmem:10445 pagetables:1072 [ 329.788787][ T6937] sec_pagetables:285 bounce:0 [ 329.788787][ T6937] kernel_misc_reclaimable:0 [ 329.788787][ T6937] free:23236 free_pcp:643 free_cma:0 [ 329.987324][ T6937] Node 0 active_anon:260kB inactive_anon:12kB active_file:136kB inactive_file:40kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:64kB dirty:20kB writeback:0kB shmem:0kB shmem_thp:0kB shmem_pmdmapped:0kB anon_thp:0kB writeback_tmp:0kB kernel_stack:3184kB pagetables:988kB sec_pagetables:1088kB all_unreclaimable? yes Balloon:0kB [ 330.110296][ T6937] Node 1 active_anon:151716kB inactive_anon:35320kB active_file:52512kB inactive_file:288kB unevictable:7072kB isolated(anon):0kB isolated(file):0kB mapped:47168kB dirty:184kB writeback:0kB shmem:57332kB shmem_thp:0kB shmem_pmdmapped:0kB anon_thp:0kB writeback_tmp:0kB kernel_stack:9424kB pagetables:3300kB sec_pagetables:52kB all_unreclaimable? no Balloon:0kB [ 330.258927][ T6937] Node 0 DMA free:2796kB boost:2048kB min:2808kB low:2996kB high:3184kB reserved_highatomic:0KB free_highatomic:0KB active_anon:76kB inactive_anon:4kB active_file:0kB inactive_file:24kB unevictable:0kB writepending:0kB present:15992kB managed:15360kB mlocked:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB [ 330.416540][ T6937] lowmem_reserve[]: 0 123 123 123 123 [ 330.428826][ T6937] Node 0 DMA32 free:10060kB boost:4096kB min:8964kB low:10180kB high:11396kB reserved_highatomic:0KB free_highatomic:0KB active_anon:176kB inactive_anon:8kB active_file:136kB inactive_file:16kB unevictable:0kB writepending:20kB present:770052kB managed:126156kB mlocked:0kB bounce:0kB free_pcp:2292kB local_pcp:2292kB free_cma:0kB [ 330.544228][ T6937] lowmem_reserve[]: 0 0 0 0 0 [ 330.563053][ T6937] Node 1 DMA32 free:60460kB boost:0kB min:34312kB low:42888kB high:51464kB reserved_highatomic:2048KB free_highatomic:92KB active_anon:154792kB inactive_anon:35308kB active_file:52512kB inactive_file:288kB unevictable:7072kB writepending:184kB present:786288kB managed:690876kB mlocked:0kB bounce:0kB free_pcp:1032kB local_pcp:1032kB free_cma:0kB [ 330.704112][ T6937] lowmem_reserve[]: 0 0 0 0 0 [ 330.724619][ T6937] Node 0 DMA: 83*4kB (UE) 56*8kB (UE) 14*16kB (UE) 28*32kB (UE) 4*64kB (UE) 1*128kB (U) 0*256kB 1*512kB (E) 0*1024kB 0*2048kB 0*4096kB = 2796kB [ 330.796996][ T6937] Node 0 DMA32: 229*4kB (UME) 143*8kB (UME) 54*16kB (UE) 113*32kB (U) 17*64kB (UE) 7*128kB (U) 4*256kB (UME) 1*512kB (M) 0*1024kB 0*2048kB 0*4096kB = 10060kB [ 330.848517][ T6937] Node 1 DMA32: 54*4kB (UMEH) 357*8kB (UM) 189*16kB (UMH) 22*32kB (UMEH) 79*64kB (UME) 89*128kB (UME) 84*256kB (UM) 13*512kB (UM) 9*1024kB (UME) 0*2048kB 0*4096kB = 60624kB [ 330.926442][ T6937] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=1048576kB [ 330.963277][ T6937] Node 0 hugepages_total=2 hugepages_free=2 hugepages_surp=0 hugepages_size=2048kB [ 331.020749][ T6937] Node 1 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=1048576kB [ 331.074105][ T6937] Node 1 hugepages_total=2 hugepages_free=2 hugepages_surp=0 hugepages_size=2048kB [ 331.116865][ T6937] 31239 total pagecache pages [ 331.134567][ T6937] 3576 pages in swap cache [ 331.154334][ T6937] Free swap = 75160kB [ 331.170032][ T6937] Total swap = 124996kB [ 331.184054][ T6937] 393083 pages RAM [ 331.214059][ T6937] 0 pages HighMem/MovableOnly [ 331.232168][ T6937] 184985 pages reserved [ 331.252289][ T6937] 0 pages cma reserved [ 331.308861][ T6937] bcachefs (loop0): error reallocating journal fifo (32768 open entries) [ 331.344469][ T6937] bcachefs (loop0): error in recovery: ENOMEM_journal_pin_fifoemergency read only at seq 0 2025/06/17 14:17:49 executed programs: 300 [ 331.399468][ T6937] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_journal_pin_fifo [ 331.447449][ T6937] bcachefs (loop0): shutting down [ 331.644760][ T6937] bcachefs (loop0): shutdown complete [ 332.904588][ T6937] bcachefs: bch2_fs_get_tree() error: ENOMEM_journal_pin_fifo [ 335.192360][ T6978] loop0: detected capacity change from 0 to 32768 [ 335.497936][ T6978] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 335.497957][ T6978] allowing incompatible features above 0.0: (unknown version) [ 335.497965][ T6978] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 335.710844][ T6978] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 335.724152][ T6978] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 335.728149][ T6978] bcachefs (loop0): Version upgrade required: [ 335.728149][ T6978] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 335.728149][ T6978] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 335.728149][ T6978] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,check_rebalance_work,set_fs_needs_rebalance [ 336.549542][ T6978] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 336.549561][ T6978] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 336.549573][ T6978] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 336.549580][ T6978] flagging btree extents lost data [ 336.549587][ T6978] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 336.549597][ T6978] ret btree_node_read_validate_error [ 336.770499][ T6978] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing 2025/06/17 14:17:55 executed programs: 313 [ 336.915949][ T6978] bcachefs (loop0): check_topology... [ 336.916008][ T6978] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 336.954248][ T6978] bcachefs (loop0): no nodes found for btree extents, continuing [ 337.009616][ T6978] done [ 337.011298][ T6978] bcachefs (loop0): accounting_read... done [ 337.047034][ T6978] bcachefs (loop0): alloc_read... done [ 337.094289][ T6978] bcachefs (loop0): snapshots_read... done [ 337.134368][ T6978] bcachefs (loop0): check_allocations... [ 337.183136][ T6978] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 337.183149][ T6978] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 337.337811][ T6978] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 337.337830][ T6978] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 337.467091][ T6978] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 337.467108][ T6978] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 337.667293][ T6978] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 337.667313][ T6978] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 337.796446][ T6978] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 337.796469][ T6978] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 337.914857][ T6978] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 337.920089][ T6978] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 338.008499][ T6978] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 338.061617][ T6978] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 338.104522][ T6978] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 338.156981][ T6978] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 338.204832][ T6978] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 338.289928][ T6978] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 338.324251][ T6978] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 338.329016][ T6978] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 338.437266][ T6978] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 338.441990][ T6978] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 338.523122][ T6978] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 338.574728][ T6978] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 338.621110][ T6978] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 338.655323][ T6978] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 338.714756][ T6978] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 338.744263][ T6978] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 338.750121][ T6978] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 338.844619][ T6978] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 338.885431][ T6978] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 338.885448][ T6978] Ratelimiting new instances of previous error [ 338.974187][ T6978] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 338.974278][ T6978] Ratelimiting new instances of previous error [ 339.064550][ T6978] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 339.139001][ T6978] done [ 339.140687][ T6978] bcachefs (loop0): going read-write [ 339.194342][ T6978] workqueue: Failed to create a rescuer kthread for wq "bcachefs_btree_write_complete": -EINTR [ 339.194452][ T6978] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 339.290057][ T6978] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 339.337003][ T6978] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 339.376111][ T6978] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 339.440395][ T6978] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 339.484910][ T6978] bcachefs (loop0): shutting down [ 339.577037][ T6978] bcachefs (loop0): shutdown complete [ 341.237025][ T6978] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc 2025/06/17 14:18:00 executed programs: 326 [ 343.597083][ T7026] loop0: detected capacity change from 0 to 32768 [ 343.974174][ T7026] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 343.974196][ T7026] allowing incompatible features above 0.0: (unknown version) [ 343.974204][ T7026] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 344.110423][ T7026] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 344.174286][ T7026] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 344.214243][ T7026] bcachefs (loop0): Version upgrade required: [ 344.214243][ T7026] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 344.214243][ T7026] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 344.214243][ T7026] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,check_rebalance_work,set_fs_needs_rebalance [ 344.824369][ T7026] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 344.824388][ T7026] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 344.824399][ T7026] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 344.824407][ T7026] flagging btree extents lost data [ 344.824414][ T7026] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 344.824422][ T7026] ret btree_node_read_validate_error [ 345.067310][ T7026] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 345.188645][ T7026] bcachefs (loop0): check_topology... [ 345.188705][ T7026] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 345.258060][ T7026] bcachefs (loop0): no nodes found for btree extents, continuing [ 345.320454][ T7026] done [ 345.322205][ T7026] bcachefs (loop0): accounting_read... done [ 345.383277][ T7026] bcachefs (loop0): alloc_read... done [ 345.407763][ T7026] bcachefs (loop0): snapshots_read... done [ 345.444223][ T7026] bcachefs (loop0): check_allocations... [ 345.458495][ T7026] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 345.458515][ T7026] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 345.620837][ T7026] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 345.620856][ T7026] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 345.741134][ T7026] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 345.741152][ T7026] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 345.905609][ T7026] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 345.905629][ T7026] 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 [ 346.031431][ T7026] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 346.031449][ T7026] 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 [ 346.169299][ T7026] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 346.234145][ T7026] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 346.262640][ T7026] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 346.311726][ T7026] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 346.357722][ T7026] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 346.413196][ T7026] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 346.470344][ T7026] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 346.514321][ T7026] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 346.539606][ T7026] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 346.607327][ T7026] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 346.649247][ T7026] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 346.705885][ T7026] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 346.778598][ T7026] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 346.783615][ T7026] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 346.861925][ T7026] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 346.934254][ T7026] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 346.939994][ T7026] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 347.034614][ T7026] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 347.094430][ T7026] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 347.123014][ T7026] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 347.194767][ T7026] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 347.194784][ T7026] Ratelimiting new instances of previous error [ 347.201934][ T7026] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 347.201951][ T7026] Ratelimiting new instances of previous error [ 347.361438][ T7026] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 347.423397][ T7026] done [ 347.478452][ T7026] bcachefs (loop0): going read-write [ 347.526279][ T7026] workqueue: Failed to create a rescuer kthread for wq "bcachefs_btree_write_complete": -EINTR [ 347.526371][ T7026] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 2025/06/17 14:18:06 executed programs: 337 [ 347.654699][ T7026] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 347.658976][ T7026] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 347.724436][ T7026] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 347.729474][ T7026] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 347.794018][ T7026] bcachefs (loop0): shutting down [ 347.918240][ T7026] bcachefs (loop0): shutdown complete [ 349.234494][ T7026] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc [ 351.401309][ T7071] loop0: detected capacity change from 0 to 32768 [ 351.745129][ T7071] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 351.745151][ T7071] allowing incompatible features above 0.0: (unknown version) [ 351.745156][ T7071] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 351.909178][ T7071] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 351.913506][ T7071] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 351.971916][ T7071] bcachefs (loop0): Version upgrade required: [ 351.971916][ T7071] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 351.971916][ T7071] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 351.971916][ T7071] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,check_rebalance_work,set_fs_needs_rebalance [ 352.564575][ T7071] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 352.564593][ T7071] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 352.564602][ T7071] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 352.564608][ T7071] flagging btree extents lost data [ 352.564613][ T7071] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 352.564620][ T7071] ret btree_node_read_validate_error 2025/06/17 14:18:11 executed programs: 350 [ 352.789780][ T7071] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 352.930105][ T7071] bcachefs (loop0): check_topology... [ 352.930173][ T7071] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 352.996709][ T7071] bcachefs (loop0): no nodes found for btree extents, continuing [ 353.076219][ T7071] done [ 353.095633][ T7071] bcachefs (loop0): accounting_read... done [ 353.195263][ T7071] bcachefs (loop0): alloc_read... done [ 353.224580][ T7071] bcachefs (loop0): snapshots_read... done [ 353.254417][ T7071] bcachefs (loop0): check_allocations... [ 353.315569][ T7071] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 353.315592][ T7071] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 353.464163][ T7071] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 353.464185][ T7071] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 353.580173][ T7071] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 353.580195][ T7071] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 353.739974][ T7071] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 353.739999][ T7071] 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 [ 353.848453][ T7071] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 353.848474][ T7071] 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 [ 353.968527][ T7071] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 353.973489][ T7071] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 354.070429][ T7071] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 354.114562][ T7071] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 354.176238][ T7071] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 354.180968][ T7071] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 354.263217][ T7071] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 354.314218][ T7071] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 354.373656][ T7071] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 354.399541][ T7071] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 354.464477][ T7071] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 354.493072][ T7071] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 354.554507][ T7071] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 354.559165][ T7071] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 354.634328][ T7071] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 354.639356][ T7071] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 354.722635][ T7071] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 354.794174][ T7071] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 354.830013][ T7071] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 354.879875][ T7071] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 354.947802][ T7071] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 354.947816][ T7071] Ratelimiting new instances of previous error [ 355.044743][ T7071] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 355.044759][ T7071] Ratelimiting new instances of previous error [ 355.184576][ T7071] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 355.314861][ T7071] done [ 355.316679][ T7071] bcachefs (loop0): going read-write [ 355.351714][ T7071] workqueue: Failed to create a rescuer kthread for wq "bcachefs_btree_write_complete": -EINTR [ 355.351810][ T7071] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 355.426506][ T7071] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 355.458273][ T7071] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 355.507222][ T7071] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 355.511673][ T7071] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 355.593720][ T7071] bcachefs (loop0): shutting down [ 355.706699][ T7071] bcachefs (loop0): shutdown complete [ 357.334712][ T7071] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc 2025/06/17 14:18:16 executed programs: 363 [ 359.568310][ T7114] loop0: detected capacity change from 0 to 32768 [ 359.887988][ T7114] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 359.888002][ T7114] allowing incompatible features above 0.0: (unknown version) [ 359.888008][ T7114] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 360.054285][ T7114] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 360.083154][ T7114] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 360.125316][ T7114] bcachefs (loop0): Version upgrade required: [ 360.125316][ T7114] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 360.125316][ T7114] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 360.125316][ T7114] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,check_rebalance_work,set_fs_needs_rebalance [ 360.740789][ T7114] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 360.740806][ T7114] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 360.740820][ T7114] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 360.740827][ T7114] flagging btree extents lost data [ 360.740832][ T7114] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 360.740840][ T7114] ret btree_node_read_validate_error [ 360.984593][ T7114] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 361.102908][ T7114] bcachefs (loop0): check_topology... [ 361.102969][ T7114] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 361.156173][ T7114] bcachefs (loop0): no nodes found for btree extents, continuing [ 361.195459][ T7114] done [ 361.215212][ T7114] bcachefs (loop0): accounting_read... done [ 361.237514][ T7114] bcachefs (loop0): alloc_read... done [ 361.291392][ T7114] bcachefs (loop0): snapshots_read... done [ 361.335626][ T7114] bcachefs (loop0): check_allocations... [ 361.358912][ T7114] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 361.358931][ T7114] 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 [ 361.512136][ T7114] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 361.512156][ T7114] 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 [ 361.634523][ T7114] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 361.634540][ T7114] 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 [ 361.782726][ T7114] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 361.782748][ T7114] 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 [ 361.875687][ T7114] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 361.875707][ T7114] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 362.032008][ T7114] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 362.064907][ T7114] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 362.128930][ T7114] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 362.178836][ T7114] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 362.234716][ T7114] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 362.264296][ T7114] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 362.305129][ T7114] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 362.374248][ T7114] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 362.409865][ T7114] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 362.461068][ T7114] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 362.498722][ T7114] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 362.574465][ T7114] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 362.624995][ T7114] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 362.674405][ T7114] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 362.715826][ T7114] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 362.748596][ T7114] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 362.800900][ T7114] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 362.858782][ T7114] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 362.908748][ T7114] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 362.966776][ T7114] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 362.972796][ T7114] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 362.972813][ T7114] Ratelimiting new instances of previous error [ 363.087657][ T7114] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 363.087677][ T7114] Ratelimiting new instances of previous error [ 363.254429][ T7114] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 363.291859][ T7114] done [ 363.344795][ T7114] bcachefs (loop0): going read-write [ 363.384671][ T7114] workqueue: Failed to create a rescuer kthread for wq "bcachefs_btree_write_complete": -EINTR [ 363.384850][ T7114] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 363.456312][ T7114] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 2025/06/17 14:18:21 executed programs: 374 [ 363.553383][ T7114] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 363.594255][ T7114] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 363.650246][ T7114] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 363.693260][ T7114] bcachefs (loop0): shutting down [ 363.837773][ T7114] bcachefs (loop0): shutdown complete [ 365.438515][ T7114] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc [ 367.837081][ T7157] loop0: detected capacity change from 0 to 32768 [ 368.171826][ T7157] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 368.171845][ T7157] allowing incompatible features above 0.0: (unknown version) [ 368.171852][ T7157] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 368.364168][ T7157] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 368.400946][ T7157] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 368.421587][ T7157] bcachefs (loop0): Version upgrade required: [ 368.421587][ T7157] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 368.421587][ T7157] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 368.421587][ T7157] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,check_rebalance_work,set_fs_needs_rebalance 2025/06/17 14:18:27 executed programs: 387 [ 369.108463][ T7157] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 369.108481][ T7157] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 369.108491][ T7157] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 369.108498][ T7157] flagging btree extents lost data [ 369.108504][ T7157] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 369.108510][ T7157] ret btree_node_read_validate_error [ 369.345977][ T7157] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 369.446237][ T7157] bcachefs (loop0): check_topology... [ 369.446302][ T7157] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 369.517295][ T7157] bcachefs (loop0): no nodes found for btree extents, continuing [ 369.557658][ T7157] done [ 369.566928][ T7157] bcachefs (loop0): accounting_read... done [ 369.624217][ T7157] bcachefs (loop0): alloc_read... done [ 369.697051][ T7157] bcachefs (loop0): snapshots_read... done [ 369.707876][ T7157] bcachefs (loop0): check_allocations... [ 369.729724][ T7157] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 369.729745][ T7157] 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 [ 369.918872][ T7157] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 369.918890][ T7157] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 370.049227][ T7157] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 370.049247][ T7157] 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 [ 370.202008][ T7157] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 370.202026][ T7157] 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 [ 370.322433][ T7157] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 370.322452][ T7157] 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 [ 370.424567][ T7157] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 370.464224][ T7157] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 370.547542][ T7157] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 370.551930][ T7157] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 370.624831][ T7157] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 370.629928][ T7157] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 370.724542][ T7157] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 370.729362][ T7157] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 370.797401][ T7157] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 370.864529][ T7157] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 370.870168][ T7157] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 370.955324][ T7157] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 370.960641][ T7157] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 371.064780][ T7157] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 371.114631][ T7157] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 371.119559][ T7157] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 371.204983][ T7157] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 371.210126][ T7157] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 371.294531][ T7157] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 371.349023][ T7157] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 371.402862][ T7157] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 371.402880][ T7157] Ratelimiting new instances of previous error [ 371.453714][ T7157] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 371.453732][ T7157] Ratelimiting new instances of previous error [ 371.607040][ T7157] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 371.662363][ T7157] done [ 371.705499][ T7157] bcachefs (loop0): going read-write [ 371.764363][ T7157] workqueue: Failed to create a rescuer kthread for wq "bcachefs_btree_write_complete": -EINTR [ 371.764467][ T7157] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 371.837611][ T7157] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 371.841927][ T7157] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 371.940770][ T7157] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 371.990077][ T7157] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 372.023659][ T7157] bcachefs (loop0): shutting down [ 372.140703][ T7157] bcachefs (loop0): shutdown complete [ 373.868845][ T7157] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc 2025/06/17 14:18:32 executed programs: 399 [ 375.932938][ T7200] loop0: detected capacity change from 0 to 32768 [ 376.230396][ T7200] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 376.230416][ T7200] allowing incompatible features above 0.0: (unknown version) [ 376.230422][ T7200] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 376.416391][ T7200] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 376.420446][ T7200] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 376.498080][ T7200] bcachefs (loop0): Version upgrade required: [ 376.498080][ T7200] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 376.498080][ T7200] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 376.498080][ T7200] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,check_rebalance_work,set_fs_needs_rebalance [ 377.190101][ T7200] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 377.190125][ T7200] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 377.190135][ T7200] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 377.190142][ T7200] flagging btree extents lost data [ 377.190147][ T7200] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 377.190153][ T7200] ret btree_node_read_validate_error [ 377.408915][ T7200] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 377.558208][ T7200] bcachefs (loop0): check_topology... [ 377.558271][ T7200] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 377.645583][ T7200] bcachefs (loop0): no nodes found for btree extents, continuing [ 377.695700][ T7200] done [ 377.697128][ T7200] bcachefs (loop0): accounting_read... done [ 377.764114][ T7200] bcachefs (loop0): alloc_read... done [ 377.821752][ T7200] bcachefs (loop0): snapshots_read... done [ 377.845044][ T7200] bcachefs (loop0): check_allocations... [ 377.850326][ T7200] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 377.850345][ T7200] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 378.006118][ T7200] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 378.006143][ T7200] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 378.157667][ T7200] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 378.157687][ T7200] 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 [ 378.304702][ T7200] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 378.304726][ T7200] 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 [ 378.437332][ T7200] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 378.437353][ T7200] 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 [ 378.552386][ T7200] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 378.628546][ T7200] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 378.684926][ T7200] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 378.724267][ T7200] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 378.774780][ T7200] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 378.814334][ T7200] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 378.894832][ T7200] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 378.914262][ T7200] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 378.979845][ T7200] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 379.035093][ T7200] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 379.088948][ T7200] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 379.121757][ T7200] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 379.159677][ T7200] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 379.209610][ T7200] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 379.273573][ T7200] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing 2025/06/17 14:18:37 executed programs: 411 [ 379.334259][ T7200] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 379.386815][ T7200] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 379.391416][ T7200] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 379.477918][ T7200] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 379.483041][ T7200] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 379.605364][ T7200] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 379.605383][ T7200] Ratelimiting new instances of previous error [ 379.677779][ T7200] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 379.677800][ T7200] Ratelimiting new instances of previous error [ 379.868033][ T7200] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 379.933488][ T7200] done [ 379.984685][ T7200] bcachefs (loop0): going read-write [ 380.035707][ T7200] workqueue: Failed to create a rescuer kthread for wq "bcachefs": -EINTR [ 380.035878][ T7200] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 380.107890][ T7200] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 380.112363][ T7200] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 380.201832][ T7200] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 380.247316][ T7200] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 380.294109][ T7200] bcachefs (loop0): shutting down [ 380.408547][ T7200] bcachefs (loop0): shutdown complete [ 382.071963][ T7200] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc [ 383.969301][ T1316] ieee802154 phy0 wpan0: encryption failed: -22 [ 383.972251][ T1316] ieee802154 phy1 wpan1: encryption failed: -22 [ 384.221266][ T7244] loop0: detected capacity change from 0 to 32768 2025/06/17 14:18:43 executed programs: 425 [ 384.573111][ T7244] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 384.573136][ T7244] allowing incompatible features above 0.0: (unknown version) [ 384.573143][ T7244] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 384.691809][ T7244] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 384.775369][ T7244] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 384.779310][ T7244] bcachefs (loop0): Version upgrade required: [ 384.779310][ T7244] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 384.779310][ T7244] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 384.779310][ T7244] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,check_rebalance_work,set_fs_needs_rebalance [ 385.947706][ T7244] syz.0.423: vmalloc error: size 7077888, failed to allocated page array size 13824, mode:0xcc2(GFP_KERNEL|__GFP_HIGHMEM), nodemask=(null),cpuset=/,mems_allowed=0-1 [ 386.024152][ T7244] CPU: 0 UID: 0 PID: 7244 Comm: syz.0.423 Not tainted 6.16.0-rc2-syzkaller-g9afe652958c3 #0 PREEMPT(full) [ 386.024176][ T7244] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 386.024184][ T7244] Call Trace: [ 386.024190][ T7244] [ 386.024195][ T7244] dump_stack_lvl+0x189/0x250 [ 386.024253][ T7244] ? __pfx_dump_stack_lvl+0x10/0x10 [ 386.024271][ T7244] ? __pfx__printk+0x10/0x10 [ 386.024322][ T7244] ? cpuset_print_current_mems_allowed+0x1f/0x360 [ 386.024335][ T7244] ? cpuset_print_current_mems_allowed+0x1f/0x360 [ 386.024348][ T7244] ? cpuset_print_current_mems_allowed+0x2ee/0x360 [ 386.024361][ T7244] warn_alloc+0x214/0x310 [ 386.024378][ T7244] ? __pfx_warn_alloc+0x10/0x10 [ 386.024396][ T7244] ? __get_vm_area_node+0x28f/0x300 [ 386.024407][ T7244] ? bch2_fs_journal_start+0x480/0x1510 [ 386.024425][ T7244] __vmalloc_node_range_noprof+0x67e/0x12f0 [ 386.024452][ T7244] ? __pfx___vmalloc_node_range_noprof+0x10/0x10 [ 386.024467][ T7244] ? rcu_is_watching+0x15/0xb0 [ 386.024504][ T7244] ? bch2_fs_journal_start+0x480/0x1510 [ 386.024516][ T7244] ? bch2_fs_journal_start+0x480/0x1510 [ 386.024527][ T7244] __kvmalloc_node_noprof+0x3b8/0x5f0 [ 386.024546][ T7244] ? bch2_fs_journal_start+0x480/0x1510 [ 386.024567][ T7244] bch2_fs_journal_start+0x480/0x1510 [ 386.024590][ T7244] ? bch2_journal_log_msg+0xd9/0x120 [ 386.024612][ T7244] ? __pfx_bch2_fs_journal_start+0x10/0x10 [ 386.024626][ T7244] ? __pfx_bch2_journal_log_msg+0x10/0x10 [ 386.024649][ T7244] bch2_fs_recovery+0x2237/0x3950 [ 386.024677][ T7244] ? __pfx_bch2_fs_recovery+0x10/0x10 [ 386.024693][ T7244] ? __pfx___console_unlock+0x10/0x10 [ 386.025577][ T7244] ? __lock_acquire+0xab9/0xd20 [ 386.025600][ T7244] ? __lock_acquire+0xab9/0xd20 [ 386.025620][ T7244] ? __lock_acquire+0xab9/0xd20 [ 386.025653][ T7244] ? bch2_fs_start+0x9fe/0xd90 [ 386.025670][ T7244] ? up_write+0x1c4/0x420 [ 386.025680][ T7244] ? bch2_fs_start+0x5c4/0xd90 [ 386.025693][ T7244] bch2_fs_start+0xa99/0xd90 [ 386.025709][ T7244] ? bch2_fs_start+0x5c4/0xd90 [ 386.025722][ T7244] ? __pfx_bch2_fs_start+0x10/0x10 [ 386.025746][ T7244] ? sget+0x267/0x620 [ 386.025767][ T7244] bch2_fs_get_tree+0xb02/0x14f0 [ 386.025795][ T7244] ? __pfx_bch2_fs_get_tree+0x10/0x10 [ 386.025819][ T7244] ? aa_get_newest_label+0xf7/0x5d0 [ 386.025833][ T7244] ? vfs_parse_monolithic_sep+0x2df/0x310 [ 386.025852][ T7244] ? apparmor_capable+0x137/0x1b0 [ 386.025865][ T7244] vfs_get_tree+0x92/0x2b0 [ 386.025879][ T7244] do_new_mount+0x24a/0xa40 [ 386.025898][ T7244] __se_sys_mount+0x317/0x410 [ 386.025915][ T7244] ? __pfx___se_sys_mount+0x10/0x10 [ 386.025931][ T7244] ? do_syscall_64+0xbe/0x3b0 [ 386.029546][ T7244] ? __x64_sys_mount+0x20/0xc0 [ 386.029567][ T7244] do_syscall_64+0xfa/0x3b0 [ 386.029578][ T7244] ? lockdep_hardirqs_on+0x9c/0x150 [ 386.029596][ T7244] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 386.029607][ T7244] ? clear_bhb_loop+0x60/0xb0 [ 386.029621][ T7244] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 386.029632][ T7244] RIP: 0033:0x7f65dbd874ca [ 386.029644][ T7244] Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 [ 386.029656][ T7244] RSP: 002b:00007f65dcaf9e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 [ 386.029672][ T7244] RAX: ffffffffffffffda RBX: 00007f65dcaf9ef0 RCX: 00007f65dbd874ca [ 386.029680][ T7244] RDX: 00000000200000c0 RSI: 0000000020000000 RDI: 00007f65dcaf9eb0 [ 386.029689][ T7244] RBP: 00000000200000c0 R08: 00007f65dcaf9ef0 R09: 0000000000800000 [ 386.029697][ T7244] R10: 0000000000800000 R11: 0000000000000246 R12: 0000000020000000 [ 386.029705][ T7244] R13: 00007f65dcaf9eb0 R14: 0000000000005962 R15: 0000000020005bc0 [ 386.029722][ T7244] [ 386.264133][ T7244] Mem-Info: [ 386.276163][ T7244] active_anon:35078 inactive_anon:4463 isolated_anon:0 [ 386.276163][ T7244] active_file:13178 inactive_file:82 isolated_file:0 [ 386.276163][ T7244] unevictable:1768 dirty:51 writeback:0 [ 386.276163][ T7244] slab_reclaimable:5134 slab_unreclaimable:51047 [ 386.276163][ T7244] mapped:11809 shmem:10726 pagetables:1065 [ 386.276163][ T7244] sec_pagetables:285 bounce:0 [ 386.276163][ T7244] kernel_misc_reclaimable:0 [ 386.276163][ T7244] free:24426 free_pcp:196 free_cma:0 [ 386.408929][ T7244] Node 0 active_anon:1688kB inactive_anon:12kB active_file:136kB inactive_file:40kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:68kB dirty:20kB writeback:0kB shmem:1436kB shmem_thp:0kB shmem_pmdmapped:0kB anon_thp:0kB writeback_tmp:0kB kernel_stack:3184kB pagetables:1000kB sec_pagetables:1088kB all_unreclaimable? yes Balloon:0kB [ 386.521846][ T7244] Node 1 active_anon:127620kB inactive_anon:17580kB active_file:52584kB inactive_file:288kB unevictable:7072kB isolated(anon):0kB isolated(file):0kB mapped:47168kB dirty:184kB writeback:0kB shmem:30588kB shmem_thp:0kB shmem_pmdmapped:0kB anon_thp:0kB writeback_tmp:0kB kernel_stack:9424kB pagetables:3356kB sec_pagetables:52kB all_unreclaimable? no Balloon:0kB [ 386.655427][ T7244] Node 0 DMA free:2800kB boost:2048kB min:2808kB low:2996kB high:3184kB reserved_highatomic:0KB free_highatomic:0KB active_anon:76kB inactive_anon:4kB active_file:0kB inactive_file:24kB unevictable:0kB writepending:0kB present:15992kB managed:15360kB mlocked:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB [ 386.754122][ T7244] lowmem_reserve[]: 0 123 123 123 123 [ 386.774030][ T7244] Node 0 DMA32 free:10044kB boost:4096kB min:8964kB low:10180kB high:11396kB reserved_highatomic:0KB free_highatomic:0KB active_anon:184kB inactive_anon:8kB active_file:136kB inactive_file:16kB unevictable:0kB writepending:20kB present:770052kB managed:126156kB mlocked:0kB bounce:0kB free_pcp:1916kB local_pcp:1916kB free_cma:0kB [ 386.882193][ T7244] lowmem_reserve[]: 0 0 0 0 0 [ 386.904262][ T7244] Node 1 DMA32 free:87596kB boost:0kB min:34312kB low:42888kB high:51464kB reserved_highatomic:2048KB free_highatomic:92KB active_anon:134496kB inactive_anon:17580kB active_file:52584kB inactive_file:288kB unevictable:7072kB writepending:184kB present:786288kB managed:690876kB mlocked:0kB bounce:0kB free_pcp:2108kB local_pcp:2108kB free_cma:0kB [ 387.018284][ T7244] lowmem_reserve[]: 0 0 0 0 0 [ 387.020724][ T7244] Node 0 DMA: 82*4kB (UE) 57*8kB (UE) 14*16kB (UE) 28*32kB (UE) 4*64kB (UE) 1*128kB (U) 0*256kB 1*512kB (E) 0*1024kB 0*2048kB 0*4096kB = 2800kB [ 387.090360][ T7244] Node 0 DMA32: 41*4kB (UE) 139*8kB (UE) 58*16kB (UE) 123*32kB (U) 17*64kB (UE) 10*128kB (UM) 4*256kB (UME) 1*512kB (M) 0*1024kB 0*2048kB 0*4096kB = 10044kB [ 387.144057][ T7244] Node 1 DMA32: 9*4kB (MEH) 324*8kB (UME) 553*16kB (UMH) 190*32kB (UMEH) 110*64kB (UM) 79*128kB (UME) 78*256kB (UM) 16*512kB (UM) 11*1024kB (UME) 0*2048kB 0*4096kB = 74132kB [ 387.195415][ T7244] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=1048576kB [ 387.249201][ T7244] Node 0 hugepages_total=2 hugepages_free=2 hugepages_surp=0 hugepages_size=2048kB [ 387.283534][ T7244] Node 1 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=1048576kB [ 387.308614][ T7244] Node 1 hugepages_total=2 hugepages_free=2 hugepages_surp=0 hugepages_size=2048kB [ 387.334141][ T7244] 31212 total pagecache pages [ 387.374506][ T7244] 3567 pages in swap cache [ 387.394399][ T7244] Free swap = 60520kB [ 387.404791][ T7244] Total swap = 124996kB [ 387.406863][ T7244] 393083 pages RAM [ 387.423995][ T7244] 0 pages HighMem/MovableOnly [ 387.445052][ T7244] 184985 pages reserved [ 387.465447][ T7244] 0 pages cma reserved [ 387.509302][ T7244] bcachefs (loop0): error reallocating journal fifo (32768 open entries) [ 387.554161][ T7244] bcachefs (loop0): error in recovery: ENOMEM_journal_pin_fifoemergency read only at seq 0 [ 387.604258][ T7244] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_journal_pin_fifo [ 387.654045][ T7244] bcachefs (loop0): shutting down [ 387.799081][ T7244] bcachefs (loop0): shutdown complete [ 389.288265][ T7244] bcachefs: bch2_fs_get_tree() error: ENOMEM_journal_pin_fifo 2025/06/17 14:18:49 executed programs: 437 [ 391.552560][ T7278] loop0: detected capacity change from 0 to 32768 [ 391.945622][ T7278] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 391.945646][ T7278] allowing incompatible features above 0.0: (unknown version) [ 391.945654][ T7278] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 392.098727][ T7278] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 392.102570][ T7278] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 392.164262][ T7278] bcachefs (loop0): Version upgrade required: [ 392.164262][ T7278] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 392.164262][ T7278] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 392.164262][ T7278] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,check_rebalance_work,set_fs_needs_rebalance [ 393.310067][ T7278] bcachefs (loop0): error reallocating journal fifo (32768 open entries) [ 393.339003][ T7278] bcachefs (loop0): error in recovery: ENOMEM_journal_pin_fifoemergency read only at seq 0 [ 393.377769][ T7278] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_journal_pin_fifo [ 393.444204][ T7278] bcachefs (loop0): shutting down [ 393.572197][ T7278] bcachefs (loop0): shutdown complete [ 394.805721][ T7278] bcachefs: bch2_fs_get_tree() error: ENOMEM_journal_pin_fifo 2025/06/17 14:18:54 executed programs: 451 [ 397.171376][ T7307] loop0: detected capacity change from 0 to 32768 [ 397.497587][ T7307] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 397.497607][ T7307] allowing incompatible features above 0.0: (unknown version) [ 397.497614][ T7307] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 397.633600][ T7307] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 397.744191][ T7307] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 397.748759][ T7307] bcachefs (loop0): Version upgrade required: [ 397.748759][ T7307] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 397.748759][ T7307] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 397.748759][ T7307] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,check_rebalance_work,set_fs_needs_rebalance [ 398.462518][ T7307] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 398.462537][ T7307] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 398.462547][ T7307] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 398.462555][ T7307] flagging btree extents lost data [ 398.462561][ T7307] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 398.462570][ T7307] ret btree_node_read_validate_error [ 398.692167][ T7307] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 398.819793][ T7307] bcachefs (loop0): check_topology... [ 398.819857][ T7307] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 398.897093][ T7307] bcachefs (loop0): no nodes found for btree extents, continuing [ 398.924129][ T7307] done [ 398.934931][ T7307] bcachefs (loop0): accounting_read... done [ 398.986522][ T7307] bcachefs (loop0): alloc_read... done [ 399.018228][ T7307] bcachefs (loop0): snapshots_read... done [ 399.074097][ T7307] bcachefs (loop0): check_allocations... [ 399.092951][ T7307] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 399.092975][ T7307] 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 [ 399.230861][ T7307] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 399.230878][ T7307] 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 [ 399.400754][ T7307] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 399.400777][ T7307] 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 [ 399.494744][ T7307] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 399.494763][ T7307] 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 [ 399.624896][ T7307] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 399.624914][ T7307] 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 [ 399.742299][ T7307] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 399.804360][ T7307] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 399.855302][ T7307] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 399.890335][ T7307] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 399.946941][ T7307] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 399.987962][ T7307] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 400.035669][ T7307] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 400.080529][ T7307] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 400.129058][ T7307] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 400.191166][ T7307] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 400.233670][ T7307] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 400.292561][ T7307] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 400.351774][ T7307] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 400.398786][ T7307] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 400.449678][ T7307] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 400.499015][ T7307] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 400.568044][ T7307] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 400.608096][ T7307] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 400.613707][ T7307] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 400.690805][ T7307] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 400.761671][ T7307] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 400.761687][ T7307] Ratelimiting new instances of previous error [ 400.810646][ T7307] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 400.810659][ T7307] Ratelimiting new instances of previous error [ 400.957383][ T7307] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 401.027835][ T7307] done [ 401.029534][ T7307] bcachefs (loop0): going read-write [ 401.075039][ T7307] workqueue: Failed to create a rescuer kthread for wq "bcachefs_btree_write_complete": -EINTR [ 401.075133][ T7307] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 401.187913][ T7307] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 401.192270][ T7307] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 401.267599][ T7307] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 401.272514][ T7307] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 401.344180][ T7307] bcachefs (loop0): shutting down [ 401.478300][ T7307] bcachefs (loop0): shutdown complete 2025/06/17 14:19:00 executed programs: 463 [ 402.943225][ T7307] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc [ 405.236134][ T7347] loop0: detected capacity change from 0 to 32768 [ 405.516511][ T7347] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 405.516538][ T7347] allowing incompatible features above 0.0: (unknown version) [ 405.516551][ T7347] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 405.707799][ T7347] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 405.733812][ T7347] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 405.737962][ T7347] bcachefs (loop0): Version upgrade required: [ 405.737962][ T7347] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 405.737962][ T7347] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 405.737962][ T7347] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,check_rebalance_work,set_fs_needs_rebalance [ 406.435709][ T7347] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 406.435728][ T7347] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 406.435739][ T7347] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 406.435747][ T7347] flagging btree extents lost data [ 406.435754][ T7347] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 406.435763][ T7347] ret btree_node_read_validate_error [ 406.656799][ T7347] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 406.835034][ T7347] bcachefs (loop0): check_topology... [ 406.835107][ T7347] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 406.898153][ T7347] bcachefs (loop0): no nodes found for btree extents, continuing [ 406.931488][ T7347] done [ 406.955234][ T7347] bcachefs (loop0): accounting_read... done [ 406.994169][ T7347] bcachefs (loop0): alloc_read... done [ 407.018323][ T7347] bcachefs (loop0): snapshots_read... done [ 407.104092][ T7347] bcachefs (loop0): check_allocations... [ 407.148051][ T7347] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree 2025/06/17 14:19:05 executed programs: 477 [ 407.148070][ T7347] 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 [ 407.380101][ T7347] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 407.380123][ T7347] 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 [ 407.503581][ T7347] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 407.503598][ T7347] 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 [ 407.626258][ T7347] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 407.626279][ T7347] 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 [ 407.832893][ T7347] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 407.832910][ T7347] 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 [ 407.924940][ T7347] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 407.972115][ T7347] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 408.008091][ T7347] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 408.072333][ T7347] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 408.117473][ T7347] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 408.122603][ T7347] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 408.208962][ T7347] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 408.284608][ T7347] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 408.289807][ T7347] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 408.347520][ T7347] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 408.404843][ T7347] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 408.454350][ T7347] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 408.462245][ T7347] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 408.578836][ T7347] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 408.618012][ T7347] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 408.654207][ T7347] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 408.659400][ T7347] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 408.760682][ T7347] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 408.814790][ T7347] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 408.820159][ T7347] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 408.890595][ T7347] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 408.890612][ T7347] Ratelimiting new instances of previous error [ 409.027061][ T7347] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 409.027079][ T7347] Ratelimiting new instances of previous error [ 409.158878][ T7347] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 409.245579][ T7347] done [ 409.247561][ T7347] bcachefs (loop0): going read-write [ 409.299508][ T7347] workqueue: Failed to create a rescuer kthread for wq "bcachefs": -EINTR [ 409.299642][ T7347] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 409.375049][ T7347] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 409.381974][ T7347] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 409.482691][ T7347] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 409.521787][ T7347] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 409.568670][ T7347] bcachefs (loop0): shutting down [ 409.688526][ T7347] bcachefs (loop0): shutdown complete [ 411.128933][ T7347] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc 2025/06/17 14:19:11 executed programs: 490 [ 413.318583][ T7401] loop0: detected capacity change from 0 to 32768 [ 413.631445][ T7401] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 413.631460][ T7401] allowing incompatible features above 0.0: (unknown version) [ 413.631464][ T7401] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 413.800744][ T7401] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 413.846636][ T7401] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 413.870890][ T7401] bcachefs (loop0): Version upgrade required: [ 413.870890][ T7401] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 413.870890][ T7401] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 413.870890][ T7401] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,check_rebalance_work,set_fs_needs_rebalance [ 414.514348][ T7401] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 414.514368][ T7401] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 414.514379][ T7401] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 414.514387][ T7401] flagging btree extents lost data [ 414.514394][ T7401] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 414.514402][ T7401] ret btree_node_read_validate_error [ 414.754291][ T7401] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 414.878998][ T7401] bcachefs (loop0): check_topology... [ 414.879057][ T7401] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 414.967378][ T7401] bcachefs (loop0): no nodes found for btree extents, continuing [ 415.022906][ T7401] done [ 415.044670][ T7401] bcachefs (loop0): accounting_read... done [ 415.106406][ T7401] bcachefs (loop0): alloc_read... done [ 415.126899][ T7401] bcachefs (loop0): snapshots_read... done [ 415.165360][ T7401] bcachefs (loop0): check_allocations... [ 415.186169][ T7401] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 415.186190][ T7401] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 415.326301][ T7401] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 415.326323][ T7401] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 415.457745][ T7401] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 415.457763][ T7401] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 415.599613][ T7401] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 415.599630][ T7401] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 415.767394][ T7401] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 415.767413][ T7401] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 415.845441][ T7401] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 415.904183][ T7401] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 415.938746][ T7401] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 415.996908][ T7401] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 416.035724][ T7401] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 416.074736][ T7401] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 416.126374][ T7401] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 416.172149][ T7401] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 416.219492][ T7401] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 416.276315][ T7401] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 416.310314][ T7401] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 416.360914][ T7401] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 416.404383][ T7401] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 416.464179][ T7401] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 416.503556][ T7401] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 416.531527][ T7401] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 416.585117][ T7401] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 416.634439][ T7401] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 416.677038][ T7401] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 416.754275][ T7401] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 416.774565][ T7401] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 416.774581][ T7401] Ratelimiting new instances of previous error [ 416.847212][ T7401] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 416.847229][ T7401] Ratelimiting new instances of previous error [ 417.018377][ T7401] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 417.114655][ T7401] done [ 417.116405][ T7401] bcachefs (loop0): going read-write [ 417.136817][ T7401] workqueue: Failed to create a rescuer kthread for wq "bcachefs_btree_write_complete": -EINTR [ 417.136915][ T7401] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 417.254282][ T7401] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 417.259323][ T7401] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 417.331268][ T7401] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 417.378433][ T7401] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 417.433306][ T7401] bcachefs (loop0): shutting down [ 417.549531][ T7401] bcachefs (loop0): shutdown complete 2025/06/17 14:19:16 executed programs: 502 [ 419.085409][ T7401] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc [ 421.331817][ T7438] loop0: detected capacity change from 0 to 32768 [ 421.682728][ T7438] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 421.682741][ T7438] allowing incompatible features above 0.0: (unknown version) [ 421.682747][ T7438] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 421.857190][ T7438] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 421.861321][ T7438] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 421.927074][ T7438] bcachefs (loop0): Version upgrade required: [ 421.927074][ T7438] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 421.927074][ T7438] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 421.927074][ T7438] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,check_rebalance_work,set_fs_needs_rebalance [ 422.564921][ T7438] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 422.564940][ T7438] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 422.564951][ T7438] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 422.564958][ T7438] flagging btree extents lost data [ 422.564964][ T7438] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 422.564971][ T7438] ret btree_node_read_validate_error [ 422.786369][ T7438] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 422.954759][ T7438] bcachefs (loop0): check_topology... [ 422.954816][ T7438] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 422.984590][ T7438] bcachefs (loop0): no nodes found for btree extents, continuing [ 423.047068][ T7438] done [ 423.062108][ T7438] bcachefs (loop0): accounting_read... done [ 423.154084][ T7438] bcachefs (loop0): alloc_read... done [ 423.165156][ T7438] bcachefs (loop0): snapshots_read... done [ 423.181377][ T7438] bcachefs (loop0): check_allocations... [ 423.211239][ T7438] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 423.211262][ T7438] 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 [ 423.380488][ T7438] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 423.392271][ T7438] 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 [ 423.495938][ T7438] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 423.495958][ T7438] 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 [ 423.616025][ T7438] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 423.616047][ T7438] 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 [ 423.707926][ T7438] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 423.707945][ T7438] 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 [ 423.829972][ T7438] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 423.874340][ T7438] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 423.880300][ T7438] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 423.965586][ T7438] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 424.014682][ T7438] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 424.019387][ T7438] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 424.134277][ T7438] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 424.138728][ T7438] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 424.248763][ T7438] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 424.253723][ T7438] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing 2025/06/17 14:19:22 executed programs: 516 [ 424.322376][ T7438] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 424.366576][ T7438] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 424.372212][ T7438] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 424.463402][ T7438] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 424.517826][ T7438] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 424.522594][ T7438] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 424.594326][ T7438] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 424.599600][ T7438] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 424.694471][ T7438] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 424.741626][ T7438] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 424.788287][ T7438] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 424.788303][ T7438] Ratelimiting new instances of previous error [ 424.850588][ T7438] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 424.850607][ T7438] Ratelimiting new instances of previous error [ 424.994634][ T7438] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 425.085026][ T7438] done [ 425.087263][ T7438] bcachefs (loop0): going read-write [ 425.129415][ T7438] workqueue: Failed to create a rescuer kthread for wq "bcachefs_btree_write_complete": -EINTR [ 425.129518][ T7438] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 425.215094][ T7438] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 425.220145][ T7438] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 425.258379][ T7438] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 425.307855][ T7438] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 425.312614][ T7438] bcachefs (loop0): shutting down [ 425.538581][ T7438] bcachefs (loop0): shutdown complete [ 426.823022][ T7438] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc [ 428.899661][ T7485] loop0: detected capacity change from 0 to 32768 [ 429.212390][ T7485] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 429.212409][ T7485] allowing incompatible features above 0.0: (unknown version) [ 429.212416][ T7485] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 429.399745][ T7485] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 429.420845][ T7485] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 429.465742][ T7485] bcachefs (loop0): Version upgrade required: [ 429.465742][ T7485] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 429.465742][ T7485] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 429.465742][ T7485] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,check_rebalance_work,set_fs_needs_rebalance [ 430.156657][ T7485] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 430.156675][ T7485] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 430.156685][ T7485] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 430.156691][ T7485] flagging btree extents lost data [ 430.156696][ T7485] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 430.156703][ T7485] ret btree_node_read_validate_error [ 430.347981][ T7485] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 430.473620][ T7485] bcachefs (loop0): check_topology... [ 430.473674][ T7485] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 430.534102][ T7485] bcachefs (loop0): no nodes found for btree extents, continuing 2025/06/17 14:19:29 executed programs: 532 [ 430.585296][ T7485] done [ 430.590571][ T7485] bcachefs (loop0): accounting_read... done [ 430.620170][ T7485] bcachefs (loop0): alloc_read... done [ 430.652782][ T7485] bcachefs (loop0): snapshots_read... done [ 430.685991][ T7485] bcachefs (loop0): check_allocations... [ 430.702154][ T7485] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 430.702175][ T7485] 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 [ 430.868804][ T7485] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 430.868823][ T7485] 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 [ 430.990131][ T7485] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 430.990150][ T7485] 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 [ 431.104740][ T7485] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 431.104759][ T7485] 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 [ 431.216183][ T7485] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 431.216202][ T7485] 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 [ 431.329563][ T7485] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 431.384318][ T7485] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 431.450430][ T7485] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 431.494418][ T7485] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 431.556843][ T7485] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 431.576777][ T7485] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 431.630106][ T7485] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 431.674322][ T7485] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 431.738057][ T7485] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 431.766725][ T7485] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 431.810201][ T7485] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 431.863419][ T7485] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 431.897842][ T7485] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 431.954341][ T7485] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 432.023158][ T7485] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 432.048027][ T7485] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 432.053758][ T7485] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 432.144844][ T7485] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 432.186974][ T7485] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 432.232951][ T7485] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 432.304610][ T7485] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 432.304633][ T7485] Ratelimiting new instances of previous error [ 432.385688][ T7485] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 432.385707][ T7485] Ratelimiting new instances of previous error [ 432.495357][ T7485] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 432.557447][ T7485] done [ 432.585196][ T7485] bcachefs (loop0): going read-write [ 432.604197][ T7485] workqueue: Failed to create a rescuer kthread for wq "bcachefs": -EINTR [ 432.604286][ T7485] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 432.674060][ T7485] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 432.712191][ T7485] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 432.743791][ T7485] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 432.776677][ T7485] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 432.814628][ T7485] bcachefs (loop0): shutting down [ 432.981074][ T7485] bcachefs (loop0): shutdown complete [ 434.148945][ T7485] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc 2025/06/17 14:19:34 executed programs: 547 [ 436.203369][ T7523] loop0: detected capacity change from 0 to 32768 [ 436.500947][ T7523] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 436.500967][ T7523] allowing incompatible features above 0.0: (unknown version) [ 436.500974][ T7523] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 436.724937][ T7523] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 436.729031][ T7523] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 436.791361][ T7523] bcachefs (loop0): Version upgrade required: [ 436.791361][ T7523] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 436.791361][ T7523] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 436.791361][ T7523] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,check_rebalance_work,set_fs_needs_rebalance [ 437.368196][ T7523] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 437.368215][ T7523] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 437.368226][ T7523] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 437.368233][ T7523] flagging btree extents lost data [ 437.368240][ T7523] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 437.368248][ T7523] ret btree_node_read_validate_error [ 437.594195][ T7523] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 437.708324][ T7523] bcachefs (loop0): check_topology... [ 437.708402][ T7523] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 437.773150][ T7523] bcachefs (loop0): no nodes found for btree extents, continuing [ 437.829779][ T7523] done [ 437.831267][ T7523] bcachefs (loop0): accounting_read... done [ 437.880895][ T7523] bcachefs (loop0): alloc_read... done [ 437.901790][ T7523] bcachefs (loop0): snapshots_read... done [ 437.937313][ T7523] bcachefs (loop0): check_allocations... [ 437.965807][ T7523] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 437.965830][ T7523] 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 [ 438.121225][ T7523] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 438.121245][ T7523] 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 [ 438.293222][ T7523] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 438.293241][ T7523] 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 [ 438.424719][ T7523] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 438.424737][ T7523] 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 [ 438.558439][ T7523] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 438.558457][ T7523] 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 [ 438.716540][ T7523] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 438.755298][ T7523] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 438.820006][ T7523] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 438.859273][ T7523] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 438.919907][ T7523] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 438.961945][ T7523] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 439.034354][ T7523] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 439.039272][ T7523] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 439.115214][ T7523] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 439.120827][ T7523] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 439.214571][ T7523] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 439.255245][ T7523] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 439.303255][ T7523] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 439.358094][ T7523] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 439.363576][ T7523] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 439.439530][ T7523] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 439.500764][ T7523] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 439.558690][ T7523] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 439.603212][ T7523] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 439.644919][ T7523] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 439.693779][ T7523] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 439.693797][ T7523] Ratelimiting new instances of previous error [ 439.739436][ T7523] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 439.739454][ T7523] Ratelimiting new instances of previous error [ 439.887232][ T7523] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 439.959855][ T7523] done [ 439.961983][ T7523] bcachefs (loop0): going read-write [ 440.039340][ T7523] workqueue: Failed to create a rescuer kthread for wq "bcachefs": -EINTR [ 440.039481][ T7523] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 440.088093][ T7523] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 440.092459][ T7523] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 440.159348][ T7523] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 440.208307][ T7523] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 440.213579][ T7523] bcachefs (loop0): shutting down [ 440.349849][ T7523] bcachefs (loop0): shutdown complete 2025/06/17 14:19:39 executed programs: 558 [ 441.729663][ T7523] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc [ 443.779062][ T7567] loop0: detected capacity change from 0 to 32768 [ 444.156103][ T7567] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 444.156124][ T7567] allowing incompatible features above 0.0: (unknown version) [ 444.156130][ T7567] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 444.284180][ T7567] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 444.287893][ T7567] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 444.291924][ T7567] bcachefs (loop0): Version upgrade required: [ 444.291924][ T7567] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 444.291924][ T7567] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 444.291924][ T7567] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,check_rebalance_work,set_fs_needs_rebalance [ 445.064753][ T7567] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 445.064772][ T7567] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 445.064784][ T7567] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 445.064791][ T7567] flagging btree extents lost data [ 445.064797][ T7567] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 445.064805][ T7567] ret btree_node_read_validate_error [ 445.295293][ T7567] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 445.419748][ T1316] ieee802154 phy0 wpan0: encryption failed: -22 [ 445.425788][ T1316] ieee802154 phy1 wpan1: encryption failed: -22 [ 445.431836][ T7567] bcachefs (loop0): check_topology... [ 445.431894][ T7567] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 445.456903][ T7567] bcachefs (loop0): no nodes found for btree extents, continuing [ 445.549946][ T7567] done [ 445.556503][ T7567] bcachefs (loop0): accounting_read... done [ 445.632786][ T7567] bcachefs (loop0): alloc_read... done [ 445.636520][ T7567] bcachefs (loop0): snapshots_read... done [ 445.690233][ T7567] bcachefs (loop0): check_allocations... [ 445.698245][ T7567] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 445.698264][ T7567] 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 [ 445.863402][ T7567] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 445.863436][ T7567] 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 [ 445.982435][ T7567] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 445.982453][ T7567] 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 2025/06/17 14:19:44 executed programs: 572 [ 446.111295][ T7567] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 446.111313][ T7567] 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 [ 446.235612][ T7567] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 446.235634][ T7567] 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 [ 446.362276][ T7567] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 446.396722][ T7567] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 446.444676][ T7567] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 446.504443][ T7567] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 446.524811][ T7567] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 446.557008][ T7567] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 446.608327][ T7567] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 446.654086][ T7567] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 446.696248][ T7567] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 446.743556][ T7567] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 446.804428][ T7567] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 446.834260][ T7567] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 446.897519][ T7567] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 446.925075][ T7567] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 446.974080][ T7567] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 447.001306][ T7567] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 447.075924][ T7567] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 447.104665][ T7567] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 447.178187][ T7567] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 447.204425][ T7567] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 447.257789][ T7567] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 447.257815][ T7567] Ratelimiting new instances of previous error [ 447.335705][ T7567] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 447.335723][ T7567] Ratelimiting new instances of previous error [ 447.525094][ T7567] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 447.611560][ T7567] done [ 447.613472][ T7567] bcachefs (loop0): going read-write [ 447.654733][ T7567] workqueue: Failed to create a rescuer kthread for wq "bcachefs": -EINTR [ 447.654850][ T7567] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 447.663509][ T7567] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 447.774004][ T7567] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 447.829078][ T7567] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 447.882830][ T7567] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 447.935848][ T7567] bcachefs (loop0): shutting down [ 448.105645][ T7567] bcachefs (loop0): shutdown complete [ 449.215107][ T7567] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc [ 451.335743][ T7607] loop0: detected capacity change from 0 to 32768 [ 451.591986][ T7607] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 451.592008][ T7607] allowing incompatible features above 0.0: (unknown version) [ 451.592016][ T7607] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes 2025/06/17 14:19:50 executed programs: 585 [ 451.804907][ T7607] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 451.809071][ T7607] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 451.813452][ T7607] bcachefs (loop0): Version upgrade required: [ 451.813452][ T7607] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 451.813452][ T7607] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 451.813452][ T7607] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,check_rebalance_work,set_fs_needs_rebalance [ 452.445024][ T7607] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 452.445047][ T7607] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 452.445056][ T7607] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 452.445061][ T7607] flagging btree extents lost data [ 452.445067][ T7607] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 452.445074][ T7607] ret btree_node_read_validate_error [ 452.662856][ T7607] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 452.775026][ T7607] bcachefs (loop0): check_topology... [ 452.775085][ T7607] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 452.844250][ T7607] bcachefs (loop0): no nodes found for btree extents, continuing [ 452.871964][ T7607] done [ 452.873472][ T7607] bcachefs (loop0): accounting_read... done [ 452.928790][ T7607] bcachefs (loop0): alloc_read... done [ 452.932417][ T7607] bcachefs (loop0): snapshots_read... done [ 452.971871][ T7607] bcachefs (loop0): check_allocations... [ 452.994883][ T7607] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 452.994904][ T7607] 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 [ 453.158085][ T7607] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 453.158171][ T7607] 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 [ 453.312370][ T7607] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 453.312388][ T7607] 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 [ 453.437041][ T7607] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 453.437060][ T7607] 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 [ 453.567034][ T7607] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 453.567052][ T7607] 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 [ 453.686780][ T7607] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 453.731376][ T7607] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 453.768239][ T7607] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 453.831966][ T7607] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 453.894717][ T7607] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 453.917257][ T7607] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 453.979006][ T7607] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 454.034218][ T7607] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 454.094442][ T7607] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 454.120112][ T7607] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 454.193084][ T7607] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 454.251542][ T7607] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 454.287135][ T7607] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 454.350940][ T7607] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 454.404507][ T7607] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 454.440289][ T7607] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 454.474751][ T7607] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 454.525663][ T7607] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 454.594876][ T7607] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 454.618084][ T7607] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 454.666208][ T7607] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 454.666224][ T7607] Ratelimiting new instances of previous error [ 454.724155][ T7607] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 454.724183][ T7607] Ratelimiting new instances of previous error [ 454.841441][ T7607] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 454.946971][ T7607] done [ 454.948911][ T7607] bcachefs (loop0): going read-write [ 455.024131][ T7607] workqueue: Failed to create a rescuer kthread for wq "bcachefs_btree_write_complete": -EINTR [ 455.024225][ T7607] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 455.094189][ T7607] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 455.099374][ T7607] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 455.165906][ T7607] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 455.201739][ T7607] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 455.244141][ T7607] bcachefs (loop0): shutting down [ 455.345917][ T7607] bcachefs (loop0): shutdown complete [ 456.787135][ T7607] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc 2025/06/17 14:19:55 executed programs: 598 [ 459.030689][ T7650] loop0: detected capacity change from 0 to 32768 [ 459.308878][ T7650] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 459.308900][ T7650] allowing incompatible features above 0.0: (unknown version) [ 459.308908][ T7650] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 459.482343][ T7650] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 459.524191][ T7650] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 459.555476][ T7650] bcachefs (loop0): Version upgrade required: [ 459.555476][ T7650] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 459.555476][ T7650] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 459.555476][ T7650] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,check_rebalance_work,set_fs_needs_rebalance [ 460.161621][ T7650] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 460.161642][ T7650] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 460.161651][ T7650] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 460.161658][ T7650] flagging btree extents lost data [ 460.161664][ T7650] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 460.161673][ T7650] ret btree_node_read_validate_error [ 460.369467][ T7650] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 460.523050][ T7650] bcachefs (loop0): check_topology... [ 460.523117][ T7650] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 460.545858][ T7650] bcachefs (loop0): no nodes found for btree extents, continuing [ 460.618467][ T7650] done [ 460.620659][ T7650] bcachefs (loop0): accounting_read... done [ 460.668710][ T7650] bcachefs (loop0): alloc_read... done [ 460.704281][ T7650] bcachefs (loop0): snapshots_read... done [ 460.731915][ T7650] bcachefs (loop0): check_allocations... [ 460.748853][ T7650] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 460.748873][ T7650] 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 [ 460.919579][ T7650] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 460.919599][ T7650] 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 [ 461.046990][ T7650] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 461.047007][ T7650] 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 [ 461.152271][ T7650] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 461.152290][ T7650] 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 [ 461.304727][ T7650] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 461.304747][ T7650] 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 [ 461.462943][ T7650] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 461.502289][ T7650] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 461.560111][ T7650] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 461.606898][ T7650] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 461.648180][ T7650] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 461.707496][ T7650] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 461.757966][ T7650] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 461.763060][ T7650] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 461.847225][ T7650] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 461.875270][ T7650] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 461.924321][ T7650] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 461.963379][ T7650] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 462.014262][ T7650] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 462.018986][ T7650] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 462.130911][ T7650] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 462.154384][ T7650] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 462.213705][ T7650] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 462.264210][ T7650] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 462.294976][ T7650] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 462.356018][ T7650] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 462.430418][ T7650] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 462.430434][ T7650] Ratelimiting new instances of previous error [ 462.459712][ T7650] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 462.459730][ T7650] Ratelimiting new instances of previous error [ 462.546245][ T7650] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 462.642843][ T7650] done [ 462.667589][ T7650] bcachefs (loop0): going read-write [ 462.697183][ T7650] workqueue: Failed to create a rescuer kthread for wq "bcachefs_btree_write_complete": -EINTR [ 462.697280][ T7650] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 2025/06/17 14:20:01 executed programs: 611 [ 462.780177][ T7650] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 462.815081][ T7650] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 462.844533][ T7650] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 462.848967][ T7650] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 462.853156][ T7650] bcachefs (loop0): shutting down [ 463.039424][ T7650] bcachefs (loop0): shutdown complete [ 464.255544][ T7650] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc [ 466.301550][ T7690] loop0: detected capacity change from 0 to 32768 [ 466.579669][ T7690] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 466.579691][ T7690] allowing incompatible features above 0.0: (unknown version) [ 466.579699][ T7690] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 466.774601][ T7690] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 466.807189][ T7690] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 466.811533][ T7690] bcachefs (loop0): Version upgrade required: [ 466.811533][ T7690] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 466.811533][ T7690] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 466.811533][ T7690] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,check_rebalance_work,set_fs_needs_rebalance [ 467.590007][ T7690] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 467.590019][ T7690] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 467.590026][ T7690] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 467.590030][ T7690] flagging btree extents lost data [ 467.590033][ T7690] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 467.590038][ T7690] ret btree_node_read_validate_error 2025/06/17 14:20:06 executed programs: 626 [ 467.813799][ T7690] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 467.936774][ T7690] bcachefs (loop0): check_topology... [ 467.936952][ T7690] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 467.943792][ T7690] bcachefs (loop0): no nodes found for btree extents, continuing [ 468.079789][ T7690] done [ 468.081278][ T7690] bcachefs (loop0): accounting_read... done [ 468.112850][ T7690] bcachefs (loop0): alloc_read... done [ 468.164282][ T7690] bcachefs (loop0): snapshots_read... done [ 468.208307][ T7690] bcachefs (loop0): check_allocations... [ 468.302391][ T7690] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 468.302410][ T7690] 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 [ 468.576950][ T7690] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 468.576969][ T7690] 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 [ 468.721269][ T7690] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 468.721288][ T7690] 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 [ 468.939910][ T7690] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 468.939928][ T7690] 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 [ 469.120542][ T7690] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 469.120561][ T7690] 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 [ 469.163378][ T7690] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 469.284247][ T7690] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 469.360562][ T7690] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 469.406937][ T7690] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 469.412604][ T7690] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 469.521694][ T7690] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 469.578799][ T7690] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 469.654123][ T7690] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 469.685057][ T7690] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 469.689669][ T7690] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 469.774342][ T7690] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 469.779104][ T7690] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 469.855119][ T7690] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 469.860069][ T7690] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 469.948366][ T7690] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 469.994264][ T7690] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 470.022339][ T7690] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 470.076427][ T7690] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 470.082668][ T7690] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 470.183426][ T7690] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 470.214719][ T7690] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 470.214735][ T7690] Ratelimiting new instances of previous error [ 470.222495][ T7690] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 470.222508][ T7690] Ratelimiting new instances of previous error [ 470.421711][ T7690] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 470.471345][ T7690] done [ 470.473191][ T7690] bcachefs (loop0): going read-write [ 470.522415][ T7690] workqueue: Failed to create a rescuer kthread for wq "bcachefs": -EINTR [ 470.522516][ T7690] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 470.555659][ T7690] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 470.560357][ T7690] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 470.616360][ T7690] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 470.621479][ T7690] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 470.705049][ T7690] bcachefs (loop0): shutting down [ 470.811671][ T7690] bcachefs (loop0): shutdown complete [ 472.376934][ T7690] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc 2025/06/17 14:20:12 executed programs: 638 [ 474.754505][ T7746] loop0: detected capacity change from 0 to 32768 [ 474.993492][ T7746] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 474.993514][ T7746] allowing incompatible features above 0.0: (unknown version) [ 474.993524][ T7746] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 475.171434][ T7746] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 475.270538][ T7746] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 475.314262][ T7746] bcachefs (loop0): Version upgrade required: [ 475.314262][ T7746] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 475.314262][ T7746] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 475.314262][ T7746] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,check_rebalance_work,set_fs_needs_rebalance [ 476.017736][ T7746] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 476.017756][ T7746] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 476.017769][ T7746] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 476.017777][ T7746] flagging btree extents lost data [ 476.017784][ T7746] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 476.017794][ T7746] ret btree_node_read_validate_error [ 476.282310][ T7746] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 476.447445][ T7746] bcachefs (loop0): check_topology... [ 476.447513][ T7746] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 476.544514][ T7746] bcachefs (loop0): no nodes found for btree extents, continuing [ 476.615228][ T7746] done [ 476.616810][ T7746] bcachefs (loop0): accounting_read... done [ 476.643173][ T7746] bcachefs (loop0): alloc_read... done [ 476.690521][ T7746] bcachefs (loop0): snapshots_read... done [ 476.714130][ T7746] bcachefs (loop0): check_allocations... [ 476.729782][ T7746] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 476.729801][ T7746] 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 [ 476.913260][ T7746] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 476.913282][ T7746] 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 [ 476.984930][ T7746] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 476.984950][ T7746] 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 [ 477.084465][ T7746] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 477.084482][ T7746] 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 [ 477.257497][ T7746] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 477.257519][ T7746] 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 [ 477.366407][ T7746] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 477.432103][ T7746] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 477.498540][ T7746] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 477.503217][ T7746] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 477.584752][ T7746] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 477.654223][ T7746] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 477.671365][ T7746] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 477.716651][ T7746] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 477.722098][ T7746] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 477.814519][ T7746] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 477.820547][ T7746] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 477.907156][ T7746] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 477.959431][ T7746] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 477.993140][ T7746] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 478.054601][ T7746] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 478.082201][ T7746] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 478.157851][ T7746] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 478.162891][ T7746] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 478.246859][ T7746] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 478.294569][ T7746] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 478.347661][ T7746] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 478.347677][ T7746] Ratelimiting new instances of previous error [ 478.410196][ T7746] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 478.410207][ T7746] Ratelimiting new instances of previous error [ 478.529908][ T7746] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 478.581783][ T7746] done [ 478.583598][ T7746] bcachefs (loop0): going read-write [ 478.653702][ T7746] workqueue: Failed to create a rescuer kthread for wq "bcachefs": -EINTR [ 478.653790][ T7746] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 478.728453][ T7746] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 478.732803][ T7746] bcachefs (loop0): unclean shutdown complete, journal seq 10 2025/06/17 14:20:17 executed programs: 650 [ 478.786942][ T7746] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 478.791263][ T7746] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 478.886586][ T7746] bcachefs (loop0): shutting down [ 479.006554][ T7746] bcachefs (loop0): shutdown complete [ 480.480170][ T7746] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc [ 482.523452][ T7790] loop0: detected capacity change from 0 to 32768 [ 482.851093][ T7790] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 482.851112][ T7790] allowing incompatible features above 0.0: (unknown version) [ 482.851119][ T7790] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 483.003605][ T7790] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 483.048133][ T7790] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 483.052387][ T7790] bcachefs (loop0): Version upgrade required: [ 483.052387][ T7790] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 483.052387][ T7790] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 483.052387][ T7790] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,check_rebalance_work,set_fs_needs_rebalance [ 483.673550][ T7790] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 483.673568][ T7790] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 483.673576][ T7790] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 483.673581][ T7790] flagging btree extents lost data [ 483.673585][ T7790] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 483.673592][ T7790] ret btree_node_read_validate_error [ 483.896559][ T7790] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 484.009480][ T7790] bcachefs (loop0): check_topology... [ 484.009543][ T7790] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 484.084272][ T7790] bcachefs (loop0): no nodes found for btree extents, continuing [ 484.121086][ T7790] done [ 484.122521][ T7790] bcachefs (loop0): accounting_read... done [ 484.169269][ T7790] bcachefs (loop0): alloc_read... done [ 484.214999][ T7790] bcachefs (loop0): snapshots_read... done [ 484.249202][ T7790] bcachefs (loop0): check_allocations... [ 484.315805][ T7790] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 484.315819][ T7790] 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 [ 484.461170][ T7790] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree 2025/06/17 14:20:22 executed programs: 664 [ 484.461197][ T7790] 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 [ 484.597902][ T7790] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 484.597919][ T7790] 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 [ 484.761244][ T7790] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 484.761265][ T7790] 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 [ 484.903669][ T7790] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 484.903688][ T7790] 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 [ 485.021679][ T7790] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 485.099646][ T7790] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 485.129769][ T7790] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 485.178860][ T7790] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 485.215305][ T7790] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 485.278632][ T7790] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 485.314877][ T7790] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 485.371308][ T7790] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 485.409540][ T7790] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 485.467266][ T7790] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 485.526005][ T7790] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 485.530608][ T7790] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 485.614433][ T7790] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 485.618935][ T7790] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 485.709450][ T7790] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 485.754362][ T7790] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 485.796527][ T7790] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 485.801429][ T7790] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 485.889005][ T7790] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 485.954189][ T7790] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 485.984485][ T7790] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 485.984498][ T7790] Ratelimiting new instances of previous error [ 485.992779][ T7790] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 485.992793][ T7790] Ratelimiting new instances of previous error [ 486.248443][ T7790] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 486.289455][ T7790] done [ 486.291423][ T7790] bcachefs (loop0): going read-write [ 486.368495][ T7790] workqueue: Failed to create a rescuer kthread for wq "bcachefs": -EINTR [ 486.368623][ T7790] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 486.420484][ T7790] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 486.461119][ T7790] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 486.504579][ T7790] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 486.530261][ T7790] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 486.566166][ T7790] bcachefs (loop0): shutting down [ 486.692553][ T7790] bcachefs (loop0): shutdown complete [ 488.068900][ T7790] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc 2025/06/17 14:20:28 executed programs: 678 [ 490.328536][ T7828] loop0: detected capacity change from 0 to 32768 [ 490.657133][ T7828] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 490.657152][ T7828] allowing incompatible features above 0.0: (unknown version) [ 490.657159][ T7828] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 490.823797][ T7828] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 490.854157][ T7828] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 490.857821][ T7828] bcachefs (loop0): Version upgrade required: [ 490.857821][ T7828] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 490.857821][ T7828] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 490.857821][ T7828] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,check_rebalance_work,set_fs_needs_rebalance [ 491.510631][ T7828] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 491.510649][ T7828] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 491.510659][ T7828] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 491.510664][ T7828] flagging btree extents lost data [ 491.510671][ T7828] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 491.510677][ T7828] ret btree_node_read_validate_error [ 491.720991][ T7828] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 491.876218][ T7828] bcachefs (loop0): check_topology... [ 491.876288][ T7828] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 491.929361][ T7828] bcachefs (loop0): no nodes found for btree extents, continuing [ 491.995475][ T7828] done [ 492.000958][ T7828] bcachefs (loop0): accounting_read... done [ 492.039410][ T7828] bcachefs (loop0): alloc_read... done [ 492.052542][ T7828] bcachefs (loop0): snapshots_read... done [ 492.174272][ T7828] bcachefs (loop0): check_allocations... [ 492.207608][ T7828] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 492.207624][ T7828] 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 [ 492.358951][ T7828] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 492.358973][ T7828] 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 [ 492.491399][ T7828] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 492.491419][ T7828] 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 [ 492.619289][ T7828] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 492.619317][ T7828] 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 [ 492.744755][ T7828] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 492.744777][ T7828] 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 [ 492.884753][ T7828] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 492.935954][ T7828] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 492.941448][ T7828] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 493.014787][ T7828] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 493.064632][ T7828] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 493.115154][ T7828] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 493.120812][ T7828] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 493.194156][ T7828] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 493.255116][ T7828] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 493.294173][ T7828] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 493.342489][ T7828] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 493.412832][ T7828] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 493.449466][ T7828] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 493.497375][ T7828] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 493.503360][ T7828] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 493.584961][ T7828] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 493.590165][ T7828] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 493.687468][ T7828] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 493.693037][ T7828] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 493.787344][ T7828] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 493.834160][ T7828] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 493.834179][ T7828] Ratelimiting new instances of previous error [ 493.924250][ T7828] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 493.924268][ T7828] Ratelimiting new instances of previous error [ 494.034695][ T7828] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 494.112523][ T7828] done [ 494.170949][ T7828] bcachefs (loop0): going read-write [ 494.195049][ T7828] workqueue: Failed to create a rescuer kthread for wq "bcachefs_btree_write_complete": -EINTR [ 494.195172][ T7828] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 494.281093][ T7828] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 494.334286][ T7828] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 494.358601][ T7828] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 494.363406][ T7828] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 494.441111][ T7828] bcachefs (loop0): shutting down [ 494.549543][ T7828] bcachefs (loop0): shutdown complete 2025/06/17 14:20:34 executed programs: 690 [ 496.253717][ T7828] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc [ 498.545128][ T7875] loop0: detected capacity change from 0 to 32768 [ 498.859635][ T7875] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 498.859654][ T7875] allowing incompatible features above 0.0: (unknown version) [ 498.859661][ T7875] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 499.054138][ T7875] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 499.074226][ T7875] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 499.103730][ T7875] bcachefs (loop0): Version upgrade required: [ 499.103730][ T7875] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 499.103730][ T7875] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 499.103730][ T7875] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,check_rebalance_work,set_fs_needs_rebalance [ 499.939983][ T7875] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 499.940000][ T7875] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 499.940010][ T7875] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 499.940017][ T7875] flagging btree extents lost data [ 499.940023][ T7875] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 499.940030][ T7875] ret btree_node_read_validate_error [ 500.167041][ T7875] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 500.337555][ T7875] bcachefs (loop0): check_topology... [ 500.337620][ T7875] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 500.400358][ T7875] bcachefs (loop0): no nodes found for btree extents, continuing [ 500.465369][ T7875] done [ 500.484311][ T7875] bcachefs (loop0): accounting_read... done [ 500.542185][ T7875] bcachefs (loop0): alloc_read... done [ 500.600881][ T7875] bcachefs (loop0): snapshots_read... done [ 500.654114][ T7875] bcachefs (loop0): check_allocations... [ 500.667417][ T7875] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 500.667432][ T7875] 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 [ 500.796713][ T7875] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 500.796731][ T7875] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing 2025/06/17 14:20:39 executed programs: 704 [ 500.928644][ T7875] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 500.928662][ T7875] 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 [ 501.058791][ T7875] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 501.058808][ T7875] 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 [ 501.188449][ T7875] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 501.188467][ T7875] 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 [ 501.302415][ T7875] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 501.347486][ T7875] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 501.414600][ T7875] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 501.450772][ T7875] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 501.510388][ T7875] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 501.554770][ T7875] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 501.614419][ T7875] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 501.618756][ T7875] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 501.697125][ T7875] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 501.701836][ T7875] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 501.794390][ T7875] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 501.824123][ T7875] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 501.881535][ T7875] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 501.921778][ T7875] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 501.988913][ T7875] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 501.993544][ T7875] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 502.067172][ T7875] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 502.071813][ T7875] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 502.164403][ T7875] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 502.196619][ T7875] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 502.202190][ T7875] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 502.202205][ T7875] Ratelimiting new instances of previous error [ 502.297791][ T7875] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 502.297807][ T7875] Ratelimiting new instances of previous error [ 502.473674][ T7875] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 502.626914][ T7875] done [ 502.644636][ T7875] bcachefs (loop0): going read-write [ 502.677993][ T7875] workqueue: Failed to create a rescuer kthread for wq "bcachefs_btree_write_complete": -EINTR [ 502.678411][ T7875] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 502.761861][ T7875] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 502.817377][ T7875] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 502.847065][ T7875] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 502.884167][ T7875] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 502.914490][ T7875] bcachefs (loop0): shutting down [ 503.035348][ T7875] bcachefs (loop0): shutdown complete [ 504.661991][ T7875] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc [ 506.719770][ T7922] loop0: detected capacity change from 0 to 32768 2025/06/17 14:20:45 executed programs: 717 [ 506.847589][ T1316] ieee802154 phy0 wpan0: encryption failed: -22 [ 506.850608][ T1316] ieee802154 phy1 wpan1: encryption failed: -22 [ 507.064700][ T7922] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 507.064730][ T7922] allowing incompatible features above 0.0: (unknown version) [ 507.064737][ T7922] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 507.254278][ T7922] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 507.275155][ T7922] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 507.279252][ T7922] bcachefs (loop0): Version upgrade required: [ 507.279252][ T7922] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 507.279252][ T7922] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 507.279252][ T7922] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,check_rebalance_work,set_fs_needs_rebalance [ 507.913622][ T7922] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 507.913641][ T7922] u64s 11 type btree_ptr_v2 18446744073707239423:U64_MAX:U32_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 507.913652][ T7922] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 507.913660][ T7922] flagging btree extents lost data [ 507.913666][ T7922] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 507.913674][ T7922] ret btree_node_read_validate_error [ 508.144862][ T7922] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 508.237704][ T7922] bcachefs (loop0): check_topology... [ 508.237770][ T7922] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 508.308619][ T7922] bcachefs (loop0): no nodes found for btree extents, continuing [ 508.403772][ T7922] done [ 508.408334][ T7922] bcachefs (loop0): accounting_read... done [ 508.430679][ T7922] bcachefs (loop0): alloc_read... done [ 508.467869][ T7922] bcachefs (loop0): snapshots_read... done [ 508.525488][ T7922] bcachefs (loop0): check_allocations... [ 508.542272][ T7922] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 508.542292][ T7922] 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 [ 508.708296][ T7922] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 508.708317][ T7922] 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 [ 508.835867][ T7922] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 508.835887][ T7922] 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 [ 509.011082][ T7922] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 509.011099][ T7922] 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 [ 509.153573][ T7922] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 509.153592][ T7922] 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 [ 509.284832][ T7922] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 509.310817][ T7922] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 509.361216][ T7922] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 509.425191][ T7922] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 509.480590][ T7922] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 509.531947][ T7922] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 509.572959][ T7922] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 509.613101][ T7922] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 509.674692][ T7922] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 509.679212][ T7922] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 509.768267][ T7922] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing