You are not logged in.

#1 2021-05-06 23:38:35

Mika79
Member
Registered: 2016-03-28
Posts: 31

5.12.1-arch1-1 probably bcache error

I cannot boot 5.12.1-arch1-1. Current LTS ist fine. Though I read nvidia has issues my systemlog points to bcache (as far as I can tell).

Whats the best course of action?

Thank you

Mai 06 19:23:19 kevinix kernel: ------------[ cut here ]------------
Mai 06 19:23:19 kevinix kernel: kernel BUG at block/bio.c:52!
Mai 06 19:23:19 kevinix kernel: invalid opcode: 0000 [#1] PREEMPT SMP NOPTI
Mai 06 19:23:19 kevinix kernel: CPU: 1 PID: 580 Comm: httpd Tainted: P           OE     5.12.1-arch1-1 #1
Mai 06 19:23:19 kevinix kernel: Hardware name: System manufacturer System Product Name/M5A78L-M LX3, BIOS 1101    01/17/2013
Mai 06 19:23:19 kevinix kernel: RIP: 0010:biovec_slab.part.0+0x5/0x10
Mai 06 19:23:19 kevinix kernel: Code: 41 42 63 00 48 8b 6b f0 48 85 ed 75 ca 5b 4c 89 e7 5d 41 5c e9 0c 42 63 00 48 c7 43 f8 00 00 00 00 eb c1 66 90 0f 1f 44 00 00 <0f> 0b 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 83 7f 40 00 75
Mai 06 19:23:19 kevinix kernel: RSP: 0018:ffffadbd00cdf710 EFLAGS: 00010206
Mai 06 19:23:19 kevinix kernel: RAX: 000000000000037f RBX: ffffadbd00cdf744 RCX: 0000000000000100
Mai 06 19:23:19 kevinix kernel: RDX: 0000000000000800 RSI: ffffadbd00cdf744 RDI: ffff929655350118
Mai 06 19:23:19 kevinix kernel: RBP: 0000000000000800 R08: ffff929655350118 R09: ffff929649c9a600
Mai 06 19:23:19 kevinix kernel: R10: ffff92964c851ae0 R11: 0000000000000000 R12: ffff929655350118
Mai 06 19:23:19 kevinix kernel: R13: 0000000000000800 R14: ffff9296553500d0 R15: 0000000000000800
Mai 06 19:23:19 kevinix kernel: FS:  00007f5386223d40(0000) GS:ffff92994ec40000(0000) knlGS:0000000000000000
Mai 06 19:23:19 kevinix kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Mai 06 19:23:19 kevinix kernel: CR2: 00007f5384fec864 CR3: 0000000104284000 CR4: 00000000000406e0
Mai 06 19:23:19 kevinix kernel: Call Trace:
Mai 06 19:23:19 kevinix kernel:  bvec_alloc+0x90/0xc0
Mai 06 19:23:19 kevinix kernel:  bio_alloc_bioset+0x193/0x260
Mai 06 19:23:19 kevinix kernel:  cached_dev_cache_miss+0xf7/0x2f0 [bcache]
Mai 06 19:23:19 kevinix kernel:  cache_lookup_fn+0x13a/0x310 [bcache]
Mai 06 19:23:19 kevinix kernel:  ? bch_data_invalidate+0x190/0x190 [bcache]
Mai 06 19:23:19 kevinix kernel:  bch_btree_map_keys_recurse+0x9f/0x1a0 [bcache]
Mai 06 19:23:19 kevinix kernel:  ? bch_data_invalidate+0x190/0x190 [bcache]
Mai 06 19:23:19 kevinix kernel:  bch_btree_map_keys_recurse+0x11a/0x1a0 [bcache]
Mai 06 19:23:19 kevinix kernel:  bch_btree_map_keys+0x1cb/0x1f0 [bcache]
Mai 06 19:23:19 kevinix kernel:  ? bch_data_invalidate+0x190/0x190 [bcache]
Mai 06 19:23:19 kevinix kernel:  cache_lookup+0xa1/0x160 [bcache]
Mai 06 19:23:19 kevinix kernel:  cached_dev_submit_bio+0x9c1/0xd30 [bcache]
Mai 06 19:23:19 kevinix kernel:  submit_bio_noacct+0x134/0x510
Mai 06 19:23:19 kevinix kernel:  submit_bio+0x78/0x1d0
Mai 06 19:23:19 kevinix kernel:  ext4_mpage_readpages+0x319/0x8c0 [ext4]
Mai 06 19:23:19 kevinix kernel:  ? __mod_memcg_lruvec_state+0x22/0xe0
Mai 06 19:23:19 kevinix kernel:  ? __add_to_page_cache_locked+0x196/0x3e0
Mai 06 19:23:19 kevinix kernel:  read_pages+0xaf/0x290
Mai 06 19:23:19 kevinix kernel:  page_cache_ra_unbounded+0x13f/0x200
Mai 06 19:23:19 kevinix kernel:  filemap_fault+0x38f/0x9a0
Mai 06 19:23:19 kevinix kernel:  ext4_filemap_fault+0x2d/0x40 [ext4]
Mai 06 19:23:19 kevinix kernel:  __do_fault+0x36/0xd0
Mai 06 19:23:19 kevinix kernel:  __handle_mm_fault+0xf05/0x15d0
Mai 06 19:23:19 kevinix kernel:  handle_mm_fault+0xdb/0x2c0
Mai 06 19:23:19 kevinix kernel:  do_user_addr_fault+0x1fb/0x770
Mai 06 19:23:19 kevinix kernel:  ? do_mprotect_pkey+0x313/0x3b0
Mai 06 19:23:19 kevinix kernel:  exc_page_fault+0x67/0x170
Mai 06 19:23:19 kevinix kernel:  ? asm_exc_page_fault+0x8/0x30
Mai 06 19:23:19 kevinix kernel:  asm_exc_page_fault+0x1e/0x30
Mai 06 19:23:19 kevinix kernel: RIP: 0033:0x7f53861fccf5
Mai 06 19:23:19 kevinix kernel: Code: 24 e8 02 00 00 4c 8d 3c c1 4c 89 7d 88 49 83 fd 08 0f 84 46 07 00 00 49 83 fd 26 0f 84 3c 07 00 00 4d 85 ed 0f 84 2b 01 00 00 <41> 0f b6 57 04 89 d0 c0 e8 04 0f 84 fb 05 00 00 41 0f b6 47 05 83
Mai 06 19:23:19 kevinix kernel: RSP: 002b:00007fff591e4b30 EFLAGS: 00010202
Mai 06 19:23:19 kevinix kernel: RAX: 000000000000016e RBX: 00007f53850de9c8 RCX: 00007f5384febcf0
Mai 06 19:23:19 kevinix kernel: RDX: 0000000000000002 RSI: 0000000000000000 RDI: 0000564d2ddfa860
Mai 06 19:23:19 kevinix kernel: RBP: 00007fff591e4c30 R08: 0000000000000000 R09: 00007f5385331a80
Mai 06 19:23:19 kevinix kernel: R10: 00007f5385d5f928 R11: 0000564d2ddf20d0 R12: 0000564d2ddf20d0
Mai 06 19:23:19 kevinix kernel: R13: 0000000000000001 R14: 0000007a00000001 R15: 00007f5384fec860
Mai 06 19:23:19 kevinix kernel: Modules linked in: rfkill vmnet(OE) nls_iso8859_1 vfat fat bridge wmi_bmof stp llc edac_mce_amd kvm_amd ccp rng_core kvm irqbypass crct10dif_pclmul crc32_pclmul snd_hda_codec_realtek ghash_clmulni_intel snd_hda_codec_generic snd_hda_codec_hdmi ledtrig_audio aesni_intel snd_hda_intel mousedev snd_intel_dspcfg snd_intel_sdw_acpi crypto_simd snd_hda_codec cryptd snd_hda_core pcspkr k10temp snd_hwdep fam15h_power sp5100_tco i2c_piix4 snd_pcm snd_timer snd soundcore alx mdio asus_atk0110 mac_hid wmi acpi_cpufreq vmmon(OE) vmw_vmci vboxnetflt(OE) nfsd vboxnetadp(OE) vboxdrv(OE) auth_rpcgss nfs_acl lockd grace usbip_host usbip_core sg sunrpc fuse crypto_user nfs_ssc ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 ata_generic nvidia_uvm(POE) nvidia_drm(POE) pata_acpi nvidia_modeset(POE) crc32c_intel drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops cec drm pata_atiixp agpgart usbhid nvidia(POE) bcache crc64
Mai 06 19:23:19 kevinix kernel: ---[ end trace 81f40e4bcc7f6c00 ]---
Mai 06 19:23:19 kevinix kernel: RIP: 0010:biovec_slab.part.0+0x5/0x10
Mai 06 19:23:19 kevinix kernel: Code: 41 42 63 00 48 8b 6b f0 48 85 ed 75 ca 5b 4c 89 e7 5d 41 5c e9 0c 42 63 00 48 c7 43 f8 00 00 00 00 eb c1 66 90 0f 1f 44 00 00 <0f> 0b 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 83 7f 40 00 75
Mai 06 19:23:19 kevinix kernel: RSP: 0018:ffffadbd00cdf710 EFLAGS: 00010206
Mai 06 19:23:19 kevinix kernel: RAX: 000000000000037f RBX: ffffadbd00cdf744 RCX: 0000000000000100
Mai 06 19:23:19 kevinix kernel: RDX: 0000000000000800 RSI: ffffadbd00cdf744 RDI: ffff929655350118
Mai 06 19:23:19 kevinix kernel: RBP: 0000000000000800 R08: ffff929655350118 R09: ffff929649c9a600
Mai 06 19:23:19 kevinix kernel: R10: ffff92964c851ae0 R11: 0000000000000000 R12: ffff929655350118
Mai 06 19:23:19 kevinix kernel: R13: 0000000000000800 R14: ffff9296553500d0 R15: 0000000000000800
Mai 06 19:23:19 kevinix kernel: FS:  00007f5386223d40(0000) GS:ffff92994ec40000(0000) knlGS:0000000000000000
Mai 06 19:23:19 kevinix kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Mai 06 19:23:19 kevinix kernel: CR2: 00007f5384fec864 CR3: 0000000104284000 CR4: 00000000000406e0
Mai 06 19:23:19 kevinix kernel: BUG: unable to handle page fault for address: ffffffffac8c3cc2
Mai 06 19:23:19 kevinix kernel: #PF: supervisor write access in kernel mode
Mai 06 19:23:19 kevinix kernel: #PF: error_code(0x0003) - permissions violation
Mai 06 19:23:19 kevinix kernel: PGD 251415067 P4D 251415067 PUD 251416063 PMD 24fa001e1 
Mai 06 19:23:19 kevinix kernel: Oops: 0003 [#2] PREEMPT SMP NOPTI
Mai 06 19:23:19 kevinix kernel: CPU: 1 PID: 580 Comm: httpd Tainted: P      D    OE     5.12.1-arch1-1 #1
Mai 06 19:23:19 kevinix kernel: Hardware name: System manufacturer System Product Name/M5A78L-M LX3, BIOS 1101    01/17/2013
Mai 06 19:23:19 kevinix kernel: RIP: 0010:blk_flush_plug_list+0x6c/0x120
Mai 06 19:23:19 kevinix kernel: Code: 79 49 bc 00 01 00 00 00 00 ad de 48 bd 22 01 00 00 00 00 ad de 49 8b 45 10 4c 39 f0 74 4a 49 8b 4d 10 49 8b 55 18 48 8b 04 24 <48> 89 59 08 48 89 0c 24 48 89 02 48 89 50 08 4d 89 75 10 4d 89 75
Mai 06 19:23:19 kevinix kernel: RSP: 0018:ffffadbd00cdfd28 EFLAGS: 00010202
Mai 06 19:23:19 kevinix kernel: RAX: ffffadbd00cdfd28 RBX: ffffadbd00cdfd28 RCX: ffffffffac8c3cba
Mai 06 19:23:19 kevinix kernel: RDX: ffffffffadc38f10 RSI: 0000000000000001 RDI: ffffadbd00cdfc48
Mai 06 19:23:19 kevinix kernel: RBP: dead000000000122 R08: 0000000000000002 R09: ffffffffae2ced20
Mai 06 19:23:19 kevinix kernel: R10: ffffffffae2ced20 R11: 0000000001a3b974 R12: dead000000000100
Mai 06 19:23:19 kevinix kernel: R13: ffffadbd00cdfc48 R14: ffffadbd00cdfc58 R15: 0000000000000001
Mai 06 19:23:19 kevinix kernel: FS:  00007f5386223d40(0000) GS:ffff92994ec40000(0000) knlGS:0000000000000000
Mai 06 19:23:19 kevinix kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Mai 06 19:23:19 kevinix kernel: CR2: ffffffffac8c3cc2 CR3: 0000000251410000 CR4: 00000000000406e0
Mai 06 19:23:19 kevinix kernel: Call Trace:
Mai 06 19:23:19 kevinix kernel:  schedule+0x9f/0xc0
Mai 06 19:23:19 kevinix kernel:  synchronize_rcu_expedited+0x2b7/0x3c0
Mai 06 19:23:19 kevinix kernel:  ? cond_synchronize_rcu+0x20/0x20
Mai 06 19:23:19 kevinix kernel:  ? wait_woken+0x80/0x80
Mai 06 19:23:19 kevinix kernel:  namespace_unlock+0xce/0x1a0
Mai 06 19:23:19 kevinix kernel:  put_mnt_ns+0x67/0x90
Mai 06 19:23:19 kevinix kernel:  free_nsproxy+0x17/0x1b0
Mai 06 19:23:19 kevinix kernel:  do_exit+0x371/0xa60
Mai 06 19:23:19 kevinix kernel:  rewind_stack_do_exit+0x17/0x17
Mai 06 19:23:19 kevinix kernel: RIP: 0033:0x7f53861fccf5
Mai 06 19:23:19 kevinix kernel: Code: Unable to access opcode bytes at RIP 0x7f53861fcccb.
Mai 06 19:23:19 kevinix kernel: RSP: 002b:00007fff591e4b30 EFLAGS: 00010202
Mai 06 19:23:19 kevinix kernel: RAX: 000000000000016e RBX: 00007f53850de9c8 RCX: 00007f5384febcf0
Mai 06 19:23:19 kevinix kernel: RDX: 0000000000000002 RSI: 0000000000000000 RDI: 0000564d2ddfa860
Mai 06 19:23:19 kevinix kernel: RBP: 00007fff591e4c30 R08: 0000000000000000 R09: 00007f5385331a80
Mai 06 19:23:19 kevinix kernel: R10: 00007f5385d5f928 R11: 0000564d2ddf20d0 R12: 0000564d2ddf20d0
Mai 06 19:23:19 kevinix kernel: R13: 0000000000000001 R14: 0000007a00000001 R15: 00007f5384fec860
Mai 06 19:23:19 kevinix kernel: Modules linked in: rfkill vmnet(OE) nls_iso8859_1 vfat fat bridge wmi_bmof stp llc edac_mce_amd kvm_amd ccp rng_core kvm irqbypass crct10dif_pclmul crc32_pclmul snd_hda_codec_realtek ghash_clmulni_intel snd_hda_codec_generic snd_hda_codec_hdmi ledtrig_audio aesni_intel snd_hda_intel mousedev snd_intel_dspcfg snd_intel_sdw_acpi crypto_simd snd_hda_codec cryptd snd_hda_core pcspkr k10temp snd_hwdep fam15h_power sp5100_tco i2c_piix4 snd_pcm snd_timer snd soundcore alx mdio asus_atk0110 mac_hid wmi acpi_cpufreq vmmon(OE) vmw_vmci vboxnetflt(OE) nfsd vboxnetadp(OE) vboxdrv(OE) auth_rpcgss nfs_acl lockd grace usbip_host usbip_core sg sunrpc fuse crypto_user nfs_ssc ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 ata_generic nvidia_uvm(POE) nvidia_drm(POE) pata_acpi nvidia_modeset(POE) crc32c_intel drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops cec drm pata_atiixp agpgart usbhid nvidia(POE) bcache crc64
Mai 06 19:23:19 kevinix kernel: CR2: ffffffffac8c3cc2
Mai 06 19:23:19 kevinix kernel: ---[ end trace 81f40e4bcc7f6c01 ]---
Mai 06 19:23:19 kevinix kernel: RIP: 0010:biovec_slab.part.0+0x5/0x10
Mai 06 19:23:19 kevinix kernel: Code: 41 42 63 00 48 8b 6b f0 48 85 ed 75 ca 5b 4c 89 e7 5d 41 5c e9 0c 42 63 00 48 c7 43 f8 00 00 00 00 eb c1 66 90 0f 1f 44 00 00 <0f> 0b 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 83 7f 40 00 75
Mai 06 19:23:19 kevinix kernel: RSP: 0018:ffffadbd00cdf710 EFLAGS: 00010206
Mai 06 19:23:19 kevinix kernel: RAX: 000000000000037f RBX: ffffadbd00cdf744 RCX: 0000000000000100
Mai 06 19:23:19 kevinix kernel: RDX: 0000000000000800 RSI: ffffadbd00cdf744 RDI: ffff929655350118
Mai 06 19:23:19 kevinix kernel: RBP: 0000000000000800 R08: ffff929655350118 R09: ffff929649c9a600
Mai 06 19:23:19 kevinix kernel: R10: ffff92964c851ae0 R11: 0000000000000000 R12: ffff929655350118
Mai 06 19:23:19 kevinix kernel: R13: 0000000000000800 R14: ffff9296553500d0 R15: 0000000000000800
Mai 06 19:23:19 kevinix kernel: FS:  00007f5386223d40(0000) GS:ffff92994ec40000(0000) knlGS:0000000000000000
Mai 06 19:23:19 kevinix kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Mai 06 19:23:19 kevinix kernel: CR2: ffffffffac8c3cc2 CR3: 0000000251410000 CR4: 00000000000406e0
Mai 06 19:23:19 kevinix kernel: ------------[ cut here ]------------
Mai 06 19:23:19 kevinix kernel: WARNING: CPU: 1 PID: 580 at kernel/exit.c:739 do_exit+0x47/0xa60
Mai 06 19:23:19 kevinix kernel: Modules linked in: rfkill vmnet(OE) nls_iso8859_1 vfat fat bridge wmi_bmof stp llc edac_mce_amd kvm_amd ccp rng_core kvm irqbypass crct10dif_pclmul crc32_pclmul snd_hda_codec_realtek ghash_clmulni_intel snd_hda_codec_generic snd_hda_codec_hdmi ledtrig_audio aesni_intel snd_hda_intel mousedev snd_intel_dspcfg snd_intel_sdw_acpi crypto_simd snd_hda_codec cryptd snd_hda_core pcspkr k10temp snd_hwdep fam15h_power sp5100_tco i2c_piix4 snd_pcm snd_timer snd soundcore alx mdio asus_atk0110 mac_hid wmi acpi_cpufreq vmmon(OE) vmw_vmci vboxnetflt(OE) nfsd vboxnetadp(OE) vboxdrv(OE) auth_rpcgss nfs_acl lockd grace usbip_host usbip_core sg sunrpc fuse crypto_user nfs_ssc ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 ata_generic nvidia_uvm(POE) nvidia_drm(POE) pata_acpi nvidia_modeset(POE) crc32c_intel drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops cec drm pata_atiixp agpgart usbhid nvidia(POE) bcache crc64
Mai 06 19:23:19 kevinix kernel: CPU: 1 PID: 580 Comm: httpd Tainted: P      D    OE     5.12.1-arch1-1 #1
Mai 06 19:23:19 kevinix kernel: Hardware name: System manufacturer System Product Name/M5A78L-M LX3, BIOS 1101    01/17/2013
Mai 06 19:23:19 kevinix kernel: RIP: 0010:do_exit+0x47/0xa60
Mai 06 19:23:19 kevinix kernel: Code: ec 48 65 48 8b 04 25 28 00 00 00 48 89 44 24 40 31 c0 48 8b 83 b0 08 00 00 48 85 c0 74 0e 48 8b 10 48 39 d0 0f 84 78 04 00 00 <0f> 0b 65 8b 0d c0 18 78 53 89 c8 25 00 ff ff 00 89 44 24 0c 0f 85
Mai 06 19:23:19 kevinix kernel: RSP: 0018:ffffadbd00cdfed8 EFLAGS: 00010087
Mai 06 19:23:19 kevinix kernel: RAX: ffffadbd00cdfc48 RBX: ffff92964fd99f40 RCX: ffff92994ec586e8
Mai 06 19:23:19 kevinix kernel: RDX: ffffffffad286494 RSI: 0000000000000027 RDI: 0000000000000009
Mai 06 19:23:19 kevinix kernel: RBP: 0000000000000009 R08: 0000000000000000 R09: ffffadbd00cdf910
Mai 06 19:23:19 kevinix kernel: R10: ffffadbd00cdf908 R11: ffffffffae2cc428 R12: 0000000000000009
Mai 06 19:23:19 kevinix kernel: R13: ffffadbd00cdfc78 R14: 0000000000000046 R15: 0000000000000000
Mai 06 19:23:19 kevinix kernel: FS:  00007f5386223d40(0000) GS:ffff92994ec40000(0000) knlGS:0000000000000000
Mai 06 19:23:19 kevinix kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Mai 06 19:23:19 kevinix kernel: CR2: ffffffffac8c3cc2 CR3: 0000000251410000 CR4: 00000000000406e0
Mai 06 19:23:19 kevinix kernel: Call Trace:
Mai 06 19:23:19 kevinix kernel:  rewind_stack_do_exit+0x17/0x17
Mai 06 19:23:19 kevinix kernel: RIP: 0033:0x7f53861fccf5
Mai 06 19:23:19 kevinix kernel: Code: Unable to access opcode bytes at RIP 0x7f53861fcccb.
Mai 06 19:23:19 kevinix kernel: RSP: 002b:00007fff591e4b30 EFLAGS: 00010202
Mai 06 19:23:19 kevinix kernel: RAX: 000000000000016e RBX: 00007f53850de9c8 RCX: 00007f5384febcf0
Mai 06 19:23:19 kevinix kernel: RDX: 0000000000000002 RSI: 0000000000000000 RDI: 0000564d2ddfa860
Mai 06 19:23:19 kevinix kernel: RBP: 00007fff591e4c30 R08: 0000000000000000 R09: 00007f5385331a80
Mai 06 19:23:19 kevinix kernel: R10: 00007f5385d5f928 R11: 0000564d2ddf20d0 R12: 0000564d2ddf20d0
Mai 06 19:23:19 kevinix kernel: R13: 0000000000000001 R14: 0000007a00000001 R15: 00007f5384fec860
Mai 06 19:23:19 kevinix kernel: ---[ end trace 81f40e4bcc7f6c02 ]---
Mai 06 19:23:19 kevinix kernel: Fixing recursive fault but reboot is needed!
Mai 06 19:23:19 kevinix kernel: BUG: kernel NULL pointer dereference, address: 0000000000000009

Offline

#2 2021-05-07 03:37:35

Garlicknots0629
Member
Registered: 2021-05-07
Posts: 1

Re: 5.12.1-arch1-1 probably bcache error

I'm also seeing almost exactly the same set of error messages after upgrading to 5.12.1. I can actually boot to the desktop, but once I try to open certain applications (Thunderbird) the system (partially?) hangs and those traces appear on dmesg. My laptop only have Intel graphics, so at least this probably doesn't have to do with nvidia.

Offline

#3 2021-05-08 07:26:31

jcarrete
Member
Registered: 2020-03-09
Posts: 4

Re: 5.12.1-arch1-1 probably bcache error

I also have a very similar set of error messages. Seemed to be triggered whenever I opened steam and started to download a game. I worked around this issue by installing the current lts kernel (5.10.34-1-lts) as well. I agree that this is more likely related to bcache than nvidia. I have an AMD Radeon GPU and get this error.

Offline

#4 2021-05-08 16:43:29

Mika79
Member
Registered: 2016-03-28
Posts: 31

Re: 5.12.1-arch1-1 probably bcache error

And you people actually use bcache as well? Its quite possible, with the dropped prices of ssds, that we are a very small minority now. I try to figure out how to report bugs to the kernel and post a link here.

Offline

#5 2021-05-08 18:07:41

loqs
Member
Registered: 2014-03-06
Posts: 13,448

Re: 5.12.1-arch1-1 probably bcache error

Offline

#6 2021-05-09 00:00:05

Mika79
Member
Registered: 2016-03-28
Posts: 31

Re: 5.12.1-arch1-1 probably bcache error

Alright, perfect.

Thanx.

Offline

#7 2021-05-27 16:57:19

Mika79
Member
Registered: 2016-03-28
Posts: 31

Re: 5.12.1-arch1-1 probably bcache error

Now they pulled that error into the LTS kernel as well. Grrr.. okay I think I will have to pull that patch myself and build an kernel. Sad....

Offline

#8 2021-05-27 17:47:03

loqs
Member
Registered: 2014-03-06
Posts: 13,448

Re: 5.12.1-arch1-1 probably bcache error

Upstream is still working on a fix currently v4 still with some issues https://lore.kernel.org/lkml/2021052615 … i@suse.de/

Offline

#9 2021-05-27 21:58:20

Mika79
Member
Registered: 2016-03-28
Posts: 31

Re: 5.12.1-arch1-1 probably bcache error

Thank you.

Offline

#10 2021-05-27 23:32:34

Tharbad
Member
Registered: 2016-02-27
Posts: 247

Re: 5.12.1-arch1-1 probably bcache error

I've left a note on the wiki about this: https://wiki.archlinux.org/title/Bcache
I'm suffering from this bug too and I'm following the mailing list. Will update with a fixed kernel version when there'll be one.
5.13 patch widow already closed so I hope it'll be on 5.14 but it just a guess.

Which LTS version? I'm using 5.10.39 and it ok so far. You can also downgrade. the package should be in /var/cache/pacman/pkg/

Offline

#11 2021-05-28 00:07:27

loqs
Member
Registered: 2014-03-06
Posts: 13,448

Re: 5.12.1-arch1-1 probably bcache error

Tharbad wrote:

5.13 patch widow already closed so I hope it'll be on 5.14 but it just a guess.

The merge window closed,  fixes are allowed until release.

Offline

#12 2021-05-28 00:13:22

Tharbad
Member
Registered: 2016-02-27
Posts: 247

Re: 5.12.1-arch1-1 probably bcache error

loqs wrote:
Tharbad wrote:

5.13 patch widow already closed so I hope it'll be on 5.14 but it just a guess.

The merge window closed,  fixes are allowed until release.

Didn't know that. Thanks!

Offline

#13 2021-05-28 02:36:47

Mika79
Member
Registered: 2016-03-28
Posts: 31

Re: 5.12.1-arch1-1 probably bcache error

5.10.39 exhibits it, way later then 5.12 kernels do, though the bug might be a new one. Behaviour is identical, the process using IO stalls, then the whole IO system stalls, and then you can reset.

PS: yes I did a downgrade and locked the linux-lts and its header package, LTS is fine I wont compile a kernel.

Mai 27 18:50:15 kevinix kernel: kernel BUG at drivers/md/bcache/bset.c:884!
Mai 27 18:50:15 kevinix kernel: invalid opcode: 0000 [#1] SMP NOPTI
Mai 27 18:50:15 kevinix kernel: CPU: 2 PID: 4018 Comm: EpicGamesLaunch Tainted: P           OE     5>
Mai 27 18:50:15 kevinix kernel: Hardware name: System manufacturer System Product Name/M5A78L-M LX3,>
Mai 27 18:50:15 kevinix kernel: RIP: 0010:bch_btree_insert_key+0x298/0x2a0 [bcache]
Mai 27 18:50:15 kevinix kernel: Code: 8b 55 08 48 29 fa 25 ff ff 0f 00 0f 85 f9 fd ff ff 45 31 c0 48>
Mai 27 18:50:15 kevinix kernel: RSP: 0018:ffffba4ec216b568 EFLAGS: 00010246
Mai 27 18:50:15 kevinix kernel: RAX: 9000001000000000 RBX: 0000000000000000 RCX: ffff965e901bf0d8
Mai 27 18:50:15 kevinix kernel: RDX: ffffffffc01c27c0 RSI: 8000000000000000 RDI: 0000000000000000
Mai 27 18:50:15 kevinix kernel: RBP: ffffba4ec216b768 R08: ffff965e8ca60000 R09: 000007ffffffffff
Mai 27 18:50:15 kevinix kernel: R10: 000000000000000f R11: 0000000006018141 R12: ffff965e8ac77000
Mai 27 18:50:15 kevinix kernel: R13: ffff965e901bf0c0 R14: ffff965e901bf0d8 R15: 0000000000000000
Mai 27 18:50:15 kevinix kernel: FS:  00007f3da397f080(0000) GS:ffff96618ec80000(0000) knlGS:00000001>
Mai 27 18:50:15 kevinix kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Mai 27 18:50:15 kevinix kernel: CR2: 00000000074c0000 CR3: 0000000317650000 CR4: 00000000000406e0
Mai 27 18:50:15 kevinix kernel: Call Trace:
Mai 27 18:50:15 kevinix kernel:  ? btree_insert_key+0x51/0xc0 [bcache]
Mai 27 18:50:15 kevinix kernel:  btree_insert_key+0x51/0xc0 [bcache]
Mai 27 18:50:15 kevinix kernel:  bch_btree_insert_keys+0xb0/0x2b0 [bcache]
Mai 27 18:50:15 kevinix kernel:  bch_btree_insert_node+0x176/0x420 [bcache]
Mai 27 18:50:15 kevinix kernel:  bch_btree_insert_check_key+0xf4/0x1b0 [bcache]
Mai 27 18:50:15 kevinix kernel:  ? __bch_extent_invalid+0x96/0xb0 [bcache]
Mai 27 18:50:15 kevinix kernel:  ? submit_bio_noacct+0x32/0x4f0
Mai 27 18:50:15 kevinix kernel:  ? bio_associate_blkg_from_css+0x1d1/0x300
Mai 27 18:50:15 kevinix kernel:  cached_dev_cache_miss+0xb3/0x2d0 [bcache]
Mai 27 18:50:15 kevinix kernel:  cache_lookup_fn+0x112/0x2e0 [bcache]
Mai 27 18:50:15 kevinix kernel:  ? bch_btree_iter_next_filter+0x1ad/0x2c0 [bcache]
Mai 27 18:50:15 kevinix kernel:  ? bch_data_invalidate+0x180/0x180 [bcache]
Mai 27 18:50:15 kevinix kernel:  bch_btree_map_keys_recurse+0x80/0x180 [bcache]
Mai 27 18:50:15 kevinix kernel:  ? bch_data_invalidate+0x180/0x180 [bcache]
Mai 27 18:50:15 kevinix kernel:  bch_btree_map_keys_recurse+0xfb/0x180 [bcache]
Mai 27 18:50:15 kevinix kernel:  ? mempool_alloc+0x60/0x160
Mai 27 18:50:15 kevinix kernel:  bch_btree_map_keys+0x163/0x1b0 [bcache]
Mai 27 18:50:15 kevinix kernel:  ? bch_data_invalidate+0x180/0x180 [bcache]
Mai 27 18:50:15 kevinix kernel:  cache_lookup+0xa1/0x160 [bcache]
Mai 27 18:50:15 kevinix kernel:  cached_dev_submit_bio+0x936/0xd10 [bcache]
Mai 27 18:50:15 kevinix kernel:  ? submit_bio_checks+0x1bb/0x5b0
Mai 27 18:50:15 kevinix kernel:  ? mempool_alloc+0x60/0x160
Mai 27 18:50:15 kevinix kernel:  submit_bio_noacct+0x11b/0x4f0
Mai 27 18:50:15 kevinix kernel:  ext4_mpage_readpages+0x62d/0x9e0 [ext4]
Mai 27 18:50:15 kevinix kernel:  ? __mod_memcg_lruvec_state+0x21/0xe0
Mai 27 18:50:15 kevinix kernel:  ? __add_to_page_cache_locked+0x19c/0x430
Mai 27 18:50:15 kevinix kernel:  read_pages+0x8c/0x280
Mai 27 18:50:15 kevinix kernel:  page_cache_ra_unbounded+0x13f/0x200
Mai 27 18:50:15 kevinix kernel:  generic_file_buffered_read+0x14d/0xa60
Mai 27 18:50:15 kevinix kernel:  new_sync_read+0x115/0x1a0
Mai 27 18:50:15 kevinix kernel:  vfs_read+0x147/0x1a0
Mai 27 18:50:15 kevinix kernel:  __x64_sys_pread64+0x8c/0xc0
Mai 27 18:50:15 kevinix kernel:  do_syscall_64+0x33/0x40
Mai 27 18:50:15 kevinix kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
Mai 27 18:50:15 kevinix kernel: RIP: 0033:0x7f3da396b03f

Last edited by Mika79 (2021-05-28 02:43:56)

Offline

#14 2021-05-28 14:21:37

Tharbad
Member
Registered: 2016-02-27
Posts: 247

Re: 5.12.1-arch1-1 probably bcache error

Mika79 wrote:

5.10.39 exhibits it, way later then 5.12 kernels do, though the bug might be a new one. Behaviour is identical, the process using IO stalls, then the whole IO system stalls, and then you can reset.

PS: yes I did a downgrade and locked the linux-lts and its header package, LTS is fine I wont compile a kernel.

Mai 27 18:50:15 kevinix kernel: kernel BUG at drivers/md/bcache/bset.c:884!
Mai 27 18:50:15 kevinix kernel: invalid opcode: 0000 [#1] SMP NOPTI
Mai 27 18:50:15 kevinix kernel: CPU: 2 PID: 4018 Comm: EpicGamesLaunch Tainted: P           OE     5>
Mai 27 18:50:15 kevinix kernel: Hardware name: System manufacturer System Product Name/M5A78L-M LX3,>
Mai 27 18:50:15 kevinix kernel: RIP: 0010:bch_btree_insert_key+0x298/0x2a0 [bcache]
Mai 27 18:50:15 kevinix kernel: Code: 8b 55 08 48 29 fa 25 ff ff 0f 00 0f 85 f9 fd ff ff 45 31 c0 48>
Mai 27 18:50:15 kevinix kernel: RSP: 0018:ffffba4ec216b568 EFLAGS: 00010246
Mai 27 18:50:15 kevinix kernel: RAX: 9000001000000000 RBX: 0000000000000000 RCX: ffff965e901bf0d8
Mai 27 18:50:15 kevinix kernel: RDX: ffffffffc01c27c0 RSI: 8000000000000000 RDI: 0000000000000000
Mai 27 18:50:15 kevinix kernel: RBP: ffffba4ec216b768 R08: ffff965e8ca60000 R09: 000007ffffffffff
Mai 27 18:50:15 kevinix kernel: R10: 000000000000000f R11: 0000000006018141 R12: ffff965e8ac77000
Mai 27 18:50:15 kevinix kernel: R13: ffff965e901bf0c0 R14: ffff965e901bf0d8 R15: 0000000000000000
Mai 27 18:50:15 kevinix kernel: FS:  00007f3da397f080(0000) GS:ffff96618ec80000(0000) knlGS:00000001>
Mai 27 18:50:15 kevinix kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Mai 27 18:50:15 kevinix kernel: CR2: 00000000074c0000 CR3: 0000000317650000 CR4: 00000000000406e0
Mai 27 18:50:15 kevinix kernel: Call Trace:
Mai 27 18:50:15 kevinix kernel:  ? btree_insert_key+0x51/0xc0 [bcache]
Mai 27 18:50:15 kevinix kernel:  btree_insert_key+0x51/0xc0 [bcache]
Mai 27 18:50:15 kevinix kernel:  bch_btree_insert_keys+0xb0/0x2b0 [bcache]
Mai 27 18:50:15 kevinix kernel:  bch_btree_insert_node+0x176/0x420 [bcache]
Mai 27 18:50:15 kevinix kernel:  bch_btree_insert_check_key+0xf4/0x1b0 [bcache]
Mai 27 18:50:15 kevinix kernel:  ? __bch_extent_invalid+0x96/0xb0 [bcache]
Mai 27 18:50:15 kevinix kernel:  ? submit_bio_noacct+0x32/0x4f0
Mai 27 18:50:15 kevinix kernel:  ? bio_associate_blkg_from_css+0x1d1/0x300
Mai 27 18:50:15 kevinix kernel:  cached_dev_cache_miss+0xb3/0x2d0 [bcache]
Mai 27 18:50:15 kevinix kernel:  cache_lookup_fn+0x112/0x2e0 [bcache]
Mai 27 18:50:15 kevinix kernel:  ? bch_btree_iter_next_filter+0x1ad/0x2c0 [bcache]
Mai 27 18:50:15 kevinix kernel:  ? bch_data_invalidate+0x180/0x180 [bcache]
Mai 27 18:50:15 kevinix kernel:  bch_btree_map_keys_recurse+0x80/0x180 [bcache]
Mai 27 18:50:15 kevinix kernel:  ? bch_data_invalidate+0x180/0x180 [bcache]
Mai 27 18:50:15 kevinix kernel:  bch_btree_map_keys_recurse+0xfb/0x180 [bcache]
Mai 27 18:50:15 kevinix kernel:  ? mempool_alloc+0x60/0x160
Mai 27 18:50:15 kevinix kernel:  bch_btree_map_keys+0x163/0x1b0 [bcache]
Mai 27 18:50:15 kevinix kernel:  ? bch_data_invalidate+0x180/0x180 [bcache]
Mai 27 18:50:15 kevinix kernel:  cache_lookup+0xa1/0x160 [bcache]
Mai 27 18:50:15 kevinix kernel:  cached_dev_submit_bio+0x936/0xd10 [bcache]
Mai 27 18:50:15 kevinix kernel:  ? submit_bio_checks+0x1bb/0x5b0
Mai 27 18:50:15 kevinix kernel:  ? mempool_alloc+0x60/0x160
Mai 27 18:50:15 kevinix kernel:  submit_bio_noacct+0x11b/0x4f0
Mai 27 18:50:15 kevinix kernel:  ext4_mpage_readpages+0x62d/0x9e0 [ext4]
Mai 27 18:50:15 kevinix kernel:  ? __mod_memcg_lruvec_state+0x21/0xe0
Mai 27 18:50:15 kevinix kernel:  ? __add_to_page_cache_locked+0x19c/0x430
Mai 27 18:50:15 kevinix kernel:  read_pages+0x8c/0x280
Mai 27 18:50:15 kevinix kernel:  page_cache_ra_unbounded+0x13f/0x200
Mai 27 18:50:15 kevinix kernel:  generic_file_buffered_read+0x14d/0xa60
Mai 27 18:50:15 kevinix kernel:  new_sync_read+0x115/0x1a0
Mai 27 18:50:15 kevinix kernel:  vfs_read+0x147/0x1a0
Mai 27 18:50:15 kevinix kernel:  __x64_sys_pread64+0x8c/0xc0
Mai 27 18:50:15 kevinix kernel:  do_syscall_64+0x33/0x40
Mai 27 18:50:15 kevinix kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
Mai 27 18:50:15 kevinix kernel: RIP: 0033:0x7f3da396b03f

That's a different bug. You should report it to the mailing list.
For the one I know about you'll get error in bio:52. There is also a rare variant at bio:53.

Offline

#15 2021-05-31 16:29:49

Mika79
Member
Registered: 2016-03-28
Posts: 31

Re: 5.12.1-arch1-1 probably bcache error

Okay so it is the same bug, so it seems all kernels 5.12+ and 5.10.39-1-lts+ will be affected until the patch is in.

Last edited by Mika79 (2021-05-31 16:30:00)

Offline

#16 2021-06-02 13:56:18

hedik
Member
Registered: 2021-06-02
Posts: 2

Re: 5.12.1-arch1-1 probably bcache error

I'm observing quite severe data corruption (read, write seems to be ok) on self-compiled 5.12.8 with v4 patch https://marc.info/?l=linux-bcache&m=162204209531889. No errors or oops in the kernel log, just incorrectly read data. 5.11.16-arch1-1 is working without any issues.
It might be something else, but I'd suggest to be really careful when testing 5.12+ with bcache.

Last edited by hedik (2021-06-02 14:12:24)

Offline

#17 2021-06-04 05:46:27

noctavian
Member
Registered: 2013-07-11
Posts: 14

Re: 5.12.1-arch1-1 probably bcache error

Have you tried the v5 patch? Does it have the same data corruption issues?

https://marc.info/?l=linux-bcache&m=162256168704471&w=2

Offline

#18 2021-06-04 22:50:29

hedik
Member
Registered: 2021-06-02
Posts: 2

Re: 5.12.1-arch1-1 probably bcache error

Compiled 5.12.9 with v5 patch set today. So far so good - no data corruption nor weird behavior observed.

Offline

#19 2021-06-08 17:39:16

Marson
Member
Registered: 2018-08-09
Posts: 4

Re: 5.12.1-arch1-1 probably bcache error

I have also been using linux-zen 5.12.9 with v5 patch and haven't noticed any errors (I haven't looked at the logs). Without the patch the system hangs within a few minutes.

Offline

#20 2021-06-08 20:04:33

loqs
Member
Registered: 2014-03-06
Posts: 13,448

Re: 5.12.1-arch1-1 probably bcache error

https://lore.kernel.org/linux-block/202 … i@suse.de/ is a pull request to have v5 added to the block tree to be merged into mainline 5.13-rc6.
Edit:
Merged to https://git.kernel.org/pub/scm/linux/ke … block-5.13

Last edited by loqs (2021-06-09 19:56:41)

Offline

#21 2021-06-11 21:21:55

Mika79
Member
Registered: 2016-03-28
Posts: 31

Re: 5.12.1-arch1-1 probably bcache error

Will the standard Arch Linux kernel integrate that patch while beeing on 5.12 or will it be only in 5.13?

Offline

#22 2021-06-11 21:48:49

loqs
Member
Registered: 2014-03-06
Posts: 13,448

Re: 5.12.1-arch1-1 probably bcache error

It is up to the linux package maintainer.  There is an open bug report for the issue https://bugs.archlinux.org/task/70992
You could update that linking to the two commits needed to fix the issue.  Might be worth waiting until Sunday/Monday see if the patches are merged into mainline.
There has been no pull request yet for that but there is still a bit of time before rc-6.
Edit:
Both patches are now in the stable queue for 5.12.11
https://git.kernel.org/pub/scm/linux/ke … 6a5ade0aca
https://git.kernel.org/pub/scm/linux/ke … 6a5ade0aca

Last edited by loqs (Yesterday 19:02:27)

Offline

Board footer

Powered by FluxBB