linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Modules.Symvers - What is (not) and how to use it?
@ 2014-04-08 16:55 Ismael Farfán
  2014-04-08 21:37 ` Randy Dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: Ismael Farfán @ 2014-04-08 16:55 UTC (permalink / raw)
  To: linux-fsdevel, linux-kernel

Hello guys

I work on 3 modules, let's say:
KServervices, mod1, mod2

KServices exports functions consumed by mod1 and mod2.

Accidentally I was deleting Modules.Symvers after compiling KServices
and mod1 and mod2 failed to load because thery where looking for the
functions in a different offset than the one shown in /proc/kallsyms


QUESTION:
What is and how do I use that file?


I was hopping to find some good documentation in tldp.org, but
nothing, I only find forums that mention it, but nothing that can help
me understand it and probably find a way to stop requiring it.

Regards
Farfan



-- 
Do not let me induce you to satisfy my curiosity, from an expectation,
that I shall gratify yours. What I may judge proper to conceal, does
not concern myself alone.

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

* Re: Modules.Symvers - What is (not) and how to use it?
  2014-04-08 16:55 Modules.Symvers - What is (not) and how to use it? Ismael Farfán
@ 2014-04-08 21:37 ` Randy Dunlap
  0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2014-04-08 21:37 UTC (permalink / raw)
  To: Ismael Farfán, linux-fsdevel, linux-kernel

On 04/08/2014 09:55 AM, Ismael Farfán wrote:
> Hello guys
> 
> I work on 3 modules, let's say:
> KServervices, mod1, mod2
> 
> KServices exports functions consumed by mod1 and mod2.
> 
> Accidentally I was deleting Modules.Symvers after compiling KServices
> and mod1 and mod2 failed to load because thery where looking for the
> functions in a different offset than the one shown in /proc/kallsyms
> 
> 
> QUESTION:
> What is and how do I use that file?
> 
> 
> I was hopping to find some good documentation in tldp.org, but
> nothing, I only find forums that mention it, but nothing that can help
> me understand it and probably find a way to stop requiring it.

There is a small bit of documentation for it in
kernel tree:Documentation/kbuild/modules.txt.


-- 
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2014-04-08 21:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-08 16:55 Modules.Symvers - What is (not) and how to use it? Ismael Farfán
2014-04-08 21:37 ` Randy Dunlap

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 NNTP newsgroup(s).