You are not logged in.

#1 2009-02-17 03:33:54

MarcoRosso
Member
Registered: 2009-02-08
Posts: 49

VMware Workstation Verison 6.5.1 Kernel-2.6.28-1-latest HELP[Solved]

I installed following the wiki using Vmware workstation 6.5.1.

I cannot start the services for vmware when I try a:

sudo /etc/rc.d/vmware start
password:
Starting VMware Services:
      Vitrual machine monior Failed
      Virtual machine communication interface Failed
      Blocking file system done
      Virtual ethernet Failed.

These fail when I attempt to load them. I can modprobe them okay but dont know why they wont start. I followed the wiki to every letter, and still no luck.

Please help!

Last edited by MarcoRosso (2009-02-18 01:36:56)

Offline

#2 2009-02-17 06:44:11

msh
Member
From: Latvia
Registered: 2009-01-16
Posts: 17

Re: VMware Workstation Verison 6.5.1 Kernel-2.6.28-1-latest HELP[Solved]

A bit of a shot in the dark, but try running vmware-config.pl as root and read the output carefully. I'm running Arch inside a VMware virtual machine and I had no issues with installing vmware-tools.

(I'm assuming you did modify /etc/vmware-tools/init.d/vmware-tools as prescribed in wiki, yes?)

Offline

#3 2009-02-17 20:34:44

MarcoRosso
Member
Registered: 2009-02-08
Posts: 49

Re: VMware Workstation Verison 6.5.1 Kernel-2.6.28-1-latest HELP[Solved]

The problem is that the latest version of vmware does not have a vmware-config.pl anymore. yes I did everything as was described in the wiki.

The things I have tried to make this work, all of which I have had not much success:

-build the modules using the last post in the wiki.
-tried replacing the vmmon.tar in the modules/source directory, and recompiling; doesn't work.


I just wish the vmware people would get their act together and make a product that works.

Last edited by MarcoRosso (2009-02-17 20:43:25)

Offline

#4 2009-02-17 21:52:18

whompus
Member
From: Durham. UK
Registered: 2005-08-09
Posts: 256

Re: VMware Workstation Verison 6.5.1 Kernel-2.6.28-1-latest HELP[Solved]

How did you install vmware?

Offline

#5 2009-02-17 22:11:25

buttons
Member
From: NJ, USA
Registered: 2007-08-04
Posts: 620

Re: VMware Workstation Verison 6.5.1 Kernel-2.6.28-1-latest HELP[Solved]

I'm going to troll your thread, I apologise.

VirtualBox supports VMWare images, and you don't have to deal with vmware-config.pl

/troll


Cthulhu For President!

Offline

#6 2009-02-17 22:21:52

MarcoRosso
Member
Registered: 2009-02-08
Posts: 49

Re: VMware Workstation Verison 6.5.1 Kernel-2.6.28-1-latest HELP[Solved]

I installed vmware using the .bundle from the official website. I followed the Arch wiki for installing.

Allow me to explain further:

I followed the wiki exactly for installing VMware Worksation. I then downloaded the file that was listed at the bottum of the wiki page to fix the modconfig problem. This allowed VMware Worksation to run. This does error half-way though, perhaps this could be the issue. All I know for sure is that the .sh for fixing the modconfig issue worked enough for me to launch VMware Worksation.

When I attempt to start the services I get am error for starting them as stated clearly in my first post.

Also I just noticed that VirtualBox supports vmware files. Does it support all the same options as VMware Workstation?

Last edited by MarcoRosso (2009-02-17 22:35:58)

Offline

#7 2009-02-17 23:11:23

Fackamato
Member
Registered: 2006-03-31
Posts: 579

Re: VMware Workstation Verison 6.5.1 Kernel-2.6.28-1-latest HELP[Solved]

I'm using kernel26zen-git (2.6.29 series) and vmware workstation 6.5.0 build-118166, to make the modules build I had to apply a patch, found at http://communities.vmware.com/thread/188410 . Here is the patch:

diff -Naur orig/vmblock-only/include/compat_wait.h new/vmblock-only/include/compat_wait.h
--- orig/vmblock-only/include/compat_wait.h    2008-10-28 22:47:20.000000000 -0700
+++ new/vmblock-only/include/compat_wait.h    2009-01-20 04:49:44.000000000 -0700
@@ -75,7 +75,11 @@
 #elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 4, 0) // {
 
 /* If prototype does not match, build will abort here */
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 29)
 extern void poll_initwait(compat_poll_wqueues *);
+#else
+extern void poll_initwait(struct poll_wqueues *pwq);
+#endif
 
 #define compat_poll_initwait(wait, table) ( \
    (wait) = (table), \
diff -Naur orig/vmci-only/include/compat_wait.h new/vmci-only/include/compat_wait.h
--- orig/vmci-only/include/compat_wait.h    2008-10-28 22:47:21.000000000 -0700
+++ new/vmci-only/include/compat_wait.h    2009-01-20 04:49:44.000000000 -0700
@@ -75,7 +75,11 @@
 #elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 4, 0) // {
 
 /* If prototype does not match, build will abort here */
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 29)
 extern void poll_initwait(compat_poll_wqueues *);
+#else
+extern void poll_initwait(struct poll_wqueues *pwq);
+#endif
 
 #define compat_poll_initwait(wait, table) ( \
    (wait) = (table), \
diff -Naur orig/vmmon-only/include/compat_wait.h new/vmmon-only/include/compat_wait.h
--- orig/vmmon-only/include/compat_wait.h    2008-10-28 22:47:18.000000000 -0700
+++ new/vmmon-only/include/compat_wait.h    2009-01-20 04:49:44.000000000 -0700
@@ -75,7 +75,11 @@
 #elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 4, 0) // {
 
 /* If prototype does not match, build will abort here */
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 29)
 extern void poll_initwait(compat_poll_wqueues *);
+#else
+extern void poll_initwait(struct poll_wqueues *pwq);
+#endif
 
 #define compat_poll_initwait(wait, table) ( \
    (wait) = (table), \
diff -Naur orig/vmmon-only/include/x86apic.h new/vmmon-only/include/x86apic.h
--- orig/vmmon-only/include/x86apic.h    2008-10-28 22:47:17.000000000 -0700
+++ new/vmmon-only/include/x86apic.h    2009-01-20 04:49:44.000000000 -0700
@@ -94,7 +94,11 @@
 #define APIC_LVT_DELVMODE(_lvt) (_lvt & 0x700)
 #define APIC_LVT_RESET_VALUE  0x00010000
 
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 28)
 #define APIC_BASE_MSR         0x1b
+#else
+#define APIC_BASE_MSR          0x800
+#endif
 
 #define APIC_MSR_BASEMASK     QWORD(0x0000000f,0xfffff000)
 #define APIC_MSR_ENABLED      0x00000800
diff -Naur orig/vmmon-only/linux/driver.c new/vmmon-only/linux/driver.c
--- orig/vmmon-only/linux/driver.c    2008-10-28 22:47:18.000000000 -0700
+++ new/vmmon-only/linux/driver.c    2009-01-20 04:49:44.000000000 -0700
@@ -1984,10 +1984,17 @@
    }
 
    case IOCTL_VMX86_ALLOW_CORE_DUMP:
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 29)
       if (current->euid == current->uid &&
       current->fsuid == current->uid &&
           current->egid == current->gid &&
       current->fsgid == current->gid) {
+#else /* 2.6.29 and higher */
+      if (current->cred->euid == current->cred->uid &&
+          current->cred->fsuid == current->cred->uid &&
+          current->cred->egid == current->cred->gid &&
+          current->cred->fsgid == current->cred->gid) {
+#endif /* 2.6.29 check */
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 23) || defined(MMF_DUMPABLE)
          /* Dump core, readable by user. */
          set_bit(MMF_DUMPABLE, &current->mm->flags);
diff -Naur orig/vmmon-only/linux/hostif.c new/vmmon-only/linux/hostif.c
--- orig/vmmon-only/linux/hostif.c    2008-10-28 22:47:17.000000000 -0700
+++ new/vmmon-only/linux/hostif.c    2009-01-20 04:49:44.000000000 -0700
@@ -2718,13 +2718,22 @@
    set_fs(get_ds());
 
    {
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 29)
       compat_poll_wqueues table;
       poll_table *wait;
+#else /* 2.6.29 and above */
+      struct poll_wqueues table;
+      struct poll_wqueues *wait;
+#endif /* 2.6.29 and above */
       unsigned int mask;
       
       compat_poll_initwait(wait, &table);
       current->state = TASK_INTERRUPTIBLE;
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 29)
       mask = file->f_op->poll(file, wait);
+#else
+      mask = file->f_op->poll(file, (poll_table *) wait);
+#endif /* 2.6.29 */
       if (!(mask & (POLLIN | POLLERR | POLLHUP))) {
 #ifdef KERNEL_2_4_0
      vm->vmhost->vcpuSemaTask[vcpuid] = current;
@@ -2743,7 +2752,6 @@
    }
 
    res = file->f_op->read(file, &ch, 1, &file->f_pos);
-
    set_fs(old_fs);
    compat_fput(file);
 
@@ -3455,8 +3463,13 @@
    oldFS = get_fs();
    set_fs(KERNEL_DS);
    compat_allow_signal(SIGKILL);
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 29) 
    cap_raise(current->cap_effective, CAP_SYS_RESOURCE);
    compat_set_user_nice(current, linuxState.fastClockPriority);
+#else /* 2.6.29 */
+   (void) cap_raised(current->cred->cap_effective, CAP_SYS_RESOURCE);
+   set_user_nice(current, linuxState.fastClockPriority);
+#endif /* 2.6.29 and higher */   
 
    while (linuxState.fastClockRate > HZ + HZ/16) {
       unsigned long buf;
@@ -3579,19 +3592,38 @@
          Bool cap;
          long pid;
 
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 29)
          fsuid = current->fsuid;
          current->fsuid = 0;
+#else
+     fsuid = current->cred->fsuid;
+#warning     current->cred->fsuid = 0;
+#endif /* 2.6.29 */
          filp = filp_open("/dev/rtc", O_RDONLY, 0);
+
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 29)
          current->fsuid = fsuid;
+#else
+#warning     current->cred->fsuid = fsuid;
+#endif /* 2.6.29 */
          if (IS_ERR(filp)) {
             Warning("/dev/rtc open failed: %d\n", (int)(VA)filp);
             return -(int)(VA)filp;
          }
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 29)
          cap = cap_raised(current->cap_effective, CAP_SYS_RESOURCE);
          cap_raise(current->cap_effective, CAP_SYS_RESOURCE);
+#else /* 2.6.29 */
+         cap = cap_raised(current->cred->cap_effective, CAP_SYS_RESOURCE);
+         (void) cap_raised(current->cred->cap_effective, CAP_SYS_RESOURCE);
+#endif /* 2.6.29 */
          res = HostIFDoIoctl(filp, RTC_PIE_ON, 0);
          if (!cap) {
-            cap_lower(current->cap_effective, CAP_SYS_RESOURCE);            
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 29)
+            cap_lower(current->cap_effective, CAP_SYS_RESOURCE);
+#else
+#warning        cap_lower(current->cred->cap_effective, CAP_SYS_RESOURCE);
+#endif /* 2.6.29 */        
          }
          if (res < 0) {
             Warning("/dev/rtc enable interrupt failed: %d\n", res);
diff -Naur orig/vmmon-only/linux/vmmonInt.h new/vmmon-only/linux/vmmonInt.h
--- orig/vmmon-only/linux/vmmonInt.h    2008-10-28 22:47:17.000000000 -0700
+++ new/vmmon-only/linux/vmmonInt.h    2009-01-20 04:49:44.000000000 -0700
@@ -46,7 +46,10 @@
 #endif
 
 #if defined(CONFIG_SMP) && LINUX_VERSION_CODE >= KERNEL_VERSION(2, 2, 8)
-#ifdef VMW_HAVE_SMP_CALL_3ARG
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
+#define VMW_HAVE_SMP_CALL_3ARG
+#endif
+#ifdef VMW_HAVE_SMP_CALL_3ARG 
 #define compat_smp_call_function(fn, info, wait) smp_call_function(fn, info, wait)
 #else
 #define compat_smp_call_function(fn, info, wait) smp_call_function(fn, info, 1, wait)
diff -Naur orig/vmnet-only/bridge.c new/vmnet-only/bridge.c
--- orig/vmnet-only/bridge.c    2008-10-28 22:47:18.000000000 -0700
+++ new/vmnet-only/bridge.c    2009-01-20 04:49:44.000000000 -0700
@@ -646,7 +646,11 @@
      dev_unlock_list();
       } else {
      struct sock *sk = bridge->sk;
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 29)
      atomic_add(skb->truesize, &sk->sk_wmem_alloc);
+#else
+#warning EHUD gotta figure out what this does and how to fix it: atomic_add(skb->truesize, &sk->sk_wmem_alloc);
+#endif /* 2.6.29 */
      clone->sk = sk;
      clone->protocol = ((struct ethhdr *)skb->data)->h_proto; // XXX
      if ((dev->flags & IFF_UP) != 0) {
diff -Naur orig/vmnet-only/compat_wait.h new/vmnet-only/compat_wait.h
--- orig/vmnet-only/compat_wait.h    2008-10-28 22:47:19.000000000 -0700
+++ new/vmnet-only/compat_wait.h    2009-01-20 04:49:44.000000000 -0700
@@ -75,7 +75,11 @@
 #elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 4, 0) // {
 
 /* If prototype does not match, build will abort here */
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 29)
 extern void poll_initwait(compat_poll_wqueues *);
+#else /* 2.6.29 */
+extern void poll_initwait(struct poll_wqueues *);
+#endif /* 2.6.29 */
 
 #define compat_poll_initwait(wait, table) ( \
    (wait) = (table), \
diff -Naur orig/vmnet-only/driver.c new/vmnet-only/driver.c
--- orig/vmnet-only/driver.c    2008-10-28 22:47:19.000000000 -0700
+++ new/vmnet-only/driver.c    2009-01-20 04:49:44.000000000 -0700
@@ -146,6 +146,13 @@
    .owner    = THIS_MODULE,
    .obj_size = sizeof(struct sock),
 };
+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
+struct proto vmnet_proto = {
+   .name     = "VMNET",
+   .owner    = THIS_MODULE,
+   .obj_size = sizeof(struct sock),
+};
+
 #endif
 
 /*
diff -Naur orig/vmnet-only/netif.c new/vmnet-only/netif.c
--- orig/vmnet-only/netif.c    2008-10-28 22:47:18.000000000 -0700
+++ new/vmnet-only/netif.c    2009-01-20 04:49:44.000000000 -0700
@@ -324,7 +324,10 @@
       goto out;
    }
 
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 29)
    dev->priv = netIf;
+#endif /* 2.6.29 */
+ 
    netIf->dev = dev;
    
    memcpy(dev->dev_addr, netIf->port.paddr, sizeof netIf->port.paddr);
@@ -566,7 +569,11 @@
 VNetNetifStartXmit(struct sk_buff    *skb, // IN:
                    struct net_device *dev) // IN:
 {
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 29)
    VNetNetIF *netIf = (VNetNetIF*)dev->priv;
+#else
+   VNetNetIF *netIf = netdev_priv(dev);
+#endif /* 2.6.29 */
 
    if(skb == NULL) {
       return 0;
@@ -618,7 +625,12 @@
 VNetNetifSetMAC(struct net_device *dev, // IN:
                 void *p)                // IN:
 {
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 29)
    VNetNetIF *netIf = (VNetNetIF*)dev->priv;
+#else
+   VNetNetIF *netIf = netdev_priv(dev);
+#endif /* 2.6.29 */
+
    struct sockaddr const *addr = p;
    if (!VMX86_IS_STATIC_MAC(addr->sa_data)) {
       return -EINVAL;
@@ -675,7 +687,11 @@
 struct net_device_stats *
 VNetNetifGetStats(struct net_device *dev) // IN:
 {
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 29)
    VNetNetIF *netIf = (VNetNetIF*)dev->priv;
+#else
+   VNetNetIF *netIf = netdev_priv(dev);
+#endif /* 2.6.29 */
    return &(netIf->stats);
 }
 
diff -Naur orig/vsock-only/include/compat_wait.h new/vsock-only/include/compat_wait.h
--- orig/vsock-only/include/compat_wait.h    2009-01-20 14:11:34.000000000 +0100
+++ new/vsock-only/include/compat_wait.h    2009-01-20 14:51:05.000000000 +0100
@@ -75,7 +75,11 @@
 #elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 4, 0) // {
 
 /* If prototype does not match, build will abort here */
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 29)
 extern void poll_initwait(compat_poll_wqueues *);
+#else
+extern void poll_initwait(struct poll_wqueues *pwq);
+#endif
 
 #define compat_poll_initwait(wait, table) ( \
    (wait) = (table), \

Offline

#8 2009-02-17 23:17:45

MarcoRosso
Member
Registered: 2009-02-08
Posts: 49

Re: VMware Workstation Verison 6.5.1 Kernel-2.6.28-1-latest HELP[Solved]

I'll try the patch and see if it works.

-How would i apply this patch? Is there a way to put this patch into a .sh file?

Last edited by MarcoRosso (2009-02-17 23:25:56)

Offline

#9 2009-02-17 23:26:05

Fackamato
Member
Registered: 2006-03-31
Posts: 579

Re: VMware Workstation Verison 6.5.1 Kernel-2.6.28-1-latest HELP[Solved]

MarcoRosso wrote:

I'll try the patch and see if it works.

-How would i apply this patch?

Save the patch to for example /tmp/vmware/vmpatch.patch, then:


cd /usr/lib/vmware/modules/source/ && cp *.tar /tmp/vmware/ && cd /tmp/vmware && patch -p1 < vmpatch.patch

Then go into each directory and type make, copy the module (something.ko) to /lib/modules/2.6.xxx/misc/ , then run depmod -a, then run /etc/rc.d/vmware start. I think you need to modify the script or symlink lsmod, because the script assumes lsmod is in /sbin/ but it's in /bin. Why use absolute paths!?

Offline

#10 2009-02-17 23:30:49

whompus
Member
From: Durham. UK
Registered: 2005-08-09
Posts: 256

Re: VMware Workstation Verison 6.5.1 Kernel-2.6.28-1-latest HELP[Solved]

If there is a problem with the modules try this

sudo mv /usr/lib/vmware/modules/binary /usr/lib/vmware/modules/binary.old
sudo vmware-modconfig --console --install-all

Offline

#11 2009-02-17 23:32:48

MarcoRosso
Member
Registered: 2009-02-08
Posts: 49

Re: VMware Workstation Verison 6.5.1 Kernel-2.6.28-1-latest HELP[Solved]

What line is lsmod located on for the .patch file?

Offline

#12 2009-02-17 23:33:40

MarcoRosso
Member
Registered: 2009-02-08
Posts: 49

Re: VMware Workstation Verison 6.5.1 Kernel-2.6.28-1-latest HELP[Solved]

whompus wrote:

If there is a problem with the modules try this

sudo mv /usr/lib/vmware/modules/binary /usr/lib/vmware/modules/binary.old
sudo vmware-modconfig --console --install-all

Tried that. It doesn't work since there is not any options for --console and --install-all in version 6.5.1

Edit: wait, it might just work...one sec...Well, it fails to install the vmmon module. I get the following:

insmod: error inserting '/tmp/vmware-root/modules/vmmon.o : -1 File exists
unable to install vmmon

This I get after the /sbin/lsmod doesn't exist error when the command attempts to end the vmmon and the last service.

Last edited by MarcoRosso (2009-02-17 23:44:22)

Offline

#13 2009-02-17 23:45:18

MarcoRosso
Member
Registered: 2009-02-08
Posts: 49

Re: VMware Workstation Verison 6.5.1 Kernel-2.6.28-1-latest HELP[Solved]

Fackamato wrote:
MarcoRosso wrote:

I'll try the patch and see if it works.

-How would i apply this patch?

Save the patch to for example /tmp/vmware/vmpatch.patch, then:


cd /usr/lib/vmware/modules/source/ && cp *.tar /tmp/vmware/ && cd /tmp/vmware && patch -p1 < vmpatch.patch

Then go into each directory and type make, copy the module (something.ko) to /lib/modules/2.6.xxx/misc/ , then run depmod -a, then run /etc/rc.d/vmware start. I think you need to modify the script or symlink lsmod, because the script assumes lsmod is in /sbin/ but it's in /bin. Why use absolute paths!?

How would i go about sym linking the /sbin/lsmod to /bin/lsmod?

Offline

#14 2009-02-17 23:49:08

Fackamato
Member
Registered: 2006-03-31
Posts: 579

Re: VMware Workstation Verison 6.5.1 Kernel-2.6.28-1-latest HELP[Solved]

You're kidding right? wink

Get root, ln -s /bin/lsmod /sbin/lsmod . But I recommend changing the vmware rc script instead.

Offline

#15 2009-02-17 23:54:20

MarcoRosso
Member
Registered: 2009-02-08
Posts: 49

Re: VMware Workstation Verison 6.5.1 Kernel-2.6.28-1-latest HELP[Solved]

All I had to do was do the sym link. and it worked for the vmware-modconfig. I will see if I can now run vms.

I'll post back in a few secs. with the result.

I still get the vmmon error. I believe this is because the modconfig is for version 6.0 not 6.5.1.

Last edited by MarcoRosso (2009-02-17 23:55:54)

Offline

#16 2009-02-18 00:00:33

Fackamato
Member
Registered: 2006-03-31
Posts: 579

Re: VMware Workstation Verison 6.5.1 Kernel-2.6.28-1-latest HELP[Solved]

AFAIK the modconfig compile the modules.  This doesn't work with my kernel because of the patch needed, that's why I had to compile the modules manually. Might work for you though because you're on .28.

Offline

#17 2009-02-18 00:02:15

whompus
Member
From: Durham. UK
Registered: 2005-08-09
Posts: 256

Re: VMware Workstation Verison 6.5.1 Kernel-2.6.28-1-latest HELP[Solved]

Try this some locations maybe slightly different

sudo vmware-uninstall                                                                   
sudo rm -r /usr/lib/vmware                                                               
sudo rm -r /tmp/vmware-<yourusername>                                                         
sudo rm -r /tmp/vmware-root                                                             
sudo rm -r /tmp/VMwareDnD                                                               
sudo rm /tmp/vmware-<youusername>.0                                                             
sudo rm /tmp/vmware-<yourusername>.1                                                             
sudo rm /tmp/vmware-root.0                                                               
sudo rm /tmp/vmware-root.1                                                               
sudo rm /var/run/vmnet-detect.pid                                                       
sudo rm /var/run/vmnet-natd-8.mac                                                       
sudo rm /var/run/vmnat.8993                                                             
sudo rm -r /var/run/vmware                                                               
cd <to where your bundle file is>                                                   
sudo sh VMware-Workstation-6.5.1-126130.x86_64.bundle --console --custom
Then start vmware which then creates the modules.

Offline

#18 2009-02-18 00:10:08

MarcoRosso
Member
Registered: 2009-02-08
Posts: 49

Re: VMware Workstation Verison 6.5.1 Kernel-2.6.28-1-latest HELP[Solved]

For the super user level binaries should I just accept the default value of /usr/sbin ? Just follow the wiki correct? for the installation part.

Okay followed the instructions provided but I can not launch vmware. It wont compile the modules. I tried running it as root, and as my normal user. Any ideas?

Last edited by MarcoRosso (2009-02-18 00:17:19)

Offline

#19 2009-02-18 00:17:50

whompus
Member
From: Durham. UK
Registered: 2005-08-09
Posts: 256

Re: VMware Workstation Verison 6.5.1 Kernel-2.6.28-1-latest HELP[Solved]

Accept the default settings until it prompts for System service runlevels then set to:
/etc/rc.d/vmware.d/

For System service scripts set to:
/etc/rc.d

Offline

#20 2009-02-18 00:18:23

MarcoRosso
Member
Registered: 2009-02-08
Posts: 49

Re: VMware Workstation Verison 6.5.1 Kernel-2.6.28-1-latest HELP[Solved]

whompus wrote:

Accept the default settings until it prompts for System service runlevels then set to:
/etc/rc.d/vmware.d/

For System service scripts set to:
/etc/rc.d

Done. still the problem with the modules compiling.

The error I get is:

modinfo: could not open /lib/modules/2.6.28-ARCH/misc/vmmon.ko

I get the same for vmnet.ko, vmblock.ko, vmci.ko, vsock.ko.

This repeats twice

This is followed by the /usr/bin/vmware: line 31: 24416 Segmentation fault "$BINDIR"/vmware-modconfig --appname="VMware Workstation" --icon="vmware-workstation"

Please help

Last edited by MarcoRosso (2009-02-18 00:26:58)

Offline

#21 2009-02-18 00:30:06

whompus
Member
From: Durham. UK
Registered: 2005-08-09
Posts: 256

Re: VMware Workstation Verison 6.5.1 Kernel-2.6.28-1-latest HELP[Solved]

Don't want to tell you howto suck eggs but does the bundle file match your architecture? ie i686 or x86_64

Offline

#22 2009-02-18 00:32:16

MarcoRosso
Member
Registered: 2009-02-08
Posts: 49

Re: VMware Workstation Verison 6.5.1 Kernel-2.6.28-1-latest HELP[Solved]

whompus wrote:

Don't want to tell you howto suck eggs but does the bundle file match your architecture? ie i686 or x86_64

LOL Nice. yes I used the exact same file and bundle that you did. The same version, and X86_64.


I think I might have figured out what the problem is. What kernel is it that you are using? 2.6.28-1? or is it 2.6.28.5-1?
-The reason being I am still running 2.6.28-1

Last edited by MarcoRosso (2009-02-18 00:44:23)

Offline

#23 2009-02-18 00:48:06

whompus
Member
From: Durham. UK
Registered: 2005-08-09
Posts: 256

Re: VMware Workstation Verison 6.5.1 Kernel-2.6.28-1-latest HELP[Solved]

You have to launch vmware as a user for the modules to install.

I'm sorry I've reached my level of knowledge, the only issues I've had is when they changed to the .bundle file and the posted solution works for me and the other issue was when the kernel went from .27 to .28 and I had to use the vmware-modconfig thing.

Currently using kernel 2.6.28.5-1 but I got vmware installed initially using 2.6.28.1

Last edited by whompus (2009-02-18 00:50:07)

Offline

#24 2009-02-18 00:51:29

MarcoRosso
Member
Registered: 2009-02-08
Posts: 49

Re: VMware Workstation Verison 6.5.1 Kernel-2.6.28-1-latest HELP[Solved]

I am going to try to make this work using a custom script I found at the bottom of the wiki page. It just compiles the modules. I hope they are the correct version.

Currently I am updating the kernel to version 2.6.28.5-1 to see if it makes a difference.

Okay I figured some more stuff out. The listed fix on the wiki for the compiling of the modules doesn't seem to work.

Last edited by MarcoRosso (2009-02-18 01:18:38)

Offline

#25 2009-02-18 01:35:03

MarcoRosso
Member
Registered: 2009-02-08
Posts: 49

Re: VMware Workstation Verison 6.5.1 Kernel-2.6.28-1-latest HELP[Solved]

FIXED it. Download the build modules file at the end of the wiki. Then it will fail to make the vsock.so file. This doesn't matter. Just do as root depmod -a, followed by /etc/rc.d/vmware restart.

So to conclude this as solved it is as follows:

-Download the .bundle file.
-Run the bundle as is documented in the wiki.
-download the .sh file that is at the end of the wiki page.
-save the file, run the file: cd <path where file is>; sh ./<name of .sh file>.sh
-you will notice that the file fails to compile the vsock.so file.
-Run depmod -a
-run /etc/rc.d/vmware restart

Volia! it works!

Updated wiki as needed.

Last edited by MarcoRosso (2009-02-18 01:47:39)

Offline

Board footer

Powered by FluxBB