Solved

Modules and 2.1.X kernel

Posted on 1998-05-19
5
262 Views
Last Modified: 2013-12-15
I tried to compile some part of my 2.1.9 kernel as modules but I get:
unresolved symoble in... (some sound modules and scsi modules)
Everything works if I compile in thos in the kernel using make bzimage.
I have upgraded to modutils 2.1.85 and I made a rm -rf /lib/modules/2.1.99

before make modules and make modules_install

How do I get the modules to work???
0
Comment
Question by:n94magho
  • 3
  • 2
5 Comments
 
LVL 19

Accepted Solution

by:
xterm earned 100 total points
ID: 1627217
If you are re-compiling 2.1.99 (in other words, you have
an existing 2.1.99 kernel) then do the following:

cd /usr/src/linux
rm -rf /lib/modules/2.1.99
make dep
make clean
make modules
make modules_install
make zImage

mv /usr/src/linux/arch/i386/boot/zImage /boot
  (replace /boot with wherever you generally keep your
   kernels)

vi /etc/lilo.conf (and make sure the first label is pointing
                   to /boot/zImage - make a duplicate label
                   which points to your current kernel, just
                   in case.)

/sbin/lilo
shutdown -r now

When it comes back up, you shouldn't get module
errors.


0
 

Author Comment

by:n94magho
ID: 1627218
I did exactly as you said but it complains over sound.o anyway andit doesn't load my scsi modules,. I have to do modprobe -a /lib/modules/2.1.99/scsi/*

One more thing. When I compile the kernel with pnp support do I have to use isapnptools to get my soundcard to work???
How do I tell the kernel the irq and dma for my soundcard?

0
 
LVL 19

Expert Comment

by:xterm
ID: 1627219
Thats strange - try "/sbin/depmod -a 2.1.99" (that should
create a file called modules.dep in /lib/modules/2.1.99)

In order to configure isapnp, run "isapnp > /etc/isapnp.conf"
(back up your old one first if one exists...)  Then just go
through and uncomment what applies to you, and comment out
what does not.  Then it should run automatically the next
time you boot (assuming its somewhere in your rc.*)


0
 

Author Comment

by:n94magho
ID: 1627220
the modules.dep file already exist and contains the path to the modules. It doesn't load the printer module either...

isapnp > /etc/isapnp.conf gives me :

[root@tjo /root]# isapnp > /etc/isapnp.conf
$Id: isapnp.y,v 1.11 1997/07/14 22:33:15 fox Exp $
This is free software, see the sources for details.
For latest information, see http://www.roestock.demon.co.uk/isapnptools/
This software has NO WARRANTY, use at your OWN RISK

Usage: isapnp configfile

0
 
LVL 19

Expert Comment

by:xterm
ID: 1627221
Ooops.. I think its "pnpdump > /etc/isapnp.conf"
Then after fixing the file, run "isapnp" (it defaults
to /etc/isapnp.conf"

Sorry about that :>
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
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.

705 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now