You are not logged in.
Hi all, I sent a few messages in the arch linux matrix server to look for help and have decided to move the discussion here to avoid potentially useful information getting lost!
hi all, ive been having a strange issue with my system which only started yesterday and was wondering if anyone would be willing to try help me out before i post to the arch linux bbs + make any bug reports (just so i have enough logs etc to get support + make sure its not a known bug with something i missed):
basically my pc has been randomly freezing completely, with the common denominator as far as i can see being using vscode (yeah ik ms suck but i havent found any good foss alternatives except vim etc which i dont have time to learn) except that one time it crashed when i opened a couple new tabs on firefox
its crashed about 6 times iirc and the only packages which updated before the crash was installing adb + dependencies and a couple python packages which needed updating
whenever it freezes it either does so instantly with no audio, or everything except the mouse freezes (it freezes after a few seconds) and the audio loops the past half a second ish (i might be misremembering that tho so take it w a grain of salt)
i was looking through the journal and cant really understand much of it however the following lines stood out and appeared frequently in the past few dayskernel: BUG: unable to handle page fault for address: (about 8 times) kwin_wayland[993]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug (a couple times but maybe 20 instances when it does appear)any help would be greatly appreciated and thanks in advance
That BUG line, what does the RIP line after that and the call trace TASK part say?
You can find these dmesg logs for previous boots using journalctl --boot=-1 --dmesg
(change -1 accordingly to retrieve logs from older boots if the crash wasn't in the most recent one)
for kernel: BUG: kernel NULL pointer dereference, address
RIP: 0010:supdrvLdrRegisterWrappedModule+0x20/0x650 [vboxdrv] ? __die_body.cold+0x19/0x27 ? page_fault_oops+0x15a/0x2d0 ? kmem_cache_free+0x3a1/0x450 ? percpu_counter_add_batch+0x4a/0xa0 ? exc_page_fault+0x81/0x190 ? asm_exc_page_fault+0x26/0x30 ? supdrvLdrRegisterWrappedModule+0x20/0x650 [vboxdrv 87818e4a5aad221ecaee17dca77a03a48df534ac] ? supdrvLdrRegisterWrappedModule+0x20/0x650 [vboxdrv 87818e4a5aad221ecaee17dca77a03a48df534ac] ? do_shrink_slab+0x37/0x350 ? shrink_slab+0xe0/0x3b0 ? try_to_shrink_lruvec+0x225/0x2b0 ? shrink_one+0x11a/0x1f0 ? shrink_node+0x99a/0xbb0 ? balance_pgdat+0x570/0xa00 ? psi_task_switch+0xb7/0x200 ? finish_task_switch.isra.0+0x99/0x2e0 ? kswapd+0x1f1/0x380 ? __pfx_autoremove_wake_function+0x10/0x10 ? __pfx_kswapd+0x10/0x10 ? kthread+0xcf/0x100 ? __pfx_kthread+0x10/0x10 ? ret_from_fork+0x31/0x50 ? __pfx_kthread+0x10/0x10 ? ret_from_fork_asm+0x1a/0x30for kernel: BUG: unable to handle page fault for address
RIP: 0010:supdrvIOCtl+0x2220/0x31f0 [vboxdrv] ? __die_body.cold+0x19/0x27 ? supdrvIOCtl+0x21e7/0x31f0 [vboxdrv 87818e4a5aad221ecaee17dca77a03a48df534ac] ? page_fault_oops+0x15a/0x2d0 ? search_bpf_extables+0x5f/0x80 ? supdrvIOCtl+0x21e7/0x31f0 [vboxdrv 87818e4a5aad221ecaee17dca77a03a48df534ac] ? exc_page_fault+0x18a/0x190 ? asm_exc_page_fault+0x26/0x30 ? supdrvIOCtl+0x2220/0x31f0 [vboxdrv 87818e4a5aad221ecaee17dca77a03a48df534ac] ? supdrvIOCtl+0x2220/0x31f0 [vboxdrv 87818e4a5aad221ecaee17dca77a03a48df534ac] ? do_shrink_slab+0x37/0x350 ? shrink_slab+0xe0/0x3b0 ? try_to_shrink_lruvec+0x225/0x2b0 ? shrink_one+0x11a/0x1f0 ? shrink_node+0x99a/0xbb0 ? balance_pgdat+0x570/0xa00 ? psi_task_switch+0xb7/0x200 ? finish_task_switch.isra.0+0x99/0x2e0 ? kswapd+0x1f1/0x380 ? __pfx_autoremove_wake_function+0x10/0x10 ? __pfx_kswapd+0x10/0x10 ? kthread+0xcf/0x100 ? __pfx_kthread+0x10/0x10 ? ret_from_fork+0x31/0x50 ? __pfx_kthread+0x10/0x10 ? ret_from_fork_asm+0x1a/0x30(i only remembered there were 2 different kernel bug errors just now lol)
a breif bit of googling into what "vboxdrv" is (i mean litterally 1 stack overflow link and some intiutuion) it seems that vbox might be the issue? would it be worth trying to uninstall it and see if that sorts things out or is there no point
tysm in advancea little further googling lead me to the linux kernel docs and i got the following info if its helpful:
from kernel: BUG: unable to handle page fault for addressCPU: 1 UID: 0 PID: 65 Comm: kswapd0 Tainted: G OE 6.12.7-arch1-1 #1 9e77c5d99557be92f482a3ac6317d887bb3ffaf9from curl -s "https://git.kernel.org/pub/scm/linux/ke … l-chktaint" | sh
Kernel is "tainted" for the following reasons: * externally-built ('out-of-tree') module was loaded (#12) * unsigned module was loaded (#13) For a more detailed explanation of the various taint flags see Documentation/admin-guide/tainted-kernels.rst in the Linux kernel sources or https://kernel.org/doc/html/latest/admin-guide/tainted-kernels.html Raw taint value as int/string: 12288/'G OE '
thank you so much if you can help me out!!!
Last edited by afterlifepro (2025-01-02 15:09:15)
Offline
Update: it seems I was attempting to configure binder_linux-dkms to do waydroid but gave up after it refused to install and forgot to remove the files in /etc/modules-load.d/ and /etc/modprobe.d/
Offline