You are not logged in.

#1 2024-03-12 20:48:18

thesword
Member
Registered: 2024-03-11
Posts: 3

Kernel crashes in rb_first function

Hello,

Previously my laptop have had a faulty DDR3 stick and my computer ran into some issues such as Firefox tab crashing and kernel errors. I replaced the faulty RAM stick, tested it with Memtest86+ and I didn't have errors anymore but the kernel is still crashing.

[ 6534.108064] BUG: unable to handle page fault for address: 0000000000001507
[ 6534.108075] #PF: supervisor read access in kernel mode
[ 6534.108077] #PF: error_code(0x0000) - not-present page
[ 6534.108079] PGD 0 P4D 0 
[ 6534.108082] Oops: 0000 [#1] PREEMPT SMP PTI
[ 6534.108086] CPU: 6 PID: 893 Comm: systemd Tainted: P           OE      6.7.9-arch1-1 #1 ad54415bbff2f0801422a3b76df850f68e71ecab
[ 6534.108089] Hardware name: Micro-Star International Co., Ltd. GT70 2OC/2OD/MS-1763, BIOS E1763IMS.11D 04/17/2015
[ 6534.108091] RIP: 0010:rb_first+0xf/0x30
[ 6534.108103] Code: 10 c3 cc cc cc cc 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 8b 07 48 85 c0 74 14 48 89 c2 <48> 8b 40 10 48 85 c0 75 f4 48 89 d0 c3 cc cc cc cc 31 d2 eb f4 66
[ 6534.108104] RSP: 0018:ffffb0be414e3d80 EFLAGS: 00010202
[ 6534.108106] RAX: 00000000000014f7 RBX: ffffa0e95a948400 RCX: 0000000001000076
[ 6534.108108] RDX: 00000000000014f7 RSI: 0000000000000000 RDI: ffffa0e84eb29f88
[ 6534.108109] RBP: ffffa0e8dce87880 R08: 0000000000000000 R09: 0000000001000076
[ 6534.108110] R10: ffffa0e8bce31900 R11: ffffb0be414e3d80 R12: 0000000000000000
[ 6534.108112] R13: ffffa0e84eb29f88 R14: 0000000000000002 R15: 0000000000000000
[ 6534.108113] FS:  0000734b3ed8a880(0000) GS:ffffa0eb5fb80000(0000) knlGS:0000000000000000
[ 6534.108115] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 6534.108116] CR2: 0000000000001507 CR3: 0000000109a5c002 CR4: 00000000001706f0
[ 6534.108118] Call Trace:
[ 6534.108121]  <TASK>
[ 6534.108124]  ? __die+0x23/0x70
[ 6534.108134]  ? page_fault_oops+0x171/0x4e0
[ 6534.108142]  ? exc_page_fault+0x7f/0x180
[ 6534.108146]  ? asm_exc_page_fault+0x26/0x30
[ 6534.108159]  ? rb_first+0xf/0x30
[ 6534.108162]  simple_xattrs_free+0x29/0x90
[ 6534.108169]  kernfs_put.part.0+0x60/0x150
[ 6534.108176]  evict+0xd7/0x1e0
[ 6534.108182]  __dentry_kill+0xe6/0x190
[ 6534.108189]  shrink_dentry_list+0x85/0x180
[ 6534.108192]  shrink_dcache_parent+0xd0/0x120
[ 6534.108194]  vfs_rmdir+0xb0/0x200
[ 6534.108198]  do_rmdir+0x1a9/0x1c0
[ 6534.108203]  __x64_sys_rmdir+0x42/0x70
[ 6534.108205]  do_syscall_64+0x64/0xe0
[ 6534.108209]  ? do_syscall_64+0x70/0xe0
[ 6534.108210]  ? do_syscall_64+0x70/0xe0
[ 6534.108211]  ? do_syscall_64+0x70/0xe0
[ 6534.108213]  entry_SYSCALL_64_after_hwframe+0x6e/0x76
[ 6534.108217] RIP: 0033:0x734b3f71977b
[ 6534.108267] Code: f0 ff ff 73 01 c3 48 8b 0d b2 c5 0d 00 f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 84 00 00 00 00 00 f3 0f 1e fa b8 54 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 05 c3 0f 1f 40 00 48 8b 15 81 c5 0d 00 f7 d8
[ 6534.108268] RSP: 002b:00007ffedca72148 EFLAGS: 00000246 ORIG_RAX: 0000000000000054
[ 6534.108271] RAX: ffffffffffffffda RBX: 00005888bb1303b0 RCX: 0000734b3f71977b
[ 6534.108273] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 00005888bb130270
[ 6534.108274] RBP: 00007ffedca721a0 R08: 0000734b3f2aa90a R09: 0000000000000000
[ 6534.108275] R10: 00005888bb0f27b0 R11: 0000000000000246 R12: 0000000000000001
[ 6534.108276] R13: 0000000000000000 R14: 00005888bb130270 R15: 0000000000000000
[ 6534.108278]  </TASK>
[ 6534.108279] Modules linked in: rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device uhid cmac algif_hash algif_skcipher af_alg 8021q bnep garp mrp stp llc intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul snd_hda_codec_realtek polyval_clmulni snd_hda_codec_generic polyval_generic iwlmvm snd_hda_codec_hdmi ledtrig_audio spi_nor gf128mul ghash_clmulni_intel mtd sha512_ssse3 snd_hda_intel sha256_ssse3 snd_intel_dspcfg sha1_ssse3 iTCO_wdt aesni_intel snd_intel_sdw_acpi intel_pmc_bxt spi_intel_platform mei_pxp at24 mei_hdcp iTCO_vendor_support vfat crypto_simd spi_intel snd_hda_codec fat cryptd mac80211 btusb btrtl snd_hda_core btintel rapl libarc4 snd_hwdep btbcm i2c_i801 snd_pcm ptp intel_cstate btmtk alx msi_wmi intel_uncore sparse_keymap mxm_wmi mei_me psmouse pcspkr i2c_smbus pps_core mdio bluetooth snd_timer iwlwifi snd lpc_ich mei ecdh_generic soundcore ntfs3 mousedev joydev cfg80211 rfkill mac_hid nvidia_uvm(POE) i2c_dev fuse
[ 6534.108355]  crypto_user dm_mod loop nfnetlink ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 hid_gt683r hid_generic usbhid raid0 rtsx_pci_sdmmc mmc_core md_mod sr_mod crc32c_intel xhci_pci cdrom rtsx_pci xhci_pci_renesas serio_raw atkbd libps2 vivaldi_fmap i8042 serio i915 i2c_algo_bit drm_buddy ttm intel_gtt drm_display_helper cec nvidia_drm(POE) nvidia_modeset(POE) nvidia(POE) video wmi
[ 6534.108390] CR2: 0000000000001507
[ 6534.108392] ---[ end trace 0000000000000000 ]---
[ 6534.108394] RIP: 0010:rb_first+0xf/0x30
[ 6534.108397] Code: 10 c3 cc cc cc cc 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 8b 07 48 85 c0 74 14 48 89 c2 <48> 8b 40 10 48 85 c0 75 f4 48 89 d0 c3 cc cc cc cc 31 d2 eb f4 66
[ 6534.108398] RSP: 0018:ffffb0be414e3d80 EFLAGS: 00010202
[ 6534.108400] RAX: 00000000000014f7 RBX: ffffa0e95a948400 RCX: 0000000001000076
[ 6534.108401] RDX: 00000000000014f7 RSI: 0000000000000000 RDI: ffffa0e84eb29f88
[ 6534.108402] RBP: ffffa0e8dce87880 R08: 0000000000000000 R09: 0000000001000076
[ 6534.108403] R10: ffffa0e8bce31900 R11: ffffb0be414e3d80 R12: 0000000000000000
[ 6534.108404] R13: ffffa0e84eb29f88 R14: 0000000000000002 R15: 0000000000000000
[ 6534.108405] FS:  0000734b3ed8a880(0000) GS:ffffa0eb5fb80000(0000) knlGS:0000000000000000
[ 6534.108406] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 6534.108407] CR2: 0000000000001507 CR3: 0000000109a5c002 CR4: 00000000001706f0

Kernel:  6.7.9-arch1-1

It seems to be related to file system and it always crashes the the same rb_first function but I don't see any file system module in stack trace such as ext4 or ntfs3.

I tried the following actions to solve my issue but without success:

  • I ran the linux-lts kernel

  • I repaired my main ext4 partition with fsck , the ntfs partitions with Windows chkdsk, and even the UEFI one

  • I reinstalled all the packages with pacman

  • I reinstalled grub with grub-install

The system crashes sometimes when I logout my session or when I shutdown/reboot my system and the more the system uptime is high and the more the probability of kernel crash is high.
Any ideas of what is causing that ?

Offline

#2 2024-03-12 21:40:56

seth
Member
Registered: 2012-09-03
Posts: 63,630

Offline

Board footer

Powered by FluxBB