Click to See Complete Forum and Search --> : module problems.....I need help
mychl
02-28-2001, 10:41 AM
Ok, I went from 2.2.15-mdk to 2.4.2 kernel. Besides not being able to mount my dos partitions or my CDR, I have no modules installed. I did lsmod, just the headers come up. I've been looking in the modules library, none of them work on insmod, they are for the old kernel. Do I need to get modules to match my kernel. IF so, then do I go out and get the ones I ned specifically or is there a tar somewhere that will have them. I need ppp, sound, and who knows what else....... :eek:
Chriz
02-28-2001, 11:17 AM
go to your linux-source directory (usually /usr/src/linux) and do a
make menuconfig
don't change the preferences here, simply exit the kernel-configuration and "save" the config.
back on the command-line do a
make dep
and you should be done
(had the some problem and worked for me)
mychl
02-28-2001, 01:10 PM
I can't do menuconfig, I forget what, but i don't have something installed.
I'll try just make config????
or could I do make xconfig????
bit I get the idea, I think....
mychl
02-28-2001, 03:24 PM
OK, so how do I save the config file.?
I'm not prompted to save it at the end. I don't have an existing config file...
anyone???
mychl
02-28-2001, 06:53 PM
anyone???????? :(
Lorithar
02-28-2001, 08:39 PM
*sighs*
mychi ...
from wherever you made your kernel you need to a) update modutils. .. 2.2.x and 2.4.x kernels use a different filesystem structure for modules.
b) make modules .. make modules_install.-- that is if you have configured the kernel build to create the modules in make config earlier.
.
if you have trouble with make menuconfig then get ncurses libraries ...I think you need ver4 ...
specific errors would help.
Make dep makes the dependent code that what you are building requires, not the modules for the kernel.