VMware
This thread is archived
1 2 Previous Next 21 Replies Last post: Sep 7, 2004 5:18 PM by petr  

SuSE 9.1 module build failure 4.5.2-8848 (kernel 2.6.5-7.95) posted: Jul 8, 2004 6:45 AM

Click to view danielm's profile Lurker 2 posts since
Jul 8, 2004
Two upgrades at once, not a good idea!

I've applied current kernel security patch and upgraded VmWare, followed by a reboot. vmware-config.pl fails with the following output:-

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config5/vmmon-only'
make -C /usr/src/linux/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.5-7.95'

WARNING: Symbol version dump /usr/src/linux-2.6.5-7.95/Module.symvers is missing, modules will have CONFIG_MODVERSIONS disabled.

CC [M] /tmp/vmware-config5/vmmon-only/linux/driver.o
/bin/sh: line 1: scripts/genksyms/genksyms: No such file or directory
make[2]: *** [/tmp/vmware-config5/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config5/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.5-7.95'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config5/vmmon-only'
Unable to build the vmmon module.

This follows cd /usr/src/linux; make cloneconfig && make dep (although make dep issues a warning with current kernels).

Prior to make cloneconfig it failed as follows:-

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config3/vmmon-only'
make -C /usr/src/linux/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.5-7.95'
Makefile:438: .config: No such file or directory

WARNING: Symbol version dump /usr/src/linux-2.6.5-7.95/Module.symvers is missing, modules will have CONFIG_MODVERSIONS disabled.

CC [M] /tmp/vmware-config3/vmmon-only/linux/driver.o
/bin/sh: line 1: scripts/basic/fixdep: No such file or directory
make[2]: *** [/tmp/vmware-config3/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config3/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.5-7.95'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config3/vmmon-only'
Unable to build the vmmon module.

Both seem to point to missing paths being passed into the kernel source tree by vmware-config.pl, maybe it gets confused by the error message back from symbol versioning?

rpm -V kernel-source-2.6.5-7.95 passes OK.

Any ideas?

Click to view jb's profile Lurker 1 posts since
Jul 8, 2004
I have the exact same problem. Dual xeon cpus on a Dell 530....so the smp bigmem suse kernel is loaded by default. The standard SUSE distribution always worked before.

Please reply vmware team!

JB
Click to view hws's profile Lurker 6 posts since
Jun 28, 2004
Yes indeed, also here the same problem.

It seems I don't get to evaluating VMware for Linux, because too much time get lost with getting VMwarew started.

-hws-
Click to view MArco's profile Lurker 1 posts since
Jul 8, 2004
the same thing here and who knows when we will have any response form vmware team ?!!
Click to view olaf_loken's profile Lurker 7 posts since
Jul 3, 2004
do the following:

make cloneconfig && make modules ( don't have to do make modules install)
Then run vmware-config-pl
All the missing files will be made.

And the usb now works in SuSE 9.1.
:)
Click to view Darryl.Jones's profile Lurker 1 posts since
Jul 9, 2004
make: *** No rule to make target `cloneconfig'. Stop.

This is what I get when I try this - any suggestions?

Thanx
Click to view hws's profile Lurker 6 posts since
Jun 28, 2004
@ olaf_loken
Thank you very much.

@ Darryl.Jones

You have to run the command as SuperUser in
directory /usr/src/linux

As an inexpirienced user it took me some time to find this out.
The command is now running in an other window, but is now working for the last 5 minutes or so.

Have a lot of fun!

-hws-
Click to view partack's profile Lurker 1 posts since
Jul 9, 2004
Hello =) I'm new to linux.. and there are programs which i rely on to get things done. I have been trying for AGES to get workstation working for me on my Suse 9.1 and THIS was the answer that worked! thank you so much Olaf!

this is a big problem that a lot of people have been having.. i searched Google a LOT and found a lot of dead ends and non replies. maybe the VM team should post this somewhere easyer to locate instead of leaving it in a dark corner where it's hard to find..

also, i had a problem with my Suse kernel source packages not matching my running kernel but i updated my source packages using YAST too and that got me past that error.. (jsut incase anyone is interested)

Thanks again!
Click to view spookman's profile Lurker 19 posts since
Jul 8, 2004
I did everything as you stated, but I get the following error when I try to run the vmware tools install:

____________________________________________________

Trying to find a suitable vmhgfs module for your running kernel.

None of the pre-built vmhgfs modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the vmhgfs 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? [/usr/src/linux/include]

Extracting the sources of the vmhgfs module.

Building the vmhgfs module.

Using 2.6.x kernel build system.

make: Entering directory '/tmp/vmware-config0/vmhgfs-only'
make -C /usr/src/linux/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory '/usr/src/linux-2.6.5-7.95'
CC [M] /tmp/vmware-config0/vmhgfs-only/cpName.o
CC [M] /tmp/vmware-config0/vmhgfs-only/cpNameLinux.o
CC [M] /tmp/vmware-config0/vmhgfs-only/dev.o
In file included from /tmp/vmware-config0/vmhgfs-only/dev.c:20:
/tmp/vmware-config0/vmhgfs-only/main.h:184: error: conflicting types for 'kstrdup'
include/linux/slab.h:121: error: previous declaration of 'kstrdup'
make[2]: *** [/tmp/vmware-config0/vmhgfs-only/dev.o] Error 1
make[1]: *** [_module_/tmp/vmware-config0/vmhgfs-only] Error 2
make[1]: Leaving directory '/usr/src/linux-2.6.5-7.95'
make: *** [vmhgfs.ko] Error 2
make: Leaving directory '/tmp/vmware-config0/vmhgfs-only'
Unable to build the vmhgfs module.

The filesystem driver (vmhgfs module) is used only for the share folder
feature. The rest of the software provided by VMware Tools is designed to work
independently of this feature.
If you wish to have the shared folders feature, you can install the driver by
running vmware-config-tools.pl again after making sure that gcc, binutils, make
and the kernel sources for your running kernel are installed on your machine.
These packages are available on your distribution's installation CD.
[ Press Enter key to continue ]
Click to view petr's profile Champion VMware Employees 7,223 posts since
Jul 10, 2003
Replace kstrdup with vmstrdup in vmhgfs sources.
Click to view PDM's profile Lurker 7 posts since
Jul 12, 2004
do the following:

make cloneconfig && make modules ( don't have to do
make modules install)
Then run vmware-config-pl
All the missing files will be made.

And the usb now works in SuSE 9.1.
:)


How long should the make clone config process run ?

Mine's been running for nearly 5 minutes already!
Click to view kkleinsmith's profile Lurker 2 posts since
Apr 19, 2004
I am having a problem similar to this, but followed the instruction to no avail. I am actually using kernel 2.6.5-7.104default

here is the error log associated, and it looks like it is a vmmon-only module problem. Please help.

Building for VMware Workstation 4.5.2.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config4/vmmon-only'
make -C /lib/modules/2.6.5-7.104-default/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.5-7.104'
CC [M] /tmp/vmware-config4/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config4/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config4/vmmon-only/common/cpuid.o
CC [M] /tmp/vmware-config4/vmmon-only/common/hash.o
CC [M] /tmp/vmware-config4/vmmon-only/common/memtrack.o
CC [M] /tmp/vmware-config4/vmmon-only/common/phystrack.o
CC [M] /tmp/vmware-config4/vmmon-only/common/task.o
/tmp/vmware-config4/vmmon-only/common/task.c: In function `void
SwitchToMonitor32(VMCrossPageTOT*)':
/tmp/vmware-config4/vmmon-only/common/task.c:833: error: `VMCrossPage'
undeclared (first use this function)
/tmp/vmware-config4/vmmon-only/common/task.c:833: error: (Each undeclared
identifier is reported only once for each function it appears in.)
/tmp/vmware-config4/vmmon-only/common/task.c:833: error: syntax error before `)
' token
/tmp/vmware-config4/vmmon-only/common/task.c:834: error: `
MODULECALL_CROSS_PAGE_START' undeclared (first use this function)
/tmp/vmware-config4/vmmon-only/common/task.c:835: error: syntax error before `)
' token
make[2]: *** [/tmp/vmware-config4/vmmon-only/common/task.o] Error 1
make[1]: *** [_module_/tmp/vmware-config4/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.5-7.104'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config4/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/prebuilt_modules_linux.html".

Execution aborted.
Click to view petr's profile Champion VMware Employees 7,223 posts since
Jul 10, 2003
Do not you use x86-64? In that case try some older vmware-any-any-update instead of latest one.
Click to view kkleinsmith's profile Lurker 2 posts since
Apr 19, 2004
Thanks Petr, I knew that it was going to be simple, but not that simple.

I used version 75 and it worked great.

VMware Beta Programs

Want to be Considered for Future Beta Programs?

Learn More

VMware Developer

Download SDKs, APIs, videos,
training, and more in the Developer community.

Learn More

Developer
Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld
Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

Only VMware ... Delivers Nexus 1000V

Ensure consistent, policy-based network capabilities to virtual machines across your data center.

Learn More

Communities