2.6.3x kernellerinde vmware 7 kurulum sorunu

/tmp/vmware-root/modules/vmnet-only/vnetUserListener.c: In function ‘VNetUserListenerEventHandler’:
/tmp/vmware-root/modules/vmnet-only/vnetUserListener.c:240: error: ‘TASK_INTERRUPTIBLE’ undeclared (first use in this function)
/tmp/vmware-root/modules/vmnet-only/vnetUserListener.c:240: error: (Each undeclared identifier is reported only once
/tmp/vmware-root/modules/vmnet-only/vnetUserListener.c:240: error: for each function it appears in.)
/tmp/vmware-root/modules/vmnet-only/vnetUserListener.c: In function ‘VNetUserListenerRead’:
/tmp/vmware-root/modules/vmnet-only/vnetUserListener.c:282: error: ‘TASK_INTERRUPTIBLE’ undeclared (first use in this function)
/tmp/vmware-root/modules/vmnet-only/vnetUserListener.c:282: error: implicit declaration of function ‘signal_pending’
/tmp/vmware-root/modules/vmnet-only/vnetUserListener.c:282: error: implicit declaration of function ‘schedule’
make[4]: *** [/tmp/vmware-root/modules/vmnet-only/vnetUserListener.o] Error 1
make[3]: *** [_module_/tmp/vmware-root/modules/vmnet-only] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2

loglarda yukarıdaki şekilde bir hata varsa aşağıdaki komutları çalıştırın. (debian 2.6.32 kernel ile denenmiştir)

# cd /tmp
# tar xf /usr/lib/vmware/modules/source/vmnet.tar
# cd vmnet-only
# vim vnetUserListener.c

vim yerine başka bir editör kullanabilirsiniz. doyayı açtıktan sonra 37. satıra

#include "compat_sched.h"

yazın ve kaydedip çıkın. daha sonra

# cd /tmp
# tar cf /usr/lib/vmware/modules/source/vmnet.tar vmnet-only
# vmware-modconfig --console --install-all
Bookmark and Share
Tags: , ,

Related posts

Bilgi Ve Deneyim

Comments (1)

Permalink

wordpress denemek

vmware veya virtualbox gibi sanal sistemler ile wordpress denemek isteyenlere kolay bir yöntem

http://www.turnkeylinux.org/wordpress

adresinden appliance indirin ve istediğiniz gibi kurcalayın

Bookmark and Share
Tags: , , ,

Related posts

Bilgi Ve Deneyim

Comments (0)

Permalink

komut satırından vmware çalıştırma

eğer ssh vb bir sistem üzerinden veya grafik ekran olmadan bir şekilde vmware üzerindeki bir sanal makinayı çalıştırmanız gerek olursa işte komut

vmrun -T ws start vmx_dosyasinin_tam_adresi.vmx nogui

eğer workstation kullanıyorsanız -T ws server kullanıyorsanız -T server

nogui verdiğiniz zaman grafik ekraana ihtiyaç duymadan açar.

start yerine koyabileceğiniz diğer komutlar

stop : durdurmak için
reset : resetlemek için
suspend : uyutmak için
pause : pause moda geçmek için
unpause : pause durumundan kurtarmak için

detaylı bilgi için vmrun komutunu çalıştırın. şu parametreleri görürsünüz.


Usage: vmrun [AUTHENTICATION-FLAGS] COMMAND [PARAMETERS]

AUTHENTICATION-FLAGS
--------------------
These must appear before the command and any command parameters.

   -h   (not needed for Workstation)
   -P   (not needed for Workstation)
   -T  (ws|server|server1|fusion)
     for example, use '-T server' for Server 2.0
                  use '-T server1' for Server 1.0
   -u   (not needed for Workstation)
   -p
  (not needed for Workstation)
   -gu 
   -gp


POWER COMMANDS           PARAMETERS           DESCRIPTION
--------------           ----------           -----------
start                    Path to vmx file     Start a VM or Team
                         [gui|nogui]

stop                     Path to vmx file     Stop a VM or Team
                         [hard|soft]

reset                    Path to vmx file     Reset a VM or Team
                         [hard|soft]

suspend                  Path to vmx file     Suspend a VM or Team
                         [hard|soft]

pause                    Path to vmx file     Pause a VM

unpause                  Path to vmx file     Unpause a VM

SNAPSHOT COMMANDS        PARAMETERS           DESCRIPTION
-----------------        ----------           -----------
listSnapshots            Path to vmx file     List all snapshots in a VM

snapshot                 Path to vmx file     Create a snapshot of a VM
                         Snapshot name

deleteSnapshot           Path to vmx file     Remove a snapshot from a VM
                         Snapshot name

revertToSnapshot         Path to vmx file     Set VM state to a snapshot
                         Snapshot name

RECORD/REPLAY COMMANDS   PARAMETERS           DESCRIPTION
----------------------   ----------           -----------
beginRecording           Path to vmx file     Begin recording a VM
                         Snapshot name

endRecording             Path to vmx file     End recording a VM

beginReplay              Path to vmx file     Begin replaying a VM
                         Snapshot name

endReplay                Path to vmx file     End replaying a VM

GUEST OS COMMANDS        PARAMETERS           DESCRIPTION
-----------------        ----------           -----------
runProgramInGuest        Path to vmx file     Run a program in Guest OS
                         [-noWait]
                         [-activeWindow]
                         [-interactive]
                         Complete-Path-To-Program
                         [Program arguments]

fileExistsInGuest        Path to vmx file     Check if a file exists in Guest OS
                         Path to file in guest

setSharedFolderState     Path to vmx file     Modify a Host-Guest shared folder
                         Share name
                         Host path
                         writable | readonly

addSharedFolder          Path to vmx file     Add a Host-Guest shared folder
                         Share name
                         New host path

removeSharedFolder       Path to vmx file     Remove a Host-Guest shared folder
                         Share name

listProcessesInGuest     Path to vmx file     List running processes in Guest OS

killProcessInGuest       Path to vmx file     Kill a process in Guest OS
                         process id

runScriptInGuest         Path to vmx file     Run a script in Guest OS
                         Interpreter path
                         script_text

deleteFileInGuest        Path to vmx file     Delete a file in Guest OS
                         Path in guest

createDirectoryInGuest   Path to vmx file     Create a directory in Guest OS
                         Directory path in guest

deleteDirectoryInGuest   Path to vmx file     Delete a directory in Guest OS
                         Directory path in guest

listDirectoryInGuest     Path to vmx file     List a directory in Guest OS
                         Directory path in guest

copyFileFromHostToGuest  Path to vmx file     Copy a file from host OS to guest OS
                         Path on host
                         Path in guest

copyFileFromGuestToHost  Path to vmx file     Copy a file from guest OS to host OS
                         Path in guest
                         Path on host

renameFileInGuest        Path to vmx file     Rename a file in Guest OS
                         Original name
                         New name

captureScreen            Path to vmx file     Capture the screen of the VM to a local file
                         Path on host

writeVariable            Path to vmx file     Write a variable in the VM state
                         [runtimeConfig|guestEnv]
                         variable name
                         variable value

readVariable             Path to vmx file     Read a variable in the VM state
                         [runtimeConfig|guestEnv]
                         variable name

VPROBE COMMANDS          PARAMETERS           DESCRIPTION
---------------          ----------           -----------
vprobeVersion            Path to vmx file     List VP version

vprobeLoad               Path to vmx file     Load VP script
                         'VP script text'

vprobeReset              Path to vmx file     Disable all vprobes

vprobeListProbes         Path to vmx file     List probes

vprobeListGlobals        Path to vmx file     List global variables

GENERAL COMMANDS         PARAMETERS           DESCRIPTION
----------------         ----------           -----------
list                                          List all running VMs

upgradevm                Path to vmx file     Upgrade VM file format, virtual hw

installtools             Path to vmx file     Install Tools in Guest

clone                    Path to vmx file     Create a copy of the VM
                         Path to destination vmx file
                         full|linked
                         [Snapshot name]

Examples:

Starting a virtual machine with Workstation on a Windows host
   vmrun -T ws start "c:\my VMs\myVM.vmx"

Stopping a virtual machine with Server on a linux host
   vmrun -T server -h https://myHost.com/sdk -u hostUser -p hostPassword stop "[storage1] vm/myVM.vmx"

Running a program in a virtual machine with Workstation on a Windows host with Windows guest
   vmrun -T ws -gu guestUser -gp guestPassword runProgramInGuest "c:\my VMs\myVM.vmx" "c:\Program Files\myProgram.exe"

Running a program in a virtual machine with Server on a linux host with linux guest
   vmrun -T server -h https://myHost.com/sdk -u hostUser -p hostPassword -gu guestUser -gp guestPassword runProgramInGuest "[storage1] vm/myVM.vmx" /usr/bin/X11/xclock -display :0

Creating a snapshot of a virtual machine with Workstation on a Windows host
   vmrun -T ws snapshot "c:\my VMs\myVM.vmx" mySnapshot

Reverting to a snapshot with Workstation on a Windows host
   vmrun -T ws revertToSnapshot "c:\my VMs\myVM.vmx" mySnapshot

Deleting a snapshot with Workstation on a Windows host
   vmrun -T ws deleteSnapshot "c:\my VMs\myVM.vmx" mySnapshot
Bookmark and Share
Tags: , , ,

Related posts

Bilgi Ve Deneyim

Comments (0)

Permalink

Could not open /dev/vmmon: No such file or directory

linux üzerinde vmware bu hatayı veriyorsa

vmware-modconfig --console --install-all

komutu root hakları ile çalıştırdığınızda düzeliyor

Kaynak : http://forums.opensuse.org/applications/412745-vmware-error-after-reboot.html
—-
Güncelleme
Bu hataya sebep olan şey makina açılırken network erişiminin olmaması da olabilir, nadir de olsa karşılaşıyorum.
—-
Güncelleme 2
Sadece root kullanıcısı ile şu komutları da çalıştırabilirsiniz

modprobe vmmon
modprobe vmnet
modprobe vmblock
modprobe  vmci
modprobe vsock
vmware-networks --start

bunları otomatik yükleyecek şekle getirebilirsiniz.

Bookmark and Share
Tags: , ,

Related posts

Bilgi Ve Deneyim

Comments (0)

Permalink

vmware fare problemi

eğer linux üzerine vmware (6.5.3) kurduysanız ve içinden çalışan (guest) işletim sisteminin içinde fareyi alt tarafa çektiğinizde sorun çıkıyorsa, örneğin başlat menüsünü tıklayamıyorsanız muhtemelen gtk versiyonunuz 2.18 dir. bo surunu çözmenin bir yolu:

Önce vmware i kapatın. (denedim sadece gui kapatılsa yetiyor guest işletim sistemlerini run in background ile açık bırakabilirsiniz.)

/etc/vmware/bootstrap

dosyasını açın. sonuna yeni bir satır ekleyip şunu yazın

export VMWARE_USE_SHIPPED_GTK=”force”

kaydedip kapatın ve vmware i yeniden başlatın. vmware ekranı biraz kötü görünüyor ama çalışıyor.

Kaynak : http://www.linuxinsight.com/vmware-mouse-grab-ungrab-problem.html

Bookmark and Share
Tags: , ,

Related posts

Linux

Comments (0)

Permalink

Switch to our mobile site