From owner-freebsd-current@FreeBSD.ORG Fri May 26 17:27:49 2006 Return-Path: X-Original-To: freebsd-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 BEC6116A568 for ; Fri, 26 May 2006 17:27:49 +0000 (UTC) (envelope-from gexlie@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.239]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE88D43D58 for ; Fri, 26 May 2006 17:27:47 +0000 (GMT) (envelope-from gexlie@gmail.com) Received: by wr-out-0506.google.com with SMTP id i24so109113wra for ; Fri, 26 May 2006 10:27:47 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=EBBjaNcv+SbThtU+2fUjKZqst4C2R6EAudmq+BvXfgHfQOjSjsHsmWcmdIkAnkENosRESZ44kl6IErLriDag3jX//Z2XQNQHT5GVCZ0YzkLz5oJtlvIAm9t6N7hpATKBU68Xt+Xghcq/JNBG5DlluWJQ5hrP92d7RKSD0l0bicU= Received: by 10.65.148.10 with SMTP id a10mr590746qbo; Fri, 26 May 2006 10:27:15 -0700 (PDT) Received: by 10.64.150.10 with HTTP; Fri, 26 May 2006 10:27:15 -0700 (PDT) Message-ID: <53cc795f0605261027x34633d92h91cc6194af849075@mail.gmail.com> Date: Fri, 26 May 2006 21:27:15 +0400 From: sekes To: "Craig Rodrigues" In-Reply-To: <20060526160940.GA2100@crodrigues.org> MIME-Version: 1.0 References: <20060526160940.GA2100@crodrigues.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-fs@freebsd.org, freebsd-xfs@org.freebsd.org, freebsd-current@freebsd.org Subject: Re: [HEADSUP] Improved NFS export support for different filesystems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 17:27:50 -0000 i got this trying to mount remote file system malloc(M_WAITOK) of "mbuf", forcing M_NOWAIT with the following non-sleepable locks held: exclusive sleep mutex NFSmount lock r =3D 0 (0xc4be3000) locked @ /usr/src/sys/nfsclient/nfs_vfsops.c:335 KDB: stack backtrace: kdb_backtrace(1,c2aa6a00,c145c780,20,d5d6476c) at kdb_backtrace+0x29 witness_warn(5,0,c092a205,c0916527,c2aa6a00) at witness_warn+0x192 uma_zalloc_arg(c145c780,d5d64788,2) at uma_zalloc_arg+0x41 nfsm_disct(d5d647fc,d5d64800,30,20,2) at nfsm_disct+0x93 nfsm_dissect_xx_sub(30,d5d647fc,d5d64800,2,d5d64828) at nfsm_dissect_xx_sub+0x34 nfsm_dissect_xx(30,d5d647fc,d5d64800) at nfsm_dissect_xx+0x13 nfs_fsinfo(c4be3000,c45c6410,c2f2bb00,c2efca20) at nfs_fsinfo+0x102 mountnfs(d5d649ac,c2ade000,c2cd6a40,d5d6494c,d5d64900) at mountnfs+0x2a9 nfs_mount(c2ade000,c2efca20,0,0,c09c6760) at nfs_mount+0x17f vfs_domount(c2efca20,c4917c90,c2fef140,0,c2aad4a0) at vfs_domount+0x54e vfs_donmount(c2efca20,0,d5d64bb0,c3054c80,c) at vfs_donmount+0x3fd kernel_mount(c2aad480,0,c2aad480,c0923784,d5d64bf8) at kernel_mount+0x6d nfs_cmount(c2aad480,bfbfea60,0,c2efca20,c09c6760) at nfs_cmount+0x39 mount(c2efca20,d5d64d04,c3bac69c,c,c2efca20) at mount+0x146 syscall(3b,3b,3b,bfbfec85,bfbfea60) at syscall+0x27e Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (21, FreeBSD ELF32, mount), eip =3D 0x280bee1b, esp =3D 0xbfbfe= 61c, ebp =3D 0xbfbfead8 --- remote FS has succesfully mounted though On 5/26/06, Craig Rodrigues wrote: > > Hi, > > I have committed a bunch of changes to FreeBSD-CURRENT > to improve support of NFS exporting different filesystems in FreeBSD. > > Before, the FreeBSD mountd program would only NFS export > UFS, cd9660, msdosfs, and NTFS. > > I have removed that limitation. Now, if a filesystem > properly supports the "update" and "export" mount options, > then it should be able to export with mountd. > > For example, I have been able to export XFS (read-only). > > If people could test out my changes by NFS exporting different > filesystems with mountd, and let me know if there are any > problems, I would appreciate it. My changes are in FreeBSD-CURRENT > only right now. > > -- > Craig Rodrigues > rodrigc@crodrigues.org > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " >