?
Solved

Recovering Kernel Modules

Posted on 1998-06-27
5
Medium Priority
?
301 Views
Last Modified: 2013-12-15
I am running Caldera OpenLinux 1.2 (kernel 2.0.33) and I wanted to make some changes in the kernel configuration.  I did a make config, make dep, and make clean as advised.  Then I did a make zImage and make zLilo.  I then booted the new kernel, and everything was fine, except I had NO kernel modules loaded whatsoever.  This is a problem.  I figured I could possibly restore everything by booting back to the old kernel.  Unfortunately, when I did the make zLilo, that replaced my old boot image.  Is there any way I can get my modules back without individually reloading each one (I'd have to know all the parameters, which I don't!)?  I tried reading Caldera's docs, but they were mostle tech babble that I didn't understand.  Please help!  Thanks.
0
Comment
Question by:radx2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 2

Expert Comment

by:mlev
ID: 1628122
Once it happened to me because "depmod -a" at boot time failed.
Try running "depmod -a" to see if that's your case. There may be a missing soft link somewhere in /lib/modules or something.
Hmm, now that I reread your question, did you actually do
"make modules" and "make modules_install"? That might help.
0
 
LVL 10

Expert Comment

by:rbr
ID: 1628123
You forgot to make "make modules" and "make modules_install" after "make zImage"

0
 

Author Comment

by:radx2
ID: 1628124
hmm...I did not do a make modules and make modules_install.  So I tried that.  And then Linux crashed when it did the partition check on booting.  So I restored an older copy of the linux boot image and redid the whole process, including a make modules and make modules_install however I STILL don't have any modules.  When I do a depmod -a, I get unresolved symbols in modules that were created when the make modules and make modules_install were performed.  What can I do??
0
 
LVL 3

Accepted Solution

by:
marcelofr earned 120 total points
ID: 1628125
You should use modules built for the kernel you are using... It's extrange that it failed with th partition check... anyway you should:

remove bad modules [rm /lib/modules/kernel_version/]
reintall original version
depmod -a shouldn't complain...

but MOST IMPORTANT:

make sure you are running kerneld !!!

killall -v -0 kerneld

because it is in charge of the auto load of modules...

Good Luck..

-- Marcelo
0
 

Expert Comment

by:lianne
ID: 1628126
Consult your directory where are sources of the kernel (in RedHat /usr/src/linux).
Then search modules object (ex. drivers/char/*.o).
If you cannot find them, there is a problem in compiling modules.
However try to consult the right makefile for modules.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month7 days, 21 hours left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question