ms_allowed+0x1f/0x360 [ 294.167011][ T6817] ? cpuset_print_current_mems_allowed+0x2ee/0x360 [ 294.167029][ T6817] warn_alloc+0x214/0x310 [ 294.167053][ T6817] ? __pfx_warn_alloc+0x10/0x10 [ 294.167075][ T6817] ? __get_vm_area_node+0x28f/0x300 [ 294.167092][ T6817] ? __bch2_darray_resize_noprof+0xd7/0x290 [ 294.167112][ T6817] __vmalloc_node_range_noprof+0x67e/0x12f0 [ 294.167150][ T6817] ? __pfx___vmalloc_node_range_noprof+0x10/0x10 [ 294.167172][ T6817] ? rcu_is_watching+0x15/0xb0 [ 294.167197][ T6817] ? __bch2_darray_resize_noprof+0xd7/0x290 [ 294.167212][ T6817] ? __bch2_darray_resize_noprof+0xd7/0x290 [ 294.167228][ T6817] __kvmalloc_node_noprof+0x3b8/0x5f0 [ 294.167244][ T6817] ? __bch2_darray_resize_noprof+0xd7/0x290 [ 294.167266][ T6817] __bch2_darray_resize_noprof+0xd7/0x290 [ 294.167283][ T6817] ? __pfx_mempool_kmalloc+0x10/0x10 [ 294.167307][ T6817] bch2_fs_btree_write_buffer_init+0x16e/0x1f0 [ 294.167330][ T6817] __bch2_fs_read_write+0x679/0x830 [ 294.167352][ T6817] bch2_fs_read_write_early+0x26/0x40 [ 294.167366][ T6817] __bch2_run_recovery_passes+0x395/0x1010 [ 294.167400][ T6817] bch2_run_recovery_passes+0x184/0x210 [ 294.167418][ T6817] bch2_fs_recovery+0x25fd/0x3950 [ 294.167453][ T6817] ? __pfx_bch2_fs_recovery+0x10/0x10 [ 294.167476][ T6817] ? __pfx___console_unlock+0x10/0x10 [ 294.167507][ T6817] ? __lock_acquire+0xab9/0xd20 [ 294.167540][ T6817] ? __lock_acquire+0xab9/0xd20 [ 294.167569][ T6817] ? __lock_acquire+0xab9/0xd20 [ 294.167611][ T6817] ? bch2_fs_start+0x9fe/0xd90 [ 294.167632][ T6817] ? up_write+0x1c4/0x420 [ 294.167646][ T6817] ? bch2_fs_start+0x5c4/0xd90 [ 294.167660][ T6817] bch2_fs_start+0xa99/0xd90 [ 294.167675][ T6817] ? bch2_fs_start+0x5c4/0xd90 [ 294.167693][ T6817] ? __pfx_bch2_fs_start+0x10/0x10 [ 294.167725][ T6817] ? sget+0x267/0x620 [ 294.167752][ T6817] bch2_fs_get_tree+0xb02/0x14f0 [ 294.167805][ T6817] ? __pfx_bch2_fs_get_tree+0x10/0x10 [ 294.167843][ T6817] ? aa_get_newest_label+0xf7/0x5d0 [ 294.167865][ T6817] ? vfs_parse_monolithic_sep+0x2df/0x310 [ 294.167894][ T6817] ? apparmor_capable+0x137/0x1b0 [ 294.167915][ T6817] vfs_get_tree+0x92/0x2b0 [ 294.167932][ T6817] do_new_mount+0x24a/0xa40 [ 294.167957][ T6817] __se_sys_mount+0x317/0x410 [ 294.167980][ T6817] ? __pfx___se_sys_mount+0x10/0x10 [ 294.168003][ T6817] ? do_syscall_64+0xbe/0x3b0 [ 294.168025][ T6817] ? __x64_sys_mount+0x20/0xc0 [ 294.168045][ T6817] do_syscall_64+0xfa/0x3b0 [ 294.168055][ T6817] ? lockdep_hardirqs_on+0x9c/0x150 [ 294.168077][ T6817] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 294.168089][ T6817] ? clear_bhb_loop+0x60/0xb0 [ 294.168106][ T6817] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 294.168120][ T6817] RIP: 0033:0x7fc868f874ca [ 294.168135][ T6817] 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 [ 294.168149][ T6817] RSP: 002b:00007fc869dabe68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 [ 294.168167][ T6817] RAX: ffffffffffffffda RBX: 00007fc869dabef0 RCX: 00007fc868f874ca [ 294.168179][ T6817] RDX: 00000000200000c0 RSI: 0000000020000000 RDI: 00007fc869dabeb0 [ 294.168188][ T6817] RBP: 00000000200000c0 R08: 00007fc869dabef0 R09: 0000000000800000 [ 294.168197][ T6817] R10: 0000000000800000 R11: 0000000000000246 R12: 0000000020000000 [ 294.168207][ T6817] R13: 00007fc869dabeb0 R14: 0000000000005962 R15: 0000000020005bc0 [ 294.168231][ T6817] [ 294.168239][ T6817] Mem-Info: [ 294.404503][ T6764] udevd (6764) used greatest stack depth: 18664 bytes left 2025/06/17 11:28:46 executed programs: 236 [ 295.750218][ T6817] active_anon:33344 inactive_anon:15301 isolated_anon:0 [ 295.750218][ T6817] active_file:12679 inactive_file:410 isolated_file:0 [ 295.750218][ T6817] unevictable:1768 dirty:51 writeback:0 [ 295.750218][ T6817] slab_reclaimable:5035 slab_unreclaimable:50852 [ 295.750218][ T6817] mapped:12196 shmem:12515 pagetables:1041 [ 295.750218][ T6817] sec_pagetables:286 bounce:0 [ 295.750218][ T6817] kernel_misc_reclaimable:0 [ 295.750218][ T6817] free:15470 free_pcp:753 free_cma:0 [ 295.939140][ T6817] Node 0 active_anon:356kB inactive_anon:64kB active_file:0kB inactive_file:16kB unevictable:488kB isolated(anon):0kB isolated(file):0kB mapped:16kB dirty:8kB writeback:0kB shmem:488kB shmem_thp:0kB shmem_pmdmapped:0kB anon_thp:0kB writeback_tmp:0kB kernel_stack:3056kB pagetables:888kB sec_pagetables:1088kB all_unreclaimable? yes Balloon:0kB [ 296.067527][ T6817] Node 1 active_anon:138492kB inactive_anon:61128kB active_file:50716kB inactive_file:1632kB unevictable:6584kB isolated(anon):0kB isolated(file):0kB mapped:48804kB dirty:196kB writeback:0kB shmem:54632kB shmem_thp:0kB shmem_pmdmapped:0kB anon_thp:0kB writeback_tmp:0kB kernel_stack:9712kB pagetables:3280kB sec_pagetables:56kB all_unreclaimable? no Balloon:0kB [ 296.205630][ T6817] Node 0 DMA free:1920kB boost:2048kB min:2808kB low:2996kB high:3184kB reserved_highatomic:0KB free_highatomic:0KB active_anon:0kB inactive_anon:8kB active_file:0kB inactive_file:8kB unevictable:488kB writepending:8kB present:15992kB managed:15360kB mlocked:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB [ 296.361858][ T6817] lowmem_reserve[]: 0 123 123 123 123 [ 296.374833][ T6817] Node 0 DMA32 free:6340kB boost:6144kB min:11012kB low:12228kB high:13444kB reserved_highatomic:0KB free_highatomic:0KB active_anon:356kB inactive_anon:56kB active_file:0kB inactive_file:8kB unevictable:0kB writepending:0kB present:770052kB managed:126156kB mlocked:0kB bounce:0kB free_pcp:2600kB local_pcp:2600kB free_cma:0kB [ 296.516839][ T6817] lowmem_reserve[]: 0 0 0 0 0 [ 296.519565][ T6817] Node 1 DMA32 free:47188kB boost:4096kB min:38408kB low:46984kB high:55560kB reserved_highatomic:2048KB free_highatomic:744KB active_anon:139284kB inactive_anon:60876kB active_file:50716kB inactive_file:1632kB unevictable:6584kB writepending:196kB present:786288kB managed:690876kB mlocked:0kB bounce:0kB free_pcp:308kB local_pcp:308kB free_cma:0kB [ 296.682212][ T6817] lowmem_reserve[]: 0 0 0 0 0 [ 296.685233][ T6817] Node 0 DMA: 60*4kB (UM) 30*8kB (UM) 20*16kB (UM) 9*32kB (UM) 5*64kB (M) 4*128kB (UM) 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 1920kB [ 296.781899][ T6817] Node 0 DMA32: 275*4kB (UME) 173*8kB (UME) 49*16kB (UME) 30*32kB (ME) 9*64kB (ME) 2*128kB (M) 1*256kB (M) 0*512kB 1*1024kB (U) 0*2048kB 0*4096kB = 6340kB [ 296.840612][ T6817] Node 1 DMA32: 5*4kB (UM) 256*8kB (UMEH) 320*16kB (UMH) 179*32kB (UMEH) 155*64kB (UME) 59*128kB (UMH) 54*256kB (UM) 15*512kB (UMH) 2*1024kB (UE) 0*2048kB 0*4096kB = 53940kB [ 296.964243][ T6817] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=1048576kB [ 296.968670][ T6817] Node 0 hugepages_total=2 hugepages_free=2 hugepages_surp=0 hugepages_size=2048kB [ 297.051927][ T6817] Node 1 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=1048576kB [ 297.085649][ T6817] Node 1 hugepages_total=2 hugepages_free=2 hugepages_surp=0 hugepages_size=2048kB [ 297.122282][ T6817] 31139 total pagecache pages [ 297.124673][ T6817] 5349 pages in swap cache [ 297.172211][ T6817] Free swap = 63004kB [ 297.174110][ T6817] Total swap = 124996kB [ 297.176000][ T6817] 393083 pages RAM [ 297.177741][ T6817] 0 pages HighMem/MovableOnly [ 297.179930][ T6817] 184985 pages reserved [ 297.248503][ T6817] 0 pages cma reserved [ 297.351145][ T6817] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 297.392060][ T6817] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 297.421843][ T6817] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 297.472008][ T6817] bcachefs (loop0): error in recovery: ENOMEMemergency read only at seq 10 [ 297.495313][ T6817] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM [ 297.499767][ T6817] bcachefs (loop0): shutting down [ 297.664086][ T6817] bcachefs (loop0): shutdown complete [ 299.532563][ T6817] bcachefs: bch2_fs_get_tree() error: ENOMEM [ 299.561868][ T6817] syz.0.225 (6817) used greatest stack depth: 18568 bytes left 2025/06/17 11:28:51 executed programs: 248 [ 301.650037][ T6873] loop0: detected capacity change from 0 to 32768 [ 301.921626][ T6873] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 301.921651][ T6873] allowing incompatible features above 0.0: (unknown version) [ 301.921659][ T6873] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 302.227698][ T6873] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 302.265506][ T6873] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 302.269357][ T6873] bcachefs (loop0): Version upgrade required: [ 302.269357][ T6873] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 302.269357][ T6873] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 302.269357][ T6873] 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 [ 303.592999][ T6873] bcachefs (loop0): error reallocating journal fifo (32768 open entries) [ 303.627240][ T6873] bcachefs (loop0): error in recovery: ENOMEM_journal_pin_fifoemergency read only at seq 0 [ 303.675561][ T6873] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_journal_pin_fifo [ 303.712131][ T6873] bcachefs (loop0): shutting down [ 303.843579][ T6873] bcachefs (loop0): shutdown complete [ 305.505389][ T6873] bcachefs: bch2_fs_get_tree() error: ENOMEM_journal_pin_fifo 2025/06/17 11:28:57 executed programs: 260 [ 307.952852][ T6906] loop0: detected capacity change from 0 to 32768 [ 308.263521][ T6906] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 308.263542][ T6906] allowing incompatible features above 0.0: (unknown version) [ 308.263550][ T6906] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 308.442045][ T6906] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 308.445957][ T6906] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 308.450204][ T6906] bcachefs (loop0): Version upgrade required: [ 308.450204][ T6906] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 308.450204][ T6906] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 308.450204][ T6906] 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 [ 309.462514][ T6906] bcachefs (loop0): error reallocating journal fifo (32768 open entries) [ 309.482001][ T6906] bcachefs (loop0): error in recovery: ENOMEM_journal_pin_fifoemergency read only at seq 0 [ 309.517537][ T6906] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_journal_pin_fifo [ 309.569007][ T6906] bcachefs (loop0): shutting down [ 309.736986][ T6906] bcachefs (loop0): shutdown complete [ 310.972478][ T6906] bcachefs: bch2_fs_get_tree() error: ENOMEM_journal_pin_fifo 2025/06/17 11:29:02 executed programs: 272 [ 313.273985][ T6931] loop0: detected capacity change from 0 to 32768 [ 313.617327][ T6931] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 313.617348][ T6931] allowing incompatible features above 0.0: (unknown version) [ 313.617355][ T6931] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 313.845149][ T6931] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 313.886078][ T6931] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 313.889932][ T6931] bcachefs (loop0): Version upgrade required: [ 313.889932][ T6931] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 313.889932][ T6931] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 313.889932][ T6931] 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 [ 314.749575][ T6931] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 314.749597][ T6931] 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 [ 314.749610][ T6931] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 314.749618][ T6931] flagging btree extents lost data [ 314.749625][ T6931] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 314.749634][ T6931] ret btree_node_read_validate_error [ 314.992285][ T6931] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 315.079402][ T6931] bcachefs (loop0): check_topology... [ 315.079466][ T6931] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 315.172403][ T6931] bcachefs (loop0): no nodes found for btree extents, continuing [ 315.215928][ T6931] done [ 315.256446][ T6931] bcachefs (loop0): accounting_read... done [ 315.314838][ T6931] bcachefs (loop0): alloc_read... done [ 315.351923][ T6931] bcachefs (loop0): snapshots_read... done [ 315.392005][ T6931] bcachefs (loop0): check_allocations... [ 315.436447][ T6931] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 315.436465][ T6931] 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 [ 315.580890][ T6931] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 315.580918][ T6931] 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 [ 315.687433][ T6931] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 315.687452][ T6931] 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 [ 315.827121][ T6931] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 315.827436][ T6931] 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 [ 315.978610][ T6931] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 315.978632][ T6931] 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 [ 316.116312][ T6931] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing 2025/06/17 11:29:07 executed programs: 284 [ 316.157064][ T6931] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 316.205070][ T6931] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 316.210562][ T6931] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 316.245751][ T6931] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 316.250547][ T6931] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 316.294431][ T6931] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 316.318903][ T6931] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 316.345027][ T6931] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 316.366513][ T6931] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 316.388428][ T6931] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 316.405381][ T6931] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 316.435889][ T6931] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 316.440566][ T6931] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 316.480704][ T6931] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 316.507023][ T6931] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 316.562835][ T6931] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 316.580120][ T6931] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 316.635593][ T6931] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 316.683135][ T6931] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 316.689048][ T6931] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 316.689066][ T6931] Ratelimiting new instances of previous error [ 316.755313][ T6931] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 316.755331][ T6931] Ratelimiting new instances of previous error [ 316.937044][ T6931] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 317.026857][ T6931] done [ 317.028620][ T6931] bcachefs (loop0): going read-write [ 317.084580][ T6931] workqueue: Failed to create a rescuer kthread for wq "bcachefs_btree_write_complete": -EINTR [ 317.084680][ T6931] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 317.177288][ T6931] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 317.236173][ T6931] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 317.272047][ T6931] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 317.276397][ T6931] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 317.281257][ T6931] bcachefs (loop0): shutting down [ 317.471006][ T6931] bcachefs (loop0): shutdown complete [ 318.768058][ T6931] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc [ 321.026478][ T6967] loop0: detected capacity change from 0 to 32768 2025/06/17 11:29:12 executed programs: 295 [ 321.361515][ T6967] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 321.361535][ T6967] allowing incompatible features above 0.0: (unknown version) [ 321.361541][ T6967] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 321.572339][ T6967] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 321.642303][ T6967] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 321.646051][ T6967] bcachefs (loop0): Version upgrade required: [ 321.646051][ T6967] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 321.646051][ T6967] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 321.646051][ T6967] 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.466890][ T1316] ieee802154 phy0 wpan0: encryption failed: -22 [ 322.469768][ T1316] ieee802154 phy1 wpan1: encryption failed: -22 [ 323.325670][ T6967] warn_alloc: 1 callbacks suppressed [ 323.325703][ T6967] syz.0.293: vmalloc error: size 7077888, failed to allocated page array size 13824, mode:0xcc2(GFP_KERNEL|__GFP_HIGHMEM), nodemask=(null),cpuset=/,mems_allowed=0-1 [ 323.427819][ T6967] CPU: 0 UID: 0 PID: 6967 Comm: syz.0.293 Not tainted 6.16.0-rc2-syzkaller-g9afe652958c3 #0 PREEMPT(full) [ 323.427842][ T6967] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 323.427866][ T6967] Call Trace: [ 323.427872][ T6967] [ 323.427877][ T6967] dump_stack_lvl+0x189/0x250 [ 323.427940][ T6967] ? __pfx_dump_stack_lvl+0x10/0x10 [ 323.427956][ T6967] ? __pfx__printk+0x10/0x10 [ 323.427967][ T6967] ? cpuset_print_current_mems_allowed+0x1f/0x360 [ 323.427987][ T6967] ? cpuset_print_current_mems_allowed+0x1f/0x360 [ 323.427999][ T6967] ? cpuset_print_current_mems_allowed+0x2ee/0x360 [ 323.428011][ T6967] warn_alloc+0x214/0x310 [ 323.428029][ T6967] ? __pfx_warn_alloc+0x10/0x10 [ 323.428046][ T6967] ? __get_vm_area_node+0x28f/0x300 [ 323.428064][ T6967] ? bch2_fs_journal_start+0x480/0x1510 [ 323.428082][ T6967] __vmalloc_node_range_noprof+0x67e/0x12f0 [ 323.428109][ T6967] ? __pfx___vmalloc_node_range_noprof+0x10/0x10 [ 323.428125][ T6967] ? rcu_is_watching+0x15/0xb0 [ 323.428143][ T6967] ? bch2_fs_journal_start+0x480/0x1510 [ 323.428157][ T6967] ? bch2_fs_journal_start+0x480/0x1510 [ 323.428169][ T6967] __kvmalloc_node_noprof+0x3b8/0x5f0 [ 323.428182][ T6967] ? bch2_fs_journal_start+0x480/0x1510 [ 323.428199][ T6967] bch2_fs_journal_start+0x480/0x1510 [ 323.428222][ T6967] ? bch2_journal_log_msg+0xd9/0x120 [ 323.428239][ T6967] ? __pfx_bch2_fs_journal_start+0x10/0x10 [ 323.428254][ T6967] ? __pfx_bch2_journal_log_msg+0x10/0x10 [ 323.428277][ T6967] bch2_fs_recovery+0x2237/0x3950 [ 323.428303][ T6967] ? __pfx_bch2_fs_recovery+0x10/0x10 [ 323.428320][ T6967] ? __pfx___console_unlock+0x10/0x10 [ 323.428340][ T6967] ? __lock_acquire+0xab9/0xd20 [ 323.428363][ T6967] ? __lock_acquire+0xab9/0xd20 [ 323.428382][ T6967] ? __lock_acquire+0xab9/0xd20 [ 323.428411][ T6967] ? bch2_fs_start+0x9fe/0xd90 [ 323.428425][ T6967] ? up_write+0x1c4/0x420 [ 323.428435][ T6967] ? bch2_fs_start+0x5c4/0xd90 [ 323.428446][ T6967] bch2_fs_start+0xa99/0xd90 [ 323.428457][ T6967] ? bch2_fs_start+0x5c4/0xd90 [ 323.428470][ T6967] ? __pfx_bch2_fs_start+0x10/0x10 [ 323.428518][ T6967] ? sget+0x267/0x620 [ 323.428541][ T6967] bch2_fs_get_tree+0xb02/0x14f0 [ 323.428574][ T6967] ? __pfx_bch2_fs_get_tree+0x10/0x10 [ 323.428600][ T6967] ? aa_get_newest_label+0xf7/0x5d0 [ 323.428614][ T6967] ? vfs_parse_monolithic_sep+0x2df/0x310 [ 323.428642][ T6967] ? apparmor_capable+0x137/0x1b0 [ 323.428656][ T6967] vfs_get_tree+0x92/0x2b0 [ 323.428668][ T6967] do_new_mount+0x24a/0xa40 [ 323.428687][ T6967] __se_sys_mount+0x317/0x410 [ 323.428703][ T6967] ? __pfx___se_sys_mount+0x10/0x10 [ 323.428719][ T6967] ? do_syscall_64+0xbe/0x3b0 [ 323.428774][ T6967] ? __x64_sys_mount+0x20/0xc0 [ 323.428788][ T6967] do_syscall_64+0xfa/0x3b0 [ 323.428798][ T6967] ? lockdep_hardirqs_on+0x9c/0x150 [ 323.428812][ T6967] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 323.428822][ T6967] ? clear_bhb_loop+0x60/0xb0 [ 323.428834][ T6967] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 323.428844][ T6967] RIP: 0033:0x7fc868f874ca [ 323.428856][ T6967] 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 [ 323.428866][ T6967] RSP: 002b:00007fc869dabe68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 [ 323.428879][ T6967] RAX: ffffffffffffffda RBX: 00007fc869dabef0 RCX: 00007fc868f874ca [ 323.428886][ T6967] RDX: 00000000200000c0 RSI: 0000000020000000 RDI: 00007fc869dabeb0 [ 323.428893][ T6967] RBP: 00000000200000c0 R08: 00007fc869dabef0 R09: 0000000000800000 [ 323.428900][ T6967] R10: 0000000000800000 R11: 0000000000000246 R12: 0000000020000000 [ 323.428907][ T6967] R13: 00007fc869dabeb0 R14: 0000000000005962 R15: 0000000020005bc0 [ 323.428925][ T6967] [ 323.611266][ T6967] Mem-Info: [ 323.620449][ T6967] active_anon:43208 inactive_anon:6111 isolated_anon:0 [ 323.620449][ T6967] active_file:12732 inactive_file:426 isolated_file:0 [ 323.620449][ T6967] unevictable:1768 dirty:51 writeback:0 [ 323.620449][ T6967] slab_reclaimable:5049 slab_unreclaimable:51205 [ 323.620449][ T6967] mapped:12291 shmem:16149 pagetables:1083 [ 323.620449][ T6967] sec_pagetables:286 bounce:0 [ 323.620449][ T6967] kernel_misc_reclaimable:0 [ 323.620449][ T6967] free:15458 free_pcp:290 free_cma:0 [ 323.713670][ T6967] Node 0 active_anon:2148kB inactive_anon:1752kB active_file:0kB inactive_file:8kB unevictable:488kB isolated(anon):0kB isolated(file):0kB mapped:16kB dirty:8kB writeback:0kB shmem:4328kB shmem_thp:0kB shmem_pmdmapped:0kB anon_thp:0kB writeback_tmp:0kB kernel_stack:3056kB pagetables:888kB sec_pagetables:1088kB all_unreclaimable? no Balloon:0kB [ 323.789338][ T6967] Node 1 active_anon:166652kB inactive_anon:22692kB active_file:50928kB inactive_file:1696kB unevictable:6584kB isolated(anon):0kB isolated(file):0kB mapped:49112kB dirty:196kB writeback:0kB shmem:56380kB shmem_thp:0kB shmem_pmdmapped:0kB anon_thp:0kB writeback_tmp:0kB kernel_stack:9520kB pagetables:3444kB sec_pagetables:56kB all_unreclaimable? no Balloon:0kB [ 323.902967][ T6967] Node 0 DMA free:1208kB boost:0kB min:760kB low:948kB high:1136kB reserved_highatomic:0KB free_highatomic:0KB active_anon:104kB inactive_anon:768kB active_file:0kB inactive_file:8kB unevictable:488kB writepending:8kB present:15992kB managed:15360kB mlocked:0kB bounce:0kB free_pcp:252kB local_pcp:252kB free_cma:0kB [ 323.995877][ T6967] lowmem_reserve[]: 0 123 123 123 123 [ 323.998543][ T6967] Node 0 DMA32 free:5912kB boost:0kB min:4868kB low:6084kB high:7300kB reserved_highatomic:0KB free_highatomic:0KB active_anon:396kB inactive_anon:976kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:770052kB managed:126156kB mlocked:0kB bounce:0kB free_pcp:188kB local_pcp:188kB free_cma:0kB [ 324.097142][ T6967] lowmem_reserve[]: 0 0 0 0 0 [ 324.099712][ T6967] Node 1 DMA32 free:72040kB boost:18432kB min:52744kB low:61320kB high:69896kB reserved_highatomic:2048KB free_highatomic:1324KB active_anon:156816kB inactive_anon:22428kB active_file:50936kB inactive_file:1624kB unevictable:6584kB writepending:196kB present:786288kB managed:690876kB mlocked:0kB bounce:0kB free_pcp:316kB local_pcp:316kB free_cma:0kB [ 324.239081][ T6967] lowmem_reserve[]: 0 0 0 0 0 [ 324.241297][ T6967] Node 0 DMA: 21*4kB (U) 20*8kB (U) 12*16kB (UM) 12*32kB (U) 2*64kB (UM) 2*128kB (UM) 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 1204kB [ 324.310706][ T6967] Node 0 DMA32: 295*4kB (UME) 148*8kB (UME) 48*16kB (UME) 26*32kB (UME) 15*64kB (UME) 6*128kB (UM) 1*256kB (M) 1*512kB (U) 0*1024kB 0*2048kB 0*4096kB = 6460kB [ 324.378391][ T6967] Node 1 DMA32: 158*4kB (UEH) 980*8kB (UMEH) 707*16kB (UMH) 339*32kB (UMH) 169*64kB (UMEH) 71*128kB (UMH) 57*256kB (UMH) 16*512kB (UMEH) 1*1024kB (M) 0*2048kB 0*4096kB = 74344kB [ 324.443536][ T6967] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=1048576kB [ 324.448115][ T6967] Node 0 hugepages_total=2 hugepages_free=2 hugepages_surp=0 hugepages_size=2048kB [ 324.494251][ T6967] Node 1 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=1048576kB [ 324.542037][ T6967] Node 1 hugepages_total=2 hugepages_free=2 hugepages_surp=0 hugepages_size=2048kB [ 324.570703][ T6967] 27445 total pagecache pages [ 324.584652][ T6967] 5193 pages in swap cache [ 324.586759][ T6967] Free swap = 47900kB [ 324.588660][ T6967] Total swap = 124996kB [ 324.590629][ T6967] 393083 pages RAM [ 324.635336][ T6967] 0 pages HighMem/MovableOnly [ 324.637917][ T6967] 184985 pages reserved [ 324.677143][ T6967] 0 pages cma reserved [ 324.713745][ T6967] bcachefs (loop0): error reallocating journal fifo (32768 open entries) [ 324.744749][ T6967] bcachefs (loop0): error in recovery: ENOMEM_journal_pin_fifoemergency read only at seq 0 [ 324.749463][ T6967] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_journal_pin_fifo [ 324.835817][ T6967] bcachefs (loop0): shutting down [ 324.953900][ T6967] bcachefs (loop0): shutdown complete [ 326.413858][ T6967] bcachefs: bch2_fs_get_tree() error: ENOMEM_journal_pin_fifo [ 326.516047][ T6967] syz.0.293 (6967) used greatest stack depth: 18552 bytes left 2025/06/17 11:29:17 executed programs: 301 [ 328.934843][ T6997] loop0: detected capacity change from 0 to 32768 [ 329.265209][ T6997] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 329.265228][ T6997] allowing incompatible features above 0.0: (unknown version) [ 329.265233][ T6997] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 329.475675][ T6997] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 329.480044][ T6997] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 329.572483][ T6997] bcachefs (loop0): Version upgrade required: [ 329.572483][ T6997] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 329.572483][ T6997] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 329.572483][ T6997] 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 [ 330.324379][ T6997] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 330.324401][ T6997] 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 [ 330.324411][ T6997] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 330.324418][ T6997] flagging btree extents lost data [ 330.325544][ T6997] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 330.325556][ T6997] ret btree_node_read_validate_error [ 330.573325][ T6997] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 330.728551][ T6997] bcachefs (loop0): check_topology... [ 330.728606][ T6997] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 330.790278][ T6997] bcachefs (loop0): no nodes found for btree extents, continuing [ 330.828794][ T6997] done [ 330.830460][ T6997] bcachefs (loop0): accounting_read... done [ 330.863939][ T6997] bcachefs (loop0): alloc_read... done [ 330.893512][ T6997] bcachefs (loop0): snapshots_read... done [ 330.913906][ T6997] bcachefs (loop0): check_allocations... [ 330.925892][ T6997] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 330.925909][ T6997] 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 [ 331.031209][ T6997] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 331.031229][ T6997] 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 [ 331.105000][ T6997] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 331.105023][ T6997] 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 [ 331.209461][ T6997] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 331.209482][ T6997] 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 [ 331.330032][ T6997] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 331.330056][ T6997] 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 [ 331.490388][ T6997] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 331.543681][ T6997] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 331.550071][ T6997] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 331.626798][ T6997] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 331.682340][ T6997] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 331.686788][ T6997] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 331.773320][ T6997] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 331.777883][ T6997] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 331.864122][ T6997] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 331.868776][ T6997] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing 2025/06/17 11:29:23 executed programs: 312 [ 331.983994][ T6997] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 331.990060][ T6997] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 332.087733][ T6997] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 332.137400][ T6997] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 332.192916][ T6997] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 332.217781][ T6997] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 332.259539][ T6997] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 332.325861][ T6997] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 332.383103][ T6997] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 332.442290][ T6997] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 332.448118][ T6997] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 332.448132][ T6997] Ratelimiting new instances of previous error [ 332.582125][ T6997] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 332.582141][ T6997] Ratelimiting new instances of previous error [ 332.854584][ T6997] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 333.021180][ T6997] done [ 333.055735][ T6997] bcachefs (loop0): going read-write [ 333.082138][ T6997] workqueue: Failed to create a rescuer kthread for wq "bcachefs": -EINTR [ 333.082284][ T6997] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 333.141623][ T6997] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 333.197602][ T6997] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 333.238524][ T6997] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 333.332215][ T6997] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 333.336729][ T6997] bcachefs (loop0): shutting down [ 333.536314][ T6997] bcachefs (loop0): shutdown complete [ 335.404543][ T6997] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc 2025/06/17 11:29:28 executed programs: 325 [ 337.621144][ T7044] loop0: detected capacity change from 0 to 32768 [ 337.984240][ T7044] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 337.984262][ T7044] allowing incompatible features above 0.0: (unknown version) [ 337.984270][ T7044] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 338.204709][ T7044] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 338.208360][ T7044] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 338.270927][ T7044] bcachefs (loop0): Version upgrade required: [ 338.270927][ T7044] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 338.270927][ T7044] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 338.270927][ T7044] 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 [ 339.155968][ T7044] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 339.155987][ T7044] 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 [ 339.155996][ T7044] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 339.156003][ T7044] flagging btree extents lost data [ 339.156009][ T7044] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 339.156016][ T7044] ret btree_node_read_validate_error [ 339.392235][ T7044] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 339.522577][ T7044] bcachefs (loop0): check_topology... [ 339.522651][ T7044] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 339.539512][ T7044] bcachefs (loop0): no nodes found for btree extents, continuing [ 339.610766][ T7044] done [ 339.622124][ T7044] bcachefs (loop0): accounting_read... done [ 339.670982][ T7044] bcachefs (loop0): alloc_read... done [ 339.709981][ T7044] bcachefs (loop0): snapshots_read... done [ 339.772275][ T7044] bcachefs (loop0): check_allocations... [ 339.784949][ T7044] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 339.784962][ T7044] 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 [ 339.943125][ T7044] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 339.943143][ T7044] 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 [ 340.047619][ T7044] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 340.047639][ T7044] 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 [ 340.193477][ T7044] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 340.193492][ T7044] 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 [ 340.303636][ T7044] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 340.303662][ T7044] 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 [ 340.470449][ T7044] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 340.542283][ T7044] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 340.548212][ T7044] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 340.618892][ T7044] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 340.672826][ T7044] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 340.719532][ T7044] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 340.766048][ T7044] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 340.770858][ T7044] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 340.840846][ T7044] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 340.912427][ T7044] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 340.918213][ T7044] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 341.002030][ T7044] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 341.036105][ T7044] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 341.093257][ T7044] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 341.098419][ T7044] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 341.176350][ T7044] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 341.232483][ T7044] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 341.263616][ T7044] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 341.270736][ T7044] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 341.372461][ T7044] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 341.379181][ T7044] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 341.379194][ T7044] Ratelimiting new instances of previous error [ 341.504182][ T7044] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 341.504194][ T7044] Ratelimiting new instances of previous error [ 341.664174][ T7044] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 341.758348][ T7044] done [ 341.760075][ T7044] bcachefs (loop0): going read-write [ 341.834257][ T7044] workqueue: Failed to create a rescuer kthread for wq "bcachefs": -EINTR [ 341.834352][ T7044] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 341.956649][ T7044] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 341.960929][ T7044] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 342.042771][ T7044] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 342.095027][ T7044] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 342.099364][ T7044] bcachefs (loop0): shutting down [ 342.246658][ T7044] bcachefs (loop0): shutdown complete 2025/06/17 11:29:33 executed programs: 335 [ 343.616370][ T7044] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc [ 345.943801][ T7084] loop0: detected capacity change from 0 to 32768 [ 346.259002][ T7084] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 346.259022][ T7084] allowing incompatible features above 0.0: (unknown version) [ 346.259030][ T7084] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 346.422712][ T7084] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 346.462469][ T7084] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 346.466237][ T7084] bcachefs (loop0): Version upgrade required: [ 346.466237][ T7084] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 346.466237][ T7084] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 346.466237][ T7084] 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 [ 347.351891][ T7084] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 347.351962][ T7084] 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 [ 347.351974][ T7084] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 347.351980][ T7084] flagging btree extents lost data [ 347.351985][ T7084] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 347.351991][ T7084] ret btree_node_read_validate_error [ 347.582245][ T7084] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 347.671663][ T7084] bcachefs (loop0): check_topology... [ 347.686937][ T7084] bcachefs (loop0): btree root extents unreadable, must recover from scan 2025/06/17 11:29:39 executed programs: 348 [ 347.763535][ T7084] bcachefs (loop0): no nodes found for btree extents, continuing [ 347.835683][ T7084] done [ 347.837401][ T7084] bcachefs (loop0): accounting_read... done [ 347.888926][ T7084] bcachefs (loop0): alloc_read... done [ 347.931025][ T7084] bcachefs (loop0): snapshots_read... done [ 347.974872][ T7084] bcachefs (loop0): check_allocations... [ 348.013429][ T7084] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 348.013448][ T7084] 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 [ 348.235805][ T7084] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 348.235824][ T7084] 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 [ 348.346333][ T7084] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 348.346364][ T7084] 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 [ 348.455650][ T7084] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 348.455666][ T7084] 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 [ 348.607726][ T7084] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 348.607743][ T7084] 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 [ 348.714609][ T7084] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 348.767665][ T7084] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 348.853754][ T7084] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 348.902606][ T7084] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 348.942649][ T7084] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 348.998459][ T7084] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 349.052210][ T7084] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 349.087107][ T7084] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 349.147237][ T7084] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 349.220320][ T7084] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 349.272282][ T7084] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 349.345913][ T7084] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 349.351007][ T7084] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 349.429343][ T7084] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 349.484335][ T7084] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 349.538553][ T7084] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 349.587120][ T7084] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 349.629707][ T7084] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 349.672646][ T7084] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 349.719964][ T7084] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 349.783069][ T7084] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 349.783090][ T7084] Ratelimiting new instances of previous error [ 349.883949][ T7084] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 349.883968][ T7084] Ratelimiting new instances of previous error [ 350.057124][ T7084] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 350.163920][ T7084] done [ 350.165926][ T7084] bcachefs (loop0): going read-write [ 350.232420][ T7084] workqueue: Failed to create a rescuer kthread for wq "bcachefs_btree_write_complete": -EINTR [ 350.232508][ T7084] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 350.342067][ T7084] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 350.391994][ T7084] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 350.432477][ T7084] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 350.476615][ T7084] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 350.481010][ T7084] bcachefs (loop0): shutting down [ 350.625940][ T7084] bcachefs (loop0): shutdown complete [ 352.292385][ T7084] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc 2025/06/17 11:29:45 executed programs: 360 [ 354.369620][ T7127] loop0: detected capacity change from 0 to 32768 [ 354.698531][ T7127] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 354.698554][ T7127] allowing incompatible features above 0.0: (unknown version) [ 354.698563][ T7127] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 354.896738][ T7127] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 354.942891][ T7127] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 354.946671][ T7127] bcachefs (loop0): Version upgrade required: [ 354.946671][ T7127] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 354.946671][ T7127] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 354.946671][ T7127] 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 [ 355.631010][ T7127] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 355.631031][ T7127] 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 [ 355.631043][ T7127] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 355.631051][ T7127] flagging btree extents lost data [ 355.631058][ T7127] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 355.631067][ T7127] ret btree_node_read_validate_error [ 355.871969][ T7127] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 355.998490][ T7127] bcachefs (loop0): check_topology... [ 355.998538][ T7127] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 356.057347][ T7127] bcachefs (loop0): no nodes found for btree extents, continuing [ 356.100600][ T7127] done [ 356.110837][ T7127] bcachefs (loop0): accounting_read... done [ 356.165699][ T7127] bcachefs (loop0): alloc_read... done [ 356.200591][ T7127] bcachefs (loop0): snapshots_read... done [ 356.236399][ T7127] bcachefs (loop0): check_allocations... [ 356.248944][ T7127] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 356.248963][ T7127] 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 [ 356.379414][ T7127] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 356.379433][ T7127] 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 [ 356.516107][ T7127] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 356.516129][ T7127] 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 [ 356.659527][ T7127] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 356.659547][ T7127] 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 [ 356.773705][ T7127] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 356.773724][ T7127] 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 [ 356.939873][ T7127] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 356.946389][ T7127] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 357.025937][ T7127] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 357.095581][ T7127] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 357.131980][ T7127] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 357.175919][ T7127] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 357.228137][ T7127] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 357.262219][ T7127] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 357.324600][ T7127] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 357.372276][ T7127] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 357.419102][ T7127] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 357.472462][ T7127] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 357.542390][ T7127] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 357.573436][ T7127] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 357.615931][ T7127] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 357.678124][ T7127] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 357.715794][ T7127] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 357.772374][ T7127] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 357.813544][ T7127] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 357.847702][ T7127] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 357.899559][ T7127] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 357.899573][ T7127] Ratelimiting new instances of previous error [ 357.978463][ T7127] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 357.978483][ T7127] Ratelimiting new instances of previous error [ 358.106422][ T7127] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 358.183416][ T7127] done [ 358.185384][ T7127] bcachefs (loop0): going read-write [ 358.245302][ T7127] workqueue: Failed to create a rescuer kthread for wq "bcachefs_btree_write_complete": -EINTR [ 358.245399][ T7127] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 358.329410][ T7127] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 358.385044][ T7127] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 358.403963][ T7127] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 358.439881][ T7127] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 358.483363][ T7127] bcachefs (loop0): shutting down [ 358.579441][ T7127] bcachefs (loop0): shutdown complete 2025/06/17 11:29:50 executed programs: 373 [ 359.782911][ T7127] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc [ 361.788773][ T7170] loop0: detected capacity change from 0 to 32768 [ 362.094661][ T7170] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 362.094681][ T7170] allowing incompatible features above 0.0: (unknown version) [ 362.094688][ T7170] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 362.288457][ T7170] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 362.325607][ T7170] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 362.329272][ T7170] bcachefs (loop0): Version upgrade required: [ 362.329272][ T7170] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 362.329272][ T7170] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 362.329272][ T7170] 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 [ 363.115699][ T7170] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 363.115715][ T7170] 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 [ 363.115727][ T7170] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 363.115734][ T7170] flagging btree extents lost data [ 363.115739][ T7170] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 363.115746][ T7170] ret btree_node_read_validate_error [ 363.396294][ T7170] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 363.499393][ T7170] bcachefs (loop0): check_topology... [ 363.499454][ T7170] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 363.556841][ T7170] bcachefs (loop0): no nodes found for btree extents, continuing [ 363.594968][ T7170] done [ 363.603821][ T7170] bcachefs (loop0): accounting_read... done [ 363.644691][ T7170] bcachefs (loop0): alloc_read... done [ 363.697834][ T7170] bcachefs (loop0): snapshots_read... done [ 363.741925][ T7170] bcachefs (loop0): check_allocations... [ 363.759694][ T7170] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 363.759716][ T7170] 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 [ 363.928731][ T7170] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 363.928749][ T7170] 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 [ 364.033461][ T7170] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 364.033477][ T7170] 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 [ 364.173721][ T7170] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 364.173741][ T7170] 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 [ 364.323926][ T7170] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 364.323943][ T7170] 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 [ 364.492708][ T7170] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 364.582544][ T7170] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 364.588379][ T7170] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 364.639310][ T7170] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 364.708085][ T7170] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 364.762821][ T7170] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 364.768477][ T7170] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing 2025/06/17 11:29:56 executed programs: 386 [ 364.867141][ T7170] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 364.942197][ T7170] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 365.013921][ T7170] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 365.052561][ T7170] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 365.058042][ T7170] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 365.162816][ T7170] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 365.168410][ T7170] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 365.262232][ T7170] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 365.300427][ T7170] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 365.342793][ T7170] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 365.392250][ T7170] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 365.398999][ T7170] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 365.502253][ T7170] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 365.507970][ T7170] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 365.507987][ T7170] Ratelimiting new instances of previous error [ 365.587351][ T7170] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 365.587366][ T7170] Ratelimiting new instances of previous error [ 365.710274][ T7170] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 365.825247][ T7170] done [ 365.827058][ T7170] bcachefs (loop0): going read-write [ 365.872406][ T7170] workqueue: Failed to create a rescuer kthread for wq "bcachefs_btree_write_complete": -EINTR [ 365.872494][ T7170] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 365.897278][ T7170] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 365.901403][ T7170] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 365.962022][ T7170] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 365.966430][ T7170] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 366.044505][ T7170] bcachefs (loop0): shutting down [ 366.134493][ T7170] bcachefs (loop0): shutdown complete [ 367.454286][ T7170] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc [ 369.673017][ T7211] loop0: detected capacity change from 0 to 32768 [ 369.999093][ T7211] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 369.999113][ T7211] allowing incompatible features above 0.0: (unknown version) [ 369.999121][ T7211] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 370.130174][ T7211] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 370.222030][ T7211] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 370.240311][ T7211] bcachefs (loop0): Version upgrade required: [ 370.240311][ T7211] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 370.240311][ T7211] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 370.240311][ T7211] 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 [ 370.877141][ T7211] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 370.877162][ T7211] 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 [ 370.877172][ T7211] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 370.877179][ T7211] flagging btree extents lost data [ 370.877184][ T7211] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 370.877191][ T7211] ret btree_node_read_validate_error 2025/06/17 11:30:02 executed programs: 402 [ 371.093046][ T7211] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 371.224147][ T7211] bcachefs (loop0): check_topology... [ 371.224204][ T7211] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 371.287938][ T7211] bcachefs (loop0): no nodes found for btree extents, continuing [ 371.316534][ T7211] done [ 371.318098][ T7211] bcachefs (loop0): accounting_read... done [ 371.359081][ T7211] bcachefs (loop0): alloc_read... done [ 371.389781][ T7211] bcachefs (loop0): snapshots_read... done [ 371.462952][ T7211] bcachefs (loop0): check_allocations... [ 371.472778][ T7211] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 371.472797][ T7211] 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 [ 371.585936][ T7211] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 371.585957][ T7211] 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 [ 371.750648][ T7211] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 371.750666][ T7211] 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 [ 371.834194][ T7211] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 371.834220][ T7211] 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 [ 371.933003][ T7211] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 371.933024][ T7211] 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 [ 372.015205][ T7211] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 372.074912][ T7211] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 372.130914][ T7211] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 372.152089][ T7211] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 372.201505][ T7211] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 372.253717][ T7211] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 372.303768][ T7211] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 372.344850][ T7211] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 372.415089][ T7211] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 372.455104][ T7211] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 372.506796][ T7211] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 372.576525][ T7211] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 372.616377][ T7211] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 372.656365][ T7211] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 372.693582][ T7211] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 372.735862][ T7211] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 372.788025][ T7211] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 372.848080][ T7211] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 372.912190][ T7211] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 372.958465][ T7211] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 372.996646][ T7211] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 372.996663][ T7211] Ratelimiting new instances of previous error [ 373.098685][ T7211] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 373.098704][ T7211] Ratelimiting new instances of previous error [ 373.186810][ T7211] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 373.259759][ T7211] done [ 373.362604][ T7211] bcachefs (loop0): going read-write [ 373.375509][ T7211] workqueue: Failed to create a rescuer kthread for wq "bcachefs": -EINTR [ 373.375633][ T7211] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 373.434030][ T7211] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 373.438420][ T7211] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 373.501146][ T7211] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 373.533619][ T7211] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 373.583891][ T7211] bcachefs (loop0): shutting down [ 373.713284][ T7211] bcachefs (loop0): shutdown complete [ 374.872564][ T7211] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc [ 376.949588][ T7251] loop0: detected capacity change from 0 to 32768 [ 377.289774][ T7251] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names 2025/06/17 11:30:08 executed programs: 418 [ 377.289837][ T7251] allowing incompatible features above 0.0: (unknown version) [ 377.289846][ T7251] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 377.475591][ T7251] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 377.538154][ T7251] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 377.587578][ T7251] bcachefs (loop0): Version upgrade required: [ 377.587578][ T7251] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 377.587578][ T7251] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 377.587578][ T7251] 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 [ 378.364900][ T7251] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 378.364916][ T7251] 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 [ 378.364925][ T7251] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 378.364931][ T7251] flagging btree extents lost data [ 378.364936][ T7251] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 378.364944][ T7251] ret btree_node_read_validate_error [ 378.582687][ T7251] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 378.681598][ T7251] bcachefs (loop0): check_topology... [ 378.696299][ T7251] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 378.742660][ T7251] bcachefs (loop0): no nodes found for btree extents, continuing [ 378.816565][ T7251] done [ 378.818128][ T7251] bcachefs (loop0): accounting_read... done [ 378.844242][ T7251] bcachefs (loop0): alloc_read... done [ 378.902069][ T7251] bcachefs (loop0): snapshots_read... done [ 378.946888][ T7251] bcachefs (loop0): check_allocations... [ 378.964788][ T7251] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 378.964802][ T7251] 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 [ 379.137581][ T7251] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 379.137602][ T7251] 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 [ 379.272154][ T7251] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 379.272173][ T7251] 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 [ 379.470186][ T7251] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 379.470203][ T7251] 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 [ 379.658197][ T7251] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 379.658218][ T7251] 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 [ 379.729452][ T7251] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 379.819218][ T7251] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 379.878909][ T7251] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 379.940732][ T7251] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 380.012435][ T7251] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 380.017700][ T7251] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 380.122253][ T7251] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 380.164736][ T7251] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 380.245234][ T7251] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 380.249722][ T7251] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 380.352264][ T7251] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 380.390302][ T7251] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 380.445215][ T7251] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 380.449528][ T7251] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 380.540903][ T7251] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 380.616475][ T7251] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 380.639797][ T7251] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 380.688319][ T7251] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 380.753223][ T7251] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 380.760630][ T7251] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 380.867949][ T7251] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 380.867965][ T7251] Ratelimiting new instances of previous error [ 380.922063][ T7251] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 380.922084][ T7251] Ratelimiting new instances of previous error [ 381.024246][ T7251] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 381.068445][ T7251] done [ 381.100030][ T7251] bcachefs (loop0): going read-write [ 381.142036][ T7251] workqueue: Failed to create a rescuer kthread for wq "bcachefs": -EINTR [ 381.142124][ T7251] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 381.197611][ T7251] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 381.232824][ T7251] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 381.277810][ T7251] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 381.301912][ T7251] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 381.333643][ T7251] bcachefs (loop0): shutting down [ 381.435063][ T7251] bcachefs (loop0): shutdown complete 2025/06/17 11:30:13 executed programs: 432 [ 382.697554][ T7251] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc [ 383.894987][ T1316] ieee802154 phy0 wpan0: encryption failed: -22 [ 383.908698][ T1316] ieee802154 phy1 wpan1: encryption failed: -22 [ 384.979387][ T7298] loop0: detected capacity change from 0 to 32768 [ 385.210103][ T7298] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 385.210126][ T7298] allowing incompatible features above 0.0: (unknown version) [ 385.210133][ T7298] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 385.381257][ T7298] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 385.454087][ T7298] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 385.485756][ T7298] bcachefs (loop0): Version upgrade required: [ 385.485756][ T7298] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 385.485756][ T7298] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 385.485756][ T7298] 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 [ 386.155874][ T7298] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 386.155891][ T7298] 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 [ 386.155901][ T7298] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 386.155907][ T7298] flagging btree extents lost data [ 386.155912][ T7298] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 386.155919][ T7298] ret btree_node_read_validate_error [ 386.395117][ T7298] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 386.509350][ T7298] bcachefs (loop0): check_topology... [ 386.509408][ T7298] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 386.577314][ T7298] bcachefs (loop0): no nodes found for btree extents, continuing [ 386.624347][ T7298] done [ 386.625841][ T7298] bcachefs (loop0): accounting_read... done [ 386.639577][ T7298] bcachefs (loop0): alloc_read... done [ 386.687521][ T7298] bcachefs (loop0): snapshots_read... done [ 386.721549][ T7298] bcachefs (loop0): check_allocations... [ 386.728800][ T7298] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 386.728818][ T7298] 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 [ 386.886755][ T7298] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 386.886778][ T7298] 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 [ 387.032871][ T7298] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 387.032889][ T7298] 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 [ 387.173576][ T7298] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 387.173594][ T7298] 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 [ 387.319458][ T7298] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 387.319484][ T7298] 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 [ 387.462721][ T7298] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 387.492536][ T7298] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 387.552530][ T7298] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 387.602386][ T7298] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 387.653763][ T7298] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 387.687728][ T7298] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 387.733074][ T7298] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 387.786217][ T7298] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 387.852446][ T7298] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 387.886749][ T7298] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 387.936024][ T7298] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 387.979441][ T7298] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 388.042779][ T7298] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 388.100095][ T7298] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 388.148984][ T7298] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 388.205616][ T7298] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 388.246022][ T7298] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 388.284197][ T7298] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 388.320605][ T7298] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 388.381261][ T7298] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing 2025/06/17 11:30:19 executed programs: 444 [ 388.456608][ T7298] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 388.456629][ T7298] Ratelimiting new instances of previous error [ 388.526597][ T7298] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 388.526614][ T7298] Ratelimiting new instances of previous error [ 388.703455][ T7298] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 388.768290][ T7298] done [ 388.770108][ T7298] bcachefs (loop0): going read-write [ 388.811839][ T7298] workqueue: Failed to create a rescuer kthread for wq "bcachefs": -EINTR [ 388.811939][ T7298] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 388.882904][ T7298] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 388.887974][ T7298] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 388.944829][ T7298] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 388.949678][ T7298] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 389.037217][ T7298] bcachefs (loop0): shutting down [ 389.160082][ T7298] bcachefs (loop0): shutdown complete [ 390.378347][ T7298] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc [ 392.508597][ T7342] loop0: detected capacity change from 0 to 32768 [ 392.787071][ T7342] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 392.787091][ T7342] allowing incompatible features above 0.0: (unknown version) [ 392.787099][ T7342] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 392.988914][ T7342] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 393.015257][ T7342] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 393.072172][ T7342] bcachefs (loop0): Version upgrade required: [ 393.072172][ T7342] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 393.072172][ T7342] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 393.072172][ T7342] 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 11:30:24 executed programs: 459 [ 393.803692][ T7342] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 393.803711][ T7342] 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 [ 393.803721][ T7342] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 393.803729][ T7342] flagging btree extents lost data [ 393.803734][ T7342] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 393.803741][ T7342] ret btree_node_read_validate_error [ 394.039688][ T7342] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 394.150058][ T7342] bcachefs (loop0): check_topology... [ 394.150117][ T7342] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 394.234939][ T7342] bcachefs (loop0): no nodes found for btree extents, continuing [ 394.294662][ T7342] done [ 394.314932][ T7342] bcachefs (loop0): accounting_read... done [ 394.379599][ T7342] bcachefs (loop0): alloc_read... done [ 394.421897][ T7342] bcachefs (loop0): snapshots_read... done [ 394.458471][ T7342] bcachefs (loop0): check_allocations... [ 394.486952][ T7342] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 394.486973][ T7342] 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 [ 394.636603][ T7342] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 394.636621][ T7342] 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 [ 394.736129][ T7342] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 394.736149][ T7342] 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 [ 394.879376][ T7342] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 394.879393][ T7342] 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 [ 395.026046][ T7342] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 395.026064][ T7342] 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 [ 395.134430][ T7342] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 395.179195][ T7342] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 395.215553][ T7342] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 395.272133][ T7342] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 395.333607][ T7342] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 395.382266][ T7342] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 395.432269][ T7342] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 395.464361][ T7342] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 395.536591][ T7342] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 395.579517][ T7342] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 395.605311][ T7342] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 395.685410][ T7342] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 395.690527][ T7342] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 395.752074][ T7342] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 395.810788][ T7342] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 395.856526][ T7342] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 395.909018][ T7342] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 395.952151][ T7342] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 395.957954][ T7342] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 396.049672][ T7342] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 396.103703][ T7342] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 396.103720][ T7342] Ratelimiting new instances of previous error [ 396.111013][ T7342] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 396.111026][ T7342] Ratelimiting new instances of previous error [ 396.322573][ T7342] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 396.390082][ T7342] done [ 396.424912][ T7342] bcachefs (loop0): going read-write [ 396.448371][ T7342] workqueue: Failed to create a rescuer kthread for wq "bcachefs": -EINTR [ 396.448480][ T7342] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 396.571931][ T7342] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 396.632218][ T7342] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 396.681962][ T7342] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 396.721895][ T7342] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 396.726117][ T7342] bcachefs (loop0): shutting down [ 396.891276][ T7342] bcachefs (loop0): shutdown complete [ 398.535036][ T7342] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc 2025/06/17 11:30:30 executed programs: 470 [ 400.829984][ T7387] loop0: detected capacity change from 0 to 32768 [ 401.188949][ T7387] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 401.188968][ T7387] allowing incompatible features above 0.0: (unknown version) [ 401.188974][ T7387] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 401.368182][ T7387] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 401.392369][ T7387] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 401.422146][ T7387] bcachefs (loop0): Version upgrade required: [ 401.422146][ T7387] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 401.422146][ T7387] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 401.422146][ T7387] 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 [ 402.112291][ T7387] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 402.112310][ T7387] 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 [ 402.112319][ T7387] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 402.112325][ T7387] flagging btree extents lost data [ 402.112331][ T7387] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 402.112338][ T7387] ret btree_node_read_validate_error [ 402.356939][ T7387] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 402.445158][ T7387] bcachefs (loop0): check_topology... [ 402.445219][ T7387] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 402.504382][ T7387] bcachefs (loop0): no nodes found for btree extents, continuing [ 402.549611][ T7387] done [ 402.564895][ T7387] bcachefs (loop0): accounting_read... done [ 402.640791][ T7387] bcachefs (loop0): alloc_read... done [ 402.657204][ T7387] bcachefs (loop0): snapshots_read... done [ 402.684735][ T7387] bcachefs (loop0): check_allocations... [ 402.714938][ T7387] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 402.714959][ T7387] 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 [ 402.869523][ T7387] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 402.869541][ T7387] 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 [ 402.994171][ T7387] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 402.994193][ T7387] 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 [ 403.206369][ T7387] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 403.206389][ T7387] 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 [ 403.335590][ T7387] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 403.335602][ T7387] 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 [ 403.487062][ T7387] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 403.491478][ T7387] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 403.560437][ T7387] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 403.605967][ T7387] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 403.665129][ T7387] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 403.669552][ T7387] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 403.752678][ T7387] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 403.821434][ T7387] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 403.855617][ T7387] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 403.926869][ T7387] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 403.970761][ T7387] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 403.996815][ T7387] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 404.059971][ T7387] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 404.125409][ T7387] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 404.131080][ T7387] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing 2025/06/17 11:30:35 executed programs: 481 [ 404.212149][ T7387] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 404.217250][ T7387] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 404.299925][ T7387] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 404.355919][ T7387] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 404.361172][ T7387] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 404.473220][ T7387] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 404.473235][ T7387] Ratelimiting new instances of previous error [ 404.548418][ T7387] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 404.548434][ T7387] Ratelimiting new instances of previous error [ 404.742366][ T7387] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 404.805528][ T7387] done [ 404.818822][ T7387] bcachefs (loop0): going read-write [ 404.848429][ T7387] workqueue: Failed to create a rescuer kthread for wq "bcachefs_btree_write_complete": -EINTR [ 404.848512][ T7387] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 404.914533][ T7387] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 404.918863][ T7387] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 405.009542][ T7387] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 405.044859][ T7387] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 405.048894][ T7387] bcachefs (loop0): shutting down [ 405.228035][ T7387] bcachefs (loop0): shutdown complete [ 406.847914][ T7387] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc [ 409.320918][ T7435] loop0: detected capacity change from 0 to 32768 2025/06/17 11:30:40 executed programs: 495 [ 409.679679][ T7435] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 409.679702][ T7435] allowing incompatible features above 0.0: (unknown version) [ 409.679711][ T7435] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 409.876850][ T7435] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 409.880385][ T7435] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 409.942240][ T7435] bcachefs (loop0): Version upgrade required: [ 409.942240][ T7435] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 409.942240][ T7435] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 409.942240][ T7435] 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 [ 410.662296][ T7435] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 410.662313][ T7435] 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 [ 410.662322][ T7435] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 410.662328][ T7435] flagging btree extents lost data [ 410.662333][ T7435] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 410.662339][ T7435] ret btree_node_read_validate_error [ 410.893954][ T7435] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 411.028714][ T7435] bcachefs (loop0): check_topology... [ 411.028768][ T7435] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 411.105218][ T7435] bcachefs (loop0): no nodes found for btree extents, continuing [ 411.155722][ T7435] done [ 411.164499][ T7435] bcachefs (loop0): accounting_read... done [ 411.214217][ T7435] bcachefs (loop0): alloc_read... done [ 411.253646][ T7435] bcachefs (loop0): snapshots_read... done [ 411.268873][ T7435] bcachefs (loop0): check_allocations... [ 411.283894][ T7435] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 411.283922][ T7435] 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 [ 411.397320][ T7435] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 411.397342][ T7435] 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 [ 411.520033][ T7435] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 411.520045][ T7435] 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 [ 411.649737][ T7435] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 411.649757][ T7435] 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 [ 411.841230][ T7435] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 411.841252][ T7435] 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 [ 411.973721][ T7435] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 412.035758][ T7435] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 412.074377][ T7435] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 412.078848][ T7435] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 412.164053][ T7435] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 412.168465][ T7435] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 412.256146][ T7435] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 412.260468][ T7435] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 412.342355][ T7435] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 412.382192][ T7435] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 412.388046][ T7435] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 412.471965][ T7435] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 412.522262][ T7435] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 412.527855][ T7435] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 412.607901][ T7435] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 412.672999][ T7435] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 412.745705][ T7435] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 412.751417][ T7435] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 412.834843][ T7435] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 412.871094][ T7435] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 412.916761][ T7435] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 412.916780][ T7435] Ratelimiting new instances of previous error [ 413.013251][ T7435] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 413.013266][ T7435] Ratelimiting new instances of previous error [ 413.162769][ T7435] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 413.241156][ T7435] done [ 413.267868][ T7435] bcachefs (loop0): going read-write [ 413.302423][ T7435] workqueue: Failed to create a rescuer kthread for wq "bcachefs_btree_write_complete": -EINTR [ 413.302511][ T7435] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 413.311597][ T7435] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 413.426623][ T7435] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 413.463104][ T7435] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 413.467546][ T7435] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 413.550175][ T7435] bcachefs (loop0): shutting down [ 413.649577][ T7435] bcachefs (loop0): shutdown complete [ 414.953888][ T7435] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc 2025/06/17 11:30:46 executed programs: 507 [ 417.598525][ T7476] loop0: detected capacity change from 0 to 32768 [ 417.908442][ T7476] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 417.908463][ T7476] allowing incompatible features above 0.0: (unknown version) [ 417.908471][ T7476] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 418.128741][ T7476] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 418.167824][ T7476] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 418.210889][ T7476] bcachefs (loop0): Version upgrade required: [ 418.210889][ T7476] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 418.210889][ T7476] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 418.210889][ T7476] 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 [ 419.103033][ T7476] bcachefs (loop0): error reallocating journal fifo (32768 open entries) [ 419.162766][ T7476] bcachefs (loop0): error in recovery: ENOMEM_journal_pin_fifoemergency read only at seq 0 [ 419.233613][ T7476] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_journal_pin_fifo [ 419.295952][ T7476] bcachefs (loop0): shutting down [ 419.471033][ T7476] bcachefs (loop0): shutdown complete [ 420.764624][ T7476] bcachefs: bch2_fs_get_tree() error: ENOMEM_journal_pin_fifo 2025/06/17 11:30:52 executed programs: 518 [ 423.194894][ T7504] loop0: detected capacity change from 0 to 32768 [ 423.561205][ T7504] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 423.561224][ T7504] allowing incompatible features above 0.0: (unknown version) [ 423.561231][ T7504] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 423.813864][ T7504] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 423.817653][ T7504] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 423.821433][ T7504] bcachefs (loop0): Version upgrade required: [ 423.821433][ T7504] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 423.821433][ T7504] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 423.821433][ T7504] 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 [ 424.647333][ T7504] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 424.647354][ T7504] 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 [ 424.647366][ T7504] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 424.647375][ T7504] flagging btree extents lost data [ 424.647383][ T7504] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 424.647394][ T7504] ret btree_node_read_validate_error [ 424.876176][ T7504] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 424.984428][ T7504] bcachefs (loop0): check_topology... [ 424.984498][ T7504] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 425.042036][ T7504] bcachefs (loop0): no nodes found for btree extents, continuing [ 425.082577][ T7504] done [ 425.106900][ T7504] bcachefs (loop0): accounting_read... done [ 425.172419][ T7504] bcachefs (loop0): alloc_read... done [ 425.198465][ T7504] bcachefs (loop0): snapshots_read... done [ 425.236068][ T7504] bcachefs (loop0): check_allocations... [ 425.274871][ T7504] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 425.274891][ T7504] 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 [ 425.418379][ T7504] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 425.418396][ T7504] 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 [ 425.594679][ T7504] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 425.594695][ T7504] 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 [ 425.743524][ T7504] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 425.743545][ T7504] 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 [ 425.857996][ T7504] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 425.858023][ T7504] 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 [ 426.002457][ T7504] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 426.052302][ T7504] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 426.080934][ T7504] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 426.121963][ T7504] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 426.160786][ T7504] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 426.232592][ T7504] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 426.238587][ T7504] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 426.315628][ T7504] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 426.321194][ T7504] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 426.395913][ T7504] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 426.452761][ T7504] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 426.486355][ T7504] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 426.536134][ T7504] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 426.596257][ T7504] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 426.601639][ T7504] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 426.657294][ T7504] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 426.700146][ T7504] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 426.738405][ T7504] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 426.782108][ T7504] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 426.787184][ T7504] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing 2025/06/17 11:30:58 executed programs: 533 [ 426.882603][ T7504] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 426.882622][ T7504] Ratelimiting new instances of previous error [ 426.928325][ T7504] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 426.928341][ T7504] Ratelimiting new instances of previous error [ 427.039483][ T7504] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 427.135746][ T7504] done [ 427.137611][ T7504] bcachefs (loop0): going read-write [ 427.175703][ T7504] workqueue: Failed to create a rescuer kthread for wq "bcachefs": -EINTR [ 427.175833][ T7504] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 427.221930][ T7504] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 427.256577][ T7504] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 427.291911][ T7504] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 427.329250][ T7504] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 427.364852][ T7504] bcachefs (loop0): shutting down [ 427.453491][ T7504] bcachefs (loop0): shutdown complete [ 428.571042][ T7504] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc [ 430.822120][ T7540] loop0: detected capacity change from 0 to 32768 [ 431.088822][ T7540] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 431.088842][ T7540] allowing incompatible features above 0.0: (unknown version) [ 431.088849][ T7540] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 431.274211][ T7540] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 431.278496][ T7540] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 431.361608][ T7540] bcachefs (loop0): Version upgrade required: [ 431.361608][ T7540] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 431.361608][ T7540] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 431.361608][ T7540] 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 11:31:03 executed programs: 545 [ 432.043792][ T7540] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 432.043813][ T7540] 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 [ 432.043823][ T7540] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 432.043829][ T7540] flagging btree extents lost data [ 432.043836][ T7540] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 432.043844][ T7540] ret btree_node_read_validate_error [ 432.271118][ T7540] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 432.414667][ T7540] bcachefs (loop0): check_topology... [ 432.414722][ T7540] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 432.489766][ T7540] bcachefs (loop0): no nodes found for btree extents, continuing [ 432.568557][ T7540] done [ 432.570052][ T7540] bcachefs (loop0): accounting_read... done [ 432.615697][ T7540] bcachefs (loop0): alloc_read... done [ 432.645027][ T7540] bcachefs (loop0): snapshots_read... done [ 432.687151][ T7540] bcachefs (loop0): check_allocations... [ 432.699992][ T7540] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 432.700009][ T7540] 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 [ 432.825118][ T7540] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 432.825136][ T7540] 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 [ 432.932190][ T7540] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 432.932208][ T7540] 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 [ 433.099142][ T7540] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 433.099163][ T7540] 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 [ 433.228964][ T7540] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 433.228978][ T7540] 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 [ 433.356493][ T7540] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 433.408010][ T7540] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 433.457687][ T7540] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 433.508840][ T7540] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 433.555773][ T7540] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 433.622076][ T7540] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 433.628504][ T7540] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 433.722360][ T7540] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 433.727801][ T7540] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 433.802303][ T7540] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 433.836235][ T7540] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 433.897551][ T7540] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 433.932765][ T7540] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 433.975329][ T7540] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 433.980851][ T7540] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 434.050035][ T7540] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 434.112376][ T7540] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 434.149061][ T7540] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 434.205505][ T7540] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 434.210290][ T7540] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 434.292364][ T7540] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 434.292375][ T7540] Ratelimiting new instances of previous error [ 434.341136][ T7540] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 434.341151][ T7540] Ratelimiting new instances of previous error [ 434.532577][ T7540] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 434.605766][ T7540] done [ 434.632478][ T7540] bcachefs (loop0): going read-write [ 434.672156][ T7540] workqueue: Failed to create a rescuer kthread for wq "bcachefs": -EINTR [ 434.672253][ T7540] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 434.772664][ T7540] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 434.777026][ T7540] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 434.861911][ T7540] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 434.866934][ T7540] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 434.940941][ T7540] bcachefs (loop0): shutting down [ 435.063420][ T7540] bcachefs (loop0): shutdown complete [ 436.831572][ T7540] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc 2025/06/17 11:31:08 executed programs: 559 [ 439.180583][ T7583] loop0: detected capacity change from 0 to 32768 [ 439.521064][ T7583] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 439.521081][ T7583] allowing incompatible features above 0.0: (unknown version) [ 439.521091][ T7583] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 439.716272][ T7583] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 439.720140][ T7583] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 439.817553][ T7583] bcachefs (loop0): Version upgrade required: [ 439.817553][ T7583] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 439.817553][ T7583] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 439.817553][ T7583] 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 [ 440.558233][ T7583] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 440.558252][ T7583] 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 [ 440.558262][ T7583] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 440.558268][ T7583] flagging btree extents lost data [ 440.558274][ T7583] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 440.558281][ T7583] ret btree_node_read_validate_error [ 440.773310][ T7583] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 440.869621][ T7583] bcachefs (loop0): check_topology... [ 440.869695][ T7583] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 440.932481][ T7583] bcachefs (loop0): no nodes found for btree extents, continuing [ 440.984669][ T7583] done [ 440.986079][ T7583] bcachefs (loop0): accounting_read... done [ 441.021633][ T7583] bcachefs (loop0): alloc_read... done [ 441.051972][ T7583] bcachefs (loop0): snapshots_read... done [ 441.095927][ T7583] bcachefs (loop0): check_allocations... [ 441.118900][ T7583] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 441.118922][ T7583] 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 [ 441.306023][ T7583] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 441.306039][ T7583] 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 [ 441.430380][ T7583] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 441.430398][ T7583] 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 [ 441.564368][ T7583] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 441.564387][ T7583] 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 [ 441.725536][ T7583] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 441.725552][ T7583] 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 [ 441.885243][ T7583] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 441.889689][ T7583] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 441.967628][ T7583] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 442.010444][ T7583] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 442.067205][ T7583] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 442.114831][ T7583] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 442.120994][ T7583] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 442.193384][ T7583] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 442.199307][ T7583] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 442.290624][ T7583] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing 2025/06/17 11:31:13 executed programs: 570 [ 442.367475][ T7583] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 442.412116][ T7583] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 442.459341][ T7583] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 442.532209][ T7583] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 442.538634][ T7583] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 442.606705][ T7583] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 442.652358][ T7583] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 442.687924][ T7583] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 442.756639][ T7583] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 442.792125][ T7583] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 442.797744][ T7583] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 442.797762][ T7583] Ratelimiting new instances of previous error [ 442.900622][ T7583] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 442.900641][ T7583] Ratelimiting new instances of previous error [ 443.016096][ T7583] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 443.059679][ T7583] done [ 443.061425][ T7583] bcachefs (loop0): going read-write [ 443.126759][ T7583] workqueue: Failed to create a rescuer kthread for wq "bcachefs": -EINTR [ 443.126854][ T7583] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 443.180070][ T7583] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 443.226314][ T7583] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 443.276693][ T7583] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 443.314321][ T7583] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 443.349414][ T7583] bcachefs (loop0): shutting down [ 443.482312][ T7583] bcachefs (loop0): shutdown complete [ 444.664670][ T7583] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc [ 445.346417][ T1316] ieee802154 phy0 wpan0: encryption failed: -22 [ 445.349572][ T1316] ieee802154 phy1 wpan1: encryption failed: -22 [ 446.751447][ T7629] loop0: detected capacity change from 0 to 32768 [ 447.087364][ T7629] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 447.087383][ T7629] allowing incompatible features above 0.0: (unknown version) [ 447.087390][ T7629] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 447.278672][ T7629] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 447.330179][ T7629] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 447.375295][ T7629] bcachefs (loop0): Version upgrade required: [ 447.375295][ T7629] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 447.375295][ T7629] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 447.375295][ T7629] 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 [ 448.157311][ T7629] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 448.157329][ T7629] 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 [ 448.157338][ T7629] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 448.157344][ T7629] flagging btree extents lost data [ 448.157350][ T7629] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 448.157356][ T7629] ret btree_node_read_validate_error [ 448.368986][ T7629] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 448.587701][ T7629] bcachefs (loop0): check_topology... [ 448.587792][ T7629] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 448.630209][ T7629] bcachefs (loop0): no nodes found for btree extents, continuing 2025/06/17 11:31:20 executed programs: 586 [ 448.696830][ T7629] done [ 448.698391][ T7629] bcachefs (loop0): accounting_read... done [ 448.751587][ T7629] bcachefs (loop0): alloc_read... done [ 448.803705][ T7629] bcachefs (loop0): snapshots_read... done [ 448.842132][ T7629] bcachefs (loop0): check_allocations... [ 448.869477][ T7629] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 448.869495][ T7629] 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 [ 449.040989][ T7629] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 449.041008][ T7629] 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 [ 449.167114][ T7629] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 449.167138][ T7629] 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 [ 449.316026][ T7629] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 449.316047][ T7629] 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 [ 449.492236][ T7629] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 449.492255][ T7629] 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 [ 449.604680][ T7629] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 449.610064][ T7629] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 449.725972][ T7629] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 449.807030][ T7629] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 449.862464][ T7629] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 449.900397][ T7629] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 449.956950][ T7629] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 449.997417][ T7629] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 450.053696][ T7629] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 450.058365][ T7629] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 450.132400][ T7629] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 450.137565][ T7629] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 450.247909][ T7629] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 450.312392][ T7629] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 450.318804][ T7629] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 450.392553][ T7629] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 450.398647][ T7629] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 450.512094][ T7629] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 450.538789][ T7629] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 450.582089][ T7629] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 450.644535][ T7629] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 450.644554][ T7629] Ratelimiting new instances of previous error [ 450.728423][ T7629] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 450.728443][ T7629] Ratelimiting new instances of previous error [ 450.963910][ T7629] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 451.045284][ T7629] done [ 451.047236][ T7629] bcachefs (loop0): going read-write [ 451.097078][ T7629] workqueue: Failed to create a rescuer kthread for wq "bcachefs_btree_write_complete": -EINTR [ 451.097168][ T7629] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 451.161103][ T7629] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 451.196524][ T7629] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 451.221897][ T7629] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 451.226810][ T7629] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 451.230910][ T7629] bcachefs (loop0): shutting down [ 451.395668][ T7629] bcachefs (loop0): shutdown complete [ 452.864114][ T7629] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc 2025/06/17 11:31:25 executed programs: 598 [ 454.960824][ T7668] loop0: detected capacity change from 0 to 32768 [ 455.294791][ T7668] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 455.294812][ T7668] allowing incompatible features above 0.0: (unknown version) [ 455.294819][ T7668] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 455.439261][ T7668] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 455.535161][ T7668] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 455.539443][ T7668] bcachefs (loop0): Version upgrade required: [ 455.539443][ T7668] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 455.539443][ T7668] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 455.539443][ T7668] 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 [ 457.032563][ T7668] syz.0.600: vmalloc error: size 7077888, failed to allocated page array size 13824, mode:0xcc2(GFP_KERNEL|__GFP_HIGHMEM), nodemask=(null),cpuset=/,mems_allowed=0-1 [ 457.132134][ T7668] CPU: 0 UID: 0 PID: 7668 Comm: syz.0.600 Not tainted 6.16.0-rc2-syzkaller-g9afe652958c3 #0 PREEMPT(full) [ 457.132163][ T7668] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 457.132215][ T7668] Call Trace: [ 457.132223][ T7668] [ 457.132231][ T7668] dump_stack_lvl+0x189/0x250 [ 457.132265][ T7668] ? __pfx_dump_stack_lvl+0x10/0x10 [ 457.132289][ T7668] ? __pfx__printk+0x10/0x10 [ 457.132308][ T7668] ? cpuset_print_current_mems_allowed+0x1f/0x360 [ 457.132327][ T7668] ? cpuset_print_current_mems_allowed+0x1f/0x360 [ 457.132346][ T7668] ? cpuset_print_current_mems_allowed+0x2ee/0x360 [ 457.132367][ T7668] warn_alloc+0x214/0x310 [ 457.132392][ T7668] ? __pfx_warn_alloc+0x10/0x10 [ 457.132419][ T7668] ? __get_vm_area_node+0x28f/0x300 [ 457.132436][ T7668] ? bch2_fs_journal_start+0x480/0x1510 [ 457.132460][ T7668] __vmalloc_node_range_noprof+0x67e/0x12f0 [ 457.132503][ T7668] ? __pfx___vmalloc_node_range_noprof+0x10/0x10 [ 457.132526][ T7668] ? rcu_is_watching+0x15/0xb0 [ 457.132552][ T7668] ? bch2_fs_journal_start+0x480/0x1510 [ 457.132572][ T7668] ? bch2_fs_journal_start+0x480/0x1510 [ 457.132591][ T7668] __kvmalloc_node_noprof+0x3b8/0x5f0 [ 457.132608][ T7668] ? bch2_fs_journal_start+0x480/0x1510 [ 457.132635][ T7668] bch2_fs_journal_start+0x480/0x1510 [ 457.132670][ T7668] ? bch2_journal_log_msg+0xd9/0x120 [ 457.132707][ T7668] ? __pfx_bch2_fs_journal_start+0x10/0x10 [ 457.132728][ T7668] ? __pfx_bch2_journal_log_msg+0x10/0x10 [ 457.132763][ T7668] bch2_fs_recovery+0x2237/0x3950 [ 457.132801][ T7668] ? __pfx_bch2_fs_recovery+0x10/0x10 [ 457.132825][ T7668] ? __pfx___console_unlock+0x10/0x10 [ 457.132856][ T7668] ? __lock_acquire+0xab9/0xd20 [ 457.132890][ T7668] ? __lock_acquire+0xab9/0xd20 [ 457.132920][ T7668] ? __lock_acquire+0xab9/0xd20 [ 457.132962][ T7668] ? bch2_fs_start+0x9fe/0xd90 [ 457.132984][ T7668] ? up_write+0x1c4/0x420 [ 457.132998][ T7668] ? bch2_fs_start+0x5c4/0xd90 [ 457.133018][ T7668] bch2_fs_start+0xa99/0xd90 [ 457.133035][ T7668] ? bch2_fs_start+0x5c4/0xd90 [ 457.133054][ T7668] ? __pfx_bch2_fs_start+0x10/0x10 [ 457.133089][ T7668] ? sget+0x267/0x620 [ 457.133118][ T7668] bch2_fs_get_tree+0xb02/0x14f0 [ 457.133200][ T7668] ? __pfx_bch2_fs_get_tree+0x10/0x10 [ 457.133241][ T7668] ? aa_get_newest_label+0xf7/0x5d0 [ 457.133263][ T7668] ? vfs_parse_monolithic_sep+0x2df/0x310 [ 457.133294][ T7668] ? apparmor_capable+0x137/0x1b0 [ 457.133316][ T7668] vfs_get_tree+0x92/0x2b0 [ 457.133334][ T7668] do_new_mount+0x24a/0xa40 [ 457.133360][ T7668] __se_sys_mount+0x317/0x410 [ 457.133385][ T7668] ? __pfx___se_sys_mount+0x10/0x10 [ 457.133408][ T7668] ? do_syscall_64+0xbe/0x3b0 [ 457.133479][ T7668] ? __x64_sys_mount+0x20/0xc0 [ 457.133499][ T7668] do_syscall_64+0xfa/0x3b0 [ 457.133512][ T7668] ? lockdep_hardirqs_on+0x9c/0x150 [ 457.133535][ T7668] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 457.133551][ T7668] ? clear_bhb_loop+0x60/0xb0 [ 457.133571][ T7668] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 457.133587][ T7668] RIP: 0033:0x7fc868f874ca [ 457.133603][ T7668] 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 [ 457.133617][ T7668] RSP: 002b:00007fc869dabe68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 [ 457.133636][ T7668] RAX: ffffffffffffffda RBX: 00007fc869dabef0 RCX: 00007fc868f874ca [ 457.133648][ T7668] RDX: 00000000200000c0 RSI: 0000000020000000 RDI: 00007fc869dabeb0 [ 457.133659][ T7668] RBP: 00000000200000c0 R08: 00007fc869dabef0 R09: 0000000000800000 [ 457.133669][ T7668] R10: 0000000000800000 R11: 0000000000000246 R12: 0000000020000000 [ 457.133679][ T7668] R13: 00007fc869dabeb0 R14: 0000000000005962 R15: 0000000020005bc0 [ 457.133712][ T7668] [ 457.316394][ T7668] Mem-Info: [ 457.330000][ T7668] active_anon:22269 inactive_anon:14068 isolated_anon:3 [ 457.330000][ T7668] active_file:6590 inactive_file:227 isolated_file:0 [ 457.330000][ T7668] unevictable:1765 dirty:51 writeback:0 [ 457.330000][ T7668] slab_reclaimable:4797 slab_unreclaimable:51202 [ 457.330000][ T7668] mapped:5761 shmem:10137 pagetables:1071 [ 457.330000][ T7668] sec_pagetables:286 bounce:0 [ 457.330000][ T7668] kernel_misc_reclaimable:0 [ 457.330000][ T7668] free:34014 free_pcp:667 free_cma:0 [ 457.466363][ T7668] Node 0 active_anon:2336kB inactive_anon:296kB active_file:84kB inactive_file:8kB unevictable:488kB isolated(anon):0kB isolated(file):0kB mapped:92kB dirty:0kB writeback:0kB shmem:1908kB shmem_thp:0kB shmem_pmdmapped:0kB anon_thp:0kB writeback_tmp:0kB kernel_stack:3024kB pagetables:992kB sec_pagetables:1088kB all_unreclaimable? yes Balloon:0kB [ 457.585754][ T7668] Node 1 active_anon:93944kB inactive_anon:55668kB active_file:26284kB inactive_file:900kB unevictable:6584kB isolated(anon):0kB isolated(file):0kB mapped:22952kB dirty:204kB writeback:0kB shmem:45512kB shmem_thp:0kB shmem_pmdmapped:0kB anon_thp:0kB writeback_tmp:0kB kernel_stack:9584kB pagetables:3280kB sec_pagetables:56kB all_unreclaimable? no Balloon:0kB [ 457.694386][ T7668] Node 0 DMA free:1436kB boost:0kB min:760kB low:948kB high:1136kB reserved_highatomic:0KB free_highatomic:0KB active_anon:4kB inactive_anon:140kB active_file:0kB inactive_file:0kB unevictable:488kB writepending:0kB present:15992kB managed:15360kB mlocked:0kB bounce:0kB free_pcp:600kB local_pcp:600kB free_cma:0kB [ 457.788618][ T7668] lowmem_reserve[]: 0 123 123 123 123 [ 457.812256][ T7668] Node 0 DMA32 free:8124kB boost:2048kB min:6916kB low:8132kB high:9348kB reserved_highatomic:0KB free_highatomic:0KB active_anon:916kB inactive_anon:156kB active_file:84kB inactive_file:8kB unevictable:0kB writepending:0kB present:770052kB managed:126156kB mlocked:0kB bounce:0kB free_pcp:2712kB local_pcp:2712kB free_cma:0kB [ 457.905583][ T7668] lowmem_reserve[]: 0 0 0 0 0 [ 457.932076][ T7668] Node 1 DMA32 free:100264kB boost:0kB min:34312kB low:42888kB high:51464kB reserved_highatomic:2048KB free_highatomic:1324KB active_anon:112444kB inactive_anon:54424kB active_file:26284kB inactive_file:900kB unevictable:6584kB writepending:204kB present:786288kB managed:690876kB mlocked:0kB bounce:0kB free_pcp:2904kB local_pcp:2904kB free_cma:0kB [ 458.043510][ T7668] lowmem_reserve[]: 0 0 0 0 0 [ 458.072149][ T7668] Node 0 DMA: 1*4kB (M) 5*8kB (M) 11*16kB (UM) 18*32kB (UM) 6*64kB (UM) 2*128kB (M) 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 1436kB [ 458.123625][ T7668] Node 0 DMA32: 43*4kB (UE) 136*8kB (UME) 37*16kB (UME) 80*32kB (UE) 16*64kB (UE) 9*128kB (UM) 0*256kB 3*512kB (M) 0*1024kB 0*2048kB 0*4096kB = 8124kB [ 458.195792][ T7668] Node 1 DMA32: 2047*4kB (UMEH) 468*8kB (UMEH) 649*16kB (UMEH) 350*32kB (UMEH) 161*64kB (UMH) 116*128kB (UMEH) 93*256kB (UMEH) 27*512kB (UMH) 5*1024kB (M) 0*2048kB 0*4096kB = 101420kB [ 458.266793][ T7668] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=1048576kB [ 458.281497][ T7668] Node 0 hugepages_total=2 hugepages_free=2 hugepages_surp=0 hugepages_size=2048kB [ 458.320631][ T7668] Node 1 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=1048576kB [ 458.358184][ T7668] Node 1 hugepages_total=2 hugepages_free=2 hugepages_surp=0 hugepages_size=2048kB [ 458.393399][ T7668] 20436 total pagecache pages [ 458.406342][ T7668] 1589 pages in swap cache [ 458.432519][ T7668] Free swap = 52848kB [ 458.451990][ T7668] Total swap = 124996kB [ 458.465005][ T7668] 393083 pages RAM [ 458.477566][ T7668] 0 pages HighMem/MovableOnly [ 458.504495][ T7668] 184985 pages reserved [ 458.527263][ T7668] 0 pages cma reserved [ 458.546215][ T7668] bcachefs (loop0): error reallocating journal fifo (32768 open entries) [ 458.602320][ T7668] bcachefs (loop0): error in recovery: ENOMEM_journal_pin_fifoemergency read only at seq 0 [ 458.621059][ T7668] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_journal_pin_fifo [ 458.663217][ T7668] bcachefs (loop0): shutting down [ 458.893954][ T7668] bcachefs (loop0): shutdown complete 2025/06/17 11:31:31 executed programs: 611 [ 460.662200][ T7668] bcachefs: bch2_fs_get_tree() error: ENOMEM_journal_pin_fifo [ 463.086830][ T7713] loop0: detected capacity change from 0 to 32768 [ 463.463521][ T7713] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 463.463545][ T7713] allowing incompatible features above 0.0: (unknown version) [ 463.463553][ T7713] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 463.588297][ T7713] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 463.682167][ T7713] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 463.686535][ T7713] bcachefs (loop0): Version upgrade required: [ 463.686535][ T7713] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 463.686535][ T7713] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 463.686535][ T7713] 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 [ 464.813551][ T7713] bcachefs (loop0): error reallocating journal fifo (32768 open entries) [ 464.857135][ T7713] bcachefs (loop0): error in recovery: ENOMEM_journal_pin_fifoemergency read only at seq 0 [ 464.905132][ T7713] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_journal_pin_fifo [ 464.952108][ T7713] bcachefs (loop0): shutting down 2025/06/17 11:31:36 executed programs: 623 [ 465.090184][ T7713] bcachefs (loop0): shutdown complete [ 466.388997][ T7713] bcachefs: bch2_fs_get_tree() error: ENOMEM_journal_pin_fifo [ 468.737760][ T7741] loop0: detected capacity change from 0 to 32768 [ 469.075654][ T7741] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 469.075673][ T7741] allowing incompatible features above 0.0: (unknown version) [ 469.075680][ T7741] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 469.198499][ T7741] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 469.279678][ T7741] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 469.362495][ T7741] bcachefs (loop0): Version upgrade required: [ 469.362495][ T7741] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 469.362495][ T7741] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 469.362495][ T7741] 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 [ 470.379870][ T7741] warn_alloc: 1 callbacks suppressed 2025/06/17 11:31:41 executed programs: 635 [ 470.379895][ T7741] syz.0.631: vmalloc error: size 7077888, failed to allocated page array size 13824, mode:0xcc2(GFP_KERNEL|__GFP_HIGHMEM), nodemask=(null),cpuset=/,mems_allowed=0-1 [ 470.512099][ T7741] CPU: 0 UID: 0 PID: 7741 Comm: syz.0.631 Not tainted 6.16.0-rc2-syzkaller-g9afe652958c3 #0 PREEMPT(full) [ 470.512124][ T7741] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 470.512162][ T7741] Call Trace: [ 470.512169][ T7741] [ 470.512175][ T7741] dump_stack_lvl+0x189/0x250 [ 470.512246][ T7741] ? __pfx_dump_stack_lvl+0x10/0x10 [ 470.512265][ T7741] ? __pfx__printk+0x10/0x10 [ 470.512281][ T7741] ? cpuset_print_current_mems_allowed+0x1f/0x360 [ 470.512303][ T7741] ? cpuset_print_current_mems_allowed+0x1f/0x360 [ 470.512318][ T7741] ? cpuset_print_current_mems_allowed+0x2ee/0x360 [ 470.512342][ T7741] warn_alloc+0x214/0x310 [ 470.512362][ T7741] ? __pfx_warn_alloc+0x10/0x10 [ 470.512383][ T7741] ? __get_vm_area_node+0x28f/0x300 [ 470.512396][ T7741] ? bch2_fs_journal_start+0x480/0x1510 [ 470.512417][ T7741] __vmalloc_node_range_noprof+0x67e/0x12f0 [ 470.512454][ T7741] ? __pfx___vmalloc_node_range_noprof+0x10/0x10 [ 470.512469][ T7741] ? rcu_is_watching+0x15/0xb0 [ 470.512484][ T7741] ? bch2_fs_journal_start+0x480/0x1510 [ 470.512494][ T7741] ? bch2_fs_journal_start+0x480/0x1510 [ 470.512505][ T7741] __kvmalloc_node_noprof+0x3b8/0x5f0 [ 470.512515][ T7741] ? bch2_fs_journal_start+0x480/0x1510 [ 470.512529][ T7741] bch2_fs_journal_start+0x480/0x1510 [ 470.512546][ T7741] ? bch2_journal_log_msg+0xd9/0x120 [ 470.512561][ T7741] ? __pfx_bch2_fs_journal_start+0x10/0x10 [ 470.512572][ T7741] ? __pfx_bch2_journal_log_msg+0x10/0x10 [ 470.512592][ T7741] bch2_fs_recovery+0x2237/0x3950 [ 470.512621][ T7741] ? __pfx_bch2_fs_recovery+0x10/0x10 [ 470.512638][ T7741] ? __pfx___console_unlock+0x10/0x10 [ 470.512657][ T7741] ? __lock_acquire+0xab9/0xd20 [ 470.512683][ T7741] ? __lock_acquire+0xab9/0xd20 [ 470.512707][ T7741] ? __lock_acquire+0xab9/0xd20 [ 470.512743][ T7741] ? bch2_fs_start+0x9fe/0xd90 [ 470.512760][ T7741] ? up_write+0x1c4/0x420 [ 470.512771][ T7741] ? bch2_fs_start+0x5c4/0xd90 [ 470.512787][ T7741] bch2_fs_start+0xa99/0xd90 [ 470.512800][ T7741] ? bch2_fs_start+0x5c4/0xd90 [ 470.512816][ T7741] ? __pfx_bch2_fs_start+0x10/0x10 [ 470.512841][ T7741] ? sget+0x267/0x620 [ 470.512864][ T7741] bch2_fs_get_tree+0xb02/0x14f0 [ 470.512905][ T7741] ? __pfx_bch2_fs_get_tree+0x10/0x10 [ 470.512938][ T7741] ? aa_get_newest_label+0xf7/0x5d0 [ 470.512955][ T7741] ? vfs_parse_monolithic_sep+0x2df/0x310 [ 470.512979][ T7741] ? apparmor_capable+0x137/0x1b0 [ 470.512996][ T7741] vfs_get_tree+0x92/0x2b0 [ 470.513012][ T7741] do_new_mount+0x24a/0xa40 [ 470.513070][ T7741] __se_sys_mount+0x317/0x410 [ 470.513091][ T7741] ? __pfx___se_sys_mount+0x10/0x10 [ 470.513108][ T7741] ? do_syscall_64+0xbe/0x3b0 [ 470.513133][ T7741] ? __x64_sys_mount+0x20/0xc0 [ 470.513149][ T7741] do_syscall_64+0xfa/0x3b0 [ 470.513160][ T7741] ? lockdep_hardirqs_on+0x9c/0x150 [ 470.513179][ T7741] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 470.513192][ T7741] ? clear_bhb_loop+0x60/0xb0 [ 470.513208][ T7741] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 470.513221][ T7741] RIP: 0033:0x7fc868f874ca [ 470.513235][ T7741] 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 [ 470.513247][ T7741] RSP: 002b:00007fc869dabe68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 [ 470.513263][ T7741] RAX: ffffffffffffffda RBX: 00007fc869dabef0 RCX: 00007fc868f874ca [ 470.513273][ T7741] RDX: 00000000200000c0 RSI: 0000000020000000 RDI: 00007fc869dabeb0 [ 470.513282][ T7741] RBP: 00000000200000c0 R08: 00007fc869dabef0 R09: 0000000000800000 [ 470.513290][ T7741] R10: 0000000000800000 R11: 0000000000000246 R12: 0000000020000000 [ 470.513298][ T7741] R13: 00007fc869dabeb0 R14: 0000000000005962 R15: 0000000020005bc0 [ 470.513320][ T7741] [ 470.513326][ T7741] Mem-Info: [ 472.122270][ T7741] active_anon:31448 inactive_anon:8006 isolated_anon:0 [ 472.122270][ T7741] active_file:6735 inactive_file:227 isolated_file:0 [ 472.122270][ T7741] unevictable:1768 dirty:51 writeback:0 [ 472.122270][ T7741] slab_reclaimable:4799 slab_unreclaimable:51262 [ 472.122270][ T7741] mapped:5797 shmem:15241 pagetables:1069 [ 472.122270][ T7741] sec_pagetables:286 bounce:0 [ 472.122270][ T7741] kernel_misc_reclaimable:0 [ 472.122270][ T7741] free:30084 free_pcp:645 free_cma:0 [ 472.316490][ T7741] Node 0 active_anon:760kB inactive_anon:296kB active_file:84kB inactive_file:8kB unevictable:488kB isolated(anon):0kB isolated(file):0kB mapped:92kB dirty:0kB writeback:0kB shmem:492kB shmem_thp:0kB shmem_pmdmapped:0kB anon_thp:0kB writeback_tmp:0kB kernel_stack:3056kB pagetables:892kB sec_pagetables:1088kB all_unreclaimable? yes Balloon:0kB [ 472.432107][ T7741] Node 1 active_anon:112056kB inactive_anon:30700kB active_file:26856kB inactive_file:900kB unevictable:6584kB isolated(anon):0kB isolated(file):0kB mapped:23168kB dirty:204kB writeback:0kB shmem:46288kB shmem_thp:0kB shmem_pmdmapped:0kB anon_thp:0kB writeback_tmp:0kB kernel_stack:9480kB pagetables:3324kB sec_pagetables:56kB all_unreclaimable? no Balloon:0kB [ 472.561925][ T7741] Node 0 DMA free:1392kB boost:0kB min:760kB low:948kB high:1136kB reserved_highatomic:0KB free_highatomic:0KB active_anon:4kB inactive_anon:140kB active_file:0kB inactive_file:0kB unevictable:488kB writepending:0kB present:15992kB managed:15360kB mlocked:0kB bounce:0kB free_pcp:192kB local_pcp:192kB free_cma:0kB [ 472.689441][ T7741] lowmem_reserve[]: 0 123 123 123 123 [ 472.721960][ T7741] Node 0 DMA32 free:8128kB boost:2048kB min:6916kB low:8132kB high:9348kB reserved_highatomic:0KB free_highatomic:0KB active_anon:756kB inactive_anon:156kB active_file:84kB inactive_file:8kB unevictable:0kB writepending:0kB present:770052kB managed:126156kB mlocked:0kB bounce:0kB free_pcp:2140kB local_pcp:2140kB free_cma:0kB [ 472.878415][ T7741] lowmem_reserve[]: 0 0 0 0 0 [ 472.902042][ T7741] Node 1 DMA32 free:140628kB boost:0kB min:34312kB low:42888kB high:51464kB reserved_highatomic:2048KB free_highatomic:1324KB active_anon:96428kB inactive_anon:29484kB active_file:26856kB inactive_file:900kB unevictable:6584kB writepending:204kB present:786288kB managed:690876kB mlocked:0kB bounce:0kB free_pcp:664kB local_pcp:664kB free_cma:0kB [ 473.032779][ T7741] lowmem_reserve[]: 0 0 0 0 0 [ 473.062653][ T7741] Node 0 DMA: 44*4kB (UM) 18*8kB (UM) 17*16kB (UM) 7*32kB (UM) 5*64kB (M) 2*128kB (M) 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 1392kB [ 473.112156][ T7741] Node 0 DMA32: 274*4kB (UME) 135*8kB (UME) 38*16kB (UE) 45*32kB (UE) 17*64kB (UME) 8*128kB (UM) 1*256kB (U) 3*512kB (M) 0*1024kB 0*2048kB 0*4096kB = 8128kB [ 473.182683][ T7741] Node 1 DMA32: 778*4kB (UEH) 1464*8kB (UMEH) 1010*16kB (UMEH) 295*32kB (UMEH) 207*64kB (UMEH) 146*128kB (UMEH) 109*256kB (UMEH) 43*512kB (UMH) 10*1024kB (M) 0*2048kB 0*4096kB = 132520kB [ 473.231980][ T7741] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=1048576kB [ 473.270509][ T7741] Node 0 hugepages_total=2 hugepages_free=2 hugepages_surp=0 hugepages_size=2048kB [ 473.323109][ T7741] Node 1 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=1048576kB [ 473.359017][ T7741] Node 1 hugepages_total=2 hugepages_free=2 hugepages_surp=0 hugepages_size=2048kB [ 473.412798][ T7741] 21310 total pagecache pages [ 473.425555][ T7741] 1628 pages in swap cache [ 473.458521][ T7741] Free swap = 45788kB [ 473.462931][ T7741] Total swap = 124996kB [ 473.478792][ T7741] 393083 pages RAM [ 473.502408][ T7741] 0 pages HighMem/MovableOnly [ 473.518987][ T7741] 184985 pages reserved [ 473.542196][ T7741] 0 pages cma reserved [ 473.557964][ T7741] bcachefs (loop0): error reallocating journal fifo (32768 open entries) [ 473.616408][ T7741] bcachefs (loop0): error in recovery: ENOMEM_journal_pin_fifoemergency read only at seq 0 [ 473.676320][ T7741] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_journal_pin_fifo [ 473.704533][ T7741] bcachefs (loop0): shutting down [ 473.850218][ T7741] bcachefs (loop0): shutdown complete [ 475.289007][ T7741] bcachefs: bch2_fs_get_tree() error: ENOMEM_journal_pin_fifo 2025/06/17 11:31:46 executed programs: 648 [ 477.400097][ T7783] loop0: detected capacity change from 0 to 32768 [ 477.718546][ T7783] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 477.718568][ T7783] allowing incompatible features above 0.0: (unknown version) [ 477.718575][ T7783] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 477.903688][ T7783] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 477.942473][ T7783] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 477.946202][ T7783] bcachefs (loop0): Version upgrade required: [ 477.946202][ T7783] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 477.946202][ T7783] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 477.946202][ T7783] 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 [ 478.628725][ T7783] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 478.628740][ T7783] 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 [ 478.628749][ T7783] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 478.628756][ T7783] flagging btree extents lost data [ 478.628762][ T7783] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 478.628769][ T7783] ret btree_node_read_validate_error [ 478.869381][ T7783] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 479.024878][ T7783] bcachefs (loop0): check_topology... [ 479.024989][ T7783] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 479.103278][ T7783] bcachefs (loop0): no nodes found for btree extents, continuing [ 479.148531][ T7783] done [ 479.164246][ T7783] bcachefs (loop0): accounting_read... done [ 479.202860][ T7783] bcachefs (loop0): alloc_read... done [ 479.253034][ T7783] bcachefs (loop0): snapshots_read... done [ 479.312138][ T7783] bcachefs (loop0): check_allocations... [ 479.336659][ T7783] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 479.336678][ T7783] 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 [ 479.491139][ T7783] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 479.491158][ T7783] 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 [ 479.614686][ T7783] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 479.614708][ T7783] 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 [ 479.756219][ T7783] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 479.756241][ T7783] 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 [ 479.875900][ T7783] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 479.875918][ T7783] 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 [ 480.013382][ T7783] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 480.038767][ T7783] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 480.107204][ T7783] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 480.162371][ T7783] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 480.221541][ T7783] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 480.288788][ T7783] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 480.324794][ T7783] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 480.374273][ T7783] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 480.412505][ T7783] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 480.482165][ T7783] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 480.523293][ T7783] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 480.585226][ T7783] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 480.639466][ T7783] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 480.665665][ T7783] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 480.729604][ T7783] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 480.753050][ T7783] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 480.805237][ T7783] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 480.846108][ T7783] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 480.891560][ T7783] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing 2025/06/17 11:31:52 executed programs: 659 [ 480.942352][ T7783] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 481.008673][ T7783] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 481.008683][ T7783] Ratelimiting new instances of previous error [ 481.100136][ T7783] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 481.100147][ T7783] Ratelimiting new instances of previous error [ 481.213198][ T7783] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 481.267137][ T7783] done [ 481.332801][ T7783] bcachefs (loop0): going read-write [ 481.355726][ T7783] workqueue: Failed to create a rescuer kthread for wq "bcachefs": -EINTR [ 481.355846][ T7783] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 481.429412][ T7783] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 481.483087][ T7783] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 481.531542][ T7783] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 481.571965][ T7783] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 481.598734][ T7783] bcachefs (loop0): shutting down [ 481.724544][ T7783] bcachefs (loop0): shutdown complete [ 483.315311][ T7783] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc [ 483.742641][ T71] kworker/u4:4 (71) used greatest stack depth: 18392 bytes left [ 485.873229][ T7827] loop0: detected capacity change from 0 to 32768 2025/06/17 11:31:57 executed programs: 672 [ 486.231634][ T7827] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 486.231655][ T7827] allowing incompatible features above 0.0: (unknown version) [ 486.231664][ T7827] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 486.432064][ T7827] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 486.483479][ T7827] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 486.487287][ T7827] bcachefs (loop0): Version upgrade required: [ 486.487287][ T7827] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 486.487287][ T7827] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 486.487287][ T7827] 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 [ 487.333036][ T7827] bcachefs (loop0): error reallocating journal fifo (32768 open entries) [ 487.391952][ T7827] bcachefs (loop0): error in recovery: ENOMEM_journal_pin_fifoemergency read only at seq 0 [ 487.420064][ T7827] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_journal_pin_fifo [ 487.454310][ T7827] bcachefs (loop0): shutting down [ 487.567344][ T7827] bcachefs (loop0): shutdown complete [ 489.025553][ T7827] bcachefs: bch2_fs_get_tree() error: ENOMEM_journal_pin_fifo 2025/06/17 11:32:02 executed programs: 685 [ 491.227376][ T7853] loop0: detected capacity change from 0 to 32768 [ 491.526463][ T7853] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 491.526482][ T7853] allowing incompatible features above 0.0: (unknown version) [ 491.526488][ T7853] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 491.722161][ T7853] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 491.726677][ T7853] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 491.730334][ T7853] bcachefs (loop0): Version upgrade required: [ 491.730334][ T7853] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 491.730334][ T7853] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 491.730334][ T7853] 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 [ 492.429103][ T7853] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 492.429124][ T7853] 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 [ 492.429136][ T7853] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 492.429145][ T7853] flagging btree extents lost data [ 492.429152][ T7853] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 492.429162][ T7853] ret btree_node_read_validate_error [ 492.660165][ T7853] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 492.786640][ T7853] bcachefs (loop0): check_topology... [ 492.786695][ T7853] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 492.852354][ T7853] bcachefs (loop0): no nodes found for btree extents, continuing [ 492.913096][ T7853] done [ 492.926121][ T7853] bcachefs (loop0): accounting_read... done [ 492.962019][ T7853] bcachefs (loop0): alloc_read... done [ 492.990295][ T7853] bcachefs (loop0): snapshots_read... done [ 493.023920][ T7853] bcachefs (loop0): check_allocations... [ 493.043809][ T7853] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 493.043824][ T7853] 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 [ 493.215797][ T7853] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 493.215815][ T7853] 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 [ 493.343737][ T7853] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 493.343755][ T7853] 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 [ 493.473378][ T7853] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 493.473395][ T7853] 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 [ 493.583405][ T7853] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 493.583427][ T7853] 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 [ 493.729124][ T7853] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 493.748063][ T7853] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 493.825558][ T7853] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 493.844954][ T7853] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 493.921338][ T7853] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 493.946816][ T7853] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 494.012159][ T7853] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 494.054193][ T7853] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 494.097924][ T7853] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 494.148692][ T7853] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 494.185120][ T7853] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 494.260802][ T7853] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 494.283209][ T7853] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 494.329700][ T7853] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 494.362859][ T7853] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 494.442144][ T7853] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 494.447899][ T7853] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 494.512329][ T7853] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 494.518318][ T7853] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 494.603690][ T7853] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 494.609040][ T7853] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 494.609056][ T7853] Ratelimiting new instances of previous error [ 494.705838][ T7853] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 494.705854][ T7853] Ratelimiting new instances of previous error [ 494.872660][ T7853] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 494.934910][ T7853] done [ 494.936868][ T7853] bcachefs (loop0): going read-write [ 495.006663][ T7853] workqueue: Failed to create a rescuer kthread for wq "bcachefs_btree_write_complete": -EINTR [ 495.006792][ T7853] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 495.098709][ T7853] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 495.142640][ T7853] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 495.162032][ T7853] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 495.196193][ T7853] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 495.277517][ T7853] bcachefs (loop0): shutting down [ 495.374369][ T7853] bcachefs (loop0): shutdown complete [ 496.909855][ T7853] bcachefs: bch2_fs_get_tree() error: ENOMEM_fs_other_alloc 2025/06/17 11:32:08 executed programs: 696 [ 499.240738][ T7897] loop0: detected capacity change from 0 to 32768 [ 499.579700][ T7897] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 499.579721][ T7897] allowing incompatible features above 0.0: (unknown version) [ 499.579727][ T7897] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 499.802144][ T7897] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 499.809311][ T7897] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 499.882162][ T7897] bcachefs (loop0): Version upgrade required: [ 499.882162][ T7897] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 499.882162][ T7897] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.28: inode_has_case_insensitive [ 499.882162][ T7897] 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 [ 500.513564][ T7897] bcachefs (loop0): btree node read error at btree extents level 0/0 [ 500.513581][ T7897] 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 [ 500.513590][ T7897] loop0 node offset 0/16 bset u64s 0: incorrect max key SPOS_MAX [ 500.513596][ T7897] flagging btree extents lost data [ 500.513602][ T7897] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 500.513609][ T7897] ret btree_node_read_validate_error [ 500.749777][ T7897] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 500.861885][ T7897] bcachefs (loop0): check_topology... [ 500.861931][ T7897] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 500.882424][ T7897] bcachefs (loop0): no nodes found for btree extents, continuing [ 500.917078][ T7897] done [ 500.933315][ T7897] bcachefs (loop0): accounting_read... done [ 500.983643][ T7897] bcachefs (loop0): alloc_read... done [ 501.015422][ T7897] bcachefs (loop0): snapshots_read... done [ 501.092124][ T7897] bcachefs (loop0): check_allocations... [ 501.123958][ T7897] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 501.123973][ T7897] 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 [ 501.268894][ T7897] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 501.268912][ T7897] 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 [ 501.397104][ T7897] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 501.397125][ T7897] 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.526706][ T7897] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 501.526727][ T7897] 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.692067][ T7897] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 501.692081][ T7897] 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.812189][ T7897] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 501.847662][ T7897] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 501.961306][ T7897] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 502.014009][ T7897] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 502.020196][ T7897] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing 2025/06/17 11:32:13 executed programs: 709 [ 502.111323][ T7897] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 502.182280][ T7897] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 502.186810][ T7897] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 502.191688][ T7897] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 502.305261][ T7897] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 502.310653][ T7897] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 502.386870][ T7897] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 502.456612][ T7897] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 502.505236][ T7897] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 502.510290][ T7897] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 502.576134][ T7897] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 502.630288][ T7897] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 502.693357][ T7897] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 502.699192][ T7897] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 502.772024][ T7897] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 502.827816][ T7897] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 502.827832][ T7897] Ratelimiting new instances of previous error [ 502.922264][ T7897] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 502.922276][ T7897] Ratelimiting new instances of previous error [ 503.081458][ T7897] bcachefs (loop0): bucket 0:28 gen 0 data type btree has wrong cached_sectors: got 165888, should be 0, fixing [ 503.150360][ T7897] done [ 503.212376][ T7897] bcachefs (loop0): going read-write [ 503.258103][ T7897] workqueue: Failed to create a rescuer kthread for wq "bcachefs": -EINTR [ 503.258192][ T7897] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 503.312073][ T7897] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 503.352434][ T7897] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 503.401532][ T7897] bcachefs (loop0): error in recovery: ENOMEM_fs_other_allocemergency read only at seq 10 [ 503.431919][ T7897] bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOMEM_fs_other_alloc [ 503.436091][ T7897] bcachefs (loop0): shutting down [ 503.610058][ T7897] bcachefs (loop0): shutdown complete