LKML Archive mirror
 help / color / mirror / Atom feed
* Kernel module unable to find an exported symbol
@ 2008-04-13 21:18 David Erickson
  2008-04-13 21:52 ` Dmitri Vorobiev
  0 siblings, 1 reply; 3+ messages in thread
From: David Erickson @ 2008-04-13 21:18 UTC (permalink / raw
  To: linux-kernel

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?

Thanks,
David

ps please CC me on a reply, thank you!

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Kernel module unable to find an exported symbol
  2008-04-13 21:18 Kernel module unable to find an exported symbol David Erickson
@ 2008-04-13 21:52 ` Dmitri Vorobiev
  2008-04-13 21:58   ` David Erickson
  0 siblings, 1 reply; 3+ messages in thread
From: Dmitri Vorobiev @ 2008-04-13 21:52 UTC (permalink / raw
  To: David Erickson; +Cc: linux-kernel

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

> 
> Thanks,
> David
> 
> ps please CC me on a reply, thank you!
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Kernel module unable to find an exported symbol
  2008-04-13 21:52 ` Dmitri Vorobiev
@ 2008-04-13 21:58   ` David Erickson
  0 siblings, 0 replies; 3+ messages in thread
From: David Erickson @ 2008-04-13 21:58 UTC (permalink / raw
  To: linux-kernel; +Cc: Dmitri Vorobiev

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╔

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-04-13 21:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-13 21:18 Kernel module unable to find an exported symbol David Erickson
2008-04-13 21:52 ` Dmitri Vorobiev
2008-04-13 21:58   ` David Erickson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).