From: Wolfgang Denk Date: Tue, 17 Aug 2010 11:24:54 +0200 Subject: [U-Boot] [PATCH] net: Change the NFS_TIMEOUT to 20s for using nfs load image. In-Reply-To: References: <1281947653-5530-1-git-send-email-leoli@freescale.com> <20100816100904.DC9C51606A5@gemini.denx.de> <20100816104539.1068B1606A5@gemini.denx.de> Message-ID: <20100817092454.6F667157D71@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Jin Qing-B24347, In message you wrote: > > The work flow is that: > Every "timeout" is reached, it will call NfsSend() and whatever the > state is finally it will call rpc_req() which will increase the rpc_id > value every time. The rpc_id value is increased but the reply.id is not > increased by "timeout". This makes the judgement statement: > If (ntohl(rpc_pkt.u.reply.id) != rpc_id) is true and it will return > -1. Then we got the error message: *** ERROR: Cannot mount. > > So far, I am raising the timeout limit to avoid rpc_id being increased > unexpectedly. What sort of NFS server is this? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "Have you lived in this village all your life?" "No, not yet."