![](https://seccdn.libravatar.org/avatar/e4875fba809bee7a8701ffd3bd830274.jpg?s=120&d=mm&r=g)
On Sat, Jul 07, 2001 at 04:39:36PM +0200, Bo Jacobsen wrote:
Hi, I have just installed (from scratch) SuSE linux 7.2 on a Toshiba Labtop. In the /lib/modules directory there is a directory "2.2.4-4GB" where the kernel modules are located.
When compiling the kernel sources, running "make modules" and "make modules_install" I can see that the modules for the drivers I have selected to be running as modules (in menuconfig) are NOT in /lib/modules/<kernel version>. This is true for both my sound cards the USB devices and the modules for PCMCIA.
What's in your /usr/include/linux/version.h ? If you do ``make cloneconfig'' first, it will fix your version and destinatiom directory for modules. Also, the correct version.h for your kernel is contained in /boot
This of course has the effect that when booting the new kernel, I get error messages about the missing modules. When copying the modules for PCMCIA (from ../linux/drivers/pcmcia/) to /lib/modules/<kernel version>/pcmcia the modules are suddenly found.
What is the problem here, I thought that $make modules_install would install all the modules to the divices, specified in menuconfig as modules, to be copied to the correct locations in /lib/modules/<kernel version> !??.
I have compiled many kernels in the past, but as this is the first time I have had to use modules, this comes as a surprice to me.
Were they SuSE kernels or vanilla kernels from ftp.kernel.org? That make difference.
Can anyone please help.
Thanks in advance. Bo Jacobsen bjc@image.dk
HTH, -Kastus