{"id":56,"date":"2007-01-03T14:01:14","date_gmt":"2007-01-03T22:01:14","guid":{"rendered":"http:\/\/jaredrobinson.com\/blog\/?p=56"},"modified":"2007-01-03T14:01:14","modified_gmt":"2007-01-03T22:01:14","slug":"vmware-and-upgrading-to-fedora-core-6","status":"publish","type":"post","link":"https:\/\/jaredrobinson.com\/blog\/vmware-and-upgrading-to-fedora-core-6\/","title":{"rendered":"VMWare and Upgrading to Fedora Core 6"},"content":{"rendered":"<p>I upgraded my desktop machine at work from Fedora Core 5 to Fedora Core 6, and since I run the free <a href=\"http:\/\/www.vmware.com\/products\/player\/\">VMWare Player<\/a> (the free <a href=\"http:\/\/www.vmware.com\/products\/server\/\">VMWare Server<\/a> is also a fine product), I knew I&#8217;d have to get it working after the upgrade. It could have been as simple as running &#8216;vmware-config.pl&#8217;, but it wasn&#8217;t.<\/p>\n<p>\nA known issue with Fedora 6 is that on many single processor systems, the<br \/>\ninstaller loads an i586 kernel instead of an i686 kernel. The workaround for<br \/>\nthis, at install boot-time, is to type &#8220;linux i686&#8221; &#8212; except that it only<br \/>\nworks for fresh installs &#8212; it doesn&#8217;t work for upgrades. An i586 kernel was<br \/>\ninstalled even though I wanted an i686 kernel, and it created problems when I<br \/>\nwent to configure VMWare. vmware-config.pl compiles a kernel module against<br \/>\nkernel headers. I had installed the kernel-devel package to get the kernel<br \/>\nheaders. It turns out that I had an i686 kernel-devel package, and it didn&#8217;t<br \/>\nmesh up well with the i586 kernel that I didn&#8217;t know I had.<\/p>\n<p>\nRun the following command:<br \/>\n<code>rpm -q --queryformat '%{ARCH} %{NAME}-%{VERSION}-%{RELEASE}\\n' kernel kernel-devel<\/code><\/p>\n<p>\nThis is how I figured out that I had a mismatch. Here&#8217;s what I had:<br \/>\n<code><br \/>\ni586 kernel-2.6.18-1.2869.fc6<br \/>\ni686 kernel-devel-2.6.18-1.2869.fc6<br \/>\n<\/code><\/p>\n<p>\nBoth of those should read &#8216;i686&#8217;. Here are the commands to run (as the &#8216;root&#8217; user) to resolve the issue:<\/p>\n<ol>\n<li><code>yum -y upgrade # to get the latest kernel, etc.<\/code><\/li>\n<li>Follow the instructions at <a href=\"http:\/\/fedoraproject.org\/wiki\/Bugs\/FC6Common\">http:\/\/fedoraproject.org\/wiki\/Bugs\/FC6Common<\/a> to switch to an i686 kernel.<\/li>\n<ul>\n<li><code>yum -y install yum-utils<\/code><\/li>\n<li><code>yumdownloader kernel.i686<\/code><\/li>\n<li><code>rpm -ivh --replacefiles --replacepkgs kernel-2*.i686.rpm<\/code><\/li>\n<\/ul>\n<li><code>reboot<\/code><\/li>\n<li><code>yum -y install kernel-devel<\/code><\/li>\n<li><code>rpm -q --queryformat '%{ARCH} %{NAME}-%{VERSION}-%{RELEASE}\\n' kernel kernel-devel # The architecture should be i686<\/code><\/li>\n<li><code>touch \/usr\/src\/kernels\/2.6.18-1.2869.fc6-i686\/include\/linux\/config.h<\/code><\/li>\n<li><code>vmware-config.pl<\/code><\/li>\n<\/ol>\n<p>\n<strong>Update<\/strong>\n<\/p>\n<p>\nI can&#8217;t recommend upgrading to Fedora Core 6 from version 5. My screensaver (gnome-screensaver) wouldn&#8217;t unlock &#8212; it never even gave me the chance to enter a password. I tried switching to xscreensaver, but it wouldn&#8217;t accept my password. After several fruitless google searches for a resolution to either problem, I gave up and decided to install from scratch. Now my screensaver behaves correctly.\n<\/p>\n<p>\nWhen I did a fresh install, it installed the xen kernel. VMware and Xen didn&#8217;t play well together for me &#8212; I got nearly 100% CPU utilization when I tried to load a guest. I installed the non-xen kernel, booted that kernel, and reconfigured vmware. Now VMware runs great. If I remember correctly, here are the commands I ran as root:<\/p>\n<ol>\n<li><code>yum -y install kernel<\/code><\/li>\n<li><strong>reboot<\/strong> into a non-xen kernel\n<li><code>touch \/usr\/src\/kernels\/2.6.18-1.2869.fc6-i686\/include\/linux\/config.h<\/code><\/li>\n<li><code>vmware-config.pl<\/code><\/li>\n<\/ol>\n<p>\n<a href=\"http:\/\/lwn.net\/Articles\/216794\">KVM<\/a> is the future of virtualization on Linux, from what I gather, so I&#8217;m not going to try Xen.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I upgraded my desktop machine at work from Fedora Core 5 to Fedora Core 6, and since I run the free VMWare Player (the free VMWare Server is also a fine product), I knew I&#8217;d have to get it working after the upgrade. It could have been as simple as running &#8216;vmware-config.pl&#8217;, but it wasn&#8217;t. &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/jaredrobinson.com\/blog\/vmware-and-upgrading-to-fedora-core-6\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;VMWare and Upgrading to Fedora Core 6&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,9,17],"tags":[],"class_list":["post-56","post","type-post","status-publish","format-standard","hentry","category-fedora","category-linux","category-tech"],"_links":{"self":[{"href":"https:\/\/jaredrobinson.com\/blog\/wp-json\/wp\/v2\/posts\/56","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jaredrobinson.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jaredrobinson.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jaredrobinson.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jaredrobinson.com\/blog\/wp-json\/wp\/v2\/comments?post=56"}],"version-history":[{"count":0,"href":"https:\/\/jaredrobinson.com\/blog\/wp-json\/wp\/v2\/posts\/56\/revisions"}],"wp:attachment":[{"href":"https:\/\/jaredrobinson.com\/blog\/wp-json\/wp\/v2\/media?parent=56"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jaredrobinson.com\/blog\/wp-json\/wp\/v2\/categories?post=56"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jaredrobinson.com\/blog\/wp-json\/wp\/v2\/tags?post=56"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}