Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > x86 64-bit Users
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

x86 64-bit Users
For the discussion of Ubuntu on the AMD 64 platform.

 
Thread Tools Display Modes
Old April 22nd, 2007   #11
turn1200
First Cup of Ubuntu
 
Join Date: Apr 2007
Beans: 12
Kubuntu 7.04 Feisty Fawn
Re: VMWare broken on Feisty upgrade

I think you can also do the following (got this from someone on the vmware forums I think).

cd vmware-server-distrib/lib/modules/source/
tar -xvf vmmon.tar
vi vmmon-only/include/compat_kernel.h

change the line that says:
static inline _syscall1(int, compat_exit, int, exit_code);
to the following by removing two commas:
static inline _syscall1(int compat_exit, int exit_code);

sudo tar -cvf vmmon.tar vmmon-only/

turn1200 is offline   Reply With Quote
Old April 22nd, 2007   #12
thinguy
First Cup of Ubuntu
 
Join Date: Apr 2007
Beans: 2
Re: VMWare broken on Feisty upgrade

Another solution found. Thanks

This forum rocks!
thinguy is offline   Reply With Quote
Old April 23rd, 2007   #13
mcpoyle
First Cup of Ubuntu
 
Join Date: Jun 2006
Beans: 1
Re: VMWare broken on Feisty upgrade

Nice!


:ks
mcpoyle is offline   Reply With Quote
Old April 23rd, 2007   #14
kc5hwb
Quad Shot of Ubuntu
 
Join Date: Jul 2006
Beans: 419
Re: VMWare broken on Feisty upgrade

I tried running the ./runme.pl file using the any-any solution and I am getting this error:

Code:
Unable to get the last modification timestamp of the destination file
/etc/vmware/ssl/rui.key.

Execution aborted.

root@samson:/tmp/vmware-any-any-update109#
I tried installing g++ and it tells me that the newest version is already installed.
kc5hwb is offline   Reply With Quote
Old April 23rd, 2007   #15
kc5hwb
Quad Shot of Ubuntu
 
Join Date: Jul 2006
Beans: 419
Re: VMWare broken on Feisty upgrade

When I run sudo ./vmware-install.pl, I am getting this error..


Code:
What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.20-15-generic/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config2/vmmon-only'
make -C /lib/modules/2.6.20-15-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic'
  CC [M]  /tmp/vmware-config2/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config2/vmmon-only/linux/driver.c:80:
/tmp/vmware-config2/vmmon-only/./include/compat_kernel.h:21: error: expected declaration specifiers or â...â before âcompat_exitâ
/tmp/vmware-config2/vmmon-only/./include/compat_kernel.h:21: error: expected declaration specifiers or â...â before âexit_codeâ
/tmp/vmware-config2/vmmon-only/./include/compat_kernel.h:21: warning: type defaults to âintâ in declaration of â_syscall1â
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-headers-2.6.20-15-generic'
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.

root@samson:/tmp/vmware-server-distrib#
kc5hwb is offline   Reply With Quote
Old April 24th, 2007   #16
screenwriter
First Cup of Ubuntu
 
Join Date: Nov 2006
Beans: 4
Re: VMWare broken on Feisty upgrade

One more happy customer of VMware-any-to-any.

XPPro works fine. RHEL is taking a little time to get going (smb mounts) but I'll get there.

Thanks.

//James
screenwriter is offline   Reply With Quote
Old April 24th, 2007   #17
raymond3
5 Cups of Ubuntu
 
Join Date: Mar 2007
Beans: 25
Re: VMWare broken on Feisty upgrade

VMware crashes for me before I can get windows installed. I've tried a few different CDs (home, pro, 2000) but keep getting the attached error randomly...
Attached Thumbnails
Click image for larger version

Name:	vmcrash.png
Views:	32
Size:	54.1 KB
ID:	30675  
raymond3 is offline   Reply With Quote
Old April 24th, 2007   #18
reader4
A Carafe of Ubuntu
 
Join Date: Jan 2007
My beans are hidden!
Re: VMWare broken on Feisty upgrade

Still having problems here. Things worked perfectly in 6.10, but after upgrading everything broke. So, I completely uninstalled old vmware-server and downloaded 1.0.1...

Code:
$./vmware-install.pl
After a failed first attempt, I installed the any-any patch and followed turn1200's fix. Then the modules build OK...

Code:
Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config7/vmmon-only'
make -C /lib/modules/2.6.20-15-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic'
  CC [M]  /tmp/vmware-config7/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config7/vmmon-only/linux/driver.c:80:
/tmp/vmware-config7/vmmon-only/./include/compat_kernel.h:21: warning: type defaults to ‘int’ in declaration of ‘_syscall1’
/tmp/vmware-config7/vmmon-only/./include/compat_kernel.h:21: warning: ‘_syscall1’ declared ‘static’ but never defined
  CC [M]  /tmp/vmware-config7/vmmon-only/linux/hostif.o
In file included from /tmp/vmware-config7/vmmon-only/linux/hostif.c:68:
/tmp/vmware-config7/vmmon-only/./include/compat_kernel.h:21: warning: type defaults to ‘int’ in declaration of ‘_syscall1’
/tmp/vmware-config7/vmmon-only/./include/compat_kernel.h:21: warning: ‘_syscall1’ declared ‘static’ but never defined
  CC [M]  /tmp/vmware-config7/vmmon-only/common/cpuid.o
  CC [M]  /tmp/vmware-config7/vmmon-only/common/hash.o
  CC [M]  /tmp/vmware-config7/vmmon-only/common/memtrack.o
  CC [M]  /tmp/vmware-config7/vmmon-only/common/phystrack.o
  CC [M]  /tmp/vmware-config7/vmmon-only/common/task.o
  CC [M]  /tmp/vmware-config7/vmmon-only/common/vmx86.o
  CC [M]  /tmp/vmware-config7/vmmon-only/vmcore/moduleloop.o
  LD [M]  /tmp/vmware-config7/vmmon-only/vmmon.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/vmware-config7/vmmon-only/vmmon.mod.o
  LD [M]  /tmp/vmware-config7/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config7/vmmon-only'
The module loads perfectly in the running kernel.
But the networking install crashes...

Code:
Do you want networking for your virtual machines? (yes/no/help) [yes] 

Configuring a bridged network for vmnet0.

Your computer has multiple ethernet network interfaces available: eth0, eth1, 
eth1:avah. Which one do you want to bridge to vmnet0? [eth0] 

The following bridged networks have been defined:

. vmnet0 is bridged to eth0

Do you wish to configure another bridged network? (yes/no) [no] 

Do you want to be able to use NAT networking in your virtual machines? (yes/no)
[yes] 

Configuring a NAT network for vmnet8.

Do you want this program to probe for an unused private subnet? (yes/no/help) 
[yes] 

Probing for an unused private subnet (this can take some time)...

The subnet 192.168.148.0/255.255.255.0 appears to be unused.

The following NAT networks have been defined:

. vmnet8 is a NAT network on private subnet 192.168.148.0.

Do you wish to configure another NAT network? (yes/no) [no] 

Do you want to be able to use host-only networking in your virtual machines? 
[yes] 

Configuring a host-only network for vmnet1.

Do you want this program to probe for an unused private subnet? (yes/no/help) 
[yes] 

Probing for an unused private subnet (this can take some time)...

The subnet 192.168.114.0/255.255.255.0 appears to be unused.

The following host-only networks have been defined:

. vmnet1 is a host-only network on private subnet 192.168.114.0.

Do you wish to configure another host-only network? (yes/no) [no] 

Extracting the sources of the vmnet module.

Building the vmnet module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config7/vmnet-only'
make -C /lib/modules/2.6.20-15-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic'
  CC [M]  /tmp/vmware-config7/vmnet-only/driver.o
  CC [M]  /tmp/vmware-config7/vmnet-only/hub.o
  CC [M]  /tmp/vmware-config7/vmnet-only/userif.o
/tmp/vmware-config7/vmnet-only/userif.c: In function ‘VNetCopyDatagramToUser’:
/tmp/vmware-config7/vmnet-only/userif.c:629: error: ‘CHECKSUM_HW’ undeclared (first use in this function)
/tmp/vmware-config7/vmnet-only/userif.c:629: error: (Each undeclared identifier is reported only once
/tmp/vmware-config7/vmnet-only/userif.c:629: error: for each function it appears in.)
make[2]: *** [/tmp/vmware-config7/vmnet-only/userif.o] Error 1
make[1]: *** [_module_/tmp/vmware-config7/vmnet-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic'
make: *** [vmnet.ko] Error 2
make: Leaving directory `/tmp/vmware-config7/vmnet-only'
Unable to build the vmnet 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.

Tried a few different versions of network installs with the same result. Not sure what to try next... any advice?
reader4 is offline   Reply With Quote
Old April 24th, 2007   #19
PCE_Moose
First Cup of Ubuntu
 
Join Date: Apr 2007
Location: New York, NY
Beans: 3
Ubuntu 7.04 Feisty Fawn
Re: VMWare broken on Feisty upgrade

Actually I tried the any-any-patch-109 after I used Synaptic to install build-essentials: it didnt work the first time around. It asked a bunch of questions, but ended in the same error.
For some reason, I tried it again, and it worked just fine.
So moral of the story: if at first you dont succeed, try again...
PCE_Moose is offline   Reply With Quote
Old April 24th, 2007   #20
reader4
A Carafe of Ubuntu
 
Join Date: Jan 2007
My beans are hidden!
Re: VMWare broken on Feisty upgrade

That's what I thought too... tried several times using different ways but the farthest I get is when I uninstall vmware server, install the patch, then install vmware server. If I use the any-any patch to begin the vmware-config, I cannot even get the modules installed:

Code:
$ sudo ./runme.pl 
Password:
Updating /usr/bin/vmware-config.pl ... now 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] 

Making sure services for VMware Server are stopped.

Stopping VMware services:
   Virtual machine monitor                                             done
   Bridged networking on /dev/vmnet0                                   done
   DHCP server on /dev/vmnet1                                          done
   Host-only networking on /dev/vmnet1                                 done
   DHCP server on /dev/vmnet8                                          done
   NAT service on /dev/vmnet8                                          done
   Host-only networking on /dev/vmnet8                                 done
   Virtual ethernet                                                    done

You must read and accept the End User License Agreement to continue.
Press enter to display it. ...

Configuring fallback GTK+ 2.4 libraries.

In which directory do you want to install the mime type icons? 
[/usr/share/icons] 

What directory contains your desktop menu entry files? These files have a 
.desktop file extension. [/usr/share/applications] 

In which directory do you want to install the application's icon? 
[/usr/share/pixmaps] 

Trying to find a suitable vmmon module for your running kernel.

None of the pre-built vmmon modules for VMware Server is suitable for your 
running kernel.  Do you want this program to try to build the vmmon module for 
your system (you need to have a C compiler installed on your system)? [yes] 

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.20-15-generic/build/include] 

Extracting the sources of the vmmon module.

Building the vmmon module.

Building for VMware Server 1.0.0.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config8/vmmon-only'
make -C /lib/modules/2.6.20-15-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic'
  CC [M]  /tmp/vmware-config8/vmmon-only/linux/driver.o
  CC [M]  /tmp/vmware-config8/vmmon-only/linux/hostif.o
  CC [M]  /tmp/vmware-config8/vmmon-only/common/cpuid.o
  CC [M]  /tmp/vmware-config8/vmmon-only/common/hash.o
  CC [M]  /tmp/vmware-config8/vmmon-only/common/memtrack.o
  CC [M]  /tmp/vmware-config8/vmmon-only/common/phystrack.o
  CC [M]  /tmp/vmware-config8/vmmon-only/common/task.o
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
make[2]: *** [/tmp/vmware-config8/vmmon-only/common/task.o] Error 1
make[1]: *** [_module_/tmp/vmware-config8/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config8/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.
reader4 is offline   Reply With Quote

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


All times are GMT -4. The time now is 09:38 PM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry