LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Virtualization and Cloud (http://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/)
-   -   Kernel Compilation & missing modules after `make install` (http://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/kernel-compilation-and-missing-modules-after-%60make-install%60-4175456150/)

jewelthief 03-30-2013 09:40 AM

Kernel Compilation & missing modules after `make install`
 
I am compiling kernel 2.6.32-220.el6 downloaded from redhat's ftp server on RHEL 6.2 (VMWARE virtual machine). I have extracted kernel source from downloaded rpm and inside it, I have untared the actual .bz which contains source code and copied it to /usr/src/kernel. After that I have performed the following steps:

make menuconfig /Here I disabled "module versioning support" and "module signature verification"/

make clean

make

make modules

make modules_install

make install

Now every thing works fine until make install. At this point it gives me following error:

[root@localhost linux-2.6.32-220.23.1.el6 G2]# make install

sh /usr/src/kernels/kernel-2.6.32-220.23.1.el6.src/linux-2.6.32-220.23.1.el6/arch/x86/boot/install.sh 2.6.32 arch/x86/boot/bzImage \ System.map "/boot"

ERROR: modinfo: could not find module vmhgfs

ERROR: modinfo: could not find module vsock

ERROR: modinfo: could not find module vmci

I searched these modules and all three modules are present in /lib/modules/2.6.32-220.el6.x86_64/misc/.

I dont know how to solve this issue. This seems like virtual machine issue as I am doing this on VM.

Any help would be appreciated.

business_kid 03-30-2013 02:51 PM

Don't run the make install. That makes presumptions which are wrong. Do something like the following
(presuming x86)
Quote:

cp arch/x86/boot/bzImage /boot/vmlinuz-2.6.32-220.el6
cp System.map /boot/Ststem.map-2.6.32-220.el6
cp .config /boot/config-2.6.32-220.el6
then edit startup files manually. If you set the extra version in .config, run 'ls /lib/modules', check the version the modules are installed as, and use that.


All times are GMT -5. The time now is 08:51 AM.