View previous topic :: View next topic |
Author |
Message |
LucaMartinetti n00b
Joined: 23 Jan 2003 Posts: 44 Location: Rome [IT]
|
Posted: Sat Feb 21, 2004 11:02 am Post subject: vmware and kernel 2.6.3-gentoo-r1 |
|
|
Hi!
I synced my system yesterday, 2.6.3-gentoo-r1 was marked as stable, I installed it.. and now I'm unable to recompile vmware modules:
Quote: |
root@phatsoft-one vmware-workstation # /opt/vmware/bin/vmware-config.pl
Making sure VMware Workstation's services are stopped.
Stopping VMware services:
Virtual machine monitor done
Bridged networking on /dev/vmnet0 done
DHCP server on /dev/vmnet8 done
NAT networking on /dev/vmnet8 done
Host-only networking on /dev/vmnet8 done
Virtual ethernet done
Trying to find a suitable vmmon module for your running kernel.
None of VMware Workstation's pre-built vmmon modules is suitable for your
running kernel. Do you want this program to try to build the vmmon 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? [/lib/modules/2.6.3-gentoo-r1/build/include]
Extracting the sources of the vmmon module.
Building the vmmon module.
Building for VMware Workstation 4.x.x
make: Entering directory `/tmp/vmware-config13/vmmon-only'
make -C /lib/modules/2.6.3-gentoo-r1/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.3-gentoo-r1'
*** Warning: Overriding SUBDIRS on the command line can cause
*** inconsistencies
make[2]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/asm-i386/asm_offsets.h
CC [M] /tmp/vmware-config13/vmmon-only/linux/driver.o
/tmp/vmware-config13/vmmon-only/linux/driver.c:136: warning: initialization from incompatible pointer type
/tmp/vmware-config13/vmmon-only/linux/driver.c:140: warning: initialization from incompatible pointer type
/tmp/vmware-config13/vmmon-only/linux/driver.c: In function `Panic':
/tmp/vmware-config13/vmmon-only/linux/driver.c:2872: warning: implicit declaration of function `_exit'
CC [M] /tmp/vmware-config13/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config13/vmmon-only/common/vmx86.o
CC [M] /tmp/vmware-config13/vmmon-only/common/memtrack.o
CC [M] /tmp/vmware-config13/vmmon-only/common/phystrack.o
CC [M] /tmp/vmware-config13/vmmon-only/common/cpuid.o
/usr/bin/gcc -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon -Iinclude/asm-i386/mach-default -O2 -fomit-frame-pointer -Wdeclaration-after-statement -DMODULE -Wall -Wstrict-prototypes -DVMWARE__FIX_IO_APIC_BASE=FIX_IO_APIC_BASE_0 -DVMW_HAVE_EPOLL -DVME_DEFAULT=VME_V4 -DVMW_USING_KBUILD -I/tmp/vmware-config13/vmmon-only/./include -I/tmp/vmware-config13/vmmon-only/./common -I/tmp/vmware-config13/vmmon-only/./linux -fno-exceptions -c -o /tmp/vmware-config13/vmmon-only/common/task.o /tmp/vmware-config13/vmmon-only/common/task.C
cc1plus: warning: "-Wdeclaration-after-statement" is valid for C/ObjC but not
for C++
LD [M] /tmp/vmware-config13/vmmon-only/vmmon.o
Building modules, stage 2.
MODPOST
CC /tmp/vmware-config13/vmmon-only/vmmon.mod.o
LD [M] /tmp/vmware-config13/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/linux-2.6.3-gentoo-r1'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config13/vmmon-only'
Unable to make a vmmon module that can be loaded in the running kernel:
insmod: error inserting '/tmp/vmware-config13/vmmon.o': -1 Unknown symbol in module
There is probably a slight difference in the kernel configuration between the
set of C header files you specified and your running kernel. You may want to
rebuild a kernel based on that directory, or specify another directory.
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.
|
Any suggestion?
I'm also using:
Quote: |
* sys-kernel/linux-headers
Latest version available: 2.4.21
Latest version installed: 2.6.3
Size of downloaded files: 27,864 kB
Homepage: http://www.kernel.org/ http://www.gentoo.org/
Description: Linux 2.4.21 headers from kernel.org
|
Thanks _________________ http://www.phatsoft.net
Last edited by LucaMartinetti on Sat Feb 21, 2004 11:45 am; edited 1 time in total |
|
Back to top |
|
|
spacejock Tux's lil' helper
Joined: 26 Sep 2003 Posts: 94 Location: Australia
|
Posted: Sat Feb 21, 2004 11:41 am Post subject: |
|
|
Same problem here with development-sources 2.6.3
Cheers
Simon _________________ Author of the Hal Spacejock series ... "Better than Red Dwarf" - Tom Holt
Download the first book free |
|
Back to top |
|
|
Exci Apprentice
Joined: 12 Jul 2002 Posts: 265 Location: The Netherlands, Zoetermeer
|
Posted: Sat Feb 21, 2004 12:15 pm Post subject: |
|
|
change the following line in the ebuild
Code: | N26KernSupport="vmware-any-any-update50" |
to
Code: | N26KernSupport="vmware-any-any-update51" |
and don't forget to remove the /etc/vmware/not_configured file |
|
Back to top |
|
|
spacejock Tux's lil' helper
Joined: 26 Sep 2003 Posts: 94 Location: Australia
|
Posted: Sat Feb 21, 2004 3:58 pm Post subject: |
|
|
And that, my dear friends, is why Gentoo, this forum, and Gentoo users completely rock.
You have my thanks,
Simon _________________ Author of the Hal Spacejock series ... "Better than Red Dwarf" - Tom Holt
Download the first book free |
|
Back to top |
|
|
LucaMartinetti n00b
Joined: 23 Jan 2003 Posts: 44 Location: Rome [IT]
|
|
Back to top |
|
|
boris64 Veteran
Joined: 04 Oct 2003 Posts: 1770 Location: Vechelde/Peine
|
Posted: Sun Feb 22, 2004 4:05 pm Post subject: |
|
|
hi,
i have another problem here.
when i try to configure a fresh installed vmware-workstation,
Code: | root@drbloed / # /opt/vmware/bin/vmware-config.pl
Making sure VMware Workstation's services are stopped.
|
nothing happens! i can't break this script, i have to explicitly kill it.
using kernel gentoo-dev-sources 2.6.3-r1 and neuest vmware (someversion-r1).
my ebuild is already fixed (any-update-51-stuff) after an "emerge sync" _________________ boris64.net 200x / visit my desktop / try these tiny kernel patches |
|
Back to top |
|
|
alexmaz n00b
Joined: 07 Jul 2002 Posts: 35 Location: Milano - Italia
|
Posted: Mon Feb 23, 2004 4:51 pm Post subject: |
|
|
borisdigital wrote: | hi,
i have another problem here.
when i try to configure a fresh installed vmware-workstation,
Code: | root@drbloed / # /opt/vmware/bin/vmware-config.pl
Making sure VMware Workstation's services are stopped.
|
nothing happens! i can't break this script, i have to explicitly kill it.
using kernel gentoo-dev-sources 2.6.3-r1 and neuest vmware (someversion-r1).
my ebuild is already fixed (any-update-51-stuff) after an "emerge sync" |
I have the same problem with all the 2.6 kernels _________________ Italy rejects war as an instrument of aggression against the freedoms of others peoples and as a means for settling international controversies |
|
Back to top |
|
|
BobDylan Tux's lil' helper
Joined: 10 Dec 2003 Posts: 135 Location: On The Road
|
|
Back to top |
|
|
ian! Bodhisattva
Joined: 25 Feb 2003 Posts: 3829 Location: Essen, Germany
|
Posted: Thu Mar 04, 2004 12:08 pm Post subject: |
|
|
Moved to Dups.
https://forums.gentoo.org/viewtopic.php?t=127682 _________________ "To have a successful open source project, you need to be at least somewhat successful at getting along with people." -- Daniel Robbins |
|
Back to top |
|
|
|