[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help to get VmWare run!!



Hello,

I have tried to compile it without any chroot at all. It does compile, and the kernel modules (vmmon and vmnet) do insert into the kernel without a problem. However, binaries are compiled for 32bits system and they will fail to launch miserably, looking for libpam0.so, which is not compiled in ia-32libs. If you try to merely install a 32 bits chroot and then add the lines to the ld.so.conf it will fail as well, because it seems some links to libraries are hard coded, i don't know why, it doesn't try to search for the libs in the ia-32 system...

And the vmware binaries look for their libs in /lib. debian is hell as well, as all the 64 libs are actually in /lib and not /lib64. So there's a problem here. :/

I then made an ia-32 chroot, and tried to compile the vmware modules in there. Helplessly, it fails : the compiler says, when trying to compile the vmmon module :

  CC [M]  /tmp/vmware-config1/vmmon-only/linux/driver.o
cc1: error: code model `kernel' not supported in the 32 bit mode

Too bad.

Something to try would be to compile those modules within the 64bits system and then install them into the kernel modules root, then tamper the vmware-config.pl script in the ia32 chroot so that it skips trying to compile them. Since you can compile the modules within the 64bits system without a problem, that should be okay. You merely would need to copy the modules to the correct directory under the chroot, I guess. Or, simply bind /lib/modules to /path/to/ia32/chroot/lib/modules (which is what i did)

And then, let the configuration process do its job. Perhaps it can work that way in the ia32 chroot.

I'm lazy, so i didn't try it yet, but perhaps later i'll try, and if it works or does not work i'll report it in this thread.

See you

JCM

Dean Hamstead wrote:
you would most likely need to run vmware in a proper chroot
the other problem is kernel modules, im not sure if they work
for 64bit kernels.

Dean

dclemen wrote:

Hi I have problem to get work VmWare. I read some post and try these
solutions, but I don't get to work it.

I have AMD64 system and have ia32-libs package installed. Has VmWare
sources in "/usr/local/src/vmware-distrib" directory, and
vmware-any-any-update96 path on
"/usr/local/src/vmware-distrib/vmware-any-any-update96" directory.

# dpkg -l |grep ia32
ii  ia32-libs                            1.5


When run runme.pl in any-any directory I get:

/usr/local/src/vmware-distrib/vmware-any-any-update96# ./runme.pl
./update: relocation error: /emul/ia32-linux/lib/tls/libc.so.6: symbol
_dl_starting_up, version GLIBC_PRIVATE not defined in file ld-linux.so.2
with link time reference
./update: relocation error: /emul/ia32-linux/lib/tls/libc.so.6: symbol
_dl_starting_up, version GLIBC_PRIVATE not defined in file ld-linux.so.2
with link time reference
./update: relocation error: /emul/ia32-linux/lib/tls/libc.so.6: symbol
_dl_starting_up, version GLIBC_PRIVATE not defined in file ld-linux.so.2
with link time reference
./update: relocation error: /emul/ia32-linux/lib/tls/libc.so.6: symbol
_dl_starting_up, version GLIBC_PRIVATE not defined in file ld-linux.so.2
with link time reference
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? [yes]
....
....
....
At end of this process:

Starting VMware services:
   Virtual machine monitor                              done
   Virtual ethernet                                     done
   Bridged networking on /dev/vmnet0                    failed
   Host-only networking on /dev/vmnet1 (background)     done
   Host-only networking on /dev/vmnet8 (background)     done
   NAT service on /dev/vmnet8                failed


At begin of "runme.pl":
./update: relocation error: /emul/ia32-linux/lib/tls/libc.so.6: symbol
_dl_starting_up, version GLIBC_PRIVATE not defined in file ld-linux.so.2
with link time reference

but this file exists
# ls -la --color /emul/ia32-linux/lib/tls/libc*
-rw-r--r--  1 root root 1253924 2004-12-27 03:41
/emul/ia32-linux/lib/tls/libc-2.3.2.so
-rw-r--r--  1 root root   18876 2004-12-27 03:41
/emul/ia32-linux/lib/tls/libcrypt-2.3.2.so
lrwxrwxrwx  1 root root      17 2005-11-28 09:46
/emul/ia32-linux/lib/tls/libcrypt.so.1 -> libcrypt-2.3.2.so
lrwxrwxrwx  1 root root      13 2005-11-28 09:46
/emul/ia32-linux/lib/tls/libc.so.6 -> libc-2.3.2.so


Any ideas?

Thanks





--
Jean-Christophe Montigny
Etudiant de troisième année à Grenoble Ecole de Management
Actuellement en parcours ingénieur à l'Ecole Nationale Supérieure de Télécommunications de Bretagne
begin:vcard
fn:Jean-Christophe Montigny
n:Montigny;Jean-Christophe
org;quoted-printable:Association Pl@n=C3=A8tes
adr;quoted-printable:;;12, rue Pierre S=C3=A9mard;Grenoble;FR;38000;France
email;internet:jcm@assoces.com
title:Responsable Com Web
x-mozilla-html:FALSE
url:http://planetes.assoces.com/
version:2.1
end:vcard


Reply to: