Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 4th January 2010, 14:52
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

What's the output of
Code:
ls -la /usr/src/
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Sponsored Links
  #12  
Old 8th January 2010, 22:16
bquark bquark is offline
Junior Member
 
Join Date: Jan 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default The HOWTO appears to be missing a step

After installing the custom kernel and entering uname -a:
Code:
Linux foobar 2.6.31.6-custom #1 SMP Fri Jan 8 14:12:15 EST 2010 i686 GNU/Linux
the HOWTO asks the reader to
Code:
cd /home/falko/Downloads/vmware-update*/
sudo ./runme.pl
However, vmware-update was not previously mentioned in the HOWTO. After some googling, I decided that vmware-update is a VMware patch and I found a set of vmware patches at http://groups.google.com/group/vmker...es/files?pli=1.

I tried the 117d patch and the 2.6.28 patch (there is no 2.6.31 patch in that repository), but both of them result in a failure of the vmmon kernel module to compile. The output of runme.pl is below. Am I on the right track here? If so, am I using the right patch version?

Code:
# cd vmware-update-2.6.27-5.5.7-2/
# ./runme.pl 
Updating /usr/bin/vmware-config.pl ... already patched
Updating /usr/bin/vmware ... No patch needed/available
Updating /usr/bin/vmnet-bridge ... No patch needed/available
Updating /usr/lib/vmware/bin/vmware-vmx ... No patch needed/available
Updating /usr/lib/vmware/bin-debug/vmware-vmx ... No patch needed/available
VMware modules in "/usr/lib/vmware/modules/source" has been updated.

Before running VMware for the first time after update, you need to configure it 
for your running kernel by invoking the following command: 
"/usr/bin/vmware-config.pl". Do you want this script to invoke the command for 
you now? [yes]  
...
Building the vmmon module.

Building for VMware Server 1.0.0.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config2/vmmon-only'
make -C /lib/modules/2.6.31.6-custom/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-source-2.6.31'
  CC [M]  /tmp/vmware-config2/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config2/vmmon-only/./include/vmware.h:25,
                 from /tmp/vmware-config2/vmmon-only/linux/driver.c:52:
/tmp/vmware-config2/vmmon-only/./include/vm_basic_types.h:97:7: warning: "__FreeBSD__" is not defined
In file included from /tmp/vmware-config2/vmmon-only/./include/x86.h:21,
                 from /tmp/vmware-config2/vmmon-only/linux/driver.h:15,
                 from /tmp/vmware-config2/vmmon-only/linux/driver.c:53:
/tmp/vmware-config2/vmmon-only/./include/x86apic.h:80:1: warning: "APIC_BASE_MSR" redefined
...
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:273:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:277:7: warning: "_MSC_VER" is not defined
...
/tmp/vmware-config2/vmmon-only/linux/driver.c:1781: error: too many arguments to function ‘smp_call_function’
make[2]: *** [/tmp/vmware-config2/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config2/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-source-2.6.31'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config2/vmmon-only'
Unable to build the vmmon module.

For more information on how to troubleshoot module-related problems, please 
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

Execution aborted.
Reply With Quote
  #13  
Old 9th January 2010, 11:35
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

I guess you missed this step?

Code:
cd /home/falko/Downloads
wget -c http://www.insecure.ws/warehouse/vmware-update-2.6.31-5.5.9.tar.bz2
tar xvfj vmware-update*.tar.bz2
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #14  
Old 11th January 2010, 22:20
bquark bquark is offline
Junior Member
 
Join Date: Jan 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No, I didn't see that at all. I couldn't even find it with Alt-F in Firefox. Thanks, it's working fine now.
Reply With Quote
  #15  
Old 14th January 2010, 14:36
none.null none.null is offline
Junior Member
 
Join Date: Dec 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko View Post
What's the output of
Code:
ls -la /usr/src/
?
The output is :
Code:
drwxrwsr-x 13 root src       4096 2010-01-09 18:55 .
drwxr-xr-x 11 root root      4096 2010-01-01 19:52 ..
drwxr-xr-x 23 root root      4096 2010-01-01 18:45 linux-headers-2.6.31-14
drwxr-xr-x  7 root root      4096 2010-01-01 18:45 linux-headers-2.6.31-14-server
drwxr-xr-x 23 root root      4096 2010-01-01 19:08 linux-headers-2.6.31-16
drwxr-xr-x  7 root root      4096 2010-01-01 19:08 linux-headers-2.6.31-16-generic
drwxr-xr-x  7 root root      4096 2010-01-02 13:51 linux-headers-2.6.31-16-server
drwxr-xr-x 23 root root      4096 2010-01-09 16:04 linux-headers-2.6.31-17
drwxr-xr-x  7 root root      4096 2010-01-09 16:04 linux-headers-2.6.31-17-generic
drwxr-xr-x  7 root root      4096 2010-01-09 16:04 linux-headers-2.6.31-17-server
-rw-r--r--  1 root src    6320106 2010-01-01 21:58 linux-headers-2.6.31.4-custom_2.6.31.4-custom-10.00.Custom_amd64.deb
drwxr-xr-x 23 root root      4096 2010-01-09 18:16 linux-headers-2.6.31.6-vmware
-rw-r--r--  1 root src    6321090 2010-01-09 18:10 linux-headers-2.6.31.6-vmware_2.6.31.6-vmware-10.00.Custom_amd64.deb
-rw-r--r--  1 root src  403672782 2010-01-01 21:57 linux-image-2.6.31.4-custom_2.6.31.4-custom-10.00.Custom_amd64.deb
-rw-r--r--  1 root src  403798724 2010-01-09 18:08 linux-image-2.6.31.6-vmware_2.6.31.6-vmware-10.00.Custom_amd64.deb
drwxr-xr-x 26 root root      4096 2010-01-09 18:09 linux-source-2.6.31
-rw-r--r--  1 root root  62171637 2009-12-10 20:32 linux-source-2.6.31.tar.bz2
-rw-r--r--  1 root root  62171637 2009-12-10 20:32 linux-source-2.6.31.tar.bz2.old
drwxr-xr-x  2 root root      4096 2010-01-09 18:55 nvidia-190.53
Reply With Quote
  #16  
Old 15th January 2010, 13:27
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Please go to the /usr/src/linux-headers-2.6.31-17-server directory to build the newest kernel.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #17  
Old 20th January 2010, 15:23
bquark bquark is offline
Junior Member
 
Join Date: Jan 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

I'm experiencing stability problems with VMs under VMware Server 1.0.10 on Ubuntu 9.10 with this configuration. Windows XP VMs lock or crash frequently (every day) and CentOS VMs crash once a week, none of which happened under Ubuntu 8.04.

Does anyone else have similar problems? Is VMware Server 2 more reliable on Ubuntu 9.10 than 1.0.10? If so, can you connect remotely to VMware Server 1 hosts from Server 2?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
User unknown in relay recipient table Taxick Installation/Configuration 12 9th April 2013 12:31
vmware on ubuntu server bentman78 HOWTO-Related Questions 3 20th December 2008 18:36
VMware, LTSP and Ubuntu 8.04 bobwdn HOWTO-Related Questions 2 20th August 2008 00:50
ISPConfig install issues... flyingaggie Installation/Configuration 2 18th July 2008 10:46
The Perfect Setup Suse 9.3 - Postfix problems new_bee05 HOWTO-Related Questions 20 25th November 2005 02:30


All times are GMT +2. The time now is 20:01.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.