Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 May 2006 21:27:15 +0400
From:      sekes <gexlie@gmail.com>
To:        "Craig Rodrigues" <rodrigc@crodrigues.org>
Cc:        freebsd-fs@freebsd.org, freebsd-xfs@org.freebsd.org, freebsd-current@freebsd.org
Subject:   Re: [HEADSUP] Improved NFS export support for different filesystems
Message-ID:  <53cc795f0605261027x34633d92h91cc6194af849075@mail.gmail.com>
In-Reply-To: <20060526160940.GA2100@crodrigues.org>
References:  <20060526160940.GA2100@crodrigues.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <rodrigc@crodrigues.org> 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=
"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53cc795f0605261027x34633d92h91cc6194af849075>