Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
vmware and kernel 2.6.3-gentoo-r1
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
LucaMartinetti
n00b
n00b


Joined: 23 Jan 2003
Posts: 44
Location: Rome [IT]

PostPosted: Sat Feb 21, 2004 11:02 am    Post subject: vmware and kernel 2.6.3-gentoo-r1 Reply with quote

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 :D
_________________
http://www.phatsoft.net


Last edited by LucaMartinetti on Sat Feb 21, 2004 11:45 am; edited 1 time in total
Back to top
View user's profile Send private message
spacejock
Tux's lil' helper
Tux's lil' helper


Joined: 26 Sep 2003
Posts: 94
Location: Australia

PostPosted: Sat Feb 21, 2004 11:41 am    Post subject: Reply with quote

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
View user's profile Send private message
Exci
Apprentice
Apprentice


Joined: 12 Jul 2002
Posts: 265
Location: The Netherlands, Zoetermeer

PostPosted: Sat Feb 21, 2004 12:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
spacejock
Tux's lil' helper
Tux's lil' helper


Joined: 26 Sep 2003
Posts: 94
Location: Australia

PostPosted: Sat Feb 21, 2004 3:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
LucaMartinetti
n00b
n00b


Joined: 23 Jan 2003
Posts: 44
Location: Rome [IT]

PostPosted: Sat Feb 21, 2004 8:39 pm    Post subject: Reply with quote

Thanks Guys! :D
_________________
http://www.phatsoft.net
Back to top
View user's profile Send private message
boris64
Veteran
Veteran


Joined: 04 Oct 2003
Posts: 1770
Location: Vechelde/Peine

PostPosted: Sun Feb 22, 2004 4:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
alexmaz
n00b
n00b


Joined: 07 Jul 2002
Posts: 35
Location: Milano - Italia

PostPosted: Mon Feb 23, 2004 4:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
BobDylan
Tux's lil' helper
Tux's lil' helper


Joined: 10 Dec 2003
Posts: 135
Location: On The Road

PostPosted: Mon Feb 23, 2004 5:13 pm    Post subject: Reply with quote

Have a look at this thread:

https://forums.gentoo.org/viewtopic.php?t=127682&highlight=vmware
Back to top
View user's profile Send private message
ian!
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 3829
Location: Essen, Germany

PostPosted: Thu Mar 04, 2004 12:08 pm    Post subject: Reply with quote

Moved to Dups.

:arrow: 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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
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