You are not logged in.

#1 2006-10-01 22:55:08

karsten
Member
Registered: 2006-07-14
Posts: 261

Virtualization on Arch64 (qemu, vmware server, etc.)

Does anyone have any of these things working with Arch64? I've been trying to get them all working all day long and nothing goes.  If you have something working what did you do to get it running?

thanks
karsten

Offline

#2 2006-10-02 08:13:57

slubman
Member
From: Grenoble (France)
Registered: 2004-08-04
Posts: 86
Website

Re: Virtualization on Arch64 (qemu, vmware server, etc.)

Vmware only provide 32 bits executables, so without chroot (or multilib ?) no chance to got this working.
i do not try to use qemu, so i can't answer for this.

Offline

#3 2006-10-02 14:33:51

karsten
Member
Registered: 2006-07-14
Posts: 261

Re: Virtualization on Arch64 (qemu, vmware server, etc.)

yeah, i even tried vmware under a chroot, and couldn't get it to work because it got all screwed up when it came to build and install the kernel modules, it still thought it was running on 64-bit...

slubman wrote:

Vmware only provide 32 bits executables, so without chroot (or multilib ?) no chance to got this working.
i do not try to use qemu, so i can't answer for this.

Offline

#4 2006-10-11 17:13:15

jf/
Member
Registered: 2003-10-26
Posts: 79

Re: Virtualization on Arch64 (qemu, vmware server, etc.)

hey guys, dont the latest versions of vmware workstation ($$$) and vmware server (free) support 64-bit host operating systems already? (http://www.vmware.com/support/ws55/doc/releasenotes_ws55.html#552, http://www.vmware.com/pdf/server_datasheet.pdf)

Or is that support only possible because these distros have a 32-bit chroot? I would be interested to know as well if anybody has gotten a virtualization solution (especially vmware) working under arch64.

Offline

#5 2006-10-21 01:07:30

mvinnicius
Member
From: Rio de Janeiro - Brasil
Registered: 2006-02-16
Posts: 86

Re: Virtualization on Arch64 (qemu, vmware server, etc.)

Is there realy no workaround to install vmware on arch64? It's the only thing i couldn't find a solution.

I'll be really sad if I have to go back to the 32 version...


Keep swimming.
Dolly, in Finding Nemo

Offline

#6 2006-10-21 01:29:13

jf/
Member
Registered: 2003-10-26
Posts: 79

Re: Virtualization on Arch64 (qemu, vmware server, etc.)

mvinnicius wrote:

Is there realy no workaround to install vmware on arch64? It's the only thing i couldn't find a solution.

I'll be really sad if I have to go back to the 32 version...

oh hey, i just wrote up a solution for this!!! you're in luck wink In fact, i just finished, and posted this stuff up only just about 10+ (??) minutes ago.... You may see the announcement here

Offline

#7 2006-10-21 14:23:24

mvinnicius
Member
From: Rio de Janeiro - Brasil
Registered: 2006-02-16
Posts: 86

Re: Virtualization on Arch64 (qemu, vmware server, etc.)

Only today i saw your reply...

I'm having some errors on the "make" section...perhaps because i've updated the kernel. I'll restart to try again.


But , anyway, THANKS!!!! I was worried and depressed  big_smile ! The tought of installing some rpm or deb distribution as a base system was killing me. Now I know there's hope!

BTW, your link to wiki in the pipermail included the dot ('"."), so it leads to nowhere. I guess it's easy to figure it out, but i guess you might want to know. In any case i suppressed the dot in this link

Well, let's work...


Keep swimming.
Dolly, in Finding Nemo

Offline

#8 2006-10-21 18:55:11

jf/
Member
Registered: 2003-10-26
Posts: 79

Re: Virtualization on Arch64 (qemu, vmware server, etc.)

mvinnicius wrote:

Only today i saw your reply...

I'm having some errors on the "make" section...perhaps because i've updated the kernel. I'll restart to try again.

Well it definitely works!!! I myself can attest to it... In the process of testing out, and writing this document, i have already done and gone through the whole installation process several times already!!! just to make sure that all the chinks have been worked out - and that i didnt miss anything that somebody new to a chroot (i basically started from a FRESH, newly set up chroot) and to a vmware install couldnt handle.

But , anyway, THANKS!!!! I was worried and depressed  big_smile ! The tought of installing some rpm or deb distribution as a base system was killing me. Now I know there's hope!

oh, there's MORE than hope, man!!! there's CERTAINTY... wink and yes, i will gladly accept ur thanks. smile)) (Oh, but an rpm-based distro??? would definitely be blasphemy... Pls dont go that way. tongue)

BTW, your link to wiki in the pipermail included the dot ('"."), so it leads to nowhere. I guess it's easy to figure it out, but i guess you might want to know. In any case i suppressed the dot in this link

Well, let's work...

yeah, so i figured.... Damn pipermail!!! (oh, brother. Next time i will remember).

Offline

#9 2006-10-21 18:58:12

jf/
Member
Registered: 2003-10-26
Posts: 79

Re: Virtualization on Arch64 (qemu, vmware server, etc.)

oh, and btw - u might like to update ur kernel-headers if all u did was just a selective update on ur kernel. That should take care of the compile problems. Good luck....  big_smile

Offline

#10 2006-10-22 21:20:45

mvinnicius
Member
From: Rio de Janeiro - Brasil
Registered: 2006-02-16
Posts: 86

Re: Virtualization on Arch64 (qemu, vmware server, etc.)

Should I say it works? YEAH, it works!! big_smile

Once more, thanks for your efforts AND your tutorial! Now I can walk on the light side of the force again.


Keep swimming.
Dolly, in Finding Nemo

Offline

#11 2006-10-23 05:57:02

jf/
Member
Registered: 2003-10-26
Posts: 79

Re: Virtualization on Arch64 (qemu, vmware server, etc.)

mvinnicius wrote:

Should I say it works? YEAH, it works!! big_smile

big_smile YEAH, that's COOL!!! i'm glad everything worked out for u - i was about to ask u myself actually....

Once more, thanks for your efforts AND your tutorial! Now I can walk on the light side of the force again.

big_smile

Offline

#12 2007-01-07 21:30:29

karsten
Member
Registered: 2006-07-14
Posts: 261

Re: Virtualization on Arch64 (qemu, vmware server, etc.)

where did the wikki entry go? its blank.  how do you get vmware running on arch64? thanks..

Offline

#13 2007-01-08 19:46:33

[vEX]
Member
From: Sweden
Registered: 2006-11-23
Posts: 450

Re: Virtualization on Arch64 (qemu, vmware server, etc.)

It's right there, if you check closely there's a dot at the end which is caught in the URL, remove it and it'll show.
Or just click here: Installing VMware Server on Arch64


PC: Antec P182B | Asus P8Z77-V PRO | Intel i5 3570k | 16GB DDR3 | GeForce 450GTS | 4TB HDD | Pioneer BDR-207D | Asus Xonar DX | Altec Lansing CS21 | Eizo EV2736W-BK | Arch Linux x86_64
HTPC: Antec NSK2480 | ASUS M3A78-EM (AMD 780G) | AMD Athlon X3 425 | 8GB DDR2 | GeForce G210 | 2TB HDD | Arch Linux x86_64
Server: Raspberry Pi (model B) | 512MB RAM | 750GB HDD | Arch Linux ARM

Offline

#14 2007-01-09 04:42:20

karsten
Member
Registered: 2006-07-14
Posts: 261

Re: Virtualization on Arch64 (qemu, vmware server, etc.)

edit2--i figured it out by using some of the script in the other vmware wiki article that this one links to about changing some references in the .c files to work with the .19 kernel.  now it works smile


edit-- i that that part to work by not being in the chroot, but the second one now fails (vmnet):

$ make -C vmnet-only auto-build HEADER_DIR=/usr/src/linux-`uname -r`/include CC=gcc SUPPORT_SMP=1 GREP=grep IS_GCC_3=no
Using 2.6.x kernel build system.
make: Entering directory `/home/karsten/vmware/vmware-server-distrib/lib/modules/source/vmnet-only'
make -C /usr/src/linux-2.6.19-ARCH/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.19-ARCH'
  CC [M]  /home/karsten/vmware/vmware-server-distrib/lib/modules/source/vmnet-only/driver.o
  CC [M]  /home/karsten/vmware/vmware-server-distrib/lib/modules/source/vmnet-only/hub.o
  CC [M]  /home/karsten/vmware/vmware-server-distrib/lib/modules/source/vmnet-only/userif.o
/home/karsten/vmware/vmware-server-distrib/lib/modules/source/vmnet-only/userif.c: In function 'VNetCopyDatagramToUser':
/home/karsten/vmware/vmware-server-distrib/lib/modules/source/vmnet-only/userif.c:629: error: 'CHECKSUM_HW' undeclared (first use in this function)
/home/karsten/vmware/vmware-server-distrib/lib/modules/source/vmnet-only/userif.c:629: error: (Each undeclared identifier is reported only once
/home/karsten/vmware/vmware-server-distrib/lib/modules/source/vmnet-only/userif.c:629: error: for each function it appears in.)
make[2]: *** [/home/karsten/vmware/vmware-server-distrib/lib/modules/source/vmnet-only/userif.o] Error 1
make[1]: *** [_module_/home/karsten/vmware/vmware-server-distrib/lib/modules/source/vmnet-only] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.19-ARCH'
make: *** [vmnet.ko] Error 2
make: Leaving directory `/home/karsten/vmware/vmware-server-distrib/lib/modules/source/vmnet-only'

i'm trying to compile the modules and am getting this error, can you tell me why? thx

$ make -C vmmon-only auto-build HEADER_DIR=/usr/src/linux-`uname -r`/include CC=/usr/bin/gcc SUPPORT_SMP=1 GREP=grep IS_GCC_3=no
Using 2.6.x kernel build system.
make: Entering directory `/home/karsten/vmware/vmware-server-distrib/lib/modules/source/vmmon-only'
make -C /usr/src/linux-2.6.19-ARCH/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.19-ARCH'
Makefile:492: /usr/src/linux-2.6.19-ARCH/arch/x86_64/Makefile: No such file or directory
make[1]: *** No rule to make target `/usr/src/linux-2.6.19-ARCH/arch/x86_64/Makefile'.  Stop.
make[1]: Leaving directory `/usr/src/linux-2.6.19-ARCH'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/home/karsten/vmware/vmware-server-distrib/lib/modules/source/vmmon-only'

Offline

#15 2007-01-09 06:18:02

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: Virtualization on Arch64 (qemu, vmware server, etc.)

for the last part:

Makefile:492: /usr/src/linux-2.6.19-ARCH/arch/x86_64/Makefile: No such file or directory

our kernel pkg doesn't ship that file as the kernel is not providing any option to do this.

Offline

#16 2007-01-10 03:53:24

karsten
Member
Registered: 2006-07-14
Posts: 261

Re: Virtualization on Arch64 (qemu, vmware server, etc.)

ok i've gotten the vmware program running, but it can't run any virtual machines saying the kernel module can't be found.  i ran those two steps from the wiki to create the modules and they do in fact reside in vmware-server-distrib/lib/modules/source/vmmon-only
but how do i go about loading them?  thanks.

Offline

#17 2007-01-10 15:14:31

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

Re: Virtualization on Arch64 (qemu, vmware server, etc.)

Now there is KVM too.
And recently it got paravirtualization support. smile


to live is to die

Offline

#18 2007-01-11 00:14:36

karsten
Member
Registered: 2006-07-14
Posts: 261

Re: Virtualization on Arch64 (qemu, vmware server, etc.)

what are we supposed to use in arch linux for networking setup with vmware?  i've tried all options and it cannot detect the network card in all cases.  for bridged it says this:

Could not open /dev/vmnet0: No such file or directory
Virtual device Ethernet0 will start disconnected.

what is the option for arch linux?

thanks..

Offline

#19 2007-01-11 11:59:35

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

Re: Virtualization on Arch64 (qemu, vmware server, etc.)

karsten wrote:

what are we supposed to use in arch linux for networking setup with vmware?  i've tried all options and it cannot detect the network card in all cases.  for bridged it says this:

Could not open /dev/vmnet0: No such file or directory
Virtual device Ethernet0 will start disconnected.

Do you mean vmware guest system?
you need pcnet32 module


to live is to die

Offline

#20 2007-01-12 02:34:35

karsten
Member
Registered: 2006-07-14
Posts: 261

Re: Virtualization on Arch64 (qemu, vmware server, etc.)

yeah i'm trying to get network working under winXP guest.  tried loading pcnet32 but same error.. now what?

i see you can edit /etc/vmware/locations to put in your network devices:

answer VNET_0_INTERFACE wlan0
remove_file /dev/vmnet0
file /dev/vmnet0
remove_file /dev/vmnet8
file /dev/vmnet8
answer VNET_8_NAT yes
answer VNET_8_HOSTONLY_HOSTADDR 192.168.17.1
answer VNET_8_HOSTONLY_NETMASK 255.255.255.0
directory /etc/vmware/vmnet8
directory /etc/vmware/vmnet8/dhcpd
file /etc/vmware/vmnet8/dhcpd/dhcpd.conf 1168320077
file /etc/vmware/vmnet8/dhcpd/dhcpd.leases
file /etc/vmware/vmnet8/dhcpd/dhcpd.leases~
directory /etc/vmware/vmnet8/nat
file /etc/vmware/vmnet8/nat/nat.conf 1168320077
remove_file /dev/vmnet1
file /dev/vmnet1

but what does arch call our network devices? i'm looking in /dev and don't see anything.. thanks

Offline

#21 2007-01-12 12:33:23

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

Re: Virtualization on Arch64 (qemu, vmware server, etc.)

karsten wrote:

yeah i'm trying to get network working under winXP guest.  tried loading pcnet32 but same error.. now what?

Ah no, pcnet32 module should be used on Linux guests, you don't need it on host.

Are you sure you have built and installed vmware correctly?


to live is to die

Offline

#22 2007-01-12 21:54:45

karsten
Member
Registered: 2006-07-14
Posts: 261

Re: Virtualization on Arch64 (qemu, vmware server, etc.)

what u mean? i'm trying to run winxp within arch linux.  how do i load pcnet32 in winxp.. yes vmware works fine, windows runs perfectly, but no network can be set up between them.  ty

Offline

Board footer

Powered by FluxBB