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.
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