From patchwork Mon Jun 25 12:35:31 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tetsuyuki Kobayashi X-Patchwork-Id: 167082 X-Patchwork-Delegate: joe.hershberger@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 19EFC10112F for ; Mon, 25 Jun 2012 22:35:55 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3B4ED28088; Mon, 25 Jun 2012 14:35:51 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id B1PZlymhJU7i; Mon, 25 Jun 2012 14:35:50 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 505E428080; Mon, 25 Jun 2012 14:35:43 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 31F5F28080 for ; Mon, 25 Jun 2012 14:35:39 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id abwRyGLU2DVK for ; Mon, 25 Jun 2012 14:35:36 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from vrgw1.firstserver.ne.jp (vrgw1.firstserver.ne.jp [164.46.1.44]) by theia.denx.de (Postfix) with ESMTPS id 4A21D2807F for ; Mon, 25 Jun 2012 14:35:33 +0200 (CEST) Received: from fvrsp5.firstserver.ne.jp (fvrsp5.firstserver.ne.jp [202.218.164.126]) by vrgw1.firstserver.ne.jp (8.13.8/8.13.8/FirstServer) with ESMTP id q5PCZS4J004205; Mon, 25 Jun 2012 21:35:28 +0900 (envelope-from koba@kmckk.co.jp) Received: from 203.137.25.97 (203.137.25.97) by fvrsp5.firstserver.ne.jp (F-Secure/virusgw_smtp/407/fvrsp5.firstserver.ne.jp); Mon, 25 Jun 2012 21:35:28 +0900 (JST) X-Virus-Status: clean(F-Secure/virusgw_smtp/407/fvrsp5.firstserver.ne.jp) Received: from [192.168.1.110] (58-188-103-12f2.kns1.eonet.ne.jp [58.188.103.12]) (authenticated (0 bits)) by mail.kmckk.co.jp (8.14.3/8.11.3) with ESMTP id q5PCZSdn014559; Mon, 25 Jun 2012 21:35:28 +0900 Message-ID: <4FE85B13.5080902@kmckk.co.jp> Date: Mon, 25 Jun 2012 21:35:31 +0900 From: Tetsuyuki Kobayashi User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 MIME-Version: 1.0 To: u-boot@lists.denx.de Cc: joe.hershberger@ni.com, nobuhiro.iwamatsu.yj@renesas.com Subject: [U-Boot] [RFC][PATCH] net: nfs: extend NFS_TIMEOUT X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de I tried nfs command on KZM-A9-GT board and it fails every time with "ERROR: Cannot umount". Current NFS_TIMEOUT value is 2000UL. It seems too short. I changed this to 10000UL then it succeeds. Signed-off-by: Tetsuyuki Kobayashi --- net/nfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/nfs.c b/net/nfs.c index 5b99763..390c6ee 100644 --- a/net/nfs.c +++ b/net/nfs.c @@ -31,7 +31,7 @@ #define HASHES_PER_LINE 65 /* Number of "loading" hashes per line */ #define NFS_RETRY_COUNT 30 -#define NFS_TIMEOUT 2000UL +#define NFS_TIMEOUT 10000UL static int fs_mounted; static unsigned long rpc_id;