Solved

Modules and Kernel 2.1.117

Posted on 1998-08-25
6
199 Views
Last Modified: 2010-04-20
How do I get modules to work.
I've kompiled a new kermel and I also did a make modules and make modules_install. How do I get my modules to work??
(It can't find my scsi-cd and my soundcard doesn't work.)
How shall I set things up.
0
Comment
Question by:pucko
  • 4
6 Comments
 
LVL 1

Author Comment

by:pucko
ID: 1637883
And when I do a depmod -a I get:
/lib/modules/2.1.117/fs/nfsd.o: unresolved symbol(s)  

I have no problem when I do a make bzImage...
0
 
LVL 2

Expert Comment

by:JYoungman
ID: 1637884
Before doing make modules_install, move the old modules out of the way first.

0
 
LVL 1

Author Comment

by:pucko
ID: 1637885
It's a new kernel.. I don't have any /lib/modules/2.1.117 to move...
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
LVL 1

Author Comment

by:pucko
ID: 1637886
But the biggest problem is that I don't know how to get my printer, soundcard and netwokcars and the other things to work.
Do I have to do something more after make modules_install ???
0
 

Accepted Solution

by:
lstep earned 200 total points
ID: 1637887
After compiling, don't forget to move the generated kernel
(/usr/src/linux/arch/i386/boot/bzImage) to /boot/vmlinuz.new
and add lines in /etc/lilo.conf corresponding to your new kernel. Then run lilo to take into account the fact you changed your kernel.
You should then reboot (keep a backup floppy to be able to boot
in case of problems ;-)
Then, to add modules, use the insmod command.
For example, to add your scsi card:
insmod /lib/modules/2.1.117/ncr53c8xx.o
Most of the time the modules will be autmoatically loaded if you made a depmod -a to calculate all the dependencies between them...
0
 
LVL 1

Author Comment

by:pucko
ID: 1637888
So To find my scsi card and my network card I must always use insmod?? I can't get it to work by it self??
And how about the soundcard??? Even if I load the module sound.o it doesn't work.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

821 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