Why cannot I do "insmod nfsd.ko" directly?

From: Xin Zhao
Date: Tue Jul 05 2005 - 13:31:06 EST


I tried to do "insmod nfsd.ko", but always got the error message
"insmod: error inserting 'nfsd.ko': -1 Unknown symbol in module"

Why?

The kernel is 2.6.11.10
The command I used is:
1. insmod lockd.ko ---succeed
2. exportfs -r ---succeed
3. insmod nfsd.ko --- failed


Moreover, I noticed that if I do the following commands, nfsd.ko can
be inserted:

1. rpc.mountd
2. exportfs -r
3. rpc.nfsd 1

Can someone explain what trick rpc.mountd and rpc.nfsd do to make
nfsd.ko insertable?

Thanks in advance for your kind help!

-x
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/