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 _at__at_ -558,6 +558,7 _at__at_ /* 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?Received on Sun Feb 14 2010 - 07:03:53 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:00 UTC