On Tue, 8 Jan 2002, Ian C. Sison wrote: > On Tue, 8 Jan 2002, Michal Suchanek wrote: > > > At home I installed Mandrake 8.1. Because I have hardware that doesnt > > work fine out of the box I tried to build my own kernel. > > > > The problem is that installing the new kernel with different config > > overwrites modules and the kernel from the distro cant load any > > modules anymore. > > > > I'd suggest to add some suffix to the kernel version in the makefile to avoid this >problem. It can be removed by people who know what they are doing anyway. > > ie the built kernel version would be something like 2.4.8-34.1mdksrc > > If you do that change the version number (EXTRAVERSION) to something local > to your site so make menuconfig will say something like 'Kernel > > 2.4.8-34.1mic > > This will force make install_modules to use another subdirectory for its > modules. >
The EXTRAVERSION macros are located in the main Makefile of the kernel.
