Hi Rahul,
In your case the modules will get overwritten in the same directory 
(/lib/modules/2.4.17).
If you use the different kernel version then the modules will get installed in the 
/lib/modules/linu.kernel.version.number directory.
The module loading depends upon the System.map and modules.conf file.
So don't forget to move this newly generated System.map file to /boot/ directory.
I think you moved the System.map file but didn't do make modules and make 
modules_install.Hence no modules get listed in the System.map file though they they 
are included in kernel as loadble modules.

Basically the kernel compiling order should be:
make menuconfig
make dep
make bzImage
make modules
make modules_install
copy bzImage to the /boot/ directory
rename the old System.map to System.bak
copy System.map to the /boot/ directory

Do not forget to save the old .config file(which keeps the track of the selected 
options while compiling the kernel) before compiling.

Happy Recompiling!

-Mahesh Gharat

We shall recompile and recompile until we are exhausted, and then we shall compile 
again.


On Thu, 14 Feb 2002 Rahul Saxena wrote :
> hi there, 
> 
> i compiled 2.4.17 and made the modules for it. 
> now i have compiled the same kernel with the preemtive
> kernel patch, but i have not made the modules for
> that. 
> 
> this causes a problem as the (preemtive)kernel dosent
> find any modules at boot. and hence i cannot use them.
> 
> Now if i make modules for the preemtive kernel too,
> will they overwrite the previous modules. or will they
> be installed in a seperate directory then
> /lib/modules/2.4.17 ?? 
> 
> it would be good if i could boot from either of the
> kernels and use the modules. 
> 
> can somone throw some light on this ?  
> 
> regards 
> -rahul 
> 
> __________________________________________________
> Do You Yahoo!?
> Send FREE Valentine eCards with Yahoo! Greetings!
> http://greetings.yahoo.com
> _______________________________________________
> http://mm.ilug-bom.org.in/mailman/listinfo/linuxers
> 
 

_______________________________________________
http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

Reply via email to