Connectathon nfstests, problem with the locks.

Ari Inki (Ari.Inki@iki.fi)
Tue, 24 Aug 1999 16:16:55 +0300 (EEST)


Hi all,

I'm trying to run the connectathon nfstests against 2.2.12-pre3 +
knfsd-1.4.7 + the patches from knfsd-1.4.7. The nfs client running the
tests is a solaris 2.6.

Otherwise the tests are fine, but the lock tests fail. Here is a dump
from the tests:

<<<<CLIP>>>>
root@sun [18] /tmp/cthon99> ./server -l -o rw,hard,intr,posix,vers=2,udp,rsize=1024,wsize=1024 -p /share -m /mnt/safe/share safe
Start tests on path /mnt/safe/share/sun.test [y/n]? y

sh ./runtests -l -t /mnt/safe/share/sun.test

Starting LOCKING tests: test directory /mnt/safe/share/sun.test
(arg: -t)

Testing native post-LFS locking

Creating parent/child synchronization pipes.

Test #1 - Test regions of an unlocked file.
Parent: 1.1 - F_TEST [ 0, 1] PASSED.
Parent: 1.2 - F_TEST [ 0, ENDING] PASSED.
Parent: 1.3 - F_TEST [ 0,7fffffff] PASSED.
Parent: 1.4 - F_TEST [ 1, 1] PASSED.
Parent: 1.5 - F_TEST [ 1, ENDING] PASSED.
Parent: 1.6 - F_TEST [ 1,7fffffff] PASSED.
Parent: 1.7 - F_TEST [7fffffff, 1] PASSED.
Parent: 1.8 - F_TEST [7fffffff, ENDING] PASSED.
Parent: 1.9 - F_TEST [7fffffff,7fffffff] PASSED.

Test #2 - Try to lock the whole file.
Parent: 2.0 - F_TLOCK [ 0, ENDING] FAILED!
Parent: **** Expected success, returned errno=46...
Parent: **** Probably implementation error.

** PARENT pass 1 results: 9/9 pass, 0/0 warn, 1/1 fail (pass/total).

** CHILD pass 1 results: 0/0 pass, 0/0 warn, 0/0 fail (pass/total).
lock tests failed
leaving /mnt/safe/share mounted
root@sun [19] /tmp/cthon99> uname -a
SunOS sun 5.6 Generic_105181-07 sun4u sparc SUNW,Ultra-1
root@sun [20] /tmp/cthon99>
<<<<CLIP>>>>

And on the server side...

<<<<CLIP>>>>
$ tail -f /var/log/messages
Aug 24 15:44:05 safe kernel: lockd: cannot monitor ip.ip.ip.ip
Aug 24 15:44:14 safe kernel: svc: unknown program 100227 (me 100003)
Aug 24 15:44:19 safe /usr/sbin/rpc.statd[151]: Attempt to register callback to service 24
Aug 24 15:44:19 safe /usr/sbin/rpc.statd[151]: STAT_FAIL to 127.0.0.1 for SM_MON of ip.ip.ip.ip
<<<<CLIP>>>>

Any ideas on how to fix the situation?

Thanks,

...Ari

---
Ari.Inki@iki.fi

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/