View previous topic :: View next topic |
Author |
Message |
tuxian l33t

Joined: 26 Jan 2004 Posts: 766 Location: Austria
|
Posted: Sun Feb 13, 2005 2:52 pm Post subject: |
|
|
But the https web interface on port 8333. |
|
Back to top |
|
 |
saffy n00b

Joined: 31 Jan 2004 Posts: 14 Location: London, UK
|
Posted: Sat Mar 19, 2005 4:04 pm Post subject: |
|
|
The VMWare Management Interface that comes with GSX 3.0 is horribly buggy and keeps shutting itself down. I recommend you use 3.1 as it appears to be fixed.
Also, if you are running on a recent kernel e.g. 2.6.11, you would benefit from the latest vmware-any-any patch
http://ftp.cvut.cz/vmware/vmware-any-any-update89.tar.gz
I have VMWare GSX server running on a 12GB ram, 2x 2.8GHz Xeons Gentoo Server  _________________ ===============================>
saffy |
|
Back to top |
|
 |
Bobthegiant n00b

Joined: 07 Mar 2005 Posts: 8
|
Posted: Tue May 17, 2005 7:07 pm Post subject: |
|
|
Hi,
I tried the steps in this fine howto but I'm running into some problems.
At Step 4 you say to unpack and run the install sripts for VMware-gsx-3.x.tgz and VMware-mui-3.x.tgz. I do this and after I run the "vmware-install.pl" command I get this message informing me to run "vmware-config.pl", see below.
The installation of VMware GSX Server 3.1.0 build-9089 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/gsx/bin/vmware-uninstall.pl".
Before running VMware GSX Server for the first time, you need to configure it by
invoking the following command: "vmware-config.pl". Do you want this
program to invoke the command for you now? [yes] n
Enjoy,
--the VMware team
You don't mention having to this in the howto, is it neccessry? Running "vmware-config.pl" gives me this error.
Trying to find a suitable vmmon module for your running kernel.
None of the pre-built vmmon modules for VMware GSX 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.11-gentoo-r6-m2/build/include]
Extracting the sources of the vmmon module.
Building the vmmon module.
It starts compiling then gives up with this error.
Building modules, stage 2.
MODPOST
*** Warning: "skb_copy_datagram" [/tmp/vmware-config2/vmnet-only/vmnet.ko] undefined!
CC /tmp/vmware-config2/vmnet-only/vmnet.mod.o
LD [M] /tmp/vmware-config2/vmnet-only/vmnet.ko
make[1]: Leaving directory `/usr/src/linux-2.6.11-gentoo-r6'
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory `/tmp/vmware-config2/vmnet-only'
Unable to make a vmnet module that can be loaded in the running kernel:
insmod: error inserting '/tmp/vmware-config2/vmnet.o': -1 Unknown symbol in module
There is probably a slight difference in the kernel configuration between the
set of C header files you specified and your running kernel. You may want to
rebuild a kernel based on that directory, or specify another directory.
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.
The URLs listed are not very helpful. One of them says the compilation fails because the header files I'm using to compile the modules are different than the headers used to compile the kernel. I can't see how this is possible, but maybe an "emerge world" modified something so I set about recompiling the kernel again. No luck I get the same error with the new kernel. Has anyone else run into this?
Any help or insight would be appreciated.
Thanks |
|
Back to top |
|
 |
tuxian l33t

Joined: 26 Jan 2004 Posts: 766 Location: Austria
|
Posted: Tue May 17, 2005 7:31 pm Post subject: |
|
|
Do you have the latest version of vmware-any-any-update (http://ftp.cvut.cz/vmware/ ) installed?
Last edited by tuxian on Wed May 18, 2005 8:34 pm; edited 1 time in total |
|
Back to top |
|
 |
Bobthegiant n00b

Joined: 07 Mar 2005 Posts: 8
|
Posted: Wed May 18, 2005 6:43 pm Post subject: |
|
|
Yup!! That did it, thanks. I was able to compile the modules without any problems.
The vmware processes are up and running. Now to configure gentoo start-stop scripts and create a virtual machine.
Thanks again. |
|
Back to top |
|
 |
GurliGebis Retired Dev


Joined: 08 Aug 2002 Posts: 509
|
Posted: Sat May 21, 2005 2:45 pm Post subject: |
|
|
It's this possible without a X server?
If I use the console app from another computer, I have no need for the MUI package, right? _________________ Queen Rocks. |
|
Back to top |
|
 |
tuxian l33t

Joined: 26 Jan 2004 Posts: 766 Location: Austria
|
Posted: Sat May 21, 2005 4:26 pm Post subject: |
|
|
No you don't need the mui-package and also no xserver.
On my gsx-server there is no xserver running, i only use it remote with vmware-console.
But the mui-package also doesn't need a xserver, it's a nice web interface to control your VMs remotely. |
|
Back to top |
|
 |
GurliGebis Retired Dev


Joined: 08 Aug 2002 Posts: 509
|
Posted: Sat May 21, 2005 5:41 pm Post subject: |
|
|
okay, it's a shame it requires modules, would really like to be able to disable module support in my kernel, like I have now. _________________ Queen Rocks. |
|
Back to top |
|
 |
Bobthegiant n00b

Joined: 07 Mar 2005 Posts: 8
|
Posted: Wed Jun 08, 2005 7:46 pm Post subject: Re: VMware GSX Server on Gentoo HOWTO |
|
|
Quote: | VMware GSX Server 3.0 now supports both the Linux 2.4 and 2.6 kernel inside and out (as the host or a guest). However, I have had very bad performance with 2.6 so you may want to start with 2.4. |
I followed this guide as well as adding the any-any patch and I'm having great success with a 2.6.11 kernel on the host OS with Windows XP, Windows 2003, Solaris 10, or a linux 2.4 guest OS.
However, any guest running a 2.6 kernel is hournedously slow. If I boot a knoppix 3.4 cd with the 2.4 kernel I get pretty good performance. When both the host and guest are idle, "top" (on either host or guest) reports between 95% and 97% idle. If I reboot the same knoppix cd but choose the 2.6 kernel, top reports 30% idle, 20% sy and 50% si on the guest, and shows 10% us, 45% sy, and 45% id on the host OS. This is with just the one guest running idle!
I also notice that it takes about 3 min to boot the older 2.4 kernel Gentoo livecd based on the 1.4 profile. Where as it takes me 37 min to boot the new livecd with the 2.6 kernel based on 2005.0 profile, and I had to use the gentoo-nofb kernel or the boot wouldn't even complete.
GSX 3.0 says it supports 2.6 kernels in both the host and guest. I'm running 3.1 so you'd think it would be more stable. Has anybody managed to get a 2.6 host and a 2.6 guest to work well together on GSX 3.1? Is there someting I need to add/remove from the kernel on either, i.e. turn off premptive multitasking, etc? My goal is to have a barebones 2.6 Gentoo instance on the host, with 2 customized Gentoo guest OSes, and one Solaris 10 guest OS.
Any insight into these performance issues would be appreciated.
Thanks |
|
Back to top |
|
 |
GurliGebis Retired Dev


Joined: 08 Aug 2002 Posts: 509
|
Posted: Wed Jun 08, 2005 7:49 pm Post subject: |
|
|
Is there some way to merge the network drivers into the kernel source tree, so I can have them without supporting modules? _________________ Queen Rocks. |
|
Back to top |
|
 |
musicman_ace n00b


Joined: 12 Feb 2005 Posts: 16 Location: Indiana
|
Posted: Tue Jun 28, 2005 7:34 pm Post subject: |
|
|
emerge xfree doesn't work. Should I be trying to emerge xorg-x11? _________________ I'll think of something to put here |
|
Back to top |
|
 |
Edweirdo Guru


Joined: 28 Jan 2003 Posts: 353 Location: Boston, Mass, USA
|
Posted: Tue Jul 05, 2005 2:53 am Post subject: |
|
|
musicman_ace wrote: | emerge xfree doesn't work. Should I be trying to emerge xorg-x11? |
Yes, you can use xorg-x11 instead of xfree.
Sorry, I haven't updated this thread in awhile. I am running 3.1 but it was an upgrade. 3.2 is out now and I haven't gotten it because my license expired and I'm having trouble getting my work to blah blah blah (you know the drill). _________________ Life is too short and too important to { take seriously | use Windows }. |
|
Back to top |
|
 |
GurliGebis Retired Dev


Joined: 08 Aug 2002 Posts: 509
|
Posted: Tue Jul 05, 2005 4:48 pm Post subject: |
|
|
well, isn't it possible to integrate the driver into the kernel, so module support in the kernel isn't required? _________________ Queen Rocks. |
|
Back to top |
|
 |
thrashed Apprentice

Joined: 01 Sep 2004 Posts: 292
|
Posted: Wed Jul 06, 2005 6:51 am Post subject: |
|
|
I have some questions on this howto!
I got the GSX server without errors installed. I installed only the GSX server on my gentoo server, no Client Interface or Webmanagement Console. I started the service without any problems. ps ax shows me that the service is up.
On another Gentoo machine i installed the Vmware Client. I get the Client started, i get the "gsx server"-service on the other gentoo server machince started, but i am not able to connect from the client to the server.
When i nmap the servers vmware 902 port, i see that it's closed?! Of course i can ping the server an all other services on the machine like web, mail and so on make no problems. Has anyone the same problems?
Sorry for my bad english, best wished
thrashed  |
|
Back to top |
|
 |
tuxian l33t

Joined: 26 Jan 2004 Posts: 766 Location: Austria
|
Posted: Wed Jul 06, 2005 9:01 am Post subject: |
|
|
Is xinitd started?
In the file /etc/xinetd.conf the line "only_from" must be commented or you add your machine!
What happens if you run nmap on your gsx machine? Is port 902 open?
Code: | defaults
{
# only_from = localhost
instances = 60
log_type = SYSLOG authpriv info
log_on_success = HOST PID
log_on_failure = HOST
cps = 25 30
}
includedir /etc/xinetd.d |
|
|
Back to top |
|
 |
thrashed Apprentice

Joined: 01 Sep 2004 Posts: 292
|
Posted: Wed Jul 06, 2005 10:22 am Post subject: |
|
|
tuxian wrote: | Is xinitd started?
In the file /etc/xinetd.conf the line "only_from" must be commented or you add your machine!
What happens if you run nmap on your gsx machine? Is port 902 open?
|
my xinetd.conf looks NOW like yours. i commented it in the config file. service is started.
when i run nmap it looks like this:
Code: | # nmap -p 902 localhost
Starting nmap 3.81 ( http://www.insecure.org/nmap/ ) at 2005-07-06 12:19 CEST
Interesting ports on localhost (127.0.0.1):
PORT STATE SERVICE
902/tcp closed iss-realsecure-sensor
|
i have no idea, what i dismissed  |
|
Back to top |
|
 |
tuxian l33t

Joined: 26 Jan 2004 Posts: 766 Location: Austria
|
Posted: Wed Jul 06, 2005 10:37 am Post subject: |
|
|
Do you have this file /etc/xinetd.d/vmware-authd ?
Code: | # default: on
# description: The VMware remote access authentification daemon
service vmware-authd
{
disable = no
port = 902
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/sbin/vmware-authd
}
|
Are the vmware-daemons started?
Did you allow while running the configure-script for the gsx server it should accept connections via port 902?
I also had this problem, after a HD crash I was forced to perform a fresh stage1 install and then it worked immediately. |
|
Back to top |
|
 |
thrashed Apprentice

Joined: 01 Sep 2004 Posts: 292
|
Posted: Thu Jul 07, 2005 7:31 am Post subject: |
|
|
i got some problems with the xinetd and xorg files :/
re-emerged and configured those and now the service starts and shows up when i test it with netstat.
with the help of you all, i got this problem solved.
now i can connect via vmware-console-client to the vmware-gsx-server.
i think the basic configuration is done and works.
i have no floppy in my gsx server machine and now i have troubles with bootable cd's. Not only one bootable cd is booting any operating system (from an ip-cop over an bsd to an w2k3 server - nothing would boot). I am at work now, but when i have enough time i'll figure out whats my problem concerning on my bootable media problem. Is it possible that there are problems, because of the fact that i use a 3ware Raid Controller for my two IDE disks? But i can't believe that this goes hand in hand with the bootable media problem ...
thank you all so much.
best wishes and sorry again for my bad english  |
|
Back to top |
|
 |
tuxian l33t

Joined: 26 Jan 2004 Posts: 766 Location: Austria
|
Posted: Thu Jul 07, 2005 9:33 am Post subject: |
|
|
Do you have "Legacy emulation" for your CD-ROM devices enabled?
If not enable it! |
|
Back to top |
|
 |
thrashed Apprentice

Joined: 01 Sep 2004 Posts: 292
|
Posted: Thu Jul 07, 2005 9:43 am Post subject: |
|
|
tuxian wrote: | Do you have "Legacy emulation" for your CD-ROM devices enabled?
If not enable it! |
My first try was with a disabled "legacy emulation" setting. Afterwards i tried it with the enabled setting. When i disable legacy emulation nothing happens and when i enable the legacy emulation and reset my virtual host the cdrom is running and the cd-rom icon is blinking in the vmware-console on the right bottom. But nothing happens, i can't see anything ...
My cdrom setting is /dev/hda
At the vmware forum i read that i should give "ln -sf /dev/hda /dev/cdrom/" a try.
hmmm |
|
Back to top |
|
 |
tuxian l33t

Joined: 26 Jan 2004 Posts: 766 Location: Austria
|
Posted: Thu Jul 07, 2005 9:58 am Post subject: |
|
|
Do you have generelly access to the CD-ROM device in your virtual machine?
I think creating an symlink won't help.
Lets try this:
Create a ISO-Image of you bootable CD-ROM:
dd if=/dev/hda of=name.iso
In vmware instead of a CD-ROM device you choose the iso-image!
On my gsx-server booting of a bootable only works with "Legacy emulation" enabled!
If your CD-ROM device in vmware is configured as SCSI device try it as IDE device!
EDIT: Do you see the BIOS on your VM when you turn it on? |
|
Back to top |
|
 |
thrashed Apprentice

Joined: 01 Sep 2004 Posts: 292
|
Posted: Fri Jul 08, 2005 5:52 am Post subject: |
|
|
tuxian wrote: | EDIT: Do you see the BIOS on your VM when you turn it on? |
No. that's my problem. I can't see anything belonging to a computer startup. I only see the vmware-client gui. I can create/delete and make some options to the the vmware virtual hosts. but when i start i can't see anything, i only see the options of this virtual host!
I also can't boot with an iso-image. I tried it with an ipcop image - But nothing happens. but cdrom icon on the bottom right blinks green as hell. It behaves like it found the image or cdrom, but nothing to see
I didn't install the mui package, should i do that? But i don't think this will solve my problem ... :/
best wishes
thrashed |
|
Back to top |
|
 |
tuxian l33t

Joined: 26 Jan 2004 Posts: 766 Location: Austria
|
Posted: Fri Jul 08, 2005 6:44 am Post subject: |
|
|
Yes installing the mui package won't help.
It's a permission problem. I had it some time ago.
Check the permissions of the files in the VM directory (e.g. /vmware).
On my VM directory (/vmware) the sticky bit is set:
drwxrwxrwt 5 markus users 264 2. Jul 01:34 vmware
I don't know if it is really necessary but you may try it:
e.g.:
Do you try it as ordinary user or as user root?
On my machine normally I'm logged in as ordinary user but it works for both cases.
The permissions of the files in the directory:
Quote: |
markus@markus: pts/3: 5 files 1,0Kb -> ls -l /vmware/
insgesamt 1041908
-r--r--r-- 1 root root 1474560 23. Mai 02:52 boot.img
-rw-r--r-- 1 markus users 334358528 26. Mai 23:26 klax-kde-3.4.1.iso
-rw-r--r-- 1 markus users 14610432 7. Apr 01:39 ReactOS.iso
drwxr-xr-x 2 markus users 296 7. Jul 21:44 SUSE Linux 9.3
drwxr-xr-x 2 markus users 232 27. Jun 23:33 Ubuntu
drwxr-xr-x 2 markus users 608 7. Jul 21:24 winXPPro
-rwxrwxrwx 1 markus users 715425792 23. Mai 02:47 zeta_neo_deluxe.iso |
If you are logged in as user you may try:
chown -R user:group /vmware
chmod -R 755 /vmware |
|
Back to top |
|
 |
thrashed Apprentice

Joined: 01 Sep 2004 Posts: 292
|
Posted: Fri Jul 08, 2005 6:49 pm Post subject: |
|
|
Yeah - I found the problem, but i don't know how to solve it!
i have exactly the same problem like this guy:
https://forums.gentoo.org/viewtopic-t-341604-highlight-vmwareconsole.html
i boot win xp 2 times a month, so i totally forgot that i have a dualboot system I installed the windows version of the vmware-console logged in at the GSX server boot up a bootable CD and everything worked fine so that i could see a bootscreen from a virtual machine. So I can say that the gsx server is up and running
I want to get the vmware-console working on my gentoo machine. as i mentioned, i have the same problems like the guy (see the link above).
I hope anyone can help me on this problem  |
|
Back to top |
|
 |
thrashed Apprentice

Joined: 01 Sep 2004 Posts: 292
|
Posted: Mon Jul 11, 2005 10:34 am Post subject: |
|
|
nobody any idea?  |
|
Back to top |
|
 |
|