Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 183161 - vmware-server-1.0.3.44356 - unable to run vmware-config.pl to change vmware network configuration
Summary: vmware-server-1.0.3.44356 - unable to run vmware-config.pl to change vmware n...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo VMWare Bug Squashers [disabled]
URL: http://forums.gentoo.org/viewtopic-t-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-25 15:25 UTC by Frank
Modified: 2007-06-25 22:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank 2007-06-25 15:25:35 UTC
Software: vmware-server. 

emerge --info : http://madchaz.no-ip.info:85/~madchaz/emerge_info.log

Issue: when trying to run vmware-config.pl, it refuses to use the already in place modules. Because of this, it says it needs to recompile the modules. However, it gives an error as far as the kernel version not being the right version. /usr/src/linux does point to my current kernel. 

Emerged vmware-modules to get vmware working, but I cannot change the network configuration due to this. 

Reproducible: Always

Steps to Reproduce:
1. install vmware-server
2. emerge vmware-modules
3. run vmware-config.pl

Actual Results:  
I get told it can't use the current modules and as to compile new ones. 

Expected Results:  
be able to run vmware-config.pl to change network configuration for vmware
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-06-25 15:30:00 UTC
Please, stop describing the errors; post them instead. Also post emerge --info here and don't refer to some third-party links. Last but not least, which vmware ebuild and version is this about? And finally, you *must* recompile all external kernel modules after kernel upgrade.

Comment 2 Frank 2007-06-25 17:39:49 UTC
emerge --info: 

Portage 2.1.2.7 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r3, 2.6.20-gentoo-r8 i686)
=================================================================
System uname: 2.6.20-gentoo-r8 i686 AMD Athlon(tm) Processor
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 22 Jun 2007 07:30:01 +0000
ccache version 2.4 [disabled]
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa apache2 arts berkdb bitmap-fonts branding cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gpm gstreamer hal iconv ipv6 isdnlog jpeg kde kdm kerberos ldap libg++ mad midi mikmod mp3 mpeg mudflap mysql ncurses nls nptl nptlonly offensive ogg opengl openmp oss pam pcre pdf perl php png pppd python qt qt3 qt3support qt4 quicktime readline reflection sdl server session spell spl ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis win32codecs x86 xml xorg xv zlib" ALSA_CARDS="ES1371" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


vmware-server version : vmware-server-1.0.3.44356

Clarification: My vmware works fine. I don't 'need' to recompile the modules as I haven't upgraded the kernel or anything. I just want to change the configurations so I can add a host-only network interface. The issue is that I cannot run vmware-config.pl without it saying it must recompile the modules. It then fails to do so saying the kernel version in /usr/src/linux does not match my running kernel. 

I won't be able to post the exact error message until tonight. I have the issue at home and am currently at work. However, the vmware-modules ebuild was build to fix the compiling modules issue. 

Again, my issue isn't with compiling the modules. I want to change the configurations. 
Comment 3 Frank 2007-06-25 17:54:15 UTC
Just to add. 

uname -a
Linux raditz 2.6.20-gentoo-r8 #2 Sat Jun 16 19:44:43 EDT 2007 i686 AMD Athlon(tm) Processor AuthenticAMD GNU/Linux

ls -la /usr/src/linux
lrwxrwxrwx 1 root root 22 May 27 17:04 /usr/src/linux -> linux-2.6.20-gentoo-r8

Again, I haven't upgraded the kernel. Vmware is working. I just can't change the configurations. 
Comment 4 Frank 2007-06-25 17:57:57 UTC
Exact error message: 

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]

The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match
your running kernel (version 2.6.20-gentoo-r8).  Even if the module were to
compile successfully, it would not load into the running kernel. 
Comment 5 Mike Auty (RETIRED) gentoo-dev 2007-06-25 19:30:07 UTC
Hi Frank,

I'm afraid I'm unable to reproduce your error on my testbed server.  The vmware-config.pl script should have been patched to ensure that it never requested that the modules are recompiled.

I'm a little concerned by the way you say "install vmware-server" and then "emerge vmware-modules".  I'd just like you to confirm that you have install vmware-server using the ebuild in the main tree, and haven't carried out a manual installation of vmware-server (which won't feature any of the Gentoo patches)?

If you have installed vmware-server using the provided ebuild, could you please post or attach the initial output during the unpacking phase of vmware-server, since it appears as though some of the Gentoo patches are not being applied correctly.  Thanks very much,

Mike  5:)
Comment 6 Frank 2007-06-25 19:51:14 UTC
Yes, I installed it using the ebuild. (emerge vmware-server)
I try to avoid manual installation of anything if I can help it. With gentoo, that's pretty much all the time. 

I installed it a while ago, so I'll have to re-install to give you the output you are looking for. I'll do that when I get home in a few hours. 
Comment 7 Frank 2007-06-25 20:48:24 UTC
I found my bug. 

/opt/vmware/server/bin/vmware-config.pl doesn't give me the error. 

/usr/bin/vmware-config.pl does

guess witch one is first in my path. 

I can post a diff of the 2 if you want. 
Comment 8 Frank 2007-06-25 22:00:07 UTC
The vmware-config.pl file  in /usr/bin dates from a much older install I had dome previous to the ebuild being avalable, from the looks of it. The file dates back 2006. I removed it and made a soft link to the patched one. 

Bug can not be considered fixed.