From: "Anirban Sinha" Subject: RE: nfsd restart failures without /proc/fs/nfsd filesystem mounted Date: Wed, 2 Apr 2008 14:25:10 -0700 Message-ID: References: <20080401210627.GD21343@fieldses.org> <20080401221327.GH21343@fieldses.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: "Anirban Sinha" , "J. Bruce Fields" , Return-path: Received: from mail.zeugmasystems.com ([192.139.122.66]:21961 "EHLO zeugmasystems.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755947AbYDBVZo convert rfc822-to-8bit (ORCPT ); Wed, 2 Apr 2008 17:25:44 -0400 In-Reply-To: Sender: linux-nfs-owner@vger.kernel.org List-ID: >As you can see, we have an extra u_ptr member in the union (which is the >same as in the kernel: include/linux/nfsd/syscall.h). > >For experiment, I removed this member, recompiled nfs-utils and wala! >The kernel now gets the correct value of the server thread #. > >I am a bit puzzled by this since u_umap member already has a char* and I >think adding a void* does not change the alignment of the union. Indeed. Actually, by mistake, I was using the new 1.1.2 nfs-utils binaries and making changes in the old 1.1.0 nfs-utils source. The removal of the member does not change anything. What is happening is that an upgrade to the new 1.1.2 nfs-utils binaries solves the problem. I think you can reproduce the problem at your end simply by unmounting nfsd filesystem and using 1.1.0 nfs-utils binary. Cheers, Ani