Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 24102

Summary: cannot mount NFS on a server with the Intel Pro/1000 NIC
Product: [Retired] Red Hat Linux Reporter: Keiichi Mori <kmori>
Component: nfs-utilsAssignee: Pete Zaitcev <zaitcev>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: satoshi
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-01-16 10:48:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Keiichi Mori 2001-01-16 10:47:56 UTC
A NFS server uses the Intel Pro/1000 Adapter as ethernet card.
Client machine cannot mount NFS on this server.
When the server uses other ethernet cards(ex. eepro100),
client machine can mount correctly.

I found the size of receive buffer e1000.o(Intel Pro/1000 Driver) used is
larger than the size of socket buffer rpc.mountd used.
the socket buffer size is 2048 byte, but the receive buffer size is 2248
byte.

So I fixed nfs-utils source...

nfs-utils-0.2/support/nfs/rpcmisc.c
in function makesock()

- /* 1024 for rpc & transport overheads */
- sblen = rblen = socksz + 1024;
+ /* 2048 for rpc & transport overheads */
+ sblen = rblen = socksz + 2048;
  if (setsockopt(s, SOL_SOCKET, SO_SNDBUF, &sblen, sizeof sblen) < 0 ||

When I changed rpcmisc.c, client machine can mount NFS.

Could you merge this change?

Comment 1 Bob Matthews 2001-01-19 20:17:20 UTC
Thanks for the patch.  It's been applied.