kernel modules missing symbols and not loading

Nathan England nathan at nmecs.com
Tue May 1 15:29:29 MST 2012


Hello Hello,

I have run into a problem that has stumped me. I downloaded the kernel source 
for linux 3.3.4 and configured it the way I want it. I started by untarring 
the linux-3.3.4.tar.bz2 file then running

make mrproper
make prepare
make menuconfig

After configuring I ran 

cat .config > myConfig.3.3.4
make bzImage

After that finished I copied the kernel to my boot folder so I could boot it 
after building the modules, then started over again and ran 

make mrproper
make prepare

But this time I copied my config file to .config and ran

make modules

After a while it finished and I installed the modules via 

make modules_install
depmod -a 3.3.4-mykernel

Everything worked correctly with no errors. I rebooted and the system gave me 
constant errors saying xx kernel module could not be loaded because it was 
missing symbols. When I configured the kernel I included all the options 
necessary under Module versioning support, ie;

(Module versioning support)
MODVERSIONS=y
(source checksum for all modules)
MODULE_SRCVERSION_ALL=y

I assumed this was all I needed to make the modules work. Now I know you are 
going to say why didn't I just compile the kernel and modules together?

I wanted to build the kernel and modules separately so I could have one kernel 
optimized for my netbook and one for my Core2Duo without having to recompile 
everything. I wanted to tar it all up and copy it over. But the kernels and 
modules will not work together on either system. So what gives?

I googled around but only found old documents talking about this, is there 
something new with 3.3.4? I have done this before with older kernels before 
the 3 series, but I have not attempted since 3.x has come out.

I appreciate all your advice!

-- 

Regards,

Nathan England

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NME Computer Services http://www.nmecs.com
Nathan England (nathan at nmecs.com)
Systems Administration / Web Application Development
Information Security and Consulting
(480) 559.9681

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20120501/ca677068/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20120501/ca677068/attachment.pgp>


More information about the PLUG-discuss mailing list