You are not logged in.

#1 2009-01-21 13:24:03

kastrul
Member
Registered: 2008-07-17
Posts: 5

nfs4: Cannot allocate memory

Hi,

after last update (I update ~once a week) nfs4 shares are not mounted anymore.

mount server:/ /mnt/nfs4 -t nfs4

gives error 'mount.nfs4: Cannot allocate memory'
No nfs4 files are upgraded by pacman.
I can see error

Jan 21 14:40:00 client rpcbind: server localhost not responding, timed out
Jan 21 14:40:00 client RPC: failed to contact local rpcbind server (errno 5).

in logs.
I have checked:
-portmapper is running
-there are localhost entries in /etc/hosts
-nfs kernel module is loaded
-CONFIG_NFS_V4=y in kernel config

everything was working beforre last update (restarted because of kernel upgrade 2.6.27->2.6.28.
Some more information:
Kernel 2.6.28-ARCH #1 SMP PREEMPT Sun Jan 18 20:17:17, unmodified
nfs-utils 1.1.3-2

client$  modinfo nfs
filename:       /lib/modules/2.6.28-ARCH/kernel/fs/nfs/nfs.ko
license:        GPL
author:         Olaf Kirch <okir@monad.swb.de>
depends:        sunrpc,lockd,nfs_acl
vermagic:       2.6.28-ARCH SMP preempt mod_unload 686 
parm:           enable_ino64:bool

client $  ps aux | grep rpc
root      1324  0.0  0.0      0     0 ?        S<   Jan21   0:00 [rpciod/0]
root      1342  0.0  0.0      0     0 ?        S<   Jan21   0:00 [rpciod/1]
nobody    9250  0.0  0.0   1860   624 ?        Ss   Jan21   0:00 /usr/sbin/rpc.statd
nobody   23671  0.0  0.0   1860   620 ?        Ss   Jan21   0:00 rpc.statd
nobody   28890  0.0  0.0   1860   624 ?        Ss   Jan21   0:00 /usr/sbin/rpc.statd

How to solve it?

Last edited by kastrul (2009-01-22 11:15:10)

Offline

#2 2009-01-22 01:47:35

slazZ
Member
Registered: 2008-10-04
Posts: 2

Re: nfs4: Cannot allocate memory

same here..

Offline

#3 2009-01-27 12:35:57

kastrul
Member
Registered: 2008-07-17
Posts: 5

Re: nfs4: Cannot allocate memory

I haven't found a solution for the problem jet. Just in case these are packages that were upgraded just before nfs4 broke,

[2009-01-21 10:02] removed netkit-telnet (0.17-8)
[2009-01-21 10:02] removed netkit-ftp (0.17-6)
[2009-01-21 10:02] upgraded pam (1.0.2-2 -> 1.0.3-1)
[2009-01-21 10:02] upgraded readline (5.2-8 -> 5.2.013-1)
[2009-01-21 10:02] installed inetutils (1.6-2)
[2009-01-21 10:02] upgraded sqlite3 (3.6.9-1 -> 3.6.10-1)
[2009-01-21 10:02] upgraded heimdal (1.2.1-2 -> 1.2.1-3)
[2009-01-21 10:02] upgraded libcups (1.3.9-2 -> 1.3.9-3)
[2009-01-21 10:02] upgraded cups (1.3.9-3 -> 1.3.9-4)
[2009-01-21 10:02] upgraded exempi (2.0.1-2 -> 2.1.0-1)
[2009-01-21 10:02] upgraded x264 (20080625-1 -> 20090108-1)
[2009-01-21 10:02] upgraded ffmpeg (20080715-3 -> 20081220-1)
[2009-01-21 10:02] upgraded filesystem (2008.07-1 -> 2009.01-1)
[2009-01-21 10:02] upgraded freetype2 (2.3.7-1 -> 2.3.8-1)
[2009-01-21 10:02] upgraded gcalctool (5.24.2-1 -> 5.24.3-1)
[2009-01-21 10:02] upgraded gtk2 (2.14.6-1 -> 2.14.7-1)
[2009-01-21 10:02] upgraded gcc-gcj (4.3.2-2 -> 4.3.2-3)
[2009-01-21 10:02] upgraded glib2 (2.18.3-1 -> 2.18.4-1)
[2009-01-21 10:02] upgraded gnome-desktop (2.24.2-1 -> 2.24.3-1)
[2009-01-21 10:02] upgraded gnome-doc-utils (0.14.1-1 -> 0.14.2-1)
[2009-01-21 10:02] upgraded gnome-python-desktop (2.24.0-3 -> 2.24.1-1)
[2009-01-21 10:02] upgraded gnumeric (1.8.3-1 -> 1.8.4-1)
[2009-01-21 10:02] upgraded groff (1.19.2-4 -> 1.20.1-1)
[2009-01-21 10:02] upgraded gstreamer0.10-bad-plugins (0.10.9-2 -> 0.10.9-3)
[2009-01-21 10:02] upgraded gtksourceview2 (2.4.1-1 -> 2.4.2-1)
[2009-01-21 10:02] upgraded gucharmap (2.24.2-1 -> 2.24.3-1)
[2009-01-21 10:02] upgraded klibc (1.5.14-1 -> 1.5.15-1)
[2009-01-21 10:02] upgraded klibc-extras (2.5-1 -> 2.5-2)
[2009-01-21 10:02] upgraded klibc-kbd (1.15.20080312-7 -> 1.15.20080312-8)
[2009-01-21 10:02] upgraded klibc-module-init-tools (3.4-2 -> 3.5-1)
[2009-01-21 10:02] upgraded klibc-udev (135-1 -> 135-2)
[2009-01-21 10:02] upgraded mkinitcpio (0.5.19-1 -> 0.5.21-1)
[2009-01-21 10:02] upgraded module-init-tools (3.4-1 -> 3.5-1)
[2009-01-21 10:03] upgraded kernel26 (2.6.27.10-1 -> 2.6.28.1-1)
[2009-01-21 10:03] upgraded libarchive (2.6.0-1 -> 2.6.1-1)
[2009-01-21 10:03] upgraded libasyncns (0.3-1 -> 0.7-1)
[2009-01-21 10:03] upgraded libgsf (1.14.10-1 -> 1.14.11-1)
[2009-01-21 10:03] upgraded libgsf-gnome (1.14.10-1 -> 1.14.11-1)
[2009-01-21 10:03] upgraded libgtop (2.24.0-1 -> 2.24.3-1)
[2009-01-21 10:03] upgraded libsoup (2.24.2.1-1 -> 2.24.3-1)
[2009-01-21 10:03] upgraded man-pages (3.15-1 -> 3.16-1)
[2009-01-21 10:03] upgraded mdadm (2.6.7-1 -> 2.6.8-1)
[2009-01-21 10:03] upgraded nvidia-utils (177.82-1 -> 180.22-1)
[2009-01-21 10:03] upgraded mplayer (1.0rc2-9 -> 1.0rc2-10)
[2009-01-21 10:03] upgraded nvidia (177.82-1 -> 180.22-1)
[2009-01-21 10:03] upgraded pacman-mirrorlist (20090106-1 -> 20090108-1)
[2009-01-21 10:03] upgraded pygobject (2.15.4-2 -> 2.16.0-1)
[2009-01-21 10:03] upgraded sox (14.2.0-1 -> 14.2.0-2)
[2009-01-21 10:03] upgraded syslog-ng (2.0.9-1 -> 2.1.3-2)
[2009-01-21 10:03] upgraded transcode (1.0.6-1 -> 1.1.0-1)
[2009-01-21 10:03] upgraded vlc (0.9.8a-3 -> 0.9.8a-4)
[2009-01-21 10:04] upgraded wine (1.1.12-1 -> 1.1.13-1)
[2009-01-21 10:04] upgraded xfsprogs (2.10.1-1 -> 2.10.2-1)
[2009-01-21 10:04] upgraded xine-lib (1.1.15-4 -> 1.1.16.1-1)
[2009-01-21 10:04] upgraded xmms (1.2.11-1 -> 1.2.11-2)
[2009-01-21 10:04] upgraded zenity (2.24.0-1 -> 2.24.1-1)

Offline

#4 2009-02-04 14:37:09

kastrul
Member
Registered: 2008-07-17
Posts: 5

Re: nfs4: Cannot allocate memory

Update 4:

Installed nfs-utils nfs4-utils 1.1.4-4 from aur. Still same error.

Offline

#5 2009-03-27 23:17:28

Wansfell
Member
Registered: 2009-03-27
Posts: 6

Re: nfs4: Cannot allocate memory

I have tried all evening to get nfs4 up and running.
I got the 'mount.nfs4: Cannot allocate memory' error all the time.

The answer for me was "modprobe ipv6" on the server and client,
then everything worked like magic..

Last edited by Wansfell (2009-03-27 23:28:04)

Offline

#6 2009-05-15 20:16:41

el_cammello
Member
From: Italy
Registered: 2009-03-20
Posts: 70
Website

Re: nfs4: Cannot allocate memory

Wansfell wrote:

I have tried all evening to get nfs4 up and running.
I got the 'mount.nfs4: Cannot allocate memory' error all the time.

The answer for me was "modprobe ipv6" on the server and client,
then everything worked like magic..

+1 smile


Sorry for my bad english :-)

Offline

Board footer

Powered by FluxBB