You are not logged in.

#1 2016-11-05 17:42:38

nasser
Member
Registered: 2016-01-23
Posts: 56

[SOLVED]Failed Load kernel modules

After updating the xfce have been crashed and when I restart the machine I got
Falied to load kernel modules
This is the output of
I'm on my tablet so I will put only the error part of the output

system to status systemd-modules-load.service
Loaded: loaded(/usr/lib/systems/system/system-modules-load.service; static; vendor:disabled)

Last edited by nasser (2016-11-06 23:29:52)

Offline

#2 2016-11-05 17:48:03

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,793

Re: [SOLVED]Failed Load kernel modules

What are the output of uname -a and pacman -Q linux   ?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2016-11-05 17:53:49

nasser
Member
Registered: 2016-01-23
Posts: 56

Re: [SOLVED]Failed Load kernel modules

ewaller wrote:

What are the output of uname -a and pacman -Q linux   ?

 Linux NasserLaptop 4.8.4-1ARCH #1SMP PREEMPT Sat Oct 22 18:26:57 CEST 2016 x86_64 GNU/Linux 

Where "NasserLaptop" is my hostname

[]4.8.6-1[/]

Last edited by nasser (2016-11-05 17:56:37)

Offline

#4 2016-11-05 17:56:21

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,793

Re: [SOLVED]Failed Load kernel modules

What I am trying to do is prove the running kernel is the same as the installed kernel.   You are running the 4.8.4-1 kernel.  Now if you could run that second command to get the version of the installed kernel


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#5 2016-11-05 17:58:09

nasser
Member
Registered: 2016-01-23
Posts: 56

Re: [SOLVED]Failed Load kernel modules

ewaller wrote:

What I am trying to do is prove the running kernel is the same as the installed kernel.   You are running the 4.8.4-1 kernel.  Now if you could run that second command to get the version of the installed kernel

Sorry the tablet wouldn't write
Now this is the pacman -Q Linux

 linux 4.8.6-1 

Offline

#6 2016-11-05 18:09:14

nasser
Member
Registered: 2016-01-23
Posts: 56

Re: [SOLVED]Failed Load kernel modules

Now I have two kernels What should I do ??

Offline

#7 2016-11-05 18:10:40

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED]Failed Load kernel modules

You have a mismatch, which is why you can't load your modules. Which is a result of /boot not being mounted when you updated.

Chroot in and make sure everything is mounted correctly and reinstall linux.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#8 2016-11-05 18:13:20

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,793

Re: [SOLVED]Failed Load kernel modules

So there is the problem.  The bootloader is starting 4.8.4-1, but you have installed 4.8.6-1.  When the new kernel was installed, the modules for 4.8.4 were removed; now it cannot find its modules.

What probably happened is that the boot partition was not mounted on /boot when you upgraded the kernel.  This means the ne kernel never found its way to the boot partition.

Check to see if the boot partition is mounted on /boot with the mount command.  If it is not mounted:

Mount the boot partition on /boot
Instal the  linux package using pacman -S linux
Fix your /etc/fstab file to auto mount /boot
unmount /boot
Look in /boot for any files -- it should be empty, but will probably have the wayward kernel and initrd that were written there when the boot partition was not mounted.
reboot


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#9 2016-11-05 18:20:54

nasser
Member
Registered: 2016-01-23
Posts: 56

Re: [SOLVED]Failed Load kernel modules

ewaller wrote:

So there is the problem.  The bootloader is starting 4.8.4-1, but you have installed 4.8.6-1.  When the new kernel was installed, the modules for 4.8.4 were removed; now it cannot find its modules.

What probably happened is that the boot partition was not mounted on /boot when you upgraded the kernel.  This means the ne kernel never found its way to the boot partition.

Check to see if the boot partition is mounted on /boot with the mount command.  If it is not mounted:

Mount the boot partition on /boot
Instal the  linux package using pacman -S linux
Fix your /etc/fstab file to auto mount /boot
unmount /boot
Look in /boot for any files -- it should be empty, but will probably have the wayward kernel and initrd that were written there when the boot partition was not mounted.
reboot

Well it's mounted

/dev/sda1 on /boot type ext4 (re,relatime,data=ordered)

Offline

#10 2016-11-05 18:24:15

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED]Failed Load kernel modules

That doesn't mean it was when you upgraded...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#11 2016-11-05 18:30:02

nasser
Member
Registered: 2016-01-23
Posts: 56

Re: [SOLVED]Failed Load kernel modules

I have umount it and mount it again
And used

 pacman -S linux 

But nothing happened

Offline

#12 2016-11-05 18:39:36

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,793

Re: [SOLVED]Failed Load kernel modules

Define "nothing"

Edit
What is the output of ls -l /boot/vmlinuz-linux

Last edited by ewaller (2016-11-05 18:41:30)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#13 2016-11-05 18:40:38

nasser
Member
Registered: 2016-01-23
Posts: 56

Re: [SOLVED]Failed Load kernel modules

ewaller wrote:

Define "nothing"

Still have the same problem

Offline

#14 2016-11-05 18:43:01

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,793

Re: [SOLVED]Failed Load kernel modules

See my edit.  Also, what is the output of ls -l /boot/vmlinuz-linux and the full output of mount


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#15 2016-11-05 18:56:45

nasser
Member
Registered: 2016-01-23
Posts: 56

Re: [SOLVED]Failed Load kernel modules

ewaller wrote:

See my edit.  Also, what is the output of ls -l /boot/vmlinuz-linux and the full output of mount

mount

image541891.jpeg

ls -l /boot/vmlinuz-linux
-rw-r--r-- 1 root root 4798240 Oct 31 17:52 /boot/vmlinuz-linux

Last edited by nasser (2016-11-05 19:34:12)

Offline

#16 2016-11-05 18:58:17

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED]Failed Load kernel modules

Don't post images of text, paste the actual text. And if you do post an image, read the Code of Conduct and only post thumbnails http://wiki.archlinux.org/index.php/Cod … s_and_code


You haven't fixed anything.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#17 2016-11-05 19:34:38

nasser
Member
Registered: 2016-01-23
Posts: 56

Re: [SOLVED]Failed Load kernel modules

I have edited it, Thx
In my last reply
Now It should be more helpful I guess

Last edited by nasser (2016-11-05 19:58:14)

Offline

#18 2016-11-06 23:23:03

nasser
Member
Registered: 2016-01-23
Posts: 56

Re: [SOLVED]Failed Load kernel modules

I have solved ,Thank to u guys
I have booted from USB then remounting the partitions as in installation then generate fstab file and edit it to add /boot then arch-chroot and

 pacman -S linux 

The problem was that boot partition didn't mount correctly and I have to edit fstab file to add it

Offline

#19 2016-11-06 23:28:40

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED]Failed Load kernel modules

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#20 2016-11-06 23:30:19

nasser
Member
Registered: 2016-01-23
Posts: 56

Re: [SOLVED]Failed Load kernel modules

jasonwryan wrote:

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.

Thx, Done

Offline

Board footer

Powered by FluxBB