From: randy_dunlap <rdunlap@xenotime.net>
To: Xin Zhao <uszhaoxin@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Why cannot I do "insmod nfsd.ko" directly?
Date: Tue, 5 Jul 2005 11:42:18 -0700 [thread overview]
Message-ID: <20050705114218.20c494bc.rdunlap@xenotime.net> (raw)
In-Reply-To: <4ae3c140507051123758bb61e@mail.gmail.com>
On Tue, 5 Jul 2005 14:23:39 -0400 Xin Zhao wrote:
| I tried to do "insmod nfsd.ko", but always got the error message
| "insmod: error inserting 'nfsd.ko': -1 Unknown symbol in module"
The kernel message log would at least tell you what symbol
is missing and then you/we can determnine why and where that
symbol is located. Maybe there's just another module that needs
to be loaded before nfsd.ko. And try using modprobe instead
of insmod since modprobe will look for module dependencies.
| 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!
---
~Randy
next prev parent reply other threads:[~2005-07-05 18:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-05 18:23 Xin Zhao
2005-07-05 18:42 ` randy_dunlap [this message]
2005-07-05 18:58 ` Horst von Brand
2005-07-05 20:05 ` Xin Zhao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050705114218.20c494bc.rdunlap@xenotime.net \
--to=rdunlap@xenotime.net \
--cc=linux-kernel@vger.kernel.org \
--cc=uszhaoxin@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®