View previous topic :: View next topic |
Author |
Message |
Dr. Frankenbox Apprentice
Joined: 16 Jul 2005 Posts: 170 Location: Iowa, USA
|
Posted: Fri Jul 23, 2010 1:37 pm Post subject: vmware-player simply doesn't work |
|
|
I just installed vmware-player-2.5.4.246459 on a test server at work and ran emerge --config vmware-player, but now I can't figure out how to run the program. Everything I've found through Google says something useless like "start vmware," or "run vmplayer [image file].vmx." If I try to run /opt/vmware/player/bin/vmplayer (which isn't always included in my path), it just shoots out this error message:
Code: | /opt/vmware/player/lib/vmware/bin/vmware-modconfig-console: unrecognized option '--icon=vmware-player'
Must use a valid mode. Use one of:
--get-kernel-headers
--get-gcc
--validate-kernel-headers
--validate-gcc
--install-pbm
--build-mod
--install-all
|
so it is just a script that calls another program, and it calls it incorectly. If I try to run vmware-modconfig-console directly, even with one of the listed options, it either gives me that same message or says "Unable to initialize installer database."
Oh, also, if I try to start the init script (/etc/init.d/vmware), it fails as well, without any visible error message, and I don't know where it keeps its logs.
I'm sure I'm missing something very obvious here, but nothing I can find online is telling me anything useful, and I don't know where else to turn. |
|
Back to top |
|
|
jcTux Apprentice
Joined: 29 Dec 2009 Posts: 276 Location: Tours, France
|
Posted: Fri Jul 23, 2010 5:06 pm Post subject: |
|
|
I think that the vmware modules are not properly compiled.
Run :
Code: | # vmware-modconfig --console --install-all |
If everything goes well, start the vwmare daemon :
Code: | # /etc/init.d/vmware start |
And then run vmware-payer :
If you obtain some errors at the first step, post the log. |
|
Back to top |
|
|
Dr. Frankenbox Apprentice
Joined: 16 Jul 2005 Posts: 170 Location: Iowa, USA
|
Posted: Mon Jul 26, 2010 6:27 pm Post subject: |
|
|
Thanks for your help! Unfortunately, I did run into errors:
Code: | # vmware-modconfig --console --install-all
gcc and kernel headers must be installed |
From some quick searching, I see that error usually means that you're missing certain development tools. Well, I'm not:
Code: | # emerge linux-headers automake autoconf gcc -av
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] sys-devel/autoconf-2.65 USE="-emacs" 0 kB
[ebuild R ] sys-kernel/linux-headers-2.6.30-r1 0 kB
[ebuild R ] sys-devel/gcc-4.3.4 USE="hardened mudflap nls nptl openmp (-altivec) -bootstrap -build -doc (-fixed-point) -fortran -gcj -gtk (-libffi) (-multilib) -multislot (-n32) (-n64) -nocxx -nopie -nossp -objc -objc++ -objc-gc -test -vanilla" 0 kB
[ebuild R ] sys-devel/automake-1.11.1 0 kB |
Why else might I be seeing that message?
Edit: Digging in a bit further, I found that the vmware init script is failing trying to insmod vmmod.ko, and that module doesn't exist. Is this one of the modules that vmware-modconfig is supposed to build?
Edit Edit: My kernel header version (2.6.30-r1) doesn't match my kernel version (2.6.34-gentoo-r1). Is this the problem? If so, what am I supposed to do about it, when 2.6.30-r1 is the latest version of linux-headers available? |
|
Back to top |
|
|
wjb l33t
Joined: 10 Jul 2005 Posts: 611 Location: Fife, Scotland
|
Posted: Mon Jul 26, 2010 11:12 pm Post subject: |
|
|
Can you just check that you're running the kernel you think you are, and that the vmware modules have been built into that kernel:
Code: | # eselect kernel list
# uname -a
# locate vmmon.ko |
An emerge --info would be interesting too. |
|
Back to top |
|
|
Dr. Frankenbox Apprentice
Joined: 16 Jul 2005 Posts: 170 Location: Iowa, USA
|
Posted: Tue Jul 27, 2010 12:25 pm Post subject: |
|
|
Yes, I'm running the kernel I think I am, and though I never installed locate, modprobe -l can tell me just as well that I don't have the vmware modules. How am I supposed to get those? They didn't install when I ran "emerge vmware-player."
Code: | dcmlin01 ~ # eselect kernel list
Available kernel symlink targets:
[1] linux-2.6.31-gentoo-r6
[2] linux-2.6.34-gentoo-r1 *
dcmlin01 ~ # uname -a
Linux dcmlin01 2.6.34-gentoo-r1 #1 SMP Tue Jul 20 15:02:31 CDT 2010 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz GenuineIntel GNU/Linux
dcmlin01 ~ # emerge --info
Portage 2.1.8.3 (hardened/linux/x86/10.0, gcc-4.3.4, glibc-2.11.2-r0, 2.6.34-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.34-gentoo-r1-i686-Intel-R-_Pentium-R-_4_CPU_3.20GHz-with-gentoo-1.12.13
Timestamp of tree: Mon, 26 Jul 2010 18:30:16 +0000
app-shells/bash: 4.0_p37
dev-lang/python: 2.6.5-r2, 3.1.2-r3
dev-util/cmake: 2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox: 1.6-r2
sys-devel/autoconf: 2.65
sys-devel/automake: 1.10.3, 1.11.1
sys-devel/binutils: 2.20.1-r1
sys-devel/gcc: 4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.6b
virtual/os-headers: 2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl apache2 berkdb bzip2 cli cracklib crypt cups cxx dri gd gdbm gpm hardened iconv jpeg ldap modules mudflap mysql mysqli ncurses nls nptl nptlonly openmp pam pcre perl pic png pppd python readline reflection session snmp spl sqlite ssl sysfs tcpd urandom x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 intel mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa via vmware voodoo" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
dcmlin01 ~ # modprobe -l | grep vmmod
dcmlin01 ~ #
|
I did just discover with that emerge --info that I'm running the Hardened profile. I'm going to try switching back to Default and see if that makes any difference.
Code: | dcmlin01 ~ # eselect profile list
Available profile symlink targets:
[1] default/linux/x86/10.0
[2] default/linux/x86/10.0/desktop
[3] default/linux/x86/10.0/desktop/gnome
[4] default/linux/x86/10.0/desktop/kde
[5] default/linux/x86/10.0/developer
[6] default/linux/x86/10.0/server
[7] hardened/linux/x86/10.0 *
[8] selinux/2007.0/x86
[9] selinux/2007.0/x86/hardened
[10] selinux/v2refpolicy/x86
[11] selinux/v2refpolicy/x86/desktop
[12] selinux/v2refpolicy/x86/developer
[13] selinux/v2refpolicy/x86/hardened
[14] selinux/v2refpolicy/x86/server
dcmlin01 ~ # eselect profile set 1
|
|
|
Back to top |
|
|
Dr. Frankenbox Apprentice
Joined: 16 Jul 2005 Posts: 170 Location: Iowa, USA
|
Posted: Tue Jul 27, 2010 2:04 pm Post subject: |
|
|
That didn't work either, even after an "emerge -N world", "emerge portage", and "emerge vmware-player". |
|
Back to top |
|
|
jcTux Apprentice
Joined: 29 Dec 2009 Posts: 276 Location: Tours, France
|
Posted: Tue Jul 27, 2010 4:46 pm Post subject: |
|
|
Why don't you simply use vmware-player 3 ?
Download the binary on Vmware website.
It works like a charm for me. |
|
Back to top |
|
|
Dr. Frankenbox Apprentice
Joined: 16 Jul 2005 Posts: 170 Location: Iowa, USA
|
Posted: Tue Jul 27, 2010 7:04 pm Post subject: |
|
|
Because there doesn't appear to be a Linux binary on their website, just a vmware-player 3.1 binary for Windows and a vmware 7.0 workstation/ace/player source bundle for Linux. I tried that last, and it was horrendous to try to compile. |
|
Back to top |
|
|
Dr. Frankenbox Apprentice
Joined: 16 Jul 2005 Posts: 170 Location: Iowa, USA
|
Posted: Tue Jul 27, 2010 8:13 pm Post subject: |
|
|
Ok, I finally found the Linux binary on their website and installed it. I was able to get it to run, after creating an empty /etc/init.d/vmware to stop it complaining and manually running vmware-modconfig --console --install-all to create the modules. I'm still fighting with it to get it to play an image correctly - there are issues creating nodes like /dev/vmmon - but I'm not out of options yet.
Edit: Now I'm at a loss. I tried rebooting to make those nodes show up, and now my network interface refuses to start. It won't even show up in ifconfig, even with the -a flag. All I can find through Google are people who had their MAC address change, so the udev persistent-rules file won't let them come up as eth0. Obviously, my MAC address hasn't changed. I know I have the correct driver loaded; it's the same one I've always used. The card also still shows up in lspci. I'd provide some exact output, but that's difficult when I can't SSH to the box.
Last edited by Dr. Frankenbox on Tue Jul 27, 2010 10:09 pm; edited 1 time in total |
|
Back to top |
|
|
wjb l33t
Joined: 10 Jul 2005 Posts: 611 Location: Fife, Scotland
|
Posted: Tue Jul 27, 2010 8:45 pm Post subject: |
|
|
app-emulation/vmware-modules is what builds the modules. This needs to be remerged after a kernel update. |
|
Back to top |
|
|
Dr. Frankenbox Apprentice
Joined: 16 Jul 2005 Posts: 170 Location: Iowa, USA
|
Posted: Tue Jul 27, 2010 10:11 pm Post subject: |
|
|
in response to that, I haven't updated my kernel since installing vmware-player. Would it even be necessary if I installed from a binary outside of portage? Maybe I should unmerge that package. |
|
Back to top |
|
|
wjb l33t
Joined: 10 Jul 2005 Posts: 611 Location: Fife, Scotland
|
Posted: Tue Jul 27, 2010 11:57 pm Post subject: |
|
|
No, sorry, I'm behind. I'm still wondering where the modules got to when you installed the portage version. |
|
Back to top |
|
|
Dr. Frankenbox Apprentice
Joined: 16 Jul 2005 Posts: 170 Location: Iowa, USA
|
Posted: Wed Jul 28, 2010 3:18 pm Post subject: |
|
|
Well, I finally gave up; I'm currently rebuilding the OS. Thanks, everyone, for trying! |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|