Solved

Modules and Kernel 2.1.117

Posted on 1998-08-25
6
197 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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Linux Mint 18 31 73
Oracle 12c patching 1 60
Shell script to extract rar files in severa directories 7 74
How can you tell your public IP address without a browser? 9 50
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 …
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.:
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

919 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

19 Experts available now in Live!

Get 1:1 Help Now