* nfssvc: writting fds to kernel failed: errno 0 (Success)
@ 2007-02-11 23:10 Arnaud Giersch
2007-02-11 23:39 ` Neil Brown
0 siblings, 1 reply; 3+ messages in thread
From: Arnaud Giersch @ 2007-02-11 23:10 UTC (permalink / raw)
To: nfs
Hi,
Since two months, I can see the following strange messages logged each
time that rpc.nfsd is started:
Feb 11 21:46:23 bilbo nfsd[18672]: nfssvc: writting fds to kernel failed: errno 0 (Success)
Feb 11 21:46:23 bilbo nfsd[18672]: nfssvc: writting fds to kernel failed: errno 0 (Success)
It seems however harmless, the NFS server works fine.
AFAICS, these messages appeared with some kernel between 2.6.18 and
2.6.19. I don't know which one exactly. With earlier kernels, the
file /proc/fs/nfsd/portlist does not exist, and the function
nfssvc_setfds() from support/nfs/nfssvc.c (in nfs-utils) exits early
and silently.
This issue has recently reported in the Debian bug tracking system. See
http://bugs.debian.org/408669
Regards,
Arnaud Giersch
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: nfssvc: writting fds to kernel failed: errno 0 (Success)
2007-02-11 23:10 nfssvc: writting fds to kernel failed: errno 0 (Success) Arnaud Giersch
@ 2007-02-11 23:39 ` Neil Brown
2007-02-12 0:42 ` Arnaud Giersch
0 siblings, 1 reply; 3+ messages in thread
From: Neil Brown @ 2007-02-11 23:39 UTC (permalink / raw)
To: Arnaud Giersch; +Cc: nfs
On Monday February 12, arnaud.giersch@free.fr wrote:
> Hi,
>
> Since two months, I can see the following strange messages logged each
> time that rpc.nfsd is started:
>
> Feb 11 21:46:23 bilbo nfsd[18672]: nfssvc: writting fds to kernel failed: errno 0 (Success)
> Feb 11 21:46:23 bilbo nfsd[18672]: nfssvc: writting fds to kernel failed: errno 0 (Success)
>
> It seems however harmless, the NFS server works fine.
Yes, it is harmless - except that it causes concern.
The following kernel patch should stop the error (and a separate patch
will fix the typo in the error message...)
Thanks,
NeilBrown
Signed-off-by: Neil Brown <neilb@suse.de>
### Diffstat output
./fs/nfsd/nfsctl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff .prev/fs/nfsd/nfsctl.c ./fs/nfsd/nfsctl.c
--- .prev/fs/nfsd/nfsctl.c 2007-02-12 10:37:53.000000000 +1100
+++ ./fs/nfsd/nfsctl.c 2007-02-12 10:38:11.000000000 +1100
@@ -123,7 +123,7 @@ static ssize_t nfsctl_transaction_write(
return PTR_ERR(data);
rv = write_op[ino](file, data, size);
- if (rv>0) {
+ if (rv >= 0) {
simple_transaction_set(file, rv);
rv = size;
}
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: nfssvc: writting fds to kernel failed: errno 0 (Success)
2007-02-11 23:39 ` Neil Brown
@ 2007-02-12 0:42 ` Arnaud Giersch
0 siblings, 0 replies; 3+ messages in thread
From: Arnaud Giersch @ 2007-02-12 0:42 UTC (permalink / raw)
To: Neil Brown; +Cc: nfs
Lundi 12 f=E9vrier 2007, vers 00:39:49 (+0100), Neil Brown a =E9crit:
> On Monday February 12, arnaud.giersch@free.fr wrote:
>> Feb 11 21:46:23 bilbo nfsd[18672]: nfssvc: writting fds to kernel failed=
: errno 0 (Success)
[...]
> The following kernel patch should stop the error (and a separate patch
> will fix the typo in the error message...)
Thanks. The patch looks ok to me, but I am sorry I can't test it for
the moment. =
The machines running an NFS server that I have access to are either
our main server at work, or my old home server which takes several
hours to build a new kernel.
Arnaud Giersch
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easi=
er.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D1=
21642
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-02-12 0:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-11 23:10 nfssvc: writting fds to kernel failed: errno 0 (Success) Arnaud Giersch
2007-02-11 23:39 ` Neil Brown
2007-02-12 0:42 ` Arnaud Giersch
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.