Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] NFS not working - No kernel module loaded (Read 1182 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

[SOLVED] NFS not working - No kernel module loaded

Everything on the server side (Pop!OS) seems fine (since 'showmount -e' on my Artix box shows exactly  what it should).

'lsmod|grep nfs' shows nothing.

The gist of the problem seems to be this:

Quote
$ uname -r
5.14.16-artix1-1

$ ls -l /lib/modules/
drwxr-xr-x 4 root root  4096 Dec  2 17:48 5.15.5-artix1-1

How did this happen?  After the initial install, i've done nothing but update the system (and install individual packages) using 'pacman -Syu'.

This seems bad to me, and i have no clue as to how it might have happened or what i should do about it.  Thankfully, it *seems* like something that someone else will definitely be able to clue me in about.

Re: NFS not working - No kernel module loaded

Reply #1
I should add, just for clarity, the following:

Quote
craig@lemur4:~$ sudo modprobe -a nfs
modprobe: WARNING: Module nfs not found in directory /lib/modules/5.14.16-artix1-1

Which was kind of implied by the output of 'uname -r' but...

Re: NFS not working - No kernel module loaded

Reply #2
Also, this is a not-directly-relevant tangent, but i tried loading the module directly:

Quote
craig@lemur4:~$ sudo insmod /lib/modules/5.15.5-artix1-1/kernel/fs/nfs/nfs.ko.zst
insmod: ERROR: could not insert module /lib/modules/5.15.5-artix1-1/kernel/fs/nfs/nfs.ko.zst: Invalid module format

I'm not familiar with compressed modules, so maybe they can't be loaded directly like this.  Or not.  But if anyone can shed light on this, that'd be nice, because i searched for anything related to loading/unloading .zst compressed modules and found nothing.

Re: NFS not working - No kernel module loaded

Reply #3
Also, after noticing the kernel discrepancy, i did a 'pacman -Syu' and tried 'modprobe -a nfs' again... which produced exactly the sam e output.

Re: NFS not working - No kernel module loaded

Reply #4
The problem is that you are somehow on kernel 5.14.16 despite the current version of linux being 5.15.5. Try reinstalling linux I guess (pacman -S linux) but you need to fix the incorrect kernel version.

Re: NFS not working - No kernel module loaded

Reply #5
Reinstalling "linux" did the trick.  Thank you very much.  I had no idea there was such a package.  There's really no equivalent in the debian world.  Somehow this package got out of sync with the kernel i was actually running.  I'm guessing that this package doesn't update automatically, although i don't know why that would be.   Otherwise, why would my previous system updates not have updated it?  I'm also guessing that the kernel *did* update automatically, which would explain how they got out of sync.

Am i all wet on this?

Re: NFS not working - No kernel module loaded

Reply #6
This could happen due to an interrupted update or otherwise unsuccessful update. Check logs and always read output from pacman. Had your recent explicit upgrade failed, you could also have checked if there's room in your ESP. However, it succeeded.