fs-nfs2, full TCP/IP stack problem 1

Hello,

I have found a very funny problem using fs-nfs2 to mount a remote NFS
filesystem using the full TCP/IP stack (I need the full TCP/IP stack
because I need multicasting and also ifconfig support for other, more
important reasons). Here’s what happens:

Sometimes, at startup, fs-nfs2 simply fails to mount the remote
filesystems. The syslogd messages generated using the fs-nfs2 -v option
follows:

Dec 11 10:01:48 field1 syslogd: restart
Dec 11 10:01:50 nto portmap[221202-1]: starting…
Dec 11 10:01:52 nto Nfs[245780-1]: starting
Dec 11 10:01:52 nto Nfs[245780-1]: mounting atlas:/export/autom/aa as
/usr/aa
Dec 11 10:01:52 nto Nfs[245780-1]: open vc=80560A8 fd=4
Dec 11 10:01:52 nto Nfs[245780-1]: RPC_OPEN: port 548 fd 4 i 548
Dec 11 10:01:52 nto Nfs[245780-1]: close vc=80560A8 fd=4
Dec 11 10:01:52 nto Nfs[245780-1]: open vc=80560A8 fd=4
Dec 11 10:01:52 nto Nfs[245780-1]: RPC_OPEN: port 547 fd 4 i 547
Dec 11 10:01:57 nto Nfs[245780-1]: mountd port= 32800
Dec 11 10:01:59 nto Nfs[245780-1]: recv from [atlas://export/autom/aa]
return 0
(expected 4): Interrupted function call
Dec 11 10:01:59 nto Nfs[245780-1]: sendmsg to [atlas:/export/autom/aa]
on fd [-1
] failed: Bad file descriptor
Dec 11 10:01:59 nto Nfs[245780-1]: portmap failure No such process
Dec 11 10:01:59 nto Nfs[245780-1]: falling back to UDP
Dec 11 10:01:59 nto Nfs[245780-1]: open vc=80560A8 fd=4
Dec 11 10:01:59 nto Nfs[245780-1]: RPC_OPEN: port 546 fd 4 i 546
Dec 11 10:01:59 nto Nfs[245780-1]: RPC_SEND: recv asking len= 50
Dec 11 10:02:00 nto Nfs[245780-1]: RPC_SEND: recv rx’d len= FFFFFFFF
Dec 11 10:02:00 nto Nfs[245780-1]: recv from [atlas://export/autom/aa]
timed out
Dec 11 10:01:59 nto Nfs[245780-1]: falling back to UDP
Dec 11 10:01:59 nto Nfs[245780-1]: open vc=80560A8 fd=4
Dec 11 10:01:59 nto Nfs[245780-1]: RPC_OPEN: port 546 fd 4 i 546
Dec 11 10:01:59 nto Nfs[245780-1]: RPC_SEND: recv asking len= 50
Dec 11 10:02:00 nto Nfs[245780-1]: RPC_SEND: recv rx’d len= FFFFFFFF
Dec 11 10:02:00 nto Nfs[245780-1]: recv from [atlas://export/autom/aa]
timed out
xid 3A341972
Dec 11 10:02:00 nto Nfs[245780-1]: RPC_SEND: recv asking len= 50
Dec 11 10:02:02 nto Nfs[245780-1]: RPC_SEND: recv rx’d len= FFFFFFFF
Dec 11 10:02:02 nto Nfs[245780-1]: recv from [atlas://export/autom/aa]
timed out
xid 3A341972
Dec 11 10:02:02 nto Nfs[245780-1]: RPC_SEND: recv asking len= 50
Dec 11 10:02:06 nto Nfs[245780-1]: RPC_SEND: recv rx’d len= FFFFFFFF
Dec 11 10:02:06 nto Nfs[245780-1]: recv from [atlas://export/autom/aa]
timed out
xid 3A341972

\

Pavan Sikka
CSIRO Manufacturing Science and Technology Telephone: +61 7 3327 4652
Qld Centre for Advanced Technologies Facsimile: +61 7 3327 4455
Technology Court, Pullenvale QLD 4069 Email:
p.sikka@cat.csiro.au
Postal: P O Box 883, Kenmore QLD 4069 Web: www.cat.csiro.au/cmst

Dec 11 10:01:59 nto Nfs[245780-1]: sendmsg to [atlas:/export/autom/aa]
on fd [-1
] failed: Bad file descriptor

Sending request is failed for some reason. Let us see what happened there.
Thanks a lot for your help.
Weijie


Pavan Sikka
CSIRO Manufacturing Science and Technology Telephone: +61 7 3327 4652
Qld Centre for Advanced Technologies Facsimile: +61 7 3327 4455
Technology Court, Pullenvale QLD 4069 Email:
p.sikka@cat.csiro.au
Postal: P O Box 883, Kenmore QLD 4069 Web: > www.cat.csiro.au/cmst