From: "David Erickson" <halcyon1981@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: "Dmitri Vorobiev" <dmitri.vorobiev@gmail.com>
Subject: Re: Kernel module unable to find an exported symbol
Date: Sun, 13 Apr 2008 14:58:26 -0700 [thread overview]
Message-ID: <740b8bba0804131458w7a4f22bco3f4e5c48b75169c6@mail.gmail.com> (raw)
In-Reply-To: <4802808F.9020209@gmail.com>
On Sun, Apr 13, 2008 at 2:52 PM, Dmitri Vorobiev<dmitri.vorobiev@gmail.com> wrote:> David Erickson пишет:>> > Hi everyone, I have two kernel modules I am developing, both use the> > call_rcu exported function. The core module finds it no problem,> > installs, and uses it. The second module however when I try to insmod> > it complains:> >> > Unknown symbol call_rcu> >> > I have verified that it is exported via /proc/kallsyms:> > c04348c8 T call_rcu> >> > I am at a loss as to how to proceed, can anyone shed some light on how> > this could be happening? Or how to diagnose and debug the problem?>> It is very much possible that adding the following line to the source> code of your module will help:>> MODULE_LICENSE("GPL");>> HTH,> Dmitri
That did the trick, thank you Dmitri!
-DavidЪТХ╨{.nг+┴╥÷╝┴╜├+%┼кЪ╠Ищ╤\x17╔┼wЪ╨{.nг+┴╥╔┼{╠ЧG╚²ИЪ┼{ay╨\x1dй┤з≥К,j\a╜╒fё╒╥h ▐О│ЙЪ▒ЙГz_Х╝\x03(╜И ▌┼щ╒j"²З\x1a╤^[m╖ЪЪ╬\a╚ЧG╚²ИЪ╒╦?≥╗Х╜з&ёЬ╖~▐А╤iO∙Ф╛z╥ vь^\x14\x04\x1a╤^[m╖ЪЪц\fЪ╤ЛЪ╒╦?√I╔
prev parent reply other threads:[~2008-04-13 21:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-13 21:18 David Erickson
2008-04-13 21:52 ` Dmitri Vorobiev
2008-04-13 21:58 ` David Erickson [this message]
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=740b8bba0804131458w7a4f22bco3f4e5c48b75169c6@mail.gmail.com \
--to=halcyon1981@gmail.com \
--cc=dmitri.vorobiev@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/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®