Re: VMware server 2.0 and Debian Squeeze?

2011-05-03 Thread Jari Fredriksson

Thanks, got it working with:
http://radu.cotescu.com/how-to-install-vmware-server-ubuntu-fedora-opensuse/



2.5.2011 17:36, Dogan Hanoglu kirjoitti:
> Hi Jari,
> 
> Check this forum thread:
> http://communities.vmware.com/message/1141306
> 
> Apparently there is a patch.
> 
> Cheers.
> -D
> 
> 2011/5/2 Jari Fredriksson mailto:ja...@iki.fi>>
> 
> pallas:~# CC=gcc-4.3 vmware-config.pl 
> 
> Making sure services for VMware Server are stopped.
> 
> Stopping VMware autostart virtual machines:
>   Virtual machines  
> failed
> Stopping VMware management services:
>   VMware Virtual Infrastructure Web Access
>   VMware Server Host Agent  
> failed
> Stopping VMware services:
>   VMware Authentication Daemon  
>  done
>   Virtual machine communication interface  
>   done
>   Virtual machine monitor  
>   done
>   Bridged networking on /dev/vmnet0
>   done
>   Host network detection
>  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
> 
> 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-4.3". 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.32-5-amd64/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-config1/vmmon-only'
> make -C /lib/modules/2.6.32-5-amd64/build/include/.. SUBDIRS=$PWD
> SRCROOT=$PWD/. modules
> make[1]: Entering directory `/usr/src/linux-headers-2.6.32-5-amd64'
>  CC [M]  /tmp/vmware-config1/vmmon-only/linux/driver.o
> In file included from /tmp/vmware-config1/vmmon-only/linux/driver.c:31:
> /tmp/vmware-config1/vmmon-only/./include/compat_wait.h:78: error:
> conflicting types for âpoll_initwaitâ
> /usr/src/linux-headers-2.6.32-5-common/include/linux/poll.h:70: error:
> previous declaration of âpoll_initwaitâ was here
> In file included from
> /tmp/vmware-config1/vmmon-only/./common/vmx86.h:32,
> from /tmp/vmware-config1/vmmon-only/linux/driver.h:29,
> from /tmp/vmware-config1/vmmon-only/linux/driver.c:101:
> /tmp/vmware-config1/vmmon-only/./include/x86msr.h:164:1: warning:
> "MSR_THERM2_CTL" redefined
> In file included from
> /usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/msr.h:4,
> from
> 
> /usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/processor.h:21,
> from
> /usr/src/linux-headers-2.6.32-5-common/include/linux/prefetch.h:14,
> from
> /usr/src/linux-headers-2.6.32-5-common/include/linux/list.h:6,
> from
> /usr/src/linux-headers-2.6.32-5-common/include/linux/module.h:9,
> from
> /tmp/vmware-config1/vmmon-only/./include/compat_module.h:27,
> from /tmp/vmware-config1/vmmon-only/linux/driver.c:26:
> 
> /usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/msr-index.h:230:1:
> warning: this is the location of the previous definition
> /tmp/vmware-config1/vmmon-only/linux/driver.c: In function
> âLinuxDriverSyncCallOnEachCPUâ:
> /tmp/vmware-config1/vmmon-only/linux/driver.c:1423: error: too many
> arguments to function âsmp_call_functionâ
> /tmp/vmware-config1/vmmon-only/linux/driver.c: In function
> âLinuxDriver_Ioctlâ:
> /tmp/vmware-config1/vmmon-only/linux/driver.c:1987: error: âstruct
> task_structâ has no member named âeuidâ
> /tmp/vmware-config1/vmmon-only/linux/driver.c:1987: error: âstruct
> task_structâ has no member named âuidâ
> /tmp/vmware-config1/vmmon-only/linux/driver.c:1988: error: âstruct
> task_structâ has no member named âfsuidâ
> /tmp/vmware-config1/vmmon-only/linux/driver.c:1988: error: âstruct
> task_stru

Re: VMware server 2.0 and Debian Squeeze?

2011-05-02 Thread Dogan Hanoglu
Hi Jari,

Check this forum thread:
http://communities.vmware.com/message/1141306

Apparently there is a patch.

Cheers.
-D

2011/5/2 Jari Fredriksson 

> pallas:~# CC=gcc-4.3 vmware-config.pl
>
> Making sure services for VMware Server are stopped.
>
> Stopping VMware autostart virtual machines:
>   Virtual machines   failed
> Stopping VMware management services:
>   VMware Virtual Infrastructure Web Access
>   VMware Server Host Agent   failed
> Stopping VMware services:
>   VMware Authentication Daemondone
>   Virtual machine communication interface done
>   Virtual machine monitor done
>   Bridged networking on /dev/vmnet0   done
>   Host network detection  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 ethernetdone
>
> 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-4.3". 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.32-5-amd64/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-config1/vmmon-only'
> make -C /lib/modules/2.6.32-5-amd64/build/include/.. SUBDIRS=$PWD
> SRCROOT=$PWD/. modules
> make[1]: Entering directory `/usr/src/linux-headers-2.6.32-5-amd64'
>  CC [M]  /tmp/vmware-config1/vmmon-only/linux/driver.o
> In file included from /tmp/vmware-config1/vmmon-only/linux/driver.c:31:
> /tmp/vmware-config1/vmmon-only/./include/compat_wait.h:78: error:
> conflicting types for âpoll_initwaitâ
> /usr/src/linux-headers-2.6.32-5-common/include/linux/poll.h:70: error:
> previous declaration of âpoll_initwaitâ was here
> In file included from /tmp/vmware-config1/vmmon-only/./common/vmx86.h:32,
> from /tmp/vmware-config1/vmmon-only/linux/driver.h:29,
> from /tmp/vmware-config1/vmmon-only/linux/driver.c:101:
> /tmp/vmware-config1/vmmon-only/./include/x86msr.h:164:1: warning:
> "MSR_THERM2_CTL" redefined
> In file included from
> /usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/msr.h:4,
> from
> /usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/processor.h:21,
> from
> /usr/src/linux-headers-2.6.32-5-common/include/linux/prefetch.h:14,
> from
> /usr/src/linux-headers-2.6.32-5-common/include/linux/list.h:6,
> from
> /usr/src/linux-headers-2.6.32-5-common/include/linux/module.h:9,
> from
> /tmp/vmware-config1/vmmon-only/./include/compat_module.h:27,
> from /tmp/vmware-config1/vmmon-only/linux/driver.c:26:
>
> /usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/msr-index.h:230:1:
> warning: this is the location of the previous definition
> /tmp/vmware-config1/vmmon-only/linux/driver.c: In function
> âLinuxDriverSyncCallOnEachCPUâ:
> /tmp/vmware-config1/vmmon-only/linux/driver.c:1423: error: too many
> arguments to function âsmp_call_functionâ
> /tmp/vmware-config1/vmmon-only/linux/driver.c: In function
> âLinuxDriver_Ioctlâ:
> /tmp/vmware-config1/vmmon-only/linux/driver.c:1987: error: âstruct
> task_structâ has no member named âeuidâ
> /tmp/vmware-config1/vmmon-only/linux/driver.c:1987: error: âstruct
> task_structâ has no member named âuidâ
> /tmp/vmware-config1/vmmon-only/linux/driver.c:1988: error: âstruct
> task_structâ has no member named âfsuidâ
> /tmp/vmware-config1/vmmon-only/linux/driver.c:1988: error: âstruct
> task_structâ has no member named âuidâ
> /tmp/vmware-config1/vmmon-only/linux/driver.c:1989: error: âstruct
> task_structâ has no member named âegidâ
> /tmp/vmware-config1/vmmon-only/linux/driver.c:1989: error: âstruct
> task_structâ has no member named âgidâ
> /tmp/vmware-config1/vmmon-only/linux/driver.c:1990: error: âstruct
> task_structâ has no member named âfsgidâ
> /tmp/vmware-config1/vmmon-only/linux/driver.c:1990: error: âstruct
> task_structâ has no member named âgidâ
> /tmp/vmware-config1/vmmon-only/linux/driver.c:2007: error: too many
> arguments to function âsmp_call_functionâ
> make[4]: *** [/tmp/vmware-config1/vmmon-onl

Re: VMware server 2.0 and Debian Squeeze?

2011-05-02 Thread Jari Fredriksson
pallas:~# CC=gcc-4.3 vmware-config.pl

Making sure services for VMware Server are stopped.

Stopping VMware autostart virtual machines:
   Virtual machines   failed
Stopping VMware management services:
   VMware Virtual Infrastructure Web Access
   VMware Server Host Agent   failed
Stopping VMware services:
   VMware Authentication Daemondone
   Virtual machine communication interface done
   Virtual machine monitor done
   Bridged networking on /dev/vmnet0   done
   Host network detection  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 ethernetdone

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-4.3". 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.32-5-amd64/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-config1/vmmon-only'
make -C /lib/modules/2.6.32-5-amd64/build/include/.. SUBDIRS=$PWD
SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-5-amd64'
  CC [M]  /tmp/vmware-config1/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config1/vmmon-only/linux/driver.c:31:
/tmp/vmware-config1/vmmon-only/./include/compat_wait.h:78: error:
conflicting types for âpoll_initwaitâ
/usr/src/linux-headers-2.6.32-5-common/include/linux/poll.h:70: error:
previous declaration of âpoll_initwaitâ was here
In file included from /tmp/vmware-config1/vmmon-only/./common/vmx86.h:32,
 from /tmp/vmware-config1/vmmon-only/linux/driver.h:29,
 from /tmp/vmware-config1/vmmon-only/linux/driver.c:101:
/tmp/vmware-config1/vmmon-only/./include/x86msr.h:164:1: warning:
"MSR_THERM2_CTL" redefined
In file included from
/usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/msr.h:4,
 from
/usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/processor.h:21,
 from
/usr/src/linux-headers-2.6.32-5-common/include/linux/prefetch.h:14,
 from
/usr/src/linux-headers-2.6.32-5-common/include/linux/list.h:6,
 from
/usr/src/linux-headers-2.6.32-5-common/include/linux/module.h:9,
 from
/tmp/vmware-config1/vmmon-only/./include/compat_module.h:27,
 from /tmp/vmware-config1/vmmon-only/linux/driver.c:26:
/usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/msr-index.h:230:1:
warning: this is the location of the previous definition
/tmp/vmware-config1/vmmon-only/linux/driver.c: In function
âLinuxDriverSyncCallOnEachCPUâ:
/tmp/vmware-config1/vmmon-only/linux/driver.c:1423: error: too many
arguments to function âsmp_call_functionâ
/tmp/vmware-config1/vmmon-only/linux/driver.c: In function
âLinuxDriver_Ioctlâ:
/tmp/vmware-config1/vmmon-only/linux/driver.c:1987: error: âstruct
task_structâ has no member named âeuidâ
/tmp/vmware-config1/vmmon-only/linux/driver.c:1987: error: âstruct
task_structâ has no member named âuidâ
/tmp/vmware-config1/vmmon-only/linux/driver.c:1988: error: âstruct
task_structâ has no member named âfsuidâ
/tmp/vmware-config1/vmmon-only/linux/driver.c:1988: error: âstruct
task_structâ has no member named âuidâ
/tmp/vmware-config1/vmmon-only/linux/driver.c:1989: error: âstruct
task_structâ has no member named âegidâ
/tmp/vmware-config1/vmmon-only/linux/driver.c:1989: error: âstruct
task_structâ has no member named âgidâ
/tmp/vmware-config1/vmmon-only/linux/driver.c:1990: error: âstruct
task_structâ has no member named âfsgidâ
/tmp/vmware-config1/vmmon-only/linux/driver.c:1990: error: âstruct
task_structâ has no member named âgidâ
/tmp/vmware-config1/vmmon-only/linux/driver.c:2007: error: too many
arguments to function âsmp_call_functionâ
make[4]: *** [/tmp/vmware-config1/vmmon-only/linux/driver.o] Error 1
make[3]: *** [_module_/tmp/vmware-config1/vmmon-only] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-5-amd64'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config1/vmmon-only'
Unable to

Re: VMware server 2.0 and Debian Squeeze?

2011-05-02 Thread Burhan
Hi Jari,

What is it complaining about?

-B

2011/5/2 Jari Fredriksson 

>
> I went and upgraded my Lenny to Squeeze and now VMware server does not
> compile.
>
> Is it possible, and if it is, how?
>
> Preparing to reinstall lenny now...dammit.
>
> --
>
> A visit to a strange place will bring fresh work.
>
>


VMware server 2.0 and Debian Squeeze?

2011-05-02 Thread Jari Fredriksson

I went and upgraded my Lenny to Squeeze and now VMware server does not
compile.

Is it possible, and if it is, how?

Preparing to reinstall lenny now...dammit.

-- 

A visit to a strange place will bring fresh work.



signature.asc
Description: OpenPGP digital signature