<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body text="#000000" bgcolor="#ffffff">
    On 06.03.2011 18:38, julie Sullivan wrote:
    <blockquote
      cite="mid:AANLkTi=8WCGMH8xmj+_=gTZny+c7ZAqvm1cgr2moFTka@mail.gmail.com"
      type="cite">
      <pre wrap="">I found this query on linux-kernel. Can anyone help George?

---------- Forwarded message ----------
From: George Nychis <a class="moz-txt-link-rfc2396E" href="mailto:gnychis@cmu.edu">&lt;gnychis@cmu.edu&gt;</a>
Date: Sun, Feb 27, 2011 at 5:26 PM
Subject: help with unknown symbols when trying to load kernel module
To: <a class="moz-txt-link-abbreviated" href="mailto:linux-kernel@vger.kernel.org">linux-kernel@vger.kernel.org</a>


Hi all,

Long story short, I am trying to rebuild a kernel module for my
android phone. &nbsp;Unfortunately, Motorola did not post the kernel
configuration they used
(<a class="moz-txt-link-freetext" href="https://opensource.motorola.com/sf/sfmain/do/viewProject/projects.droid">https://opensource.motorola.com/sf/sfmain/do/viewProject/projects.droid</a>
- I am running 2.2.1). &nbsp;They also did not configure the kernel to dump
it at /proc/config.gz. I have the exact source code used to build both
the kernel, and the wireless kernel module used. &nbsp;But again, I do not
have the exact kernel configuration. &nbsp;Therefore, I do not want to
replace the kernel on the phone (in fear of misconfiguration causing
boot errors), I simply want to rebuild the wireless module and get it
to work with the kernel already on the phone.

I've tried getting help from the android community, however their
kernel mailing list only gets about 3 messages a day and posts are
moderated and lag behind something like 4 days. &nbsp;So, I'm hoping for a
little bit of help here on the linux end of things from the linux
community.

I've ballparked the configuration using an older configuration file
posted on another forum, and was able to successfully build my own
kernel (albeit I do not use it), and then also build the wireless
module successfully.
</pre>
    </blockquote>
    How did you built kernel, means by make all, or just make
    module_prepare &amp; make madules ?<br>
    Please check if after build kernel (make all) there is a file
    Module.symvers in /your_path_to_src_kernel/<br>
    <br>
    <blockquote
      cite="mid:AANLkTi=8WCGMH8xmj+_=gTZny+c7ZAqvm1cgr2moFTka@mail.gmail.com"
      type="cite">
      <pre wrap="">
When I try to load the module on the phone, I get a pretty long list
of undefined symbols:
<a class="moz-txt-link-freetext" href="http://pastebin.com/re5mRj4E">http://pastebin.com/re5mRj4E</a>
</pre>
    </blockquote>
    There is many <b>disagrees about version</b> of symbol which looks
    like sources you uesed to build module wasn't for this particular
    kernel.<br>
    <br>
    <br>
    Could you type and paste output of:<br>
    <br>
    modinfo tiwlan_drv <br>
    <br>
    and<br>
    <br>
    modinfo some_other_module_working_on_your_phone<br>
    <br>
    <pre wrap="">--
regards
Andrzej Kardas
<a class="moz-txt-link-freetext" href="http://www.linux.mynotes.pl">http://www.linux.mynotes.pl</a>

</pre>
    <br>
    <br>
  </body>
</html>