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

From: Xin Zhao
Date: Tue Jul 05 2005 - 15:12:34 EST


I just found the problem. I have to insmod exportfs.ko first.

I can certainly use modprobe, but what I really want to do is to use
my own nfsd.ko instead of the default one. But my nfsd.ko is not in
the default /lib/module/... directory. So if I use modprobe, it will
complaint cannot find nfsd.ko.

How to do this? Thanks!

-x

On 7/5/05, Horst von Brand <vonbrand@xxxxxxxxxxxx> wrote:
> Xin Zhao <uszhaoxin@xxxxxxxxx> wrote:
> > I tried to do "insmod nfsd.ko", but always got the error message
> > "insmod: error inserting 'nfsd.ko': -1 Unknown symbol in module"
>
> Use modprobe(8), it knows about module dependencies and what to load.
> --
> Dr. Horst H. von Brand User #22616 counter.li.org
> Departamento de Informatica Fono: +56 32 654431
> Universidad Tecnica Federico Santa Maria +56 32 654239
> Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513
>
-
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/