Summary: | app-emulation/vmware-player - vmware-networks "Failed to initialize" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | David Relson <relson> |
Component: | [OLD] Unspecified | Assignee: | Vadim Kuznetsov (RETIRED) <vadimk> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | gentoo, vmware+disabled |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
"strace -feopen" output
full strace output |
Description
David Relson
2012-03-26 23:45:58 UTC
Created attachment 306801 [details]
"strace -feopen" output
Created attachment 306803 [details]
full strace output
Please post your `emerge --info' output in a comment. relson@osage ~ $ emerge --info Portage 2.1.10.51 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.13-r4, 3.2.11-gentoo x86_64) ================================================================= System uname: Linux-3.2.11-gentoo-x86_64-AMD_Phenom-tm-_9850_Quad-Core_Processor-with-gentoo-2.1 Timestamp of tree: Mon, 26 Mar 2012 09:15:01 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] ccache version 3.1.6 [disabled] app-shells/bash: 4.2_p20 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.2-r3, 3.2.2 dev-util/ccache: 3.1.6 dev-util/cmake: 2.8.6-r4 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.1 sys-apps/openrc: 0.9.9.3 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.5.3-r2 sys-devel/gcc-config: 1.5-r2 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 3.1 (virtual/os-headers) sys-libs/glibc: 2.13-r4 Repositories: gentoo osage ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA dlj-1.1 PUEL Oracle-BCLA-JavaSE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-2.2/conf /usr/share/maven-bin-3.0/conf /usr/share/openvpn/easy-rsa /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /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 /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y --color=n --keep-going --jobs 4" FEATURES="assume-digests binpkg-logs buildpkg buildsyspkg distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.netnitco.net http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://gentoo.mirrors.tds.net/gentoo" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X a52 aac acpi alsa amd64 apache2 berkdb bitmap-fonts bogofilter branding bzip2 cairo cdda cdr cli consolekit cracklib ctype cups cxx dbus dillo dlloader dri dts dvd dvdr emacs emboss encode ethereal exif fam fastbuild ffmpeg flac ftp gdbm gdu gif gmp gnome gpm gstreamer gtk gtk2 gtkhtml iconv java jpeg lcms libg++ libnotify libwww lm_sensors logrotate mad mbox midi mikmod mmx mng modules mozilla mp3 mp4 mpeg multilib ncurses nls nptl nptlonly ogg opengl openmp oss pam pango pcre pdf pdflib png posix ppds qt qt3support qt4 quicktime readline reflection samba sdl session simplexml slang soap sockets spell spl sse sse2 ssl startup-notification svg sysfs tcltk tcpd threads tiff tk truetype truetype-fonts type1-fonts udev unicode usb vhosts virtualbox vmware vorbis x264 xcb xinetd xml xml2 xorg xsl xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa fbdev" 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, INSTALL_MASK, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS lsmod? I see: Module Size Used by vmnet 31212 3 vmblock 9328 0 vsock 34311 0 vmci 52784 1 vsock vmmon 54565 0 lsmod | egrep "(vm|vs|Mod)" Module Size Used by vsock 34375 0 vmci 53040 1 vsock vmnet 31244 0 vmblock 9360 0 vmmon 54613 0 If I reload them all ( run rmmod, then modprobe ), The same 5 modules are present with the same Used counts. After reloading, running vmware-networks --start fails (with the same message) and the Used counts are not changed. In file /var/log/vnetlib are new messages: Mar 28 07:23:02 VNLNetCfgLoad - Database file must have version number, aborting Mar 28 07:23:02 VNLNetCfgLoad - Failed to load database cache with contents of file: /etc/vmware/networking Mar 28 07:23:02 VNL_Load - Error loading the vnet configuration, file used: /etc/vmware/networking Mar 28 07:23:02 VNLNetCfgUnload - Requested cache is not loaded As an additional note, I used to have vmware-server installed, but switched to vmware-player. (If recollection serves, the switch was done because vmware-server didn't run on newer kernels, but vmware-player does). With vmware-server, there was a perl script vmware-config.pl that isn't part of vmware-player. /opt/vmware/lib/vmware/setup/vmware-config does exist, is a 64-bit ELF executable, and doesn't have any networking related options. FYI, I didn't have file /etc/vmware/networking when I first encountered the problem. I created one from info I found on the web. The file is: answer VNL_DEFAULT_BRIDGE_VNET -1 add_bridge_mapping eth0 -1 add_bridge_mapping eth1 -1 (In reply to comment #6) > Mar 28 07:23:02 VNLNetCfgLoad - Failed to load database cache with contents > of file: /etc/vmware/networking Did you run "emerge --config vmware-player" like the ebuild tells you to? My /etc/vmware/networking contains only one line (after manual editing): VERSION=1,0 I use only bridged networking in my VMs, so I don't need any of the virtual adapters that are created by default, so I remove them. "emerge --config vmware-player" helps. (Evidently after first encounter a problem a couple of weeks ago, and thrashing around uninstalling/installing vmware-player), I overlooked/forgot about the --config step. With the --config created /etc/vmware/networking file, my guest OS (Windoze) reports "network cable unplugged". Switching from NAT (a thrashed change) back to Bridged has fixed the problem. Thank you for your help!!!! |