So I tried installing the linux-xanmod-linux-bin-x64v3 kernel from the aur and also its headers but there is a strange problem.
When I try to remove this kernel, it says
==> depmod 6.4.8-x64v3-xanmod1
depmod: ERROR: could not open directory /lib/modules/6.4.8-x64v3-xanmod1: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
==> WARNING: `depmod 6.4.8-x64v3-xanmod1' exited 1
This error doesn’t come in cachyos when installing or removing the above kernel.
It just removes the dkms modules without an error.
Example from cachyos
[2023-08-08T15:23:59+0500] [ALPM-SCRIPTLET] ==> dkms remove --no-depmod broadcom-wl/22.214.171.1241 -k 6.4.8-x64v3-xanmod1
[2023-08-08T15:23:59+0500] [ALPM-SCRIPTLET] ==> dkms remove --no-depmod vboxhost/7.0.10_OSE -k 6.4.8-x64v3-xanmod1
[2023-08-08T15:23:59+0500] [ALPM-SCRIPTLET] ==> depmod 6.4.8-x64v3-xanmod1
[2023-08-08T15:24:00+0500] [ALPM] transaction started
Why does this occur in EOS only?
Removing non aur kernels/headers doesn’t have this problem. But I wanna know why it occurs in Eos only as in cachyos this error doesn’t come when removing kernel from aur.
Could it be because Eos uses dracut and cachyos uses mkinitcpio?
I don’t think so that it could be caused by that.
ls /lib/modules show?
I was able to reproduce it in cachyos by installing the above kernel package and then removing it. Was running zen kernel while doing so and dracut.
So its nothing to eos only, thanks anyway.
I have been getting a lot of coredumps recently even though my computer is up to date.
What could possibly be the reason?
A huge host of reasons involving hardware and software.
I would say the most common causes are:
- Failing RAM
- Driver issues(Either in-kernel or out-of-kernel)
- Firmware bugs
But realistically it would take a lot more information to provide a more helpful answer.
I tested my RAM and no issues there using memtest
I didn’t get any coredump on cachyos after using for quite a while.
Well, software and drivers wise, I have drivers installed for intel graphics etc
Not something out of the ordinary