You are not logged in.

#1 2004-03-16 04:32:32

whol
Member
Registered: 2004-02-04
Posts: 155

VMWARE4 OR BUST

I haven't been able to get VMWare4 to run on Arch 0.6, and I have to get it to work in order to satisfy the requirements of my day job.  So I guess I have to go back to Gentoo, since I was able to get VMWare4 to work on that OS.  Arch was my favorite OS, I just wasnt smart enough to make it work.  Bye.

thx.

Offline

#2 2004-03-16 07:00:43

sweiss
Member
Registered: 2004-02-16
Posts: 635

Re: VMWARE4 OR BUST

http://www.jeepster.org.uk/bits/

This page has some tips as to how to make VMWare work under Slackware, maybe that applies to Arch as well, so give it a try if you wish.

Offline

#3 2004-03-16 09:31:03

tehdely
Member
Registered: 2004-02-20
Posts: 148
Website

Re: VMWARE4 OR BUST

I installed vmware today on Arch, without knowing anything about it, and it worked.

Perhaps you're doing something wrong?

Protip:  Create a fake tree in /etc (mine is called /etc/vmwaresucks) which contains rc0.d through rc6.d, and point the installer there when it asks.  When it asks for an init directory, point it to /etc/rc.d.  Shake, stir, presto... vmware.

( btw you can delete that /etc/vmwaresucks tree once you're done, it never uses it from what I can tell because Arch is not Sys-V style init... thank god )

And if it complains about a missing Xfree86 extension when it starts a guest OS, add the following to your XF86Config in the "Module" section:

     Load "extmod"

And comment out or remove this part:

    SubSection  "extmod"
      Option    "omit xfree86-dga"
    EndSubSection

Running 2.6.4-mm2 btw


[Arch GNUstep Repository] [ PKGBUILDS ]
[code][gnustep]
Server = ftp://blkwidow.lerp.com/pub/mirror/arch/gnustep[/code]

Offline

#4 2004-03-16 10:29:51

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: VMWARE4 OR BUST

The thing about Linux is not to give up...with so many resources available...(& users) It does not take long to find the answer....

I find www.google.com/linux a good start

Mr Green


Mr Green

Offline

#5 2004-03-16 11:57:52

whol
Member
Registered: 2004-02-04
Posts: 155

Re: VMWARE4 OR BUST

tehdely,

Did you have to install the patch and run the "runme.pl" script?  Because that is the part that fails for me. 

I will try a few more times, and post my results in a new thread, something like, "VMWare4 or Bust".  My vmware questions are spread around, so it will help consolidate my questions and results.  When I get it working, I'll write a definitive document.

thx



tehdely wrote:

I installed vmware today on Arch, without knowing anything about it, and it worked.

Perhaps you're doing something wrong?

Protip:  Create a fake tree in /etc (mine is called /etc/vmwaresucks) which contains rc0.d through rc6.d, and point the installer there when it asks.  When it asks for an init directory, point it to /etc/rc.d.  Shake, stir, presto... vmware.

( btw you can delete that /etc/vmwaresucks tree once you're done, it never uses it from what I can tell because Arch is not Sys-V style init... thank god )

And if it complains about a missing Xfree86 extension when it starts a guest OS, add the following to your XF86Config in the "Module" section:

     Load "extmod"

And comment out or remove this part:

    SubSection  "extmod"
      Option    "omit xfree86-dga"
    EndSubSection

Running 2.6.4-mm2 btw

Offline

#6 2004-03-16 13:23:13

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,293
Website

Re: VMWARE4 OR BUST

whol wrote:

I will try a few more times, and post my results in a new thread, something like, "VMWare4 or Bust".  My vmware questions are spread around, so it will help consolidate my questions and results.

Please, keep this thread but change / edit the subject. In this thread you seem to get helpful advice and will be used for future WMware users. The consolidated questions and results, put in Wiki.
http://wiki.archlinux.org/


Markku

Offline

#7 2004-03-16 14:41:52

whol
Member
Registered: 2004-02-04
Posts: 155

Re: VMWARE4 OR BUST

I still have the same problem, the update's "runme.pl" fails. Please help if you know how to make VMWare4 run on Arch 0.6.  Here are the steps I followed:




===========================
Resources
===========================

http://bbs.archlinux.org/viewtopic.php?t=2963


===========================
Create Missing Directories
===========================

[root@arch23 root]# cd /etc
[root@arch23 root]# for a in `seq 0 6`; do ln -s rc.d rc$a.d; done

[root@arch23 etc]# ls -l

lrwxrwxrwx   1 root root     4 Mar 11 15:30 rc0.d -> rc.d
lrwxrwxrwx   1 root root     4 Mar 11 15:30 rc1.d -> rc.d
lrwxrwxrwx   1 root root     4 Mar 11 15:30 rc2.d -> rc.d
lrwxrwxrwx   1 root root     4 Mar 11 15:30 rc3.d -> rc.d
lrwxrwxrwx   1 root root     4 Mar 11 15:30 rc4.d -> rc.d
lrwxrwxrwx   1 root root     4 Mar 11 15:30 rc5.d -> rc.d
lrwxrwxrwx   1 root root     4 Mar 11 15:38 rc6.d -> rc.d


===========================
Kernel Version
===========================

[root@arch23 root]# uname -a
Linux arch23 2.6.3 #1 SMP Wed Feb 18 00:08:24 PST 2004 i686 unknown unknown GNU/Linux


===========================
Files
===========================

[root@arch23 install]# pwd
/var/tmp/install

[root@arch23 install]# ls -l
-rw-r--r--  1 root root 26222193 Mar 11 15:30 VMware-workstation-4.0.5-6030.tar.gz
-rw-r--r--  1 root root   214547 Mar 16 04:05 vmware-any-any-update53.tar.gz
-rw-r--r--  1 root root     1516 Mar 16 04:05 vmware-config.pl.diff
-rw-r--r--  1 root root   179624 Mar 13 14:09 vmware-ws-all-fixes-4.0.5-6030.patch.txt


===========================
Untar VMWare
===========================

[root@arch23 install]# tar zxvf VMware-workstation-4.0.5-6030.tar.gz

[root@arch23 install]# cd vmware-distrib/

[root@arch23 vmware-distrib]# pwd
/var/tmp/install/vmware-distrib

[root@arch23 vmware-distrib]# ls -l
total 180
-r--r--r--   1 201 201 151654 Oct  1 18:00 FILES
drwxr-xr-x   2 201 201   4096 Oct  1 18:00 bin
drwxr-xr-x   2 201 201   4096 Oct  1 18:00 doc
drwxr-xr-x   2 201 201   4096 Oct  1 18:00 etc
drwxr-xr-x   2 201 201   4096 Oct  1 18:00 installer
drwxr-xr-x  16 201 201   4096 Oct  1 18:00 lib
drwxr-xr-x   3 201 201   4096 Oct  1 18:00 man
lrwxrwxrwx   1 201 201     23 Mar 16 04:12 vmware-install.pl -> bin/vmware-uninstall.pl
[root@arch23 vmware-distrib]#


===========================
Pre-patch Install
===========================

[root@arch23 vmware-distrib]# ./vmware-install.pl
Creating a new installer database using the tar3 format.

Installing the content of the package.

In which directory do you want to install the binary files?
[/usr/bin]

In which directory do you want to install the library files?
[/usr/lib/vmware]

The path "/usr/lib/vmware" does not exist currently. This program is going to
create it, including needed parent directories. Is this what you want? [yes]

In which directory do you want to install the manual files?
[/usr/man]

In which directory do you want to install the documentation files?
[/usr/doc/vmware]

The path "/usr/doc/vmware" does not exist currently. This program is going to
create it, including needed parent directories. Is this what you want? [yes]

What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc]

What is the directory that contains the init scripts? [/etc] /etc/vmware

The installation of VMware Workstation 4.0.5 build-6030 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall.pl".

Before running VMware Workstation for the first time, you need to configure it
by invoking the following command: "/usr/bin/vmware-config.pl". Do you want this
program to invoke the command for you now? [yes] no

Enjoy,

--the VMware team

[root@arch23 vmware-distrib]#


===========================
Apply Patch
===========================

[root@arch23 install]# patch /usr/bin/vmware-config.pl vmware-config.pl.diff
patching file /usr/bin/vmware-config.pl
Hunk #1 FAILED at 2431.
Hunk #2 FAILED at 2518.
2 out of 2 hunks FAILED -- saving rejects to file /usr/bin/vmware-config.pl.rej
[root@arch23 install]#


===========================
Untar Update
===========================

[root@arch23 install]# tar zxvf vmware-any-any-update53.tar.gz
vmware-any-any-update53/
vmware-any-any-update53/services.sh
vmware-any-any-update53/runme.pl
vmware-any-any-update53/services2.sh
vmware-any-any-update53/update
vmware-any-any-update53/update.c
vmware-any-any-update53/vmmon.tar
vmware-any-any-update53/vmnet.tar
[root@arch23 install]#
[root@arch23 install]# cd vmware-any-any-update53
[root@arch23 vmware-any-any-update53]# pwd
/var/tmp/install/vmware-any-any-update53


===========================
Install Update (fails)
===========================

[root@arch23 vmware-any-any-update53]# ./runme.pl
Updating /usr/bin/vmware ... Unknown version
Sorry, there is no binary patch available for your version of vmware.
VMware modules in "/usr/lib/vmware/modules/source" has been updated.

Before running VMware for the first time after update, you need to configure it
for your running kernel by invoking the following command:
"/usr/bin/vmware-config.pl". Do you want this script to invoke the command for
you now? [no] yes

Making sure VMware Workstation's services are stopped.

Stopping VMware services:
   Virtual machine monitor                                             done

You must read and accept the End User License Agreement to continue.
Press enter to display it.

END USER LICENSE AGREEMENT
FOR VMWARE(TM) DESKTOP SOFTWARE PRODUCT
APRIL 14, 2003 (Workstation version 4)


VMWARE, INC. LICENSES THIS DESKTOP SOFTWARE PRODUCT TO YOU SUBJECT
TO THE TERMS CONTAINED IN THIS END USER LICENSE AGREEMENT
("EULA").  READ THE TERMS OF THIS EULA CAREFULLY.  BY INSTALLING,
COPYING OR OTHERWISE USING THE SOFTWARE (AS DEFINED BELOW), YOU
AGREE TO BE BOUND BY THE TERMS OF THIS EULA.  IF YOU DO NOT AGREE
WITH THE TERMS OF THIS EULA, DO NOT INSTALL, COPY OR USE THE
SOFTWARE AND IF YOU HAVE PROOF OF PAYMENT, YOU MAY RETURN THE
UNUSED SOFTWARE TO THE LOCATION AT WHICH YOU ACQUIRED IT WITHIN
THIRTY (30) DAYS FOR A REFUND OF THE LICENSE FEE.

NOTICE TO CUSTOMER
This EULA is a contract between you (either an individual or an
entity) and VMware, Inc. ("VMware"), which governs your use of the
VMware software product that accompanies this EULA and related
software components, which may include associated media, printed
materials, and online or electronic documentation.


Do you accept? (yes/no) yes

Thank you.

grep: /proc/ksyms: No such file or directory
grep: /proc/ksyms: No such file or directory
grep: /proc/ksyms: No such file or directory
Trying to find a suitable vmmon module for your running kernel.

None of VMware Workstation's pre-built vmmon modules 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.3/build/include]


<<too many errors for Putty's screen buffer to hold>>


/lib/modules/2.6.3/build/include/linux/profile.h: In function `profile_event_unregister':
/lib/modules/2.6.3/build/include/linux/profile.h:65: error: `ENOSYS' undeclared (first use in this function)
/lib/modules/2.6.3/build/include/linux/profile.h: In function `register_profile_notifier':
/lib/modules/2.6.3/build/include/linux/profile.h:74: error: `ENOSYS' undeclared (first use in this function)
/lib/modules/2.6.3/build/include/linux/profile.h: In function `unregister_profile_notifier':
/lib/modules/2.6.3/build/include/linux/profile.h:79: error: `ENOSYS' undeclared (first use in this function)
In file included from /lib/modules/2.6.3/build/include/asm/hw_irq.h:19,
                 from /lib/modules/2.6.3/build/include/linux/irq.h:72,
                 from /lib/modules/2.6.3/build/include/asm/hardirq.h:6,
                 from /lib/modules/2.6.3/build/include/linux/interrupt.h:11,
                 from ../linux/driver.c:25:
/lib/modules/2.6.3/build/include/asm/sections.h:5:34: asm-generic/sections.h: No such file or directory
In file included from /lib/modules/2.6.3/build/include/linux/irq.h:72,
                 from /lib/modules/2.6.3/build/include/asm/hardirq.h:6,
                 from /lib/modules/2.6.3/build/include/linux/interrupt.h:11,
                 from ../linux/driver.c:25:
/lib/modules/2.6.3/build/include/asm/hw_irq.h: At top level:
/lib/modules/2.6.3/build/include/asm/hw_irq.h:61: error: parse error before "mask"
/lib/modules/2.6.3/build/include/asm/hw_irq.h:61: warning: function declaration isn't a prototype
/lib/modules/2.6.3/build/include/asm/hw_irq.h: In function `x86_do_profile':
/lib/modules/2.6.3/build/include/asm/hw_irq.h:98: error: `_stext' undeclared (first use in this function)
In file included from /lib/modules/2.6.3/build/include/asm/hardirq.h:80,
                 from /lib/modules/2.6.3/build/include/linux/interrupt.h:11,
                 from ../linux/driver.c:25:
/lib/modules/2.6.3/build/include/linux/smp_lock.h: In function `release_kernel_lock':
/lib/modules/2.6.3/build/include/linux/smp_lock.h:22: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3/build/include/linux/smp_lock.h: In function `reacquire_kernel_lock':
/lib/modules/2.6.3/build/include/linux/smp_lock.h:31: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3/build/include/linux/smp_lock.h: In function `lock_kernel':
/lib/modules/2.6.3/build/include/linux/smp_lock.h:44: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3/build/include/linux/smp_lock.h:47: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3/build/include/linux/smp_lock.h: In function `unlock_kernel':
/lib/modules/2.6.3/build/include/linux/smp_lock.h:52: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3/build/include/linux/smp_lock.h:53: error: dereferencing pointer to incomplete type
In file included from /lib/modules/2.6.3/build/include/linux/dcache.h:10,
                 from /lib/modules/2.6.3/build/include/linux/fs.h:17,
                 from /lib/modules/2.6.3/build/include/linux/mm.h:14,
                 from /lib/modules/2.6.3/build/include/linux/poll.h:10,
                 from ../linux/driver.c:30:
/lib/modules/2.6.3/build/include/linux/rcupdate.h: At top level:
/lib/modules/2.6.3/build/include/linux/rcupdate.h:71: error: parse error before "cpumask_t"
/lib/modules/2.6.3/build/include/linux/rcupdate.h:71: warning: no semicolon at end of struct or union
/lib/modules/2.6.3/build/include/linux/rcupdate.h:101: error: parse error before "rcu_data"
/lib/modules/2.6.3/build/include/linux/rcupdate.h:101: warning: type defaults to `int' in declaration of `DECLARE_PER_CPU'
/lib/modules/2.6.3/build/include/linux/rcupdate.h:101: warning: function declaration isn't a prototype
/lib/modules/2.6.3/build/include/linux/rcupdate.h:101: warning: data definition has no type or storage class
/lib/modules/2.6.3/build/include/linux/rcupdate.h: In function `rcu_pending':
/lib/modules/2.6.3/build/include/linux/rcupdate.h:114: warning: implicit declaration of function `per_cpu'
/lib/modules/2.6.3/build/include/linux/rcupdate.h:114: error: `rcu_data' undeclared (first use in this function)
/lib/modules/2.6.3/build/include/linux/rcupdate.h:114: error: request for member `curlist' in something not a structure or union
/lib/modules/2.6.3/build/include/linux/rcupdate.h:115: error: request for member `batch' in something not a structure or union
/lib/modules/2.6.3/build/include/linux/rcupdate.h:115: error: invalid use of undefined type `struct rcu_ctrlblk'
/lib/modules/2.6.3/build/include/linux/rcupdate.h:116: error: request for member `curlist' in something not a structure or union
/lib/modules/2.6.3/build/include/linux/rcupdate.h:117: error: request for member `nxtlist' in something not a structure or union
/lib/modules/2.6.3/build/include/linux/rcupdate.h:118: warning: implicit declaration of function `cpu_isset'
/lib/modules/2.6.3/build/include/linux/rcupdate.h:118: error: invalid use of undefined type `struct rcu_ctrlblk'
In file included from /lib/modules/2.6.3/build/include/linux/mm.h:25,
                 from /lib/modules/2.6.3/build/include/linux/poll.h:10,
                 from ../linux/driver.c:30:
/lib/modules/2.6.3/build/include/asm/pgtable.h:350:33: asm-generic/pgtable.h: No such file or directory
In file included from /lib/modules/2.6.3/build/include/linux/mm.h:206,
                 from /lib/modules/2.6.3/build/include/linux/poll.h:10,
                 from ../linux/driver.c:30:
/lib/modules/2.6.3/build/include/linux/page-flags.h: At top level:
/lib/modules/2.6.3/build/include/linux/page-flags.h:121: error: parse error before "page_states"
/lib/modules/2.6.3/build/include/linux/page-flags.h:121: warning: type defaults to `int' in declaration of `DECLARE_PER_CPU'
/lib/modules/2.6.3/build/include/linux/page-flags.h:121: warning: function declaration isn't a prototype
/lib/modules/2.6.3/build/include/linux/page-flags.h:121: warning: data definition has no type or storage class
In file included from /lib/modules/2.6.3/build/include/linux/poll.h:10,
                 from ../linux/driver.c:30:
/lib/modules/2.6.3/build/include/linux/mm.h: In function `do_mmap':
/lib/modules/2.6.3/build/include/linux/mm.h:548: error: `EINVAL' undeclared (first use in this function)
/lib/modules/2.6.3/build/include/linux/mm.h: In function `__vma_unlink':
/lib/modules/2.6.3/build/include/linux/mm.h:566: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3/build/include/linux/mm.h:567: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3/build/include/linux/mm.h:568: error: dereferencing pointer to incomplete type
In file included from /lib/modules/2.6.3/build/include/linux/poll.h:11,
                 from ../linux/driver.c:30:
/lib/modules/2.6.3/build/include/asm/uaccess.h: In function `verify_area':
/lib/modules/2.6.3/build/include/asm/uaccess.h:104: error: `EFAULT' undeclared (first use in this function)
/lib/modules/2.6.3/build/include/asm/uaccess.h: In function `__copy_to_user':
/lib/modules/2.6.3/build/include/asm/uaccess.h:406: error: `EFAULT' undeclared (first use in this function)
In file included from ../linux/driver.c:30:
/lib/modules/2.6.3/build/include/linux/poll.h: In function `get_fd_set':
/lib/modules/2.6.3/build/include/linux/poll.h:77: error: `EFAULT' undeclared (first use in this function)
In file included from ../linux/driver.h:18,
                 from ../linux/driver.c:42:
../include/compat_wait.h: At top level:
../include/compat_wait.h:60: error: conflicting types for `poll_initwait'
/lib/modules/2.6.3/build/include/linux/poll.h:44: error: previous declaration of `poll_initwait'
../linux/driver.c:142: warning: initialization from incompatible pointer type
../linux/driver.c:146: warning: initialization from incompatible pointer type
../linux/driver.c: In function `init_module':
../linux/driver.c:306: error: `ENOEXEC' undeclared (first use in this function)
../linux/driver.c:360: error: `ENOENT' undeclared (first use in this function)
../linux/driver.c: In function `LinuxDriver_InitV2':
../linux/driver.c:465: error: dereferencing pointer to incomplete type
../linux/driver.c:468: error: `ENOMEM' undeclared (first use in this function)
../linux/driver.c: In function `LinuxDriver_Open':
../linux/driver.c:500: error: `ENOMEM' undeclared (first use in this function)
../linux/driver.c:505: error: dereferencing pointer to incomplete type
../linux/driver.c: In function `LinuxDriverAllocLowMem':
../linux/driver.c:1029: error: `ENOMEM' undeclared (first use in this function)
../linux/driver.c:1035: error: `EINVAL' undeclared (first use in this function)
../linux/driver.c: In function `LinuxDriverAllocLockedMem':
../linux/driver.c:1084: error: `EINVAL' undeclared (first use in this function)
../linux/driver.c:1096: error: `ENOMEM' undeclared (first use in this function)
../linux/driver.c:1103: warning: implicit declaration of function `cpu_to_node'
../linux/driver.c: In function `LinuxDriverMmap':
../linux/driver.c:1172: error: `EINVAL' undeclared (first use in this function)
../linux/driver.c: In function `LinuxDriverIoctlAlloc4Gb':
../linux/driver.c:1231: error: `EINVAL' undeclared (first use in this function)
../linux/driver.c:1236: error: `ENOMEM' undeclared (first use in this function)
../linux/driver.c: In function `__LinuxDriver_Ioctl':
../linux/driver.c:1323: error: `EINVAL' undeclared (first use in this function)
../linux/driver.c:1339: error: dereferencing pointer to incomplete type
../linux/driver.c:1342: error: `ENOMEM' undeclared (first use in this function)
../linux/driver.c:1422: error: dereferencing pointer to incomplete type
../linux/driver.c:1423: error: dereferencing pointer to incomplete type
../linux/driver.c:1426: error: `EPERM' undeclared (first use in this function)
../linux/driver.c:1670: error: dereferencing pointer to incomplete type
../linux/driver.c:1670: error: dereferencing pointer to incomplete type
../linux/driver.c:1671: error: dereferencing pointer to incomplete type
../linux/driver.c:1671: error: dereferencing pointer to incomplete type
../linux/driver.c:1672: error: dereferencing pointer to incomplete type
../linux/driver.c:1672: error: dereferencing pointer to incomplete type
../linux/driver.c:1673: error: dereferencing pointer to incomplete type
../linux/driver.c:1673: error: dereferencing pointer to incomplete type
../linux/driver.c:1675: error: dereferencing pointer to incomplete type
../linux/driver.c: In function `LinuxDriver_IoctlTOT':
../linux/driver.c:1964: error: `EINVAL' undeclared (first use in this function)
../linux/driver.c: In function `LinuxDriver_IoctlV45':
../linux/driver.c:2054: error: `EINVAL' undeclared (first use in this function)
../linux/driver.c: In function `LinuxDriver_IoctlV4':
../linux/driver.c:2140: error: `EINVAL' undeclared (first use in this function)
../linux/driver.c: In function `initBlockG25_to_initBlock':
../linux/driver.c:2246: error: `EINVAL' undeclared (first use in this function)
../linux/driver.c: In function `LinuxDriver_IoctlGSX25':
../linux/driver.c:2317: error: `EINVAL' undeclared (first use in this function)
../linux/driver.c: In function `LinuxDriver_IoctlGSX2':
../linux/driver.c:2466: error: `EINVAL' undeclared (first use in this function)
../linux/driver.c: In function `initBlock30_to_initBlock':
../linux/driver.c:2510: error: `EINVAL' undeclared (first use in this function)
../linux/driver.c: In function `LinuxDriver_IoctlV3':
../linux/driver.c:2594: error: `EINVAL' undeclared (first use in this function)
../linux/driver.c: In function `LinuxDriver_IoctlV2':
../linux/driver.c:2777: error: `EFAULT' undeclared (first use in this function)
../linux/driver.c:2780: error: `EINVAL' undeclared (first use in this function)
../linux/driver.c:2787: error: `EPERM' undeclared (first use in this function)
../linux/driver.c: In function `LinuxDriver_Ioctl':
../linux/driver.c:3053: error: `EINVAL' undeclared (first use in this function)
../linux/driver.c: In function `vLog':
../linux/driver.c:3081: error: dereferencing pointer to incomplete type
../linux/driver.c: In function `vWarning':
../linux/driver.c:3113: error: dereferencing pointer to incomplete type
../linux/driver.c:3122: error: dereferencing pointer to incomplete type
../linux/driver.c: In function `Warning':
../linux/driver.c:3147: error: dereferencing pointer to incomplete type
../linux/driver.c: In function `Log':
../linux/driver.c:3175: error: dereferencing pointer to incomplete type
../linux/driver.c: In function `Panic':
../linux/driver.c:3208: error: dereferencing pointer to incomplete type
../linux/driver.c:3229: error: dereferencing pointer to incomplete type
make[2]: *** [driver.o] Error 1
make[2]: Leaving directory `/tmp/vmware-config0/vmmon-only/driver-2.6.3'
make[1]: *** [driver] Error 2
make[1]: Leaving directory `/tmp/vmware-config0/vmmon-only'
make: *** [auto-build] Error 2
make: Leaving directory `/tmp/vmware-config0/vmmon-only'
Unable to build the vmmon 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.html".

Execution aborted.

[root@arch23 vmware-any-any-update53]#

Offline

#8 2004-03-16 22:33:50

whol
Member
Registered: 2004-02-04
Posts: 155

Re: VMWARE4 OR BUST

sweiss wrote:

http://www.jeepster.org.uk/bits/

This page has some tips as to how to make VMWare work under Slackware, maybe that applies to Arch as well, so give it a try if you wish.


"BEFORE you attempt to install vmware make sure you have the kernel headers and kernel sources installed.

ls /var/log/packages/kernel*

You should see 3 kernel-* packages (kernel, modules and sources)"

I don't have a "packages" directory in /var/log.


"cd /usr/src
ln -sf linux-2.4.20 linux"

I created that symlink, so now I have a "linux" directory in /usr/src.

"cd linux
make menuconfig (or xconfig)
(change whatever for your setup)
save it
make dep"

I look around inside the linux symlink, before I run make menuconfig:

[root@arch23 linux]# pwd
/usr/src/linux
[root@arch23 linux]# ls -al
total 52
drwxr-xr-x   3 root root  4096 Mar 10 14:05 .
drwxr-xr-x   3 root root  4096 Mar 16 12:29 ..
-rw-r--r--   1 root root 39019 Feb 18 03:11 .config
drwxr-xr-x  10 root root  4096 Mar 10 14:05 include

Not much in there, but I run it anayway:

[root@arch23 linux]# make menuconfig
make: *** No rule to make target `menuconfig'.  Stop.
[root@arch23 linux]#

So, it didn't work.

Offline

#9 2004-03-16 22:40:42

tehdely
Member
Registered: 2004-02-20
Posts: 148
Website

Re: VMWARE4 OR BUST

The runme.pl thing failed for me.

The regular vmware installer worked fine.

Odd.


[Arch GNUstep Repository] [ PKGBUILDS ]
[code][gnustep]
Server = ftp://blkwidow.lerp.com/pub/mirror/arch/gnustep[/code]

Offline

#10 2004-03-16 23:43:07

whol
Member
Registered: 2004-02-04
Posts: 155

Re: VMWARE4 OR BUST

tehdely wrote:

The runme.pl thing failed for me.

The regular vmware installer worked fine.

Odd.

What versions of the kernel, vmware, and update are you using?  Exactly what steps did you have to perform to get it to work, or how did you steps differ from the ones I posted previously?  Did you have to install or configure any other software?

thx

Offline

#11 2004-03-16 23:57:00

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: VMWARE4 OR BUST

i'm not using vmware, never used and dont have money/time to try right now, but here some ideas from the errors that happen you posted

why are you using 2.6.x kernel? try the 2.4.25 one ... i think the ..linux/driver.c trouble and the other undeclared stuff is cause of the script trying to do something to a kernel it is not made for


The impossible missions are the only ones which succeed.

Offline

#12 2004-03-16 23:58:50

whol
Member
Registered: 2004-02-04
Posts: 155

Re: VMWARE4 OR BUST

Hi DP,

OK, I'll re-install and choose the 2.4 Kernel this time.

thx

Offline

#13 2004-03-17 00:56:46

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: VMWARE4 OR BUST

More likely, from the error messages, you're missing some of the kernel sources that vmware needs.

Best way to get them is like this:
1) abs
2) cd /var/abs/kernels/kernel26
3) makepkg
4) mv /usr/src/linux-2.6.4 /usr/src/linux-2.6.4-old
5) cp -a src/linux-2.6.4 /usr/src

Then do all that other stuff you're doing.  Be sure that you're running 2.6.4, because that's the newest version in abs.  There may be slight errors in my notes, so you'll have to think for yourself.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#14 2004-03-17 01:48:38

tehdely
Member
Registered: 2004-02-20
Posts: 148
Website

Re: VMWARE4 OR BUST

whol wrote:
tehdely wrote:

The runme.pl thing failed for me.

The regular vmware installer worked fine.

Odd.

What versions of the kernel, vmware, and update are you using?  Exactly what steps did you have to perform to get it to work, or how did you steps differ from the ones I posted previously?  Did you have to install or configure any other software?

thx

1) Linux Diwanda 2.6.5-rc1-mm1 #1 Tue Mar 16 01:02:12 CST 2004 i686 unknown unknown GNU/Linux

2) VMware Workstation 4.5.1 build-7568

3)
tar zxvf VMware-workstation-4.5.1-7568.tar.gz
cd vmware-distrib
./vmware-install.pl

I tried running the updater and it failed, but it seems I didn't need it anyway.  Maybe it did something that mysteriously caused my vmware install to work, though.  I've never installed or used vmware before so I just screwed around and it happened to work on the first try.

Words to the wise:  Have full kernel sources in /usr/src/linux, not just the ones Arch gives you which are incomplete and just contain includes.  I always build my own kernels so this isn't an issue, but it may be for many of you.


[Arch GNUstep Repository] [ PKGBUILDS ]
[code][gnustep]
Server = ftp://blkwidow.lerp.com/pub/mirror/arch/gnustep[/code]

Offline

#15 2004-03-17 02:40:43

whol
Member
Registered: 2004-02-04
Posts: 155

Re: VMWARE4 OR BUST

I think I've got it working.

I had to get ABS functional, then do the makepkg inside the kernel26 directory - as Xentac instructed.

Then I ran the normal install program, but answered "no" on the last question ("Do you want to configure now?").  This first program may have ended with an error.

Then I ran then update's "runme.pl", which worked this time.

I am able to start up VMWare4, now I am going to try and install a OS in to it.

I'll write a lot better description of all this once I am sure its functional.

Thanks for all the help, and I'll post again if I get stuck.  I think its going to work.

THX!

Offline

#16 2004-03-17 02:44:41

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: VMWARE4 OR BUST

A good thing for someone to do would be to figure out exactly what needs to be included with the 2.6 kernel to compile all these things.

I'll see if I can find someone on irc to do it, because I barely have enough time right now to read the forum...


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#17 2004-03-17 03:32:02

whol
Member
Registered: 2004-02-04
Posts: 155

Re: VMWARE4 OR BUST

My VM was locking up when I tried to start it, it couldn't find /dev/vmmon, so I tried to follow Santos instructions:

http://bbs.archlinux.org/viewtopic.php?t=2963

I did his steps 7 & 8, basically creating the mkvnet script.

Then I rebooted, and it still locked up, so I figured I'd re-install (since I've gottent good at it).  Now the /etc/vmware-uninstall.pl is missing, so I can't uninstall.  So I tried to re-install anyway, and now the runme.pl fails because of an error with "Unable to make vmon module that can be loaded in the running kernel: insmod..." It cant insert vmon.o in to the kernel, I think.

Well, I've been working on this 13 hours so far today.  Are you sure using the 2.4 kernel wouldn't make this easier?  The other posters keep posting their "it worked for me!" posts, I'm wondering if I'm somehow making this harder than it should be.

Offline

#18 2004-03-17 03:46:22

whol
Member
Registered: 2004-02-04
Posts: 155

Re: VMWARE4 OR BUST

I found the uninstall program, so I thought I would try again.

I didn't get this error before, but now when I run the runme.pl in the update, it builds some of the modules, then croaks:

/usr/src/linux-2.6.4/scripts/Makefile.modpost:18: *** Uh-oh, you have stale module entries. You messed with SUBDIRS,
/usr/src/linux-2.6.4/scripts/Makefile.modpost:19: do not complain if something goes wrong.
  MODPOST
  CC      /tmp/vmware-config5/vmmon-only/vmmon.mod.o
  LD [M]  /tmp/vmware-config5/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/linux-2.6.4'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config5/vmmon-only'
Unable to make a vmmon module that can be loaded in the running kernel:
insmod: error inserting '/tmp/vmware-config5/vmmon.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.html".

Execution aborted.

[root@arch23 vmware-any-any-update53]#

Offline

#19 2004-03-17 06:38:21

whol
Member
Registered: 2004-02-04
Posts: 155

Re: VMWARE4 OR BUST

Anyone know how to get vmnet and vmmon to load?

I was able to get VMware to run, and I installed a Windows 2000 Pro guest os.  Then I rebooted my Arch Linux host, and now it doesnt work again.  Apparently, the "vmmon" and "vmnet" resources are not there.

I installed the mkvnet script that Santos supplied, but it does not seem to help. See section #8 here:

http://bbs.archlinux.org/viewtopic.php? … sc&start=0

The last lines from dmesg are:

vmmon: module license 'unspecified' taints kernel.
devfs_mk_dev: could not append to parent for misc/vmmon
/dev/vmmon: Module vmmon: error registering with major=10 minor=165

ls -l in /dev gives (snipped):

lr-xr-xr-x   1 root root      15 Mar 16 20:34 vmmon -> /dev/misc/vmmon
crw-------   1 root root 119,  0 Mar 16 20:34 vmnet0
crw-------   1 root root 119,  1 Mar 16 20:34 vmnet1
crw-------   1 root root 119,  2 Mar 16 20:34 vmnet2
crw-------   1 root root 119,  3 Mar 16 20:34 vmnet3
crw-------   1 root root 119,  4 Mar 16 20:34 vmnet4
crw-------   1 root root 119,  5 Mar 16 20:34 vmnet5
crw-------   1 root root 119,  6 Mar 16 20:34 vmnet6
crw-------   1 root root 119,  7 Mar 16 20:34 vmnet7
crw-------   1 root root 119,  8 Mar 16 20:34 vmnet8
crw-------   1 root root 119,  9 Mar 16 20:34 vmnet9

ls -l in /dev/misc gives (snipped):

crw-------  1 root root 10, 165 Mar 16 20:34 vmmon

I just tried to rename the modules as specified by Santos:

[root@arch23 misc]# ls -l /lib/modules/2.6.4/misc/
-rw-r--r--  1 root root 52684 Mar 16 18:40 vmmon.ko
-rw-r--r--  1 root root 32679 Mar 16 18:40 vmnet.ko

Any ideas?

Offline

#20 2004-03-21 00:16:59

whol
Member
Registered: 2004-02-04
Posts: 155

Re: VMWARE4 OR BUST

After using Xentacs instructions, which was to basically do a normal VMWare install, and then use santos MKVNET script file, I was able to get vmware to work.  I havent written up the exact steps, because I'm still having intermittent problems running it.  I think the vmware daemon, or the mkvnet daemon, is causing my PC to lose access to its hard drives - which is sort of a showstopper.  I'm doing some testing now to try to prove that this is the case.  If I can pin it down, maybe we can fix it.  I also bought some removable HD rigs so I can test the conditions with other versions of linux that are officially supported by VMWare.  My drives have not failed since I removed the vmware and mkvnet daemons.  Normally they fail within an hour, its been about 8 hours now, running dvdrip/transcode most of the time.

thx

Offline

#21 2004-03-24 13:08:40

whol
Member
Registered: 2004-02-04
Posts: 155

Re: VMWARE4 OR BUST

Using the latest version helps a lot.  I only got it working after I switched from 4.05 to 4.51.

Offline

Board footer

Powered by FluxBB