Solved

Modules and 2.1.X kernel

Posted on 1998-05-19
5
268 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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Unix process listing into CSV format 3 53
SonarQube on Linux vs Windows 3 80
Intel fortran compiler (ifort) 5 59
block mails from a particular country in postfix 7 52
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
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.

726 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