Date: Sun, 14 Feb 2010 17:03:52 +0900 From: Norikatsu Shigemura <nork@FreeBSD.org> To: freebsd-current@FreeBSD.org Cc: nork@FreeBSD.org Subject: NFSSERVER is strange, now? Message-ID: <20100214170352.4ec55519.nork@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
Hi. I noticed that I can't kldload nfsserver.ko like following: on boot(rc script) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Clearing /tmp. link_elf_obj: symbol sysctl__vfs_nfs_children undefined linker_load_file: Unsupported file type kldload: can't load nfsserver : Exec format error /etc/rc: WARNING: Unable to load kernel module nfsserver - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - So I added following line and recompile: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --- src/sys/nfsserver/nfs_srvsubs.c.orig 2009-07-01 10:32:48.651174000 +0900 +++ src/sys/nfsserver/nfs_srvsubs.c 2010-02-14 11:46:57.522314345 +0900 @@ -558,6 +558,7 @@ /* So that loader and kldload(2) can find us, wherever we are.. */ MODULE_VERSION(nfsserver, 1); +MODULE_DEPEND(nfsserver, nfs, 1, 1, 1); MODULE_DEPEND(nfsserver, nfssvc, 1, 1, 1); MODULE_DEPEND(nfsserver, krpc, 1, 1, 1); - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - And it's OK, but a little.... on boot(rc script) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Clearing /tmp. can't re-use a leaf (realign_count)! can't re-use a leaf (realign_test)! Starting mountd. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - How about?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100214170352.4ec55519.nork>