![](https://seccdn.libravatar.org/avatar/2e846a486bb47d24595d540de089fe0d.jpg?s=120&d=mm&r=g)
Nachiket wrote:
No what i said was a mistake.I typed 'make modules_install' actually.If i typed something wrong then make would give an error. Can u explain what parts i have to select to build the modules.Looks like i missed something while doing 'make xconfig'.
When you're doing the kernel configuration and you want to compile support for an NE2000 network card, for example, then you have two options. You can either have the driver compiled directly into the kernel (in which case you select 'y' next to the driver name) or it can be compiled as a module (in which case you need to select 'm' next to the driver name). You do need to enable loadable module support for this to work (somewhere near the start of the config) but if it's possible to mark a driver to be compiled as a module, then this option must be enabled (because the 'm' next to the driver name would be greyed out otherwise). Other than that, 'make modules_install' should work. Check in the /lib/modules/2.4.1/kernel subdirectory hierarchy for you modules.
Nachiket wrote:
I got sources for kernel 2.4.1.I was able to build the kernel without any problem.But when i did make install_modules nothing got copied to /lib/modules/2.4.1. I did do a make xconfig before building. I know there is option for modular kernel which was selected. Did i miss something ?????.
Did you actually type 'make install_modules'? If you did, then what you should have typed is 'make modules_install'... If you did type it correctly, then it may just be that you didn't actually select any parts of the kernel to be built as modules. Also note that the actual modules are stored somewhere under /lib/modules/2.4.x/kernel for the 2.4.x kernels.
Hope that helps some more, Chris -- __ _ -o)/ / (_)__ __ ____ __ Chris Reeves /\\ /__/ / _ \/ // /\ \/ / ICQ# 22219005 _\_v __/_/_//_/\_,_/ /_/\_\