public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* Rebuilding a kernel for a proprietary closed-source ia64 module: possible or not?
@ 2014-12-01 22:23 Émeric MASCHINO
  2014-12-02 10:32 ` Alex
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Émeric MASCHINO @ 2014-12-01 22:23 UTC (permalink / raw)
  To: linux-ia64

Hi,

Say that I have a proprietary closed-source ia64 kernel module that I
can't rebuild because I'm missing some additional bits (IP library and
Intel compiler runtime library). Guess who I'm talking about ;-)

I however know the exact kernel source and gcc versions that were used
to build this module. I'm however missing the original kernel
configuration, so had to guess it (among other things). Using
zx1_defconfig as first attempt, I've built a kernel that cannot load
the module at the moment.

But diff'ing System.map of the kernel that I've just recompiled with
the one of the kernel that was used to build the proprietary module
shows that the entry points of matching symbols are identical.
Similarly, diff'ing the Module.symvers of my kernel against the one of
the kernel that was used to build the proprietary module shows the
same exported functions, but different hex signatures.

I'm thus wondering if there's a way to rebuild a kernel, passing it in
some ways the information in a given System.map and/or Module.symvers
file in order to impose the entry points of the kernel symbols and the
hex signatures of the exported functions.

Thanks,

     Emeric

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

end of thread, other threads:[~2014-12-11 15:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-01 22:23 Rebuilding a kernel for a proprietary closed-source ia64 module: possible or not? Émeric MASCHINO
2014-12-02 10:32 ` Alex
2014-12-04  8:16 ` Alex
2014-12-11 15:11 ` Émeric MASCHINO
2014-12-11 15:16 ` Émeric MASCHINO

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox