Solved

Modules and 2.1.X kernel

Posted on 1998-05-19
5
271 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
[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
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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 …
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

717 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