vmware configuration
hi everyone
I installed vmware6 on my fedora7 according this website:
http://news.softpedia.com/news/How-t...-7-60587.shtml
but i couldn't configure it. and gave me this message:
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.
meanwhile there is vmware rpm and patch-vmnet-for-linux-2.6.22.1.gz in my /home.
there was a warning message in that link that said:
WARNING: Replace your download dir with the path of the folder where you downloaded the patch. Usual it's /home/yourusername (e.g. /home/marius/patch-vmnet-for-linux-2.6.22.1.gz)
but i don't understand.









hi everyone
i installed vmware workstation6 on fedora7 but i couldn't configure it.i i congured i t according this situation:
[root@localhost ~]# vmware-config.pl
Making sure services for VMware Workstation are stopped.
Stopping VMware services:
Virtual machine monitor [ OK ]
Blocking file system: [ OK ]
Bridged networking on /dev/vmnet0 [ OK ]
Host network detection [ OK ]
DHCP server on /dev/vmnet1 [ OK ]
Host-only networking on /dev/vmnet1 [ OK ]
DHCP server on /dev/vmnet8 [ OK ]
NAT service on /dev/vmnet8 [ OK ]
Host-only networking on /dev/vmnet8 [ OK ]
Virtual ethernet [ OK ]
Configuring fallback GTK+ 2.4 libraries.
In which directory do you want to install the theme 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 Workstation 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.22.9-91.fc7/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-config6/vmmon-only'
make -C /lib/modules/2.6.22.9-91.fc7/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.22.9-91.fc7-i686'
CC [M] /tmp/vmware-config6/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config6/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config6/vmmon-only/common/comport.o
CC [M] /tmp/vmware-config6/vmmon-only/common/cpuid.o
CC [M] /tmp/vmware-config6/vmmon-only/common/hash.o
CC [M] /tmp/vmware-config6/vmmon-only/common/memtrack.o
CC [M] /tmp/vmware-config6/vmmon-only/common/phystrack.o
CC [M] /tmp/vmware-config6/vmmon-only/common/task.o
CC [M] /tmp/vmware-config6/vmmon-only/common/vmciContext.o
CC [M] /tmp/vmware-config6/vmmon-only/common/vmciDatagram.o
CC [M] /tmp/vmware-config6/vmmon-only/common/vmciDriver.o
CC [M] /tmp/vmware-config6/vmmon-only/common/vmciDs.o
CC [M] /tmp/vmware-config6/vmmon-only/common/vmciGroup.o
CC [M] /tmp/vmware-config6/vmmon-only/common/vmciHashtable.o
CC [M] /tmp/vmware-config6/vmmon-only/common/vmciProcess.o
CC [M] /tmp/vmware-config6/vmmon-only/common/vmciResource.o
CC [M] /tmp/vmware-config6/vmmon-only/common/vmciSharedMem.o
CC [M] /tmp/vmware-config6/vmmon-only/common/vmx86.o
CC [M] /tmp/vmware-config6/vmmon-only/vmcore/moduleloop.o
LD [M] /tmp/vmware-config6/vmmon-only/vmmon.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/vmware-config6/vmmon-only/vmmon.mod.o
LD [M] /tmp/vmware-config6/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.22.9-91.fc7-i686'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config6/vmmon-only'
The module loads perfectly in the running kernel.
Extracting the sources of the vmblock module.
Building the vmblock module.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config6/vmblock-only'
make -C /lib/modules/2.6.22.9-91.fc7/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.22.9-91.fc7-i686'
CC [M] /tmp/vmware-config6/vmblock-only/linux/block.o
CC [M] /tmp/vmware-config6/vmblock-only/linux/control.o
CC [M] /tmp/vmware-config6/vmblock-only/linux/dbllnklst.o
CC [M] /tmp/vmware-config6/vmblock-only/linux/dentry.o
CC [M] /tmp/vmware-config6/vmblock-only/linux/file.o
CC [M] /tmp/vmware-config6/vmblock-only/linux/filesystem.o
CC [M] /tmp/vmware-config6/vmblock-only/linux/inode.o
CC [M] /tmp/vmware-config6/vmblock-only/linux/module.o
CC [M] /tmp/vmware-config6/vmblock-only/linux/stubs.o
CC [M] /tmp/vmware-config6/vmblock-only/linux/super.o
LD [M] /tmp/vmware-config6/vmblock-only/vmblock.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/vmware-config6/vmblock-only/vmblock.mod.o
LD [M] /tmp/vmware-config6/vmblock-only/vmblock.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.22.9-91.fc7-i686'
cp -f vmblock.ko ./../vmblock.o
make: Leaving directory `/tmp/vmware-config6/vmblock-only'
The module loads perfectly in the running kernel.
You have already setup networking.
Would you like to skip networking setup and keep your old settings as they are?
(yes/no) [no]
Do you want networking for your virtual machines? (yes/no/help) [yes]
Would you prefer to modify your existing networking configuration using the
wizard or the editor? (wizard/editor/help) [wizard]
The following bridged networks have been defined:
. vmnet0 is bridged to eth0
All your ethernet interfaces are already bridged.
Do you want to be able to use NAT networking in your virtual machines? (yes/no)
[yes] no
Removing a NAT network for vmnet8.
Do you want to be able to use host-only networking in your virtual machines?
[no]
Removing a host-only network for vmnet1.
Extracting the sources of the vmnet module.
Building the vmnet module.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config6/vmnet-only'
make -C /lib/modules/2.6.22.9-91.fc7/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.22.9-91.fc7-i686'
CC [M] /tmp/vmware-config6/vmnet-only/driver.o
CC [M] /tmp/vmware-config6/vmnet-only/hub.o
CC [M] /tmp/vmware-config6/vmnet-only/userif.o
/tmp/vmware-config6/vmnet-only/userif.c: In function ‘VNetCopyDatagramToUser’:
/tmp/vmware-config6/vmnet-only/userif.c:630: error: ‘const struct sk_buff’ has no member named ‘h’
/tmp/vmware-config6/vmnet-only/userif.c:630: error: ‘const struct sk_buff’ has no member named ‘nh’
/tmp/vmware-config6/vmnet-only/userif.c:636: error: ‘const struct sk_buff’ has no member named ‘h’
make[2]: *** [/tmp/vmware-config6/vmnet-only/userif.o] Error 1
make[1]: *** [_module_/tmp/vmware-config6/vmnet-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.22.9-91.fc7-i686'
make: *** [vmnet.ko] Error 2
make: Leaving directory `/tmp/vmware-config6/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.
This looks like VMWare doesn't support your kernel.
May I recommend Qemu ? It should be available in Fedora's repositories (there should be working HOWTOs as well)
May I recommend Qemu ? It should be available in Fedora's repositories (there should be working HOWTOs as well)
It is in the repository, as well as KVM, which I would recommend if your CPU offers Virtualization-support.
This you can find out by trying one of the following:
For Intel:
cat /proc/cpuinfo | grep vmxFor AMD:
cat /proc/cpuinfo | grep svmIf nothing shows on these you'll have to go with QEmu, otherwise you can use KVM, which offers more performance.
If you have to go with QEmu, install KQEmu. This will give you a kernel-module that speeds up QEmu quite significantly.
Use of QEmu/KVM is actually quite easy once you know the parameters you need.
The most important ones are
If you specify a CD-ROM and want to boot from it you'll need -boot d
To create images you use qemu-img, I'd recommend to use the QCow2-format for images, since they grow as they are used and support snapshots (which can be used to resume something you're doing at a later time).
You can create an image with a line like this:
qemu-img create -f qcow2 Filename Size in GBGExample: qemu-img create -f qcow2 testimage.img 4G
For more information on QEmu just check the linked site. And since KVM is more or less only a modified QEmu, most information you find there also applies to KVM.
hi my freinds
thank you for your offer.i install Qemu from yum. and i installed xp from this command:
#qemu-img create winxp.img 5120M
in /root
#qemu -boot d -hda /root/winxp.img /dev/cdrom -m 256 -localtime
but my install very slow and now slower than ago.
You could install KVM (it should be available in Fedora repository) and then instead of qemu run kvm command (just replace it above). KVM should be noticeably faster.
As said, for KVM you need support for virtualization in your CPU. You can test it with the commands I posted.
And the binary for KVM in Fedora is called qemu-kvm, not only kvm ;-)
If your CPU lacks virtualization-support I strongly recommend installing KQEmu, the accelerator-module. Then QEmu gets quite usable.
Oh, my bad, you're right.
hi everyone
I am happy now. finally I can configure vmware6 on fedora7 from a wonderful patch. you can refer to this site and examine it:
http://communities.vmware.com/message/76957
thank you very much Mr.Saiedi