mount:nfsmount failed: Bad file descriptor

Denys Vlasenko vda.linux at googlemail.com
Thu Aug 30 14:57:58 UTC 2007


On Thursday 30 August 2007 10:46, xiao.liang at cn.alps.com wrote:
> Thank you! Now I do not think it is version problem. Actually, I found
> that the TCP connection is never complete between my nfs client and
> server. The server reply the SYN,ACK but the client just do not respond.
> As for UDP is the same . I use inetd and portmap on client side , I think
> there must be sth wrong on my client side.
> packets :
> from client to server:
> src port : 794, dest port:111
> from server to client:
> src port:111 dest port:794
>
> the tcpdump on the client side is look like this

> 10.25.16.160.794 > 10.25.16.130.sunrpc: S, cksum 0x5740 (correct),
> 31406388
>  10.25.16.130.sunrpc > 10.25.16.160.794: S, cksum 0x79e6 (correct),
> 2533961748:2
>  10.25.16.130.sunrpc > 10.25.16.160.794: S, cksum 0x79e6 (correct),
> 2533961748:2
>  60) 10.25.16.160.794 > 10.25.16.130.sunrpc: S, cksum 0x5614 (correct),
> 31406388
>  10.25.16.130.sunrpc > 10.25.16.160.794: S, cksum 0x76ff (correct),
> 2533961748:2
>  10.25.16.130.sunrpc > 10.25.16.160.794: S, cksum 0x76ff (correct),
> 2533961748:2
>  10.25.16.130.sunrpc > 10.25.16.160.794: S, cksum 0x76f8 (correct),
> 2533961748:2
>  10.25.16.130.sunrpc > 10.25.16.160.794: S, cksum 0x76f8 (correct),
> 2533961748:2

What is sunrpc?...
# cat /etc/services | grep sunrpc
sunrpc          111/tcp         portmapper      # RPC 4.0 portmapper
sunrpc          111/udp         portmapper
..aha

It seems that server's SYN/ACK does reach client, but it ignores them.

Does telnetting from client to server's port 111 work?

Do you have firewall configured?

P.S. Can you _please_ send non-linewrapped output next time?

Also for some reason you don't have timestamp in tcpdump output:

# tcpdump -nlieth0
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
15:50:16.176366 00:15:fa:60:94:46 > 01:00:0c:cc:cc:cd SNAP Unnumbered, ui, Flags [Command], length 50
15:50:16.517619 arp who-has 172.28.3.60 tell 172.28.3.250
15:50:16.527435 arp who-has 172.28.3.159 tell 172.28.3.251
^^^^^^^^^^^^^^^
--
vda



More information about the busybox mailing list