<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>rajaseelan.com &#187; error</title>
	<atom:link href="http://rajaseelan.com/tag/error/feed/" rel="self" type="application/rss+xml" />
	<link>http://rajaseelan.com</link>
	<description>junk food for the brain ...</description>
	<lastBuildDate>Tue, 28 Jul 2009 16:37:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to install Virtual Box 3.0 in Fedora 11 32 bit</title>
		<link>http://rajaseelan.com/2009/07/05/how-to-install-virtual-box-3-0-in-fedora-11-32-bit/</link>
		<comments>http://rajaseelan.com/2009/07/05/how-to-install-virtual-box-3-0-in-fedora-11-32-bit/#comments</comments>
		<pubDate>Sun, 05 Jul 2009 05:00:37 +0000</pubDate>
		<dc:creator>raja</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[fedora 11]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[PAE]]></category>
		<category><![CDATA[virtualbox]]></category>
		<category><![CDATA[yum.]]></category>

		<guid isPermaLink="false">http://rajaseelan.com/?p=156</guid>
		<description><![CDATA[When trying to install VirtualBox 3.0 in Fedora 11 32bit, you may encounter this error:-


[root@atreides ~]# rpm -ivh VirtualBox-2.2.4_47978_fedora11-1.i586.rpm
Preparing...                ########################################### [100%]
   1:VirtualBox             ########################################### [100%]
&#160;
Creating group 'vboxusers'. [...]]]></description>
			<content:encoded><![CDATA[<p>When trying to install <a href="http://www.virtualbox.org/">VirtualBox 3.0</a> in Fedora 11 32bit, you may encounter this error:-</p>
<div class="wp_syntax">
<div class="code">
<pre class="text" style="font-family:monospace;">[root@atreides ~]# rpm -ivh VirtualBox-2.2.4_47978_fedora11-1.i586.rpm
Preparing...                ########################################### [100%]
   1:VirtualBox             ########################################### [100%]
&nbsp;
Creating group 'vboxusers'. VM users must be member of that group!
&nbsp;
No precompiled module for this kernel found -- trying to build one. Messages
emitted during module compilation will be logged to /var/log/vbox-install.log.
&nbsp;
Compilation of the kernel module FAILED! VirtualBox will not start until this
problem is fixed. Please consult /var/log/vbox-install.log to find out why the
kernel module does not compile. Most probably the kernel sources are not found.
Install them and execute
&nbsp;
  /etc/init.d/vboxdrv setup
&nbsp;
as root.</pre>
</div>
</div>
<p>This happens even when you have the <code>kernel-devel</code> rpm package installed already.</p>
<p><strong>The short:-</strong><br />
Your kernel is most probably a PAE kernel, so just <code>yum install kernel-PAE-devel.i686</code> and then run <code>/etc/init.d/vboxdrv setup</code>. You can then run VirtualBox as usual.</p>
<p><strong>The long:-</strong></p>
<p>Further investigating, I tailed the <code>/var/log/vbox-install.log</code> file, which gave this error	:-</p>
<div class="wp_syntax">
<div class="code">
<pre class="text" style="font-family:monospace;">[root@atreides ~]# tail /var/log/vbox-install.log
** Compiling vboxdrv
Makefile:145: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=&lt;directory&gt; and run Make again.  Stop.
&lt;/directory&gt;</pre>
</div>
</div>
<p>I found it kind of weird, since I have already installed the <code>kernel-devel</code> rpm. So I decided to check my kernel version with this command:-</p>
<div class="wp_syntax">
<div class="code">
<pre class="text" style="font-family:monospace;">[root@atreides ~]# uname -a
Linux atreides.dune 2.6.29.5-191.fc11.i686.PAE #1 SMP Tue Jun 16 23:19:53 EDT 2009 i686 i686 i386 GNU/Linux</pre>
</div>
</div>
<p>After reading up further, I saw <a href="http://docs.fedoraproject.org/release-notes/f11/en-US/sect-Release_Notes-Architecture_Specific_Notes.html#sect-Release_Notes-x86_Specifics_for_Fedora">this</a> in the <a href="http://docs.fedoraproject.org/release-notes/f11/en-US/index.html">Fedora 11 Release Notes</a>:-<br />
<code><br />
3.1. x86 Specifics for Fedora<br />
By default, the PAE kernel is used on 32-bit hardware, where supported by the hardware.<br />
</code></p>
<p>My CPU supports PAE, so by default the kernel-PAE rpm is installed. I checked this by using the following command:-</p>
<div class="wp_syntax">
<div class="code">
<pre class="text" style="font-family:monospace;">[root@atreides ~]# rpm -qa | grep kernel
kernel-PAE-2.6.29.4-167.fc11.i686
kernel-firmware-2.6.29.5-191.fc11.noarch
kernel-PAE-2.6.29.5-191.fc11.i686
kernel-devel-2.6.29.5-191.fc11.i586
kerneloops-0.12-5.fc11.i586
kernel-headers-2.6.29.5-191.fc11.i586</pre>
</div>
</div>
<p>You can see that <code>kernel-PAE-2.6.29.4-167.fc11.i686</code> and <code>kernel-PAE-2.6.29.5-191.fc11.i686</code> is installed. </p>
<p>Doing a <code>yum search kernel-PAE</code> shows this:-</p>
<div class="wp_syntax">
<div class="code">
<pre class="text" style="font-family:monospace;">[raja@atreides ~]$ yum search kernel-PAE
Loaded plugins: fastestmirror, presto, refresh-packagekit
========================================= Matched: kernel-PAE =========================================
kmod-iscsitarget-PAE.i686 : Metapackage which tracks in iscsitarget kernel module for newest kernel-PAE
kernel-PAE.i686 : The Linux kernel compiled for PAE capable machines
kernel-PAE-devel.i686 : Development package for building kernel modules to match the PAE kernel
kernel-PAEdebug.i686 : The Linux kernel compiled with extra debugging enabled for PAE capable machines
kernel-PAEdebug-devel.i686 : Development package for building kernel modules to match the PAEdebug
                           : kernel
kmod-VirtualBox-OSE-PAE.i686 : Metapackage which tracks in VirtualBox-OSE kernel module for newest
                             : kernel-PAE
kmod-blcr-PAE.i686 : Metapackage which tracks in blcr kernel module for newest kernel-PAE
kmod-em8300-PAE.i686 : Metapackage which tracks in em8300 kernel module for newest kernel-PAE
kmod-kqemu-PAE.i686 : Metapackage which tracks in kqemu kernel module for newest kernel-PAE
kmod-ndiswrapper-PAE.i686 : Metapackage which tracks in ndiswrapper kernel module for newest kernel-PAE
kmod-nvidia-173xx-PAE.i686 : Metapackage which tracks in nvidia-173xx kernel module for newest
                           : kernel-PAE
kmod-nvidia-PAE.i686 : Metapackage which tracks in nvidia kernel module for newest kernel-PAE
kmod-open-vm-tools-PAE.i686 : Metapackage which tracks in open-vm-tools kernel module for newest
                            : kernel-PAE
kmod-rt2860-PAE.i686 : Metapackage which tracks in rt2860 kernel module for newest kernel-PAE
kmod-rt2870-PAE.i686 : Metapackage which tracks in rt2870 kernel module for newest kernel-PAE
kmod-rt3070-PAE.i686 : Metapackage which tracks in rt3070 kernel module for newest kernel-PAE
kmod-slmodem-PAE.i686 : Metapackage which tracks in slmodem kernel module for newest kernel-PAE
kmod-sysprof-PAE.i686 : Metapackage which tracks in sysprof kernel module for newest kernel-PAE
kmod-wl-PAE.i686 : Metapackage which tracks in wl kernel module for newest kernel-PAE</pre>
</div>
</div>
<p>Now you know that the kernel-sources for the PAE kernel is <code>kernel-PAE-devel.i686</code>. So, I&#8217;d hav to install that instead.</p>
<div class="wp_syntax">
<div class="code">
<pre class="text" style="font-family:monospace;">[root@atreides ~]# yum install kernel-PAE-devel.i686
Loaded plugins: fastestmirror, presto, refresh-packagekit
Loading mirror speeds from cached hostfile
 * fedora: mirror.oscc.org.my
 * rpmfusion-free: mirror.transact.net.au
 * rpmfusion-free-updates: mirror.transact.net.au
 * rpmfusion-nonfree: mirror.transact.net.au
 * rpmfusion-nonfree-updates: mirror.transact.net.au
 * updates: mirror.oscc.org.my
Setting up Install Process
Resolving Dependencies
--&gt; Running transaction check
---&gt; Package kernel-PAE-devel.i686 0:2.6.29.5-191.fc11 set to be installed
--&gt; Finished Dependency Resolution
&nbsp;
Dependencies Resolved
&nbsp;
=======================================================================================================
 Package                      Arch             Version                       Repository           Size
=======================================================================================================
Installing:
 kernel-PAE-devel             i686             2.6.29.5-191.fc11             updates             6.2 M
&nbsp;
Transaction Summary
=======================================================================================================
Install      1 Package(s)
Update       0 Package(s)
Remove       0 Package(s)
&nbsp;
Total download size: 6.2 M
Is this ok [y/N]: y
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 6.2 M
kernel-PAE-devel-2.6.29.5-191.fc11.i686.rpm                                     | 6.2 MB     08:33
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : kernel-PAE-devel-2.6.29.5-191.fc11.i686                                         1/1
&nbsp;
Installed:
  kernel-PAE-devel.i686 0:2.6.29.5-191.fc11
&nbsp;
Complete!</pre>
</div>
</div>
<p>Once done, run <code>/etc/init.d/vboxdrv setup</code> as root, and your done.</p>
<div class="wp_syntax">
<div class="code">
<pre class="text" style="font-family:monospace;">root@atreides ~]# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module                          [  OK  ]
Recompiling VirtualBox kernel module                       [  OK  ]
Starting VirtualBox kernel module                          [  OK  ]</pre>
</div>
</div>
<p>You can now run VirtualBox. <img src='http://rajaseelan.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://rajaseelan.com/2009/07/05/how-to-install-virtual-box-3-0-in-fedora-11-32-bit/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
	</channel>
</rss>
