• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 294
  • Last Modified:

Module Problem

I just installed Slackware 3.2 using the kernel 2.0.29. After configuring the the kernel I built it using the following commands.

make mrproper
make config
make depend
make clean
make zImage
make modules
make modules_install
depmod -a
make zlilo

After rebooting I get the following errors.

***Unresolved symbols in module raid.o

Why is the kernel trying to use these modules and how do I resolve the unresolved symbols???
  • 2
1 Solution
Do you have the option set?
If so, you have to do the make modules and modules_install /after/ the make zlilo .
make zlilo changes the internal version numbers. If you don't re-make your modules after that, they will have an incorrect number in them.
Alternatively, you can recompile everything without the CONFIG_MODVERSIONS.
mattgeAuthor Commented:
Should I reinstall before remaking then. I just tryed to make modules and make modules_install and still get the same problem.

I do have it set to use modules if that is what you meant. I also have it set not to use the CONFIG_MODVERSIONS.

Matt G
I suspect that these modules were installed by Slackware itself.
You didn't compile all of them in your own kernel, but these files are still in your /lib/modules/2.0.29 hierarchy.
When Slackware boots up, it does a depmod -a . It finds some of the modules, but sees that they don't match your new kernel.
Remove all files from the /lib/modules/2.0.29 hierarchy and reinstall (Same procedure as you originally did, but replace the `make zImage' by `make zlilo').
(Note, to be on the safe side, make a copy of them and keep a rescue disk handy.)
Also, Check the /etc/rc.d/rc.modules file to make sure no unwanted modules are loaded.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

A proven path to a career in data science

At Springboard, we know how to get you a job in data science. With Springboard’s Data Science Career Track, you’ll master data science  with a curriculum built by industry experts. You’ll work on real projects, and get 1-on-1 mentorship from a data scientist.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now