VMWare 5.0, SuSE 9.3 and a patched 2.6. Kernel
Hi all, I am running SuSE Linux 9.3 with kernel 2.6.11 and tried to install VMWare 5.0. While doing an online update the latest patches have been applied to the stock kernel. Now, 'uname -r' gives '2.6.11.4-21.9-default' which is obviously different from the previous stock kernel version 2.6.11.4.-20a-default. So far so good. When trying to install VMWare 5.0 the installation routine prompts for my kernel includes of the running kernel. The SuSE kernel sources have been installed to /usr/src/linux-2.6.11.4.-20a. No sources have been placed in /usr/src/linux-2.6.11.4-21.9 the source directory of my running kernel, except for two headers, namely autoconf.h and version.h. My /usr/src directory contains the following entries: linux:/usr/src # ls -la total 2 drwxr-xr-x 10 root root 384 2005-10-01 11:41 . drwxr-xr-x 12 root root 344 2005-08-13 19:41 .. drwxr-xr-x 23 root root 776 2005-08-13 19:21 dicts drwxr-xr-x 25 root root 736 2005-08-13 19:26 kernel-modules lrwxrwxrwx 1 root root 18 2005-10-01 11:40 linux -> linux-2.6.11.4-20a drwxr-xr-x 19 root root 720 2005-10-01 11:41 linux-2.6.11.4-20a drwxr-xr-x 3 root root 72 2005-03-24 02:04 linux-2.6.11.4-20a-obj drwxr-xr-x 4 root root 96 2005-09-09 19:44 linux-2.6.11.4-21.8 drwxr-xr-x 3 root root 72 2005-10-01 11:40 linux-2.6.11.4-21.9 drwxr-xr-x 3 root root 72 2005-08-19 18:48 linux-2.6.11.4-21.9-obj lrwxrwxrwx 1 root root 23 2005-10-01 11:41 linux-obj -> linux-2.6.11.4-20a-obj/ drwxr-xr-x 7 root root 168 2005-08-13 19:57 packages VMWare does not allow compilation of required kernel modules for the running kernel stating that it can't find the appropriate headers in /usr/src/linux: "The directory of kernel headers (version 2.6.11.4-20a-default) does not match your running kernel (version 2.6.11.4-21.9-default). Even if the module were to compile successfully, it would not load into the running kernel." I understand what is going on, but I don't know what to do next to fix this problem. Suggestions highly welcome. Thanks. Regards \Steve
On Saturday 01 October 2005 05:41, Steve Graegert wrote:
Hi all,
I am running SuSE Linux 9.3 with kernel 2.6.11 and tried to install VMWare 5.0. While doing an online update the latest patches have been applied to the stock kernel. Now, 'uname -r' gives '2.6.11.4-21.9-default' which is obviously different from the previous stock kernel version 2.6.11.4.-20a-default.
So far so good. When trying to install VMWare 5.0 the installation routine prompts for my kernel includes of the running kernel. The SuSE kernel sources have been installed to /usr/src/linux-2.6.11.4.-20a. No sources have been placed in /usr/src/linux-2.6.11.4-21.9 the source directory of my running kernel, except for two headers, namely autoconf.h and version.h. My /usr/src directory contains the following entries:
linux:/usr/src # ls -la total 2 drwxr-xr-x 10 root root 384 2005-10-01 11:41 . drwxr-xr-x 12 root root 344 2005-08-13 19:41 .. drwxr-xr-x 23 root root 776 2005-08-13 19:21 dicts drwxr-xr-x 25 root root 736 2005-08-13 19:26 kernel-modules lrwxrwxrwx 1 root root 18 2005-10-01 11:40 linux -> linux-2.6.11.4-20a drwxr-xr-x 19 root root 720 2005-10-01 11:41 linux-2.6.11.4-20a drwxr-xr-x 3 root root 72 2005-03-24 02:04 linux-2.6.11.4-20a-obj drwxr-xr-x 4 root root 96 2005-09-09 19:44 linux-2.6.11.4-21.8 drwxr-xr-x 3 root root 72 2005-10-01 11:40 linux-2.6.11.4-21.9 drwxr-xr-x 3 root root 72 2005-08-19 18:48 linux-2.6.11.4-21.9-obj lrwxrwxrwx 1 root root 23 2005-10-01 11:41 linux-obj -> linux-2.6.11.4-20a-obj/ drwxr-xr-x 7 root root 168 2005-08-13 19:57 packages
Well, it looks like something went wrong with the update to the new kernel level. Although it looks like the kernel-source-2.6.11.4-21.9 RPM was installed (at least the directory is there), the above symlinks (linux and linux-obj) point to the old sources so perhaps the installation process got interrupted before it was complete. You probably need to reinstall kernel-source-2.6.11.4-21.9. But, before you do that, try the following (as root): cd /usr/src ln -sf linux-2.6.11.4-20a linux ln -sf linux-2.6.11.4-20a-obj linux-obj That might be enough, but the error messages seem to indicate that a re-install of kernel-source-2.6.11.4-21..9 is probably needed. Take a look into the directory to see if it looks complete. Mine looks like this: /usr/src/linux-2.6.11.4-21.9 # ls -a . CREDITS README.SUSE include mm usr .. Documentation REPORTING-BUGS init net .config MAINTAINERS arch ipc rpm-release .config.cmd Makefile crypto kdb scripts .config.running Makefile.suse drivers kernel security COPYING README fs lib sound Also remember that as part of the process of getting VMWare to run you need to do the following before running the vmware install. cd /usr/src/linux make cloneconfig make prepare BTW, I have VMWare 4.5.2 running OK with the same kernel. Bob
Robert, Adam, thanks for your replies. I will try to re-install my kernel, take the steps outlined and let you know if I made progress. Thanks. Regards \Steve Adam: Unfortunately I need to install Windows and as far as I know Xen does not support this option. On 10/1/05, Robert Paulsen <robert@paulsen.homeip.net> wrote:
On Saturday 01 October 2005 05:41, Steve Graegert wrote:
Hi all,
I am running SuSE Linux 9.3 with kernel 2.6.11 and tried to install VMWare 5.0. While doing an online update the latest patches have been applied to the stock kernel. Now, 'uname -r' gives '2.6.11.4-21.9-default' which is obviously different from the previous stock kernel version 2.6.11.4.-20a-default.
So far so good. When trying to install VMWare 5.0 the installation routine prompts for my kernel includes of the running kernel. The SuSE kernel sources have been installed to /usr/src/linux-2.6.11.4.-20a. No sources have been placed in /usr/src/linux-2.6.11.4-21.9 the source directory of my running kernel, except for two headers, namely autoconf.h and version.h. My /usr/src directory contains the following entries:
linux:/usr/src # ls -la total 2 drwxr-xr-x 10 root root 384 2005-10-01 11:41 . drwxr-xr-x 12 root root 344 2005-08-13 19:41 .. drwxr-xr-x 23 root root 776 2005-08-13 19:21 dicts drwxr-xr-x 25 root root 736 2005-08-13 19:26 kernel-modules lrwxrwxrwx 1 root root 18 2005-10-01 11:40 linux -> linux-2.6.11.4-20a drwxr-xr-x 19 root root 720 2005-10-01 11:41 linux-2.6.11.4-20a drwxr-xr-x 3 root root 72 2005-03-24 02:04 linux-2.6.11.4-20a-obj drwxr-xr-x 4 root root 96 2005-09-09 19:44 linux-2.6.11.4-21.8 drwxr-xr-x 3 root root 72 2005-10-01 11:40 linux-2.6.11.4-21.9 drwxr-xr-x 3 root root 72 2005-08-19 18:48 linux-2.6.11.4-21.9-obj lrwxrwxrwx 1 root root 23 2005-10-01 11:41 linux-obj -> linux-2.6.11.4-20a-obj/ drwxr-xr-x 7 root root 168 2005-08-13 19:57 packages
Well, it looks like something went wrong with the update to the new kernel level. Although it looks like the kernel-source-2.6.11.4-21.9 RPM was installed (at least the directory is there), the above symlinks (linux and linux-obj) point to the old sources so perhaps the installation process got interrupted before it was complete. You probably need to reinstall kernel-source-2.6.11.4-21.9.
But, before you do that, try the following (as root):
cd /usr/src ln -sf linux-2.6.11.4-20a linux ln -sf linux-2.6.11.4-20a-obj linux-obj
That might be enough, but the error messages seem to indicate that a re-install of kernel-source-2.6.11.4-21..9 is probably needed. Take a look into the directory to see if it looks complete. Mine looks like this:
/usr/src/linux-2.6.11.4-21.9 # ls -a . CREDITS README.SUSE include mm usr .. Documentation REPORTING-BUGS init net .config MAINTAINERS arch ipc rpm-release .config.cmd Makefile crypto kdb scripts .config.running Makefile.suse drivers kernel security COPYING README fs lib sound
Also remember that as part of the process of getting VMWare to run you need to do the following before running the vmware install.
cd /usr/src/linux make cloneconfig make prepare
BTW, I have VMWare 4.5.2 running OK with the same kernel.
Bob
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Saturday, October 1, 2005 6:41 am, Steve Graegert wrote:
Hi all,
I am running SuSE Linux 9.3 with kernel 2.6.11 and tried to install VMWare 5.0. The SuSE kernel sources have been installed to /usr/src/linux-2.6.11.4.-20a. No sources have been placed in /usr/src/linux-2.6.11.4-21.9
VMWare does not allow compilation of required kernel modules for the running kernel stating that it can't find the appropriate headers in /usr/src/linux:
"The directory of kernel headers (version 2.6.11.4-20a-default) does not match your running kernel (version 2.6.11.4-21.9-default). Even if the module were to compile successfully, it would not load into the running kernel."
I do this all the time; we are heavy VMware users... After every YOU kernel update: 1. Reboot; ignore the vmware errors in the boot log. 2. su to root 3. cd to /usr/src/linux 4. As root run: make clean make cloneconfig make prepare vmware-config.pl 5. The vmware script will retain all your old network settings (though it will prompt you to change them). 6. Ignore warnings about tainting the kernel, but watch to make sure all of the vmware modules load perfectly. If all goes well, you can now run vmware again no problem. HTH, Mark -- _________________________________________________________ A Message From... L. Mark Stone Reliable Networks of Maine, LLC "We manage your network so you can manage your business" 477 Congress Street Portland, ME 04101 Tel: (207) 772-5678 Web: http://www.rnome.com This email was sent from Reliable Networks of Maine LLC. It may contain information that is privileged and confidential. If you suspect that you were not intended to receive it, please delete it and notify us as soon as possible. Thank you.
Hello everyone, Based on Adam's, Robert's and Mark's instructions, I finally was able to get VMWare 5.0 running. The reason was indeed a failed on-line update of the kernel. Here's what I did (copied from Mark's message): After every YOU kernel update: 1. Reboot; ignore the vmware errors in the boot log. 2. su to root 3. cd to /usr/src/linux 4. As root run: make clean make cloneconfig make prepare vmware-config.pl 5. The vmware script will retain all your old network settings (though it will prompt you to change them). 6. Ignore warnings about tainting the kernel, but watch to make sure all of the vmware modules load perfectly. Thanks to everyone and have a nice day. Regards \Steve On 10/1/05, L. Mark Stone <lmstone@rnome.com> wrote:
On Saturday, October 1, 2005 6:41 am, Steve Graegert wrote:
Hi all,
I am running SuSE Linux 9.3 with kernel 2.6.11 and tried to install VMWare 5.0. The SuSE kernel sources have been installed to /usr/src/linux-2.6.11.4.-20a. No sources have been placed in /usr/src/linux-2.6.11.4-21.9
VMWare does not allow compilation of required kernel modules for the running kernel stating that it can't find the appropriate headers in /usr/src/linux:
"The directory of kernel headers (version 2.6.11.4-20a-default) does not match your running kernel (version 2.6.11.4-21.9-default). Even if the module were to compile successfully, it would not load into the running kernel."
I do this all the time; we are heavy VMware users...
After every YOU kernel update:
1. Reboot; ignore the vmware errors in the boot log. 2. su to root 3. cd to /usr/src/linux 4. As root run: make clean make cloneconfig make prepare vmware-config.pl 5. The vmware script will retain all your old network settings (though it will prompt you to change them). 6. Ignore warnings about tainting the kernel, but watch to make sure all of the vmware modules load perfectly.
If all goes well, you can now run vmware again no problem.
HTH, Mark
--
_________________________________________________________ A Message From... L. Mark Stone
Reliable Networks of Maine, LLC
"We manage your network so you can manage your business"
477 Congress Street Portland, ME 04101 Tel: (207) 772-5678 Web: http://www.rnome.com
This email was sent from Reliable Networks of Maine LLC. It may contain information that is privileged and confidential. If you suspect that you were not intended to receive it, please delete it and notify us as soon as possible. Thank you.
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
participants (3)
-
L. Mark Stone
-
Robert Paulsen
-
Steve Graegert