LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices

Reply
 
Search this Thread
Old 03-30-2013, 10:40 AM   #1
jewelthief
LQ Newbie
 
Registered: Oct 2012
Posts: 9

Rep: Reputation: Disabled
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.
 
Old 03-30-2013, 03:51 PM   #2
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,604

Rep: Reputation: 583Reputation: 583Reputation: 583Reputation: 583Reputation: 583Reputation: 583
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.
 
1 members found this post helpful.
  


Reply

Tags
compilation, kernel, rhel, vmware


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Non-smp kernel not sane - problems with a compilation of the kernel modules igadoter Slackware 2 09-05-2012 05:45 PM
kernel & modules always compile from beginning, without make clean lazyart Linux - Kernel 3 03-13-2010 10:27 AM
kernel compilation: new modules iggi Linux - Newbie 4 12-06-2007 09:04 AM
Look the output of: make dep && make clean bzImage modules modules_install Hell-Shooter Linux - General 2 06-05-2004 06:05 AM
new kernel (2.4.22 up from 2.4.20-6) - missing modules - use old modules? Simon Bridge Linux - Software 1 02-04-2004 06:52 AM


All times are GMT -5. The time now is 09:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration