modinfo: ERROR: Module alias nfs not found.

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

modinfo: ERROR: Module alias nfs not found.

Postby ccx » Mon Feb 23, 2015 1:41 am

Running system:
RASPBERRY_PI
Firmware Version: Feb 21 2015 18:37:41
version 35719cfaa6b22a5743a7de87ddbae98b1ff37d9b (clean) (release)
uname -a:
Linux ccx-pi 3.18.7-7-ARCH #1 PREEMPT Sat Feb 21 10:42:40 MST 2015 armv6l GNU/Linux

After system upgrade to 3.18.7-7-ARCH mounting nfs after reboot failed. The problem is on client side.
sudo mount -a failed.
mount.nfs: Protocol not supported.
The nfs server is running on an external NAS. It is accessable from my notebook and smartphone.

1. systemctl status rpcbind -> active
2. systemctl status nfs-client-target -> active
3. modinfo nfs:
modinfo: ERROR: Module alias nfs not found.

4. /lib/modules/3.18.7-7-ARCH/kernel/fs
-> no "nfs" directory
-> no "nfs.ko.gz" found in /lib/modules/3.18.7-7-ARCH/kernel

5. Downgrade pacman -U /var/cache/.../3.18.5.1-ARCH
Not working. Also no "nfs.ko.gz" in /lib/modules/3.18.5-1-ARCH/kernel/fs
Questions:
1.) Has anyone else the same problem?
2.) From which packet is the nfs.ko.gz comming?
3.) Any workaround? Any possibilty to manually install nfs module?
ccx
 
Posts: 3
Joined: Mon Feb 23, 2015 1:37 am

Re: modinfo: ERROR: Module alias nfs not found.

Postby pepedog » Mon Feb 23, 2015 10:56 am

Is nfs built into kernel? It won't show up there.
zcat /proc/config.gz | grep nfs
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: modinfo: ERROR: Module alias nfs not found.

Postby ccx » Tue Feb 24, 2015 1:16 pm

zcat /proc/config.gz | grep nfs

=> Result: Nothing,


zcat /proc/config.gz | grep NFS

$this->bbcode_second_pass_code('', '
CONFIG_KERNFS=y
CONFIG_NFS_FS=y
CONFIG_NFS_V2=y
CONFIG_NFS_V3=y
CONFIG_NFS_V3_ACL=y
CONFIG_NFS_V4=y
CONFIG_NFS_SWAP=y
CONFIG_NFS_V4_1=y
CONFIG_NFS_V4_2=y
CONFIG_PNFS_FILE_LAYOUT=y
CONFIG_PNFS_BLOCK=y
CONFIG_NFS_V4_1_IMPLEMENTATION_ID_DOMAIN="y"
CONFIG_NFS_V4_1_MIGRATION=y
CONFIG_ROOT_NFS=y
CONFIG_NFS_FSCACHE=y
CONFIG_NFS_USE_LEGACY_DNS=y
CONFIG_NFSD=m
CONFIG_NFSD_V2_ACL=y
CONFIG_NFSD_V3=y
CONFIG_NFSD_V3_ACL=y
CONFIG_NFSD_V4=y
# CONFIG_NFSD_FAULT_INJECTION is not set
CONFIG_NFS_ACL_SUPPORT=y
CONFIG_NFS_COMMON=y
')


Yes, seems to be in the kernel!
ccx
 
Posts: 3
Joined: Mon Feb 23, 2015 1:37 am

Re: modinfo: ERROR: Module alias nfs not found.

Postby ccx » Tue Feb 24, 2015 7:14 pm

Solved!!!

NFS Troubleshooting:
From https://wiki.archlinux.org/index.php/NFS/Troubleshooting
After updating to nfs-utils 1.2.1-2 or higher, mounting NFS shares stopped working. Henceforth, nfs-utils uses NFSv4 per default instead of NFSv3. The problem can be solved by using either mount option 'vers=3' or 'nfsvers=3' on the command line:


Outdated:
sudo mount [ip]:/c/music /mnt/music


Now:
sudo mount -o vers=3 [ip]:/c/music /mnt/music


fstab:
[ip]:/c/music /mnt/music nfs rw,auto,vers=3,user 0 0


Annotations:
The nfs client module is build into the kernel, no module available!
ccx
 
Posts: 3
Joined: Mon Feb 23, 2015 1:37 am


Return to Raspberry Pi

Who is online

Users browsing this forum: Google [Bot] and 81 guests