You are not logged in.

#1 2023-02-24 04:33:12

colbstersnowman
Member
Registered: 2023-02-24
Posts: 4

Failed Load Kernel Modules [SOLVED]

I recently rebooted my computer and I came back to a message that said "Failed Load Kernel Modules" with a few other things beneath it that said failed. The last time I was on my computer, I was trying to install a program, but was receiving an error from the console. A looked up the error online and someone said a fix was to rename the firmware folder within the libs/modules folder. If this was a really stupid mistake, please forgive me as I am a huge noob when it comes to arch; I really only know the absolute basics. My computer worked fine, but once I restarted I encountered the error. I entered into the install media I used to install arch and I tried to troubleshoot. I tried to reinstall both linux and linux-firmware, but I got an error saying "write permissions failed." Once I tried again it said "files already exist in file system." I ran the commands uname -r and pacman -Q linux and the versions matched. I feel like I have tried everything I have seen online and nothing has worked. Any feedback or advice would be appreciated, even if that feedback is "you're an absolute idiot and you've irreversibly screwed up your system." Thank you in advance!

Last edited by colbstersnowman (2023-02-27 22:03:10)

Offline

#2 2023-02-24 07:17:11

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,378

Re: Failed Load Kernel Modules [SOLVED]

this was a really stupid mistake

Undo that and don't follow random advice that could have been choked up by ShitGPT.

I ran the commands uname -r and pacman -Q linux and the versions matched.

In what context?
"Failed to load kernel modules" most likely means that while your where (re)installing the kernel from the install iso, you forgot to mount the boot partition and are indeed booting an older kernel.
Please post your complete system journal. If you can boot the installed system:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

If you can't, boot the install iso, mount at least the root partition and use

sudo journalctl -b -D /mnt/var/log/journal | curl -F 'file=@-' 0x0.st

Offline

#3 2023-02-25 04:28:42

colbstersnowman
Member
Registered: 2023-02-24
Posts: 4

Re: Failed Load Kernel Modules [SOLVED]

Thank you for your reply!

Here is the link to my full journal:
http://0x0.st/Hslp.txt

You said to undo my mistake, but I am unsure how to do this. Is there an easy way to rename a folder from the install iso?

I ran the commands uname -r and pacman -Q because a lot of sources online said that those not matching caused the issue, but mine did match.

Please let me know if you have any advice. Thank you!

Offline

#4 2023-02-25 06:57:44

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,378

Re: Failed Load Kernel Modules [SOLVED]

Feb 25 04:07:15 archiso kernel: Command line: initrd=\arch\boot\intel-ucode.img initrd=\arch\boot\amd-ucode.img initrd=\arch\boot\x86_64\initramfs-linux.img archisobasedir=arch archisolabel=ARCH_202112

That's from a boot of the install iso.

You said to undo my mistake, but I am unsure how to do this. Is there an easy way to rename a folder from the install iso?

There'r eno ways to "rename folders" at all, you'd move directories. The terminology aside, there's no difference between doing this from the iso and the installed system at  all.
Just unless you chroot, the directory will have a different mountpoint (typically /mnt rather than /)

I ran the commands uname -r and pacman -Q because a lot of sources online said that those not matching caused the issue, but mine did match.

seth wrote:

In what context?

What are the exact outputs?
Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855
Because from the install iso, those exact commands would at best be utterly pointless.

Offline

#5 2023-02-26 03:08:29

colbstersnowman
Member
Registered: 2023-02-24
Posts: 4

Re: Failed Load Kernel Modules [SOLVED]

This should be the correct journal for my system:
http://0x0.st/Hsd7.txt

I was able to reinstall Linux through chroot. It no longer says failed load kernel modules, but it doesn't boot to my system either. It boots to a black screen with white text, similar to the boot iso with the following text:

Starting version 250.1-1-arch
/dev/sdb3: recovering journal
/dev/sdb3: clean, 1725716/30359552 files, 97047264/121431297 blocks

Offline

#6 2023-02-26 08:13:06

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,378

Re: Failed Load Kernel Modules [SOLVED]

Yes "should" …

Feb 25 21:59:28 archiso kernel: Command line: initrd=\arch\boot\intel-ucode.img initrd=\arch\boot\amd-ucode.img initrd=\arch\boot\x86_64\initramfs-linux.img archisobasedir=arch archisolabel=ARCH_202112

it doesn't boot to my system either. It boots to a black screen with white text

Try to boot the multi-user.target, 1st link below and post the journal from there.
Also name the graphical target (lightdm?) and see https://wiki.archlinux.org/title/Kernel … _KMS_start

Offline

#7 2023-02-27 01:52:13

colbstersnowman
Member
Registered: 2023-02-24
Posts: 4

Re: Failed Load Kernel Modules [SOLVED]

I was able to get it working by removing /etc/X11/xorg.conf. Once I rebooted, I got back into my system no problem. Thank you for all of your help!

Offline

#8 2023-02-27 06:50:44

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,378

Re: Failed Load Kernel Modules [SOLVED]

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB