Re: [HEADSUP] Improved NFS export support for different filesystems

From: sekes <gexlie_at_gmail.com>
Date: Fri, 26 May 2006 21:27:15 +0400
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 = 0 (0xc4be3000) locked _at_
/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 = 0x280bee1b, esp = 0xbfbfe61c,
ebp = 0xbfbfead8 ---


remote FS has succesfully mounted though

On 5/26/06, Craig Rodrigues <rodrigc_at_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_at_crodrigues.org
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>
Received on Fri May 26 2006 - 15:27:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:56 UTC