Running gentoo-sources-r4 and r5, I constantly get the message "nfs: server nfs0 not responding, timed out" in my logs. My home directories are NFS mounted. This results in short interruptions and some error messages in running programs. Other stations in my network do not have this problem, and my station with gentoo-sources-2.4.20-r8 is also OK. the NFS server is running FreeBSD 5.1. Both 2.4.22 -r4 and -r5 show this problem, but it is worse on -r4 Reproducible: Always Steps to Reproduce: 1. boot 2.4.22 kernel 2. log in 3. access files. Actual Results: I get error messages: log-2004-01-14-14:00:00:Jan 13 13:09:41 [kernel] nfs: server nfs0 not responding, timed out log-2004-01-14-14:00:00:Jan 13 14:16:38 [kernel] nfs: server nfs0 not responding, timed out log-2004-01-14-14:00:00:Jan 13 14:26:44 [kernel] nfs: server nfs0 not responding, timed out log-2004-01-14-14:00:00:Jan 13 15:16:56 [kernel] nfs: server nfs0 not responding, timed out log-2004-01-14-14:00:00:Jan 13 15:26:31 [kernel] nfs: server nfs0 not responding, timed out log-2004-01-14-14:00:00:Jan 13 15:34:54 [kernel] nfs: server nfs0 not responding, timed out log-2004-01-14-14:00:00:Jan 13 21:15:48 [kernel] nfs: server nfs0 not responding, timed out log-2004-01-14-14:00:00:Jan 13 22:12:53 [kernel] nfs: server nfs0 not responding, timed out log-2004-01-14-14:00:00:Jan 14 10:23:52 [kernel] nfs: server nfs0 not responding, timed out log-2004-01-14-14:00:00:Jan 14 12:05:30 [kernel] nfs: server nfs0 not responding, timed out log-2004-01-14-14:00:00:Jan 14 12:25:30 [kernel] nfs: server nfs0 not responding, timed out log-2004-01-15-14:00:01:Jan 14 14:07:50 [kernel] nfs: server nfs0 not responding, timed out log-2004-01-15-14:00:01:Jan 14 15:13:03 [kernel] nfs: server nfs0 not responding, timed out log-2004-01-15-14:00:01:Jan 14 15:28:35 [kernel] nfs: server nfs0 not responding, timed out log-2004-01-15-14:00:01:Jan 14 15:33:28 [kernel] nfs: server nfs0 not responding, timed out log-2004-01-15-14:00:01:Jan 14 15:44:04 [kernel] nfs: server nfs0 not responding, timed out Expected Results: Not give access errors * Note that I reverted to 2.4.20-r8, the problems only occur in 2.4.22 * Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.20-gentoo-r8) ================================================================= System uname: 2.4.20-gentoo-r8 i686 AMD Athlon(tm) XP 1700+ Gentoo Base System version 1.4.3.10 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://194.83.57.3/sites/www.ibiblio.org/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ http://194.83.57.2/sites/www.ibiblio.org/gentoo/ http://194.83.57.15/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X acpi apm arts avi berkdb bonobo cdr crypt cups dvd encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml imlib java jpeg kde ldap libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pda pdflib perl png python qt quicktime readline scanner sdl slang spell sse ssl svga tcltk tcpd truetype x86 xml2 xmms xosd xv zlib"
Some additional info. This error only occurs very infrequent on small operations (openign mbox file, writing documents). Yet multiple heavy operations (search through 100MB mail archive, tar operations), specially concurrently, always give errors and sometimes the operation fails.
Can you attach your .config, which version of nfs you are using, any other mount options you have for the nfs fs, and the os/kernel of the nfs server itself. Just so you know, I'm unable to reproduce this here, so you may have to do a little hunting for us.
Created attachment 23932 [details] Kernel config file
These are the fstab mount options: nfs0:/data/home /home nfs soft,rsize=8192,wsize=8192,nolock,nosuid 0 0 nfs0:/data/export /netdata nfs soft,rsize=8192,wsize=8192,nolock,nosuid 0 0 The nolock is to keep Ximian Evolution happy. NFS version is 3 There are no special options set on the server. Kernel 2.4.21 (on Mandrake) is OK 2.4.20-r8 on Gentoo is OK I am using an integrated NIC (ECS K7S5A MB with Sis 735 chipset)
I just ran some test against a Linux nfs server (Mandrake 9.1), and it gave me the same error, so we can rule out the server. I don't get it... Still it is considerably better in -r5 then -r4. I also tried running without the wsize and rsize = no change using a hard nfs mount still gives the error, but apps seem to survive better.
latest gs-sources (2.4.23) do not have this problem, I'm compiling vanilla to test now
vanilla 2.4.24 is fine gs-sources is my current kernel for now
Found working kernel. Bug fixed.
Bug closed. Upgrade of kernel straightened things out.