On Wed, 2011-03-16 at 20:52 -0600, David Burgess wrote:
> As long as you're building kernels, why not build in your driver in
> statically, then you don't have to mess with modules and the initrd?

Thanks for the suggestion David, and I will look into this further.
However, I would rather keep away from building a custom LTSP kernel if
possible. I also see no good reason why a single module cannot be built for
the LTSP kernel. 


On Thu, 2011-03-17 at 07:36 +0200, Alkis Georgopoulos wrote:
> Indeed. So it's not an LTSP issue, it's an Ubuntu issue, since this
> module is missing from Ubuntu completely:

I haven't come across that bug report, thank you for pointing it out. Can
an excluded module really be called a 'bug' though, isn't this a
configuration option? Clearly the source for the 'r6040' module is present
with the kernel source package 'linux-source-2.6.32.tar.bz2'. So, in
theory, this is the same kernel as that in my LTSP chroot, and along with
the correct headers package to match 'linux-headers-2.6.32-29', then I
should be able to compile this module for my LTSP chroot, right? 


On Thu, 2011-03-17 at 10:26 +0000, Ben Green wrote:
> Good point db, but it seems something is going awry in the compilation  
> anyhow. You are sure that you got the .config file correct Tomas? In  
> the config for your newly built kernel there should be a line in the  
> config something like:

Thank you for the suggestions, Ben. You are quite right in saying that
something is going awry! Specifically, my modules aren't being properly
compiled for their target running kernel. I definitely have it configured
to be compiled as a module, and it is indeed being successful compiled into
a module. The problem appears when I actually try to load this module into
my initrd; the kernel complains by giving a line of output similar to the
following:
"r6040: no symbol version for module_layout"
...so, I have successful module compilation, and unsuccessful module
loading. Further to this, when I 'modinfo' the built module, the 'vermagic'
information differs slightly from the pre-compiled modules already in the
LTSP initrd. Clearly I am compiling this module incorrectly, and that is
what I would like to rectify.

Thank you all and best regards, 
Tomas

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to