From owner-freebsd-stable@FreeBSD.ORG Sun Jan 18 10:31:31 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D6B81065701 for ; Sun, 18 Jan 2009 10:31:31 +0000 (UTC) (envelope-from msch@snafu.de) Received: from waikiki.ops.eusc.inter.net (waikiki.ops.eusc.inter.net [84.23.254.155]) by mx1.freebsd.org (Postfix) with ESMTP id BC88E8FC1B for ; Sun, 18 Jan 2009 10:31:30 +0000 (UTC) (envelope-from msch@snafu.de) X-Trace: 507c6d73636840736e6166752e64657c38372e3138372e3130392e3235347c314c 4f5567772d3030303936582d41317c31323332323733373432 Received: from waikiki.ops.eusc.inter.net ([10.155.10.19] helo=localhost) by waikiki.ops.eusc.inter.net with esmtpa (Exim 4.69) id 1LOUgw-00096X-A1 for stable@freebsd.org; Sun, 18 Jan 2009 11:15:42 +0100 Message-Id: From: Matthias Schuendehuette To: stable@freebsd.org Content-Type: multipart/signed; boundary=Apple-Mail-1-563471706; micalg=sha1; protocol="application/pkcs7-signature" Mime-Version: 1.0 (Apple Message framework v930.3) Date: Sun, 18 Jan 2009 11:15:41 +0100 X-Mailer: Apple Mail (2.930.3) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: NFS-Locking problem with 6.4/7.1-RELEASE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jan 2009 10:31:31 -0000 --Apple-Mail-1-563471706 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Hello, I operate two FreeBSD-Servers in a Windows- and HP-UX Environment. One is a SAMBA-Server as a gateway between the Windows and the Unix world, the other is NFS-Server for the HP-UX 11i v1 Workstations. Both are HP ProLiants DL380 with additional external disks on SmartRAID Controllers. Since the HP-UX Workstations and their disks are becoming quite old, I started to move the home-directories to the FreeBSD Server, wich worked with 6.3-RELEASE quite good so far. Brave as I am, I updated the servers to 6.4 RELEASE and since then the users on the HP-UX machines with the homedirs on the FreeBSD-Server were locked... :-( I tried to find out what was happening and this are my results: When a user logs in on a HP-UX machine, his '.profile' file is opened and read/executed, but it seems, that it cannot be closed any more. So if the last line in the '.profile' is "echo foo bar" you *can* see "foo bar" on the screen, but then nothing happens any more, the machine is locked. I recorded such a session with 'tcpdump' and looked at the dump... the only noticeable things are *Bursts* of NLM V4 CANCEL_MSGes on the same filehandle. Eg: "V4 CANCEL_MSG Call FH:0x644201fe svid:xxxx pos:0-0" This line is repeated 7 times with various values for 'svid'. I'm no NFS specialist at all, so I cannot tell you more :-/ But I can supply the dump (if needed), it's 92KB, so the size should not be a problem... BTW: I tried this with and without kernel support for NFS-Locking - no difference. I also tried the new replacement server with FreeBSD 7.1- RELEASE: Just the same problems, with and without kernel support. I hope someone is willing to work on that issue... As mentioned, a new, non-productive server is available in the moment, so tests are easily possible. TIA Matthew -- Ciao/BSD - Matthias Matthias Schuendehuette , Berlin (Germany) --Apple-Mail-1-563471706--