[SOLVED] No NFS after linux-imx6-cubox-dt 3.14.33-1 upgrade

This forum is for supported devices using an ARMv7 Freescale SoC.

[SOLVED] No NFS after linux-imx6-cubox-dt 3.14.33-1 upgrade

Postby Orbi » Fri Feb 13, 2015 7:09 am

Hi, it seems upgrading to the latest kernel broke nfs. It was working fine before.

$this->bbcode_second_pass_code('', 'Feb 12 21:08:10 alarm systemd[1]: mnt-TV\x20Shows.mount mount process exited, code=exited status=32
Feb 12 21:08:10 alarm systemd[1]: Failed to mount /mnt/TV Shows.
Feb 12 21:08:10 alarm systemd[1]: Unit mnt-TV\x20Shows.mount entered failed state.
Feb 12 21:08:10 alarm systemd[1]: mnt-Movies.mount mount process exited, code=exited status=32
Feb 12 21:08:10 alarm systemd[1]: Failed to mount /mnt/Movies.
Feb 12 21:08:10 alarm systemd[1]: Unit mnt-Movies.mount entered failed state.')
$this->bbcode_second_pass_code('', '[root@alarm ~]# ls /usr/lib/modules/
3.14.33-1-ARCH extramodules-3.14--imx6-cubox-dt')
$this->bbcode_second_pass_code('', 'root@alarm ~]# uname -a
Linux alarm 3.14.33-1-ARCH #1 SMP Thu Feb 12 01:41:04 MST 2015 armv7l GNU/Linux')
$this->bbcode_second_pass_code('', '[root@alarm ~]# modinfo nfs
modinfo: ERROR: Module nfs not found.')
What other information can I provide?
Last edited by Orbi on Sun Feb 15, 2015 10:09 am, edited 1 time in total.
Orbi
 
Posts: 16
Joined: Fri Feb 13, 2015 7:02 am

Re: No NFS after linux-imx6-cubox-dt 3.14.33-1 upgrade

Postby pepedog » Fri Feb 13, 2015 7:19 am

Which kernel did you upgrade from (which worked)?
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: No NFS after linux-imx6-cubox-dt 3.14.33-1 upgrade

Postby Orbi » Fri Feb 13, 2015 7:31 am

The standard kernel I think. I followed the instructions here: http://archlinuxarm.org/platforms/armv7/freescale/cubox-i
Orbi
 
Posts: 16
Joined: Fri Feb 13, 2015 7:02 am

Re: No NFS after linux-imx6-cubox-dt 3.14.33-1 upgrade

Postby tuxx » Fri Feb 13, 2015 10:12 am

Nfs works for me like a charm for me with a fully updated archlinuxarm on my cubox-i4 pro.
tuxx
 
Posts: 45
Joined: Thu May 15, 2014 1:07 pm

Re: No NFS after linux-imx6-cubox-dt 3.14.33-1 upgrade

Postby moonman » Fri Feb 13, 2015 3:47 pm

Nfs support is built in, and not built as a module
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: No NFS after linux-imx6-cubox-dt 3.14.33-1 upgrade

Postby Orbi » Sat Feb 14, 2015 10:23 am

There is something wrong with rpc-statd.service. Reading the journal, it seems it is needed to mount nfs shares.

$this->bbcode_second_pass_code('', '[root@alarm ~]# systemctl --failed
UNIT LOAD ACTIVE SUB DESCRIPTION
* mnt-Movies.mount loaded failed failed /mnt/Movies
* mnt-TV\x20Shows.mount loaded failed failed /mnt/TV Shows
* rpc-statd.service loaded failed failed NFS status monitor for NFSv2/3 locking.')

$this->bbcode_second_pass_code('', '[root@alarm ~]# journalctl -xe
-- Unit rpc-statd.service has begun starting up.
Feb 14 09:32:10 alarm rpc.statd[403]: Version 1.3.2 starting
Feb 14 09:32:10 alarm rpc.statd[403]: Flags: TI-RPC
Feb 14 09:32:10 alarm rpc.statd[403]: Running as root. chown /var/lib/nfs to choose different user
Feb 14 09:32:10 alarm rpc.statd[403]: failed to create RPC listeners, exiting
Feb 14 09:32:10 alarm systemd[1]: rpc-statd.service: control process exited, code=exited status=1
Feb 14 09:32:10 alarm systemd[1]: Failed to start NFS status monitor for NFSv2/3 locking..
-- Subject: Unit rpc-statd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit rpc-statd.service has failed.
--
-- The result is failed.
Feb 14 09:32:10 alarm systemd[1]: Unit rpc-statd.service entered failed state.
Feb 14 09:32:10 alarm systemd[1]: rpc-statd.service failed.
Feb 14 09:32:10 alarm mount[395]: Job for rpc-statd.service failed. See "systemctl status rpc-statd.service" and "journalctl -xe" for details.
Feb 14 09:32:10 alarm rpc.statd[405]: Version 1.3.2 starting
Feb 14 09:32:10 alarm rpc.statd[405]: Flags: TI-RPC
Feb 14 09:32:10 alarm rpc.statd[405]: Running as root. chown /var/lib/nfs to choose different user
Feb 14 09:32:10 alarm rpc.statd[405]: failed to create RPC listeners, exiting
Feb 14 09:32:23 alarm mount[395]: mount.nfs: rpc.statd is not running but is required for remote locking.
Feb 14 09:32:23 alarm mount[395]: mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
Feb 14 09:32:23 alarm mount[395]: mount.nfs: an incorrect mount option was specified
Feb 14 09:32:23 alarm systemd[1]: mnt-TV\x20Shows.mount mount process exited, code=exited status=32
Feb 14 09:32:23 alarm systemd[1]: Failed to mount /mnt/TV Shows.
-- Subject: Unit mnt-TV\x20Shows.mount has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mnt-TV\x20Shows.mount has failed.
--
-- The result is failed.
Feb 14 09:32:23 alarm systemd[1]: Unit mnt-TV\x20Shows.mount entered failed state.
Feb 14 09:32:23 alarm systemd[1]: Got automount request for /mnt/TV Shows, triggered by 284 (python2)
Feb 14 09:32:23 alarm systemd[1]: Mounting /mnt/TV Shows...
-- Subject: Unit mnt-TV\x20Shows.mount has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel ')

$this->bbcode_second_pass_code('', '[root@alarm ~]# systemctl status rpc-statd.service
* rpc-statd.service - NFS status monitor for NFSv2/3 locking.
Loaded: loaded (/usr/lib/systemd/system/rpc-statd.service; static; vendor preset: disabled)
Active: failed (Result: exit-code) since Sat 2015-02-14 09:58:46 CET; 1h 23min ago
Process: 560 ExecStart=/usr/sbin/rpc.statd --no-notify $STATDARGS (code=exited, status=1/FAILURE)

Feb 14 09:58:46 alarm rpc.statd[561]: Version 1.3.2 starting
Feb 14 09:58:46 alarm rpc.statd[561]: Flags: TI-RPC
Feb 14 09:58:46 alarm rpc.statd[561]: Running as root. chown /var/lib/nfs to choose different user
Feb 14 09:58:46 alarm rpc.statd[561]: failed to create RPC listeners, exiting
Feb 14 09:58:46 alarm systemd[1]: rpc-statd.service: control process exited, code=exited status=1
Feb 14 09:58:46 alarm systemd[1]: Failed to start NFS status monitor for NFSv2/3 locking..
Feb 14 09:58:46 alarm systemd[1]: Unit rpc-statd.service entered failed state.
Feb 14 09:58:46 alarm systemd[1]: rpc-statd.service failed.')
Orbi
 
Posts: 16
Joined: Fri Feb 13, 2015 7:02 am

Re: No NFS after linux-imx6-cubox-dt 3.14.33-1 upgrade

Postby moonman » Sat Feb 14, 2015 11:12 am

Is rpcbind enabled?

What's the output of "systemctl -t service"?
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: No NFS after linux-imx6-cubox-dt 3.14.33-1 upgrade

Postby Orbi » Sat Feb 14, 2015 9:55 pm

Rpcbind is not enabled:
$this->bbcode_second_pass_code('', '[root@alarm ~]# systemctl status rpcbind
* rpcbind.service - RPC bind service
Loaded: loaded (/usr/lib/systemd/system/rpcbind.service; indirect; vendor preset: disabled)
Active: inactive (dead)')

I never had the need to enable it before, as everything was working fine...

$this->bbcode_second_pass_code('', '[root@alarm ~]# systemctl -t service
UNIT LOAD ACTIVE SUB DESCRIPTION
avahi-daemon.service loaded active running Avahi mDNS/DNS-SD Stack
couchpotato.service loaded active running An automatic NZB and torrent movie downloader
dbus.service loaded active running D-Bus System Message Bus
getty@tty1.service loaded active running Getty on tty1
haveged.service loaded active running Entropy Harvesting Daemon
UNIT LOAD ACTIVE SUB DESCRIPTION
avahi-daemon.service loaded active running Avahi mDNS/DNS-SD Stack
couchpotato.service loaded active running An automatic NZB and torrent movie downloader
dbus.service loaded active running D-Bus System Message Bus
getty@tty1.service loaded active running Getty on tty1
haveged.service loaded active running Entropy Harvesting Daemon
kmod-static-nodes.service loaded active exited Create list of required static device nodes for the current kernel
kodi.service loaded active running Starts an instance of Kodi
nfs-config.service loaded active exited Preprocess NFS configuration
ntpd.service loaded active running Network Time Service
* rpc-statd.service loaded failed failed NFS status monitor for NFSv2/3 locking.
sabnzbd.service loaded active running SABnzbd binary newsreader
serial-getty@ttymxc0.service loaded active running Serial Getty on ttymxc0
sickbeard.service loaded active running SickBeard Daemon
sshd.service loaded active running OpenSSH Daemon
systemd-journal-flush.service loaded active exited Flush Journal to Persistent Storage
systemd-journald.service loaded active running Journal Service
systemd-logind.service loaded active running Login Service
systemd-modules-load.service loaded active exited Load Kernel Modules
systemd-networkd.service loaded active running Network Service
systemd-random-seed.service loaded active exited Load/Save Random Seed
systemd-remount-fs.service loaded active exited Remount Root and Kernel File Systems
systemd-resolved.service loaded active running Network Name Resolution
systemd-rfkill@rfkill0.service loaded active exited Load/Save RF Kill Switch Status of rfkill0
systemd-sysctl.service loaded active exited Apply Kernel Variables
systemd-tmpfiles-setup-dev.service loaded active exited Create Static Device Nodes in /dev
systemd-tmpfiles-setup.service loaded active exited Create Volatile Files and Directories
systemd-udev-trigger.service loaded active exited udev Coldplug all Devices
systemd-udevd.service loaded active running udev Kernel Device Manager
systemd-update-utmp.service loaded active exited Update UTMP about System Boot/Shutdown
systemd-user-sessions.service loaded active exited Permit User Sessions
systemd-vconsole-setup.service loaded active exited Setup Virtual Console
transmission.service loaded active running Transmission BitTorrent Daemon
user@0.service loaded active running User Manager for UID 0

LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.

33 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'').

Thanks for the assistance man!
Orbi
 
Posts: 16
Joined: Fri Feb 13, 2015 7:02 am

Re: No NFS after linux-imx6-cubox-dt 3.14.33-1 upgrade

Postby Orbi » Sat Feb 14, 2015 10:02 pm

I meant moonman :)

enabling rpcbind fixed everything! Woohoo! Thanks!

Any idea why I need to enable rpcbind now whereas before kernel update it wasn't needed?
Orbi
 
Posts: 16
Joined: Fri Feb 13, 2015 7:02 am

Re: No NFS after linux-imx6-cubox-dt 3.14.33-1 upgrade

Postby moonman » Sun Feb 15, 2015 1:01 am

Don't know why it was working before without it. ArchWiki states it needs to be on too.
You can mark the thread as solved.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am


Return to Freescale

Who is online

Users browsing this forum: No registered users and 8 guests