Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors during boot #289

Open
Krutonium opened this issue Jun 3, 2024 · 1 comment
Open

Errors during boot #289

Krutonium opened this issue Jun 3, 2024 · 1 comment

Comments

@Krutonium
Copy link

Krutonium commented Jun 3, 2024

NixOS/nixpkgs#316396

Relevant Boot Log:
boot.log

(Relevant Exerpt):

Jun 03 02:21:21 uMsiLaptop kernel: ------------[ cut here ]------------
Jun 03 02:21:21 uMsiLaptop kernel: btree trans held srcu lock (delaying memory reclaim) for 10 seconds
Jun 03 02:21:21 uMsiLaptop kernel: WARNING: CPU: 4 PID: 479 at fs/bcachefs/btree_iter.c:2871 bch2_trans_put+0x23e/0x270 [bcachefs]
Jun 03 02:21:21 uMsiLaptop kernel: Modules linked in: bcachefs libcrc32c crc32c_generic lz4_compress lz4hc_compress xor raid6_pq sd_mod sr_mod t10_pi cdrom crc64_rocksoft crc_t10dif crct10dif_generic crc64 ahci libahci rtsx_pci_sdmmc libata mmc_core atkbd xhci_pci libps2 xhci_pci_renesas scsi_mod vivaldi_fmap xhci_hcd crct10dif_pclmul ehci_pci crct10dif_common crc32c_intel rtsx_pci ehci_hcd sha256_ssse3 scsi_common i8042 rtc_cmos serio dm_mod dax i915 i2c_algo_bit drm_buddy video wmi backlight ttm intel_gtt drm_display_helper firmware_class cec
Jun 03 02:21:21 uMsiLaptop kernel: CPU: 4 PID: 479 Comm: ln Not tainted 6.9.2 #1-NixOS
Jun 03 02:21:21 uMsiLaptop kernel: Hardware name: Micro-Star International Co., Ltd. GP60 2QF/MS-16GH, BIOS E16GHIMS.10I 03/12/2015
Jun 03 02:21:21 uMsiLaptop kernel: RIP: 0010:bch2_trans_put+0x23e/0x270 [bcachefs]
Jun 03 02:21:21 uMsiLaptop kernel: Code: 67 d8 48 c7 c7 78 b6 ce c0 48 b8 cf f7 53 e3 a5 9b c4 20 48 29 ca 48 c1 ea 03 48 f7 e2 48 89 d6 48 c1 ee 04 e8 13 0f b2 d6 90 <0f> 0b 90 90 8b b5 a8 00 00 00 49 8d be 68 36 00 00 83 fe 01 77 0a
Jun 03 02:21:21 uMsiLaptop kernel: RSP: 0018:ffffa21fc2fe7bb0 EFLAGS: 00010286
Jun 03 02:21:21 uMsiLaptop kernel: RAX: 0000000000000000 RBX: ffff9cfd4e167600 RCX: 0000000000000027
Jun 03 02:21:21 uMsiLaptop kernel: RDX: ffff9d005fa21848 RSI: 0000000000000001 RDI: ffff9d005fa21840
Jun 03 02:21:21 uMsiLaptop kernel: RBP: ffff9cfd508e4000 R08: 0000000000000000 R09: 0000000000000003
Jun 03 02:21:21 uMsiLaptop kernel: R10: ffffa21fc2fe7a58 R11: ffffffff9933a128 R12: ffff9cfd508e4000
Jun 03 02:21:21 uMsiLaptop kernel: R13: ffffa21fc2fe7cf0 R14: ffff9cfd4bb40000 R15: ffff9cfd4e167600
Jun 03 02:21:21 uMsiLaptop kernel: FS:  00007ffaf7dcc140(0000) GS:ffff9d005fa00000(0000) knlGS:0000000000000000
Jun 03 02:21:21 uMsiLaptop kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jun 03 02:21:21 uMsiLaptop kernel: CR2: 00000000004dfb10 CR3: 00000001133ac003 CR4: 00000000001706f0
Jun 03 02:21:21 uMsiLaptop kernel: Call Trace:
Jun 03 02:21:21 uMsiLaptop kernel:  <TASK>
Jun 03 02:21:21 uMsiLaptop kernel:  ? __warn+0x80/0x120
Jun 03 02:21:21 uMsiLaptop kernel:  ? bch2_trans_put+0x23e/0x270 [bcachefs]
Jun 03 02:21:21 uMsiLaptop kernel:  ? report_bug+0x164/0x190
Jun 03 02:21:21 uMsiLaptop kernel:  ? handle_bug+0x3d/0x80
Jun 03 02:21:21 uMsiLaptop kernel:  ? exc_invalid_op+0x17/0x70
Jun 03 02:21:21 uMsiLaptop kernel:  ? asm_exc_invalid_op+0x1a/0x20
Jun 03 02:21:21 uMsiLaptop kernel:  ? bch2_trans_put+0x23e/0x270 [bcachefs]
Jun 03 02:21:21 uMsiLaptop kernel:  __bch2_create+0x4d5/0x5c0 [bcachefs]
Jun 03 02:21:21 uMsiLaptop kernel:  ? bch2_symlink+0x49/0x110 [bcachefs]
Jun 03 02:21:21 uMsiLaptop kernel:  bch2_symlink+0x49/0x110 [bcachefs]
Jun 03 02:21:21 uMsiLaptop kernel:  vfs_symlink+0x13b/0x1d0
Jun 03 02:21:21 uMsiLaptop kernel:  do_symlinkat+0x114/0x140
Jun 03 02:21:21 uMsiLaptop kernel:  __x64_sys_symlinkat+0x3d/0x50
Jun 03 02:21:21 uMsiLaptop kernel:  do_syscall_64+0xb8/0x200
Jun 03 02:21:21 uMsiLaptop kernel:  entry_SYSCALL_64_after_hwframe+0x77/0x7f
Jun 03 02:21:21 uMsiLaptop kernel: RIP: 0033:0x7ffaf7eca13b
Jun 03 02:21:21 uMsiLaptop kernel: Code: 77 05 c3 0f 1f 40 00 48 8b 15 d9 0c 0e 00 f7 d8 64 89 02 b8 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 0a 01 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d ad 0c 0e 00 f7 d8 64 89 01 48
Jun 03 02:21:21 uMsiLaptop kernel: RSP: 002b:00007ffeae2ce628 EFLAGS: 00000246 ORIG_RAX: 000000000000010a
Jun 03 02:21:21 uMsiLaptop kernel: RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007ffaf7eca13b
Jun 03 02:21:21 uMsiLaptop kernel: RDX: 00007ffeae2cfb30 RSI: 00000000ffffff9c RDI: 00007ffeae2cfae5
Jun 03 02:21:21 uMsiLaptop kernel: RBP: 00007ffeae2ce8e8 R08: 00000000ffffffff R09: 0000000000000000
Jun 03 02:21:21 uMsiLaptop kernel: R10: 00007ffeae2ce8d8 R11: 0000000000000246 R12: 0000000000517ab4
Jun 03 02:21:21 uMsiLaptop kernel: R13: 00000000004e3d01 R14: 00000000005388e0 R15: 0000000000000000
Jun 03 02:21:21 uMsiLaptop kernel:  </TASK>
Jun 03 02:21:21 uMsiLaptop kernel: ---[ end trace 0000000000000000 ]---
Jun 03 02:21:21 uMsiLaptop kernel: ------------[ cut here ]------------
Jun 03 02:21:21 uMsiLaptop kernel: btree trans held srcu lock (delaying memory reclaim) for 14 seconds
Jun 03 02:21:21 uMsiLaptop kernel: WARNING: CPU: 1 PID: 483 at fs/bcachefs/btree_iter.c:2871 bch2_trans_srcu_unlock+0x11b/0x130 [bcachefs]
Jun 03 02:21:21 uMsiLaptop kernel: Modules linked in: bcachefs libcrc32c crc32c_generic lz4_compress lz4hc_compress xor raid6_pq sd_mod sr_mod t10_pi cdrom crc64_rocksoft crc_t10dif crct10dif_generic crc64 ahci libahci rtsx_pci_sdmmc libata mmc_core atkbd xhci_pci libps2 xhci_pci_renesas scsi_mod vivaldi_fmap xhci_hcd crct10dif_pclmul ehci_pci crct10dif_common crc32c_intel rtsx_pci ehci_hcd sha256_ssse3 scsi_common i8042 rtc_cmos serio dm_mod dax i915 i2c_algo_bit drm_buddy video wmi backlight ttm intel_gtt drm_display_helper firmware_class cec
Jun 03 02:21:21 uMsiLaptop kernel: CPU: 1 PID: 483 Comm: perl Tainted: G        W          6.9.2 #1-NixOS
Jun 03 02:21:21 uMsiLaptop kernel: Hardware name: Micro-Star International Co., Ltd. GP60 2QF/MS-16GH, BIOS E16GHIMS.10I 03/12/2015
Jun 03 02:21:21 uMsiLaptop kernel: RIP: 0010:bch2_trans_srcu_unlock+0x11b/0x130 [bcachefs]
Jun 03 02:21:21 uMsiLaptop kernel: Code: 67 d8 48 c7 c7 78 b6 ce c0 48 b8 cf f7 53 e3 a5 9b c4 20 48 29 ca 48 c1 ea 03 48 f7 e2 48 89 d6 48 c1 ee 04 e8 e6 1b b2 d6 90 <0f> 0b 90 90 e9 5f ff ff ff 90 0f 0b 90 e9 6c ff ff ff 0f 1f 00 90
Jun 03 02:21:21 uMsiLaptop kernel: RSP: 0018:ffffa21fc39979d0 EFLAGS: 00010282
Jun 03 02:21:21 uMsiLaptop kernel: RAX: 0000000000000000 RBX: ffff9cfd510a4000 RCX: 0000000000000027
Jun 03 02:21:21 uMsiLaptop kernel: RDX: ffff9d005f8a1848 RSI: 0000000000000001 RDI: ffff9d005f8a1840
Jun 03 02:21:21 uMsiLaptop kernel: RBP: ffff9cfd4bb40000 R08: 0000000000000000 R09: 0000000000000003
Jun 03 02:21:21 uMsiLaptop kernel: R10: ffffa21fc3997878 R11: ffffffff9933a128 R12: ffff9cfd510a4478
Jun 03 02:21:21 uMsiLaptop kernel: R13: ffff9cfd510a4000 R14: 0000000000000006 R15: ffff9cfd510a4478
Jun 03 02:21:21 uMsiLaptop kernel: FS:  00007f1c4d53a740(0000) GS:ffff9d005f880000(0000) knlGS:0000000000000000
Jun 03 02:21:21 uMsiLaptop kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jun 03 02:21:21 uMsiLaptop kernel: CR2: 00007f1c4d943d70 CR3: 00000001133be001 CR4: 00000000001706f0
Jun 03 02:21:21 uMsiLaptop kernel: Call Trace:
Jun 03 02:21:21 uMsiLaptop kernel:  <TASK>
Jun 03 02:21:21 uMsiLaptop kernel:  ? __warn+0x80/0x120
Jun 03 02:21:21 uMsiLaptop kernel:  ? bch2_trans_srcu_unlock+0x11b/0x130 [bcachefs]
Jun 03 02:21:21 uMsiLaptop kernel:  ? report_bug+0x164/0x190
Jun 03 02:21:21 uMsiLaptop kernel:  ? handle_bug+0x3d/0x80
Jun 03 02:21:21 uMsiLaptop kernel:  ? exc_invalid_op+0x17/0x70
Jun 03 02:21:21 uMsiLaptop kernel:  ? asm_exc_invalid_op+0x1a/0x20
Jun 03 02:21:21 uMsiLaptop kernel:  ? bch2_trans_srcu_unlock+0x11b/0x130 [bcachefs]
Jun 03 02:21:21 uMsiLaptop kernel:  ? bch2_trans_begin+0xf8/0x600 [bcachefs]
Jun 03 02:21:21 uMsiLaptop kernel:  bch2_trans_begin+0x5a5/0x600 [bcachefs]
Jun 03 02:21:21 uMsiLaptop kernel:  ? __bch2_create+0x354/0x5c0 [bcachefs]
Jun 03 02:21:21 uMsiLaptop kernel:  __bch2_create+0x197/0x5c0 [bcachefs]
Jun 03 02:21:21 uMsiLaptop kernel:  ? bch2_create+0x2a/0x60 [bcachefs]
Jun 03 02:21:21 uMsiLaptop kernel:  bch2_create+0x2a/0x60 [bcachefs]
Jun 03 02:21:21 uMsiLaptop kernel:  path_openat+0xe8a/0x1150
Jun 03 02:21:21 uMsiLaptop kernel:  do_filp_open+0xc4/0x170
Jun 03 02:21:21 uMsiLaptop kernel:  do_sys_openat2+0xab/0xe0
Jun 03 02:21:21 uMsiLaptop kernel:  __x64_sys_openat+0x57/0xa0
Jun 03 02:21:21 uMsiLaptop kernel:  do_syscall_64+0xb8/0x200
Jun 03 02:21:21 uMsiLaptop kernel:  entry_SYSCALL_64_after_hwframe+0x77/0x7f
Jun 03 02:21:21 uMsiLaptop kernel: RIP: 0033:0x7f1c4d6392b2
Jun 03 02:21:21 uMsiLaptop kernel: Code: 83 e2 40 75 53 89 f0 f7 d0 a9 00 00 41 00 74 48 80 3d a1 9d 0e 00 00 74 6c 89 da 48 89 ee bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 92 00 00 00 48 8b 54 24 28 64 48 2b 14 25
Jun 03 02:21:21 uMsiLaptop kernel: RSP: 002b:00007ffec4dd99a0 EFLAGS: 00000202 ORIG_RAX: 0000000000000101
Jun 03 02:21:21 uMsiLaptop kernel: RAX: ffffffffffffffda RBX: 0000000000080041 RCX: 00007f1c4d6392b2
Jun 03 02:21:21 uMsiLaptop kernel: RDX: 0000000000080041 RSI: 000000000067bdb0 RDI: 00000000ffffff9c
Jun 03 02:21:21 uMsiLaptop kernel: RBP: 000000000067bdb0 R08: 00007ffec4dd9c20 R09: 00000000ffffffff
Jun 03 02:21:21 uMsiLaptop kernel: R10: 00000000000001a4 R11: 0000000000000202 R12: 0000000000000000
Jun 03 02:21:21 uMsiLaptop kernel: R13: 000000000067bdb0 R14: 0000000000670ec0 R15: 0000000000000000
Jun 03 02:21:21 uMsiLaptop kernel:  </TASK>
Jun 03 02:21:21 uMsiLaptop kernel: ---[ end trace 0000000000000000 ]---
Jun 03 02:21:21 uMsiLaptop kernel: ------------[ cut here ]------------
Jun 03 02:21:21 uMsiLaptop kernel: btree trans held srcu lock (delaying memory reclaim) for 14 seconds
Jun 03 02:21:21 uMsiLaptop kernel: WARNING: CPU: 1 PID: 483 at fs/bcachefs/btree_iter.c:2871 bch2_trans_put+0x23e/0x270 [bcachefs]
Jun 03 02:21:21 uMsiLaptop kernel: Modules linked in: bcachefs libcrc32c crc32c_generic lz4_compress lz4hc_compress xor raid6_pq sd_mod sr_mod t10_pi cdrom crc64_rocksoft crc_t10dif crct10dif_generic crc64 ahci libahci rtsx_pci_sdmmc libata mmc_core atkbd xhci_pci libps2 xhci_pci_renesas scsi_mod vivaldi_fmap xhci_hcd crct10dif_pclmul ehci_pci crct10dif_common crc32c_intel rtsx_pci ehci_hcd sha256_ssse3 scsi_common i8042 rtc_cmos serio dm_mod dax i915 i2c_algo_bit drm_buddy video wmi backlight ttm intel_gtt drm_display_helper firmware_class cec
Jun 03 02:21:21 uMsiLaptop kernel: CPU: 1 PID: 483 Comm: perl Tainted: G        W          6.9.2 #1-NixOS
Jun 03 02:21:21 uMsiLaptop kernel: Hardware name: Micro-Star International Co., Ltd. GP60 2QF/MS-16GH, BIOS E16GHIMS.10I 03/12/2015
Jun 03 02:21:21 uMsiLaptop kernel: RIP: 0010:bch2_trans_put+0x23e/0x270 [bcachefs]
Jun 03 02:21:21 uMsiLaptop kernel: Code: 67 d8 48 c7 c7 78 b6 ce c0 48 b8 cf f7 53 e3 a5 9b c4 20 48 29 ca 48 c1 ea 03 48 f7 e2 48 89 d6 48 c1 ee 04 e8 13 0f b2 d6 90 <0f> 0b 90 90 8b b5 a8 00 00 00 49 8d be 68 36 00 00 83 fe 01 77 0a
Jun 03 02:21:21 uMsiLaptop kernel: RSP: 0018:ffffa21fc3997a40 EFLAGS: 00010282
Jun 03 02:21:21 uMsiLaptop kernel: RAX: 0000000000000000 RBX: ffff9cfd407cf9b0 RCX: 0000000000000027
Jun 03 02:21:21 uMsiLaptop kernel: RDX: ffff9d005f8a1848 RSI: 0000000000000001 RDI: ffff9d005f8a1840
Jun 03 02:21:21 uMsiLaptop kernel: RBP: ffff9cfd510a4000 R08: 0000000000000000 R09: 0000000000000003
Jun 03 02:21:21 uMsiLaptop kernel: R10: ffffa21fc39978e8 R11: ffffffff9933a128 R12: ffff9cfd510a4000
Jun 03 02:21:21 uMsiLaptop kernel: R13: ffffa21fc3997b80 R14: ffff9cfd4bb40000 R15: ffff9cfd407cf9b0
Jun 03 02:21:21 uMsiLaptop kernel: FS:  00007f1c4d53a740(0000) GS:ffff9d005f880000(0000) knlGS:0000000000000000
Jun 03 02:21:21 uMsiLaptop kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jun 03 02:21:21 uMsiLaptop kernel: CR2: 00007f1c4d943d70 CR3: 00000001133be001 CR4: 00000000001706f0
Jun 03 02:21:21 uMsiLaptop kernel: Call Trace:
Jun 03 02:21:21 uMsiLaptop kernel:  <TASK>
Jun 03 02:21:21 uMsiLaptop kernel:  ? __warn+0x80/0x120
Jun 03 02:21:21 uMsiLaptop kernel:  ? bch2_trans_put+0x23e/0x270 [bcachefs]
Jun 03 02:21:21 uMsiLaptop kernel:  ? report_bug+0x164/0x190
Jun 03 02:21:21 uMsiLaptop kernel:  ? handle_bug+0x3d/0x80
Jun 03 02:21:21 uMsiLaptop kernel:  ? exc_invalid_op+0x17/0x70
Jun 03 02:21:21 uMsiLaptop kernel:  ? asm_exc_invalid_op+0x1a/0x20
Jun 03 02:21:21 uMsiLaptop kernel:  ? bch2_trans_put+0x23e/0x270 [bcachefs]
Jun 03 02:21:21 uMsiLaptop kernel:  __bch2_create+0x4d5/0x5c0 [bcachefs]
Jun 03 02:21:21 uMsiLaptop kernel:  ? bch2_create+0x2a/0x60 [bcachefs]
Jun 03 02:21:21 uMsiLaptop kernel:  bch2_create+0x2a/0x60 [bcachefs]
Jun 03 02:21:21 uMsiLaptop kernel:  path_openat+0xe8a/0x1150
Jun 03 02:21:21 uMsiLaptop kernel:  do_filp_open+0xc4/0x170
Jun 03 02:21:21 uMsiLaptop kernel:  do_sys_openat2+0xab/0xe0
Jun 03 02:21:21 uMsiLaptop kernel:  __x64_sys_openat+0x57/0xa0
Jun 03 02:21:21 uMsiLaptop kernel:  do_syscall_64+0xb8/0x200
Jun 03 02:21:21 uMsiLaptop kernel:  entry_SYSCALL_64_after_hwframe+0x77/0x7f
Jun 03 02:21:21 uMsiLaptop kernel: RIP: 0033:0x7f1c4d6392b2
Jun 03 02:21:21 uMsiLaptop kernel: Code: 83 e2 40 75 53 89 f0 f7 d0 a9 00 00 41 00 74 48 80 3d a1 9d 0e 00 00 74 6c 89 da 48 89 ee bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 92 00 00 00 48 8b 54 24 28 64 48 2b 14 25
Jun 03 02:21:21 uMsiLaptop kernel: RSP: 002b:00007ffec4dd99a0 EFLAGS: 00000202 ORIG_RAX: 0000000000000101
Jun 03 02:21:21 uMsiLaptop kernel: RAX: ffffffffffffffda RBX: 0000000000080041 RCX: 00007f1c4d6392b2
Jun 03 02:21:21 uMsiLaptop kernel: RDX: 0000000000080041 RSI: 000000000067bdb0 RDI: 00000000ffffff9c
Jun 03 02:21:21 uMsiLaptop kernel: RBP: 000000000067bdb0 R08: 00007ffec4dd9c20 R09: 00000000ffffffff
Jun 03 02:21:21 uMsiLaptop kernel: R10: 00000000000001a4 R11: 0000000000000202 R12: 0000000000000000
Jun 03 02:21:21 uMsiLaptop kernel: R13: 000000000067bdb0 R14: 0000000000670ec0 R15: 0000000000000000
Jun 03 02:21:21 uMsiLaptop kernel:  </TASK>
Jun 03 02:21:21 uMsiLaptop kernel: ---[ end trace 0000000000000000 ]---
Jun 03 02:21:21 uMsiLaptop kernel: ------------[ cut here ]------------
Jun 03 02:21:21 uMsiLaptop kernel: btree trans held srcu lock (delaying memory reclaim) for 10 seconds
Jun 03 02:21:21 uMsiLaptop kernel: WARNING: CPU: 7 PID: 483 at fs/bcachefs/btree_iter.c:2871 bch2_trans_put+0x23e/0x270 [bcachefs]
Jun 03 02:21:21 uMsiLaptop kernel: Modules linked in: bcachefs libcrc32c crc32c_generic lz4_compress lz4hc_compress xor raid6_pq sd_mod sr_mod t10_pi cdrom crc64_rocksoft crc_t10dif crct10dif_generic crc64 ahci libahci rtsx_pci_sdmmc libata mmc_core atkbd xhci_pci libps2 xhci_pci_renesas scsi_mod vivaldi_fmap xhci_hcd crct10dif_pclmul ehci_pci crct10dif_common crc32c_intel rtsx_pci ehci_hcd sha256_ssse3 scsi_common i8042 rtc_cmos serio dm_mod dax i915 i2c_algo_bit drm_buddy video wmi backlight ttm intel_gtt drm_display_helper firmware_class cec
Jun 03 02:21:21 uMsiLaptop kernel: CPU: 7 PID: 483 Comm: perl Tainted: G        W          6.9.2 #1-NixOS
Jun 03 02:21:21 uMsiLaptop kernel: Hardware name: Micro-Star International Co., Ltd. GP60 2QF/MS-16GH, BIOS E16GHIMS.10I 03/12/2015
Jun 03 02:21:21 uMsiLaptop kernel: RIP: 0010:bch2_trans_put+0x23e/0x270 [bcachefs]
Jun 03 02:21:21 uMsiLaptop kernel: Code: 67 d8 48 c7 c7 78 b6 ce c0 48 b8 cf f7 53 e3 a5 9b c4 20 48 29 ca 48 c1 ea 03 48 f7 e2 48 89 d6 48 c1 ee 04 e8 13 0f b2 d6 90 <0f> 0b 90 90 8b b5 a8 00 00 00 49 8d be 68 36 00 00 83 fe 01 77 0a
Jun 03 02:21:21 uMsiLaptop kernel: RSP: 0018:ffffa21fc3997a40 EFLAGS: 00010282
Jun 03 02:21:21 uMsiLaptop kernel: RAX: 0000000000000000 RBX: ffff9cfd4aa93750 RCX: 0000000000000027
Jun 03 02:21:21 uMsiLaptop kernel: RDX: ffff9d005fba1848 RSI: 0000000000000001 RDI: ffff9d005fba1840
Jun 03 02:21:21 uMsiLaptop kernel: RBP: ffff9cfd44b94000 R08: 0000000000000000 R09: 0000000000000003
Jun 03 02:21:21 uMsiLaptop kernel: R10: ffffa21fc39978e8 R11: ffffffff9933a128 R12: ffff9cfd44b94000
Jun 03 02:21:21 uMsiLaptop kernel: R13: ffffa21fc3997b80 R14: ffff9cfd4bb40000 R15: ffff9cfd4aa93750
Jun 03 02:21:21 uMsiLaptop kernel: FS:  00007f1c4d53a740(0000) GS:ffff9d005fb80000(0000) knlGS:0000000000000000
Jun 03 02:21:21 uMsiLaptop kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jun 03 02:21:21 uMsiLaptop kernel: CR2: 0000000000680a10 CR3: 00000001133be006 CR4: 00000000001706f0
Jun 03 02:21:21 uMsiLaptop kernel: Call Trace:
Jun 03 02:21:21 uMsiLaptop kernel:  <TASK>
Jun 03 02:21:21 uMsiLaptop kernel:  ? __warn+0x80/0x120
Jun 03 02:21:21 uMsiLaptop kernel:  ? bch2_trans_put+0x23e/0x270 [bcachefs]
Jun 03 02:21:21 uMsiLaptop kernel:  ? report_bug+0x164/0x190
Jun 03 02:21:21 uMsiLaptop kernel:  ? handle_bug+0x3d/0x80
Jun 03 02:21:21 uMsiLaptop kernel:  ? exc_invalid_op+0x17/0x70
Jun 03 02:21:21 uMsiLaptop kernel:  ? asm_exc_invalid_op+0x1a/0x20
Jun 03 02:21:21 uMsiLaptop kernel:  ? bch2_trans_put+0x23e/0x270 [bcachefs]
Jun 03 02:21:21 uMsiLaptop kernel:  __bch2_create+0x4d5/0x5c0 [bcachefs]
Jun 03 02:21:21 uMsiLaptop kernel:  ? bch2_create+0x2a/0x60 [bcachefs]
Jun 03 02:21:21 uMsiLaptop kernel:  bch2_create+0x2a/0x60 [bcachefs]
Jun 03 02:21:21 uMsiLaptop kernel:  path_openat+0xe8a/0x1150
Jun 03 02:21:21 uMsiLaptop kernel:  do_filp_open+0xc4/0x170
Jun 03 02:21:21 uMsiLaptop kernel:  do_sys_openat2+0xab/0xe0
Jun 03 02:21:21 uMsiLaptop kernel:  __x64_sys_openat+0x57/0xa0
Jun 03 02:21:21 uMsiLaptop kernel:  do_syscall_64+0xb8/0x200
Jun 03 02:21:21 uMsiLaptop kernel:  entry_SYSCALL_64_after_hwframe+0x77/0x7f
Jun 03 02:21:21 uMsiLaptop kernel: RIP: 0033:0x7f1c4d6392b2
Jun 03 02:21:21 uMsiLaptop kernel: Code: 83 e2 40 75 53 89 f0 f7 d0 a9 00 00 41 00 74 48 80 3d a1 9d 0e 00 00 74 6c 89 da 48 89 ee bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 92 00 00 00 48 8b 54 24 28 64 48 2b 14 25
Jun 03 02:21:21 uMsiLaptop kernel: RSP: 002b:00007ffec4dd99a0 EFLAGS: 00000202 ORIG_RAX: 0000000000000101
Jun 03 02:21:21 uMsiLaptop kernel: RAX: ffffffffffffffda RBX: 0000000000080041 RCX: 00007f1c4d6392b2
Jun 03 02:21:21 uMsiLaptop kernel: RDX: 0000000000080041 RSI: 0000000000e18940 RDI: 00000000ffffff9c
Jun 03 02:21:21 uMsiLaptop kernel: RBP: 0000000000e18940 R08: 00007ffec4dd9c20 R09: 00000000ffffffff
Jun 03 02:21:21 uMsiLaptop kernel: R10: 00000000000001a4 R11: 0000000000000202 R12: 0000000000000000
Jun 03 02:21:21 uMsiLaptop kernel: R13: 0000000000e18940 R14: 0000000000670ec0 R15: 0000000000000000
Jun 03 02:21:21 uMsiLaptop kernel:  </TASK>
Jun 03 02:21:21 uMsiLaptop kernel: ---[ end trace 0000000000000000 ]---
Jun 03 02:21:21 uMsiLaptop stage-2-init: setting up /etc...
Jun 03 02:21:21 uMsiLaptop kernel: ------------[ cut here ]------------
Jun 03 02:21:21 uMsiLaptop kernel: btree trans held srcu lock (delaying memory reclaim) for 11 seconds
Jun 03 02:21:21 uMsiLaptop kernel: WARNING: CPU: 4 PID: 505 at fs/bcachefs/btree_iter.c:2871 bch2_trans_put+0x23e/0x270 [bcachefs]
Jun 03 02:21:21 uMsiLaptop kernel: Modules linked in: bcachefs libcrc32c crc32c_generic lz4_compress lz4hc_compress xor raid6_pq sd_mod sr_mod t10_pi cdrom crc64_rocksoft crc_t10dif crct10dif_generic crc64 ahci libahci rtsx_pci_sdmmc libata mmc_core atkbd xhci_pci libps2 xhci_pci_renesas scsi_mod vivaldi_fmap xhci_hcd crct10dif_pclmul ehci_pci crct10dif_common crc32c_intel rtsx_pci ehci_hcd sha256_ssse3 scsi_common i8042 rtc_cmos serio dm_mod dax i915 i2c_algo_bit drm_buddy video wmi backlight ttm intel_gtt drm_display_helper firmware_class cec
Jun 03 02:21:21 uMsiLaptop kernel: CPU: 4 PID: 505 Comm: ln Tainted: G        W          6.9.2 #1-NixOS
Jun 03 02:21:21 uMsiLaptop kernel: Hardware name: Micro-Star International Co., Ltd. GP60 2QF/MS-16GH, BIOS E16GHIMS.10I 03/12/2015
Jun 03 02:21:21 uMsiLaptop kernel: RIP: 0010:bch2_trans_put+0x23e/0x270 [bcachefs]
Jun 03 02:21:21 uMsiLaptop kernel: Code: 67 d8 48 c7 c7 78 b6 ce c0 48 b8 cf f7 53 e3 a5 9b c4 20 48 29 ca 48 c1 ea 03 48 f7 e2 48 89 d6 48 c1 ee 04 e8 13 0f b2 d6 90 <0f> 0b 90 90 8b b5 a8 00 00 00 49 8d be 68 36 00 00 83 fe 01 77 0a
Jun 03 02:21:21 uMsiLaptop kernel: RSP: 0018:ffffa21fcbacfbb0 EFLAGS: 00010286
Jun 03 02:21:21 uMsiLaptop kernel: RAX: 0000000000000000 RBX: ffff9cfd4daf1d80 RCX: 0000000000000027
Jun 03 02:21:21 uMsiLaptop kernel: RDX: ffff9d005fa21848 RSI: 0000000000000001 RDI: ffff9d005fa21840
Jun 03 02:21:21 uMsiLaptop kernel: RBP: ffff9cfd48410000 R08: 0000000000000000 R09: 0000000000000003
Jun 03 02:21:21 uMsiLaptop kernel: R10: ffffa21fcbacfa58 R11: ffffffff9933a128 R12: ffff9cfd48410000
Jun 03 02:21:21 uMsiLaptop kernel: R13: ffffa21fcbacfcf0 R14: ffff9cfd4bb40000 R15: ffff9cfd4daf1d80
Jun 03 02:21:21 uMsiLaptop kernel: FS:  00007fd254c52140(0000) GS:ffff9d005fa00000(0000) knlGS:0000000000000000
Jun 03 02:21:21 uMsiLaptop kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jun 03 02:21:21 uMsiLaptop kernel: CR2: 00000000004dfb10 CR3: 0000000107726005 CR4: 00000000001706f0
Jun 03 02:21:21 uMsiLaptop kernel: Call Trace:
Jun 03 02:21:21 uMsiLaptop kernel:  <TASK>
Jun 03 02:21:21 uMsiLaptop kernel:  ? __warn+0x80/0x120
Jun 03 02:21:21 uMsiLaptop kernel:  ? bch2_trans_put+0x23e/0x270 [bcachefs]
Jun 03 02:21:21 uMsiLaptop kernel:  ? report_bug+0x164/0x190
Jun 03 02:21:21 uMsiLaptop kernel:  ? handle_bug+0x3d/0x80
Jun 03 02:21:21 uMsiLaptop kernel:  ? exc_invalid_op+0x17/0x70
Jun 03 02:21:21 uMsiLaptop kernel:  ? asm_exc_invalid_op+0x1a/0x20
Jun 03 02:21:21 uMsiLaptop kernel:  ? bch2_trans_put+0x23e/0x270 [bcachefs]
Jun 03 02:21:21 uMsiLaptop kernel:  __bch2_create+0x4d5/0x5c0 [bcachefs]
Jun 03 02:21:21 uMsiLaptop kernel:  ? bch2_symlink+0x49/0x110 [bcachefs]
Jun 03 02:21:21 uMsiLaptop kernel:  bch2_symlink+0x49/0x110 [bcachefs]
Jun 03 02:21:21 uMsiLaptop kernel:  vfs_symlink+0x13b/0x1d0
Jun 03 02:21:21 uMsiLaptop kernel:  do_symlinkat+0x114/0x140
Jun 03 02:21:21 uMsiLaptop kernel:  __x64_sys_symlinkat+0x3d/0x50
Jun 03 02:21:21 uMsiLaptop kernel:  do_syscall_64+0xb8/0x200
Jun 03 02:21:21 uMsiLaptop kernel:  entry_SYSCALL_64_after_hwframe+0x77/0x7f
Jun 03 02:21:21 uMsiLaptop kernel: RIP: 0033:0x7fd254d5013b
Jun 03 02:21:21 uMsiLaptop kernel: Code: 77 05 c3 0f 1f 40 00 48 8b 15 d9 0c 0e 00 f7 d8 64 89 02 b8 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 0a 01 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d ad 0c 0e 00 f7 d8 64 89 01 48
Jun 03 02:21:21 uMsiLaptop kernel: RSP: 002b:00007ffd058ae698 EFLAGS: 00000246 ORIG_RAX: 000000000000010a
Jun 03 02:21:21 uMsiLaptop kernel: RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007fd254d5013b
Jun 03 02:21:21 uMsiLaptop kernel: RDX: 00007ffd058afb2b RSI: 00000000ffffff9c RDI: 00007ffd058afae9
Jun 03 02:21:21 uMsiLaptop kernel: RBP: 00007ffd058ae958 R08: 00000000ffffffff R09: 0000000000000000
Jun 03 02:21:21 uMsiLaptop kernel: R10: 00007ffd058ae948 R11: 0000000000000246 R12: 0000000000517ab4
Jun 03 02:21:21 uMsiLaptop kernel: R13: 00000000004e3d01 R14: 00000000005388e0 R15: 0000000000000000
Jun 03 02:21:21 uMsiLaptop kernel:  </TASK>
Jun 03 02:21:21 uMsiLaptop kernel: ---[ end trace 0000000000000000 ]---

/dev/disk/by-uuid/1f35e804-826b-4fe8-926e-7545b08c383f / bcachefs x-initrd.mount 0 0 is how it is listed in my fstab, https://gitea.krutonium.ca/Krutonium/NixOS/src/commit/4f4a687fd644ffbc203b9e444a5a2cec3c4b2f4e/devices/uMsiLaptop-hw.nix#L17-L26 being how it is generated.

I am on Kernel 6.9.2, and I have tried using the master version of bcachefs-tools

sudo bcachefs show-super /dev/disk/by-uuid/1f35e804-826b-4fe8-926e-7545b08c383f 
Device:                                     (unknown device)
External UUID:                             1f35e804-826b-4fe8-926e-7545b08c383f
Internal UUID:                             27fb1038-108c-4eaa-8f4e-d32f30edcf22
Magic number:                              c68573f6-66ce-90a9-d96a-60cf803df7ef
Device index:                              1
Label:	
Version:	1.7: mi_btree_bitmap
Version upgrade complete:	1.7: mi_btree_bitmap
Oldest version on disk:                    1.3: rebalance_work
Created:                                   Fri Feb 23 23:23:11 2024
Sequence number:                           188
Time of last write:                        Sun Jun  2 22:23:47 2024
Superblock size:                           5.51 KiB/1.00 MiB
Clean:                                     0
Devices:                                   2
Sections:                                  members_v1,replicas_v0,disk_groups,clean,journal_seq_blacklist,journal_v2,counters,members_v2,errors,ext,downgrade
Features:                                  lz4,zstd,journal_seq_blacklist_v3,reflink,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,extents_above_btree_updates,btree_updates_journalled,reflink_inline_data,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes
Compat features:                           alloc_info,alloc_metadata,extents_above_btree_updates_done,bformat_overflow_done

Options:
  block_size:                              4.00 KiB
  btree_node_size:                         256 KiB
  errors:                                  continue [ro] panic 
  metadata_replicas:                       1
  data_replicas:                           1
  metadata_replicas_required:              1
  data_replicas_required:                  1
  encoded_extent_max:                      64.0 KiB
  metadata_checksum:                       none [crc32c] crc64 xxhash 
  data_checksum:                           none [crc32c] crc64 xxhash 
  compression:                             lz4
  background_compression:                  zstd:15
  str_hash:                                crc32c crc64 [siphash] 
  metadata_target:                         none
  foreground_target:                       ssd
  background_target:                       hdd
  promote_target:                          ssd
  erasure_code:                            0
  inodes_32bit:                            1
  shard_inode_numbers:                     1
  inodes_use_key_cache:                    1
  gc_reserve_percent:                      8
  gc_reserve_bytes:                        0 B
  root_reserve_percent:                    0
  wide_macs:                               0
  acl:                                     1
  usrquota:                                0
  grpquota:                                0
  prjquota:                                0
  journal_flush_delay:                     1000
  journal_flush_disabled:                  0
  journal_reclaim_delay:                   100
  journal_transaction_names:               1
  version_upgrade:                         [compatible] incompatible none 
  nocow:                                   0

members_v2 (size 304):
Device:                                    0
  Label:                                   ssd1 (1)
  UUID:                                    afdbf3c7-caf1-4bd8-964f-1ea9114c0a0f
  Size:                                    457 GiB
  read errors:                             0
  write errors:                            0
  checksum errors:                         0
  seqread iops:                            0
  seqwrite iops:                           0
  randread iops:                           0
  randwrite iops:                          0
  Bucket size:                             256 KiB
  First bucket:                            0
  Buckets:                                 1870988
  Last mount:                              Sun Jun  2 22:23:47 2024
  Last superblock write:                   188
  State:                                   rw
  Data allowed:                            journal,btree,user
  Has data:                                journal,btree,user,cached
  Btree allocated bitmap blocksize:        16.0 MiB
  Btree allocated bitmap:                  0000000011111111111111111111111111111111111111111111111111111111
  Durability:                              1
  Discard:                                 0
  Freespace initialized:                   1
Device:                                    1
  Label:                                   hdd1 (3)
  UUID:                                    a65cba45-d750-4e71-ac52-33231a7f1f19
  Size:                                    466 GiB
  read errors:                             0
  write errors:                            0
  checksum errors:                         0
  seqread iops:                            0
  seqwrite iops:                           0
  randread iops:                           0
  randwrite iops:                          0
  Bucket size:                             256 KiB
  First bucket:                            0
  Buckets:                                 1907756
  Last mount:                              Sun Jun  2 22:23:47 2024
  Last superblock write:                   188
  State:                                   rw
  Data allowed:                            journal,btree,user
  Has data:                                user
  Btree allocated bitmap blocksize:        1.00 B
  Btree allocated bitmap:                  0000000000000000000000000000000000000000000000000000000000000000
  Durability:                              1
  Discard:                                 0
  Freespace initialized:                   1

errors (size 24):
fs_usage_nr_inodes_wrong                    2               Mon Jun  3 00:50:32 2024
@matthiasgoergens
Copy link

Are you sure this is a bug for the bcachefs-tools repository, and not bcachefs's repository?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants