From owner-freebsd-current@FreeBSD.ORG Thu May 26 12:52:51 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A8ED016A423; Thu, 26 May 2005 12:52:51 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E0BB43D90; Thu, 26 May 2005 12:52:39 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [10.1.1.7]) (authenticated bits=0) by srv1.cosmo-project.de (8.12.10/8.12.10) with ESMTP id j4QCqL4J084123 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Thu, 26 May 2005 14:52:23 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.10/8.12.10) with ESMTP id j4QCpuhs049385 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 26 May 2005 14:51:56 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.11/8.12.11) with ESMTP id j4QCptLB058589; Thu, 26 May 2005 14:51:55 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.11/8.12.11/Submit) id j4QCpt08058588; Thu, 26 May 2005 14:51:55 +0200 (CEST) (envelope-from ticso) Date: Thu, 26 May 2005 14:51:55 +0200 From: Bernd Walter To: Sten Spans Message-ID: <20050526125154.GC80082@cicely12.cicely.de> References: <20050525223355.56551.qmail@web80601.mail.yahoo.com> <20050526010325.02415410.lehmann@ans-netz.de> <20050526085750.GZ80082@cicely12.cicely.de> <20050526105806.GB80082@cicely12.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD cicely12.cicely.de 5.2-CURRENT alpha User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-1.4 required=3.0 tests=BAYES_20 autolearn=no version=2.64 X-Spam-Report: * -1.4 BAYES_20 BODY: Bayesian spam probability is 20 to 30% * [score: 0.2041] X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on cicely12.cicely.de Cc: current@freebsd.org, Mohan Srinivasan , stable@freebsd.org, ticso@cicely.de, Oliver Lehmann Subject: Re: problems with nfs+TCP - Resource temporarily unavailable X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 May 2005 12:52:51 -0000 On Thu, May 26, 2005 at 02:37:35PM +0200, Sten Spans wrote: > On Thu, 26 May 2005, Bernd Walter wrote: > > >>> > >>>This is absolutely known - TCP/nfs has bugs in realigning packets. > >>>Don't use TCP on strong aligned architectures. > >> > >>Still a pr with a proper backtrace would be nice. > >>Or does one exist already ? > > > >Not that I know. > >I did know exactly when this happens years ago. > >The backtrace as such will not help you as the panic happens much > >later than the cause. > >IIRC the basic problem was that the realignment code only fixes > >a single missalignment, while theres a chance for more then one. > >Verify nfs_realign in nfsserver and nfsclient to get an idea. > >If you are interested - I've found a (non-working) patch that I wrote > >for it, but the intention of it should be clear. > > > > Sure. This is an nfsd specific problem, > Or does nfsclient have issues as well ? The code is the same in client and server - as well as the risk to get packets in that form from network. > I'll get a pr going to make sure that the issue > is documented, and possibly narrowed down enough for > other people to start painting a bikeshed about how > it should be fixed. OK. -- B.Walter BWCT http://www.bwct.de bernd@bwct.de info@bwct.de