Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: modular nfsserver hanging from mountd



On Friday 2008-11-28 08:45 +0200, Antti Kantee output:
:On Fri Nov 28 2008 at 12:08:26 +1100, Geoff Wing wrote:
:> It hangs in src/sys/nfs/nfs_export.c:init_exports() on
:>      ne = malloc(sizeof(*ne), M_NFS_EXPORT, M_WAITOK | M_ZERO);
:
:One obvious problem is that the M_NFS_EXPORT type is never attached
:(unless modules for some reason attach malloc types automatically,
:didn't check).

I'm glad it's obvious to someone :-)

:Try if this very much untested patch gets you any further.

Yes, it works with this, though I only did some very basic testing.

Thank you.

Regards,
Geoff


Home | Main Index | Thread Index | Old Index