Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
vmmon and vmnet not found 2.6.22
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
numb3rs1x
n00b
n00b


Joined: 02 May 2008
Posts: 26

PostPosted: Thu Sep 04, 2008 1:56 pm    Post subject: vmmon and vmnet not found 2.6.22 Reply with quote

Hello,

I recently got a 2.6.22 kernel working on my laptop and I wanted to set up a vmware server locally. I had this working at one time on a different kernel, but something wasn't right. Anyway, I tried to start the server and I keep getting this as a result:

* Starting VMware services: [ ok ]
* Virtual machine monitor [ !! ]

In /var/log/messages I see this:

modprobe: FATAL: Module vmmon not found.

I did some research on this problem and the only thing I can find is that you are to re-emerge the vmware software and re-run the config against your new kernel, which I've done at least three times with different options. The emerge finishes without error. I then run the /opt/vmware/server/bin/vmware-config.pl and it finishes with this error:

* Starting VMware services: [ ok ]
* Virtual machine monitor [ !! ]
* Virtual ethernet [ !! ]
* Module vmnet is not loaded. Please verify that it is loaded before [ !! ]
* running this script. [ !! ]


So obviously the modules aren't loading. lsmod doesn't show them and modprobe comes up with nothing. Any ideas?
Back to top
View user's profile Send private message
steveb
Advocate
Advocate


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Thu Sep 04, 2008 2:27 pm    Post subject: Reply with quote

Ensure that /usr/src/linux is pointing to your current kernel and then start:
Code:
/opt/vmware/server/bin/vmware-config.pl


// SteveB
Back to top
View user's profile Send private message
numb3rs1x
n00b
n00b


Joined: 02 May 2008
Posts: 26

PostPosted: Thu Sep 04, 2008 3:02 pm    Post subject: symlink Reply with quote

lrwxrwxrwx 1 root root 33 Aug 21 12:07 /usr/src/linux -> /usr/src/linux-2.6.22-gentoo-r10/

Now, is it ok that there is a slash at the end of the link? Could that be what's wrong?
Back to top
View user's profile Send private message
steveb
Advocate
Advocate


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Thu Sep 04, 2008 3:16 pm    Post subject: Re: symlink Reply with quote

numb3rs1x wrote:
lrwxrwxrwx 1 root root 33 Aug 21 12:07 /usr/src/linux -> /usr/src/linux-2.6.22-gentoo-r10/

Now, is it ok that there is a slash at the end of the link? Could that be what's wrong?
My install does not have an slash at the end but I don't know if having a slash will break things. However if you have eselect installed then just do this:
Code:
eselect kernel set linux-2.6.22-gentoo-r10
This should set the kernel link to the right way. After that run /opt/vmware/server/bin/vmware-config.pl

// SteveB
Back to top
View user's profile Send private message
numb3rs1x
n00b
n00b


Joined: 02 May 2008
Posts: 26

PostPosted: Thu Sep 04, 2008 3:39 pm    Post subject: same result Reply with quote

Thanks for the replies.


I ran that command, and it did change the way the symlink looked, it took the slash away. I ran the vmware-config command and I got the same result. I tried to re-emerge vmware-server and ran the vmware-config command and I still got the same result. What now?
Back to top
View user's profile Send private message
steveb
Advocate
Advocate


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Thu Sep 04, 2008 3:54 pm    Post subject: Reply with quote

What version of VMWare Server is that?
Back to top
View user's profile Send private message
numb3rs1x
n00b
n00b


Joined: 02 May 2008
Posts: 26

PostPosted: Thu Sep 04, 2008 4:07 pm    Post subject: vmware version Reply with quote

[ebuild R ] app-emulation/vmware-server-1.0.6.91891
Back to top
View user's profile Send private message
steveb
Advocate
Advocate


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Thu Sep 04, 2008 4:16 pm    Post subject: Reply with quote

Can you check if your kernel has CONFIG_UNUSED_SYMBOLS enabled?
Back to top
View user's profile Send private message
numb3rs1x
n00b
n00b


Joined: 02 May 2008
Posts: 26

PostPosted: Thu Sep 04, 2008 4:43 pm    Post subject: unused symbols Reply with quote

/usr/src/linux:cat .config|grep CONFIG_UNUSED_SYMBOLS
CONFIG_UNUSED_SYMBOLS=y
Back to top
View user's profile Send private message
steveb
Advocate
Advocate


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Thu Sep 04, 2008 4:49 pm    Post subject: Reply with quote

Would it be possible for you to post the complete output you get when executing /opt/vmware/server/bin/vmware-config.pl?
Back to top
View user's profile Send private message
numb3rs1x
n00b
n00b


Joined: 02 May 2008
Posts: 26

PostPosted: Thu Sep 04, 2008 5:06 pm    Post subject: Reply with quote

sudo /opt/vmware/server/bin/vmware-config.pl
Making sure services for VMware Server are stopped.

* Stopping VMware services: [ ok ]
* Virtual machine monitor [ ok ]
* Bridged networking on /dev/vmnet0 [ ok ]
* Virtual ethernet [ ok ]

Configuring fallback GTK+ 2.4 libraries.

You have already setup networking.

Would you like to skip networking setup and keep your old settings as they are?
(yes/no) [yes]

Please specify a port for remote console connections to use [905]

WARNING: VMware Server has been configured to run on a port different from the
default port. Remember to use this port when connecting to this server.
Configuring the VMware VmPerl Scripting API.

Building the VMware VmPerl Scripting API.

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

Installing the VMware VmPerl Scripting API.

The installation of the VMware VmPerl Scripting API succeeded.

Generating SSL Server Certificate

In which directory do you want to keep your virtual machine files?
[/var/lib/vmware/Virtual Machines]

Do you want to enter a serial number now? (yes/no/help) [no]

* Starting VMware services: [ ok ]
* Virtual machine monitor [ !! ]
* Virtual ethernet [ !! ]
* Module vmnet is not loaded. Please verify that it is loaded before [ !! ]
* running this script. [ !! ]

The configuration of VMware Server 1.0.6 build-91891 for Linux for this running
kernel completed successfully.



I'm not sure how to get more output than that. Did you need more?
Back to top
View user's profile Send private message
steveb
Advocate
Advocate


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Thu Sep 04, 2008 5:22 pm    Post subject: Reply with quote

Uha! That looks totally different then I have expected it. It's some while ago that I fiddled around with VMware Server 1.x (I am since some time now on VMware Server 2.0 RC x). If memory serves me right, then the Perl script should compile the modules for you. I don't know why this is not happening for you. Could you try to run the command as real root and not use sudo? Could you as well try to execute it with the parameter --help and post here what commands the script takes?

// SteveB
Back to top
View user's profile Send private message
numb3rs1x
n00b
n00b


Joined: 02 May 2008
Posts: 26

PostPosted: Thu Sep 04, 2008 5:29 pm    Post subject: Reply with quote

/opt/vmware/server/bin/vmware-config.pl --help
VMware Server 1.0.6 build-91891 for Linux configurator
Usage: /opt/vmware/server/bin/vmware-config.pl [[-][-]d[efault]]
[[-][-]c[ompile]] [[-][-]p[rebuilt]] [[-][-]t[ry-modules]]
. default: Automatically answer questions with the proposed answer.
. compile: Force the compilation of kernel modules.
. prebuilt: Force the use of pre-built kernel modules.
. try-modules: Try to load all the compatible modules from the VMware Server
package.


I tried to run as root and I got the same result. I also tried to run with the -t switch and got the same result.
Back to top
View user's profile Send private message
steveb
Advocate
Advocate


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Thu Sep 04, 2008 5:41 pm    Post subject: Reply with quote

Can you run it as follow:
Code:
/opt/vmware/server/bin/vmware-config.pl --default --compile
Or as follow:
Code:
/opt/vmware/server/bin/vmware-config.pl --compile


// SteveB
Back to top
View user's profile Send private message
numb3rs1x
n00b
n00b


Joined: 02 May 2008
Posts: 26

PostPosted: Thu Sep 04, 2008 6:13 pm    Post subject: Reply with quote

Same result.
Back to top
View user's profile Send private message
steveb
Advocate
Advocate


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Thu Sep 04, 2008 6:40 pm    Post subject: Reply with quote

numb3rs1x wrote:
Same result.
Okay. Then I have to give up. I have 2.0 RC2 installed over here and it looks like that 1.0.6 is behaving totally different. BTW: I am not sure if 1.0.6 does work on 2.6.22. If memory serves me right, then I think you need 2.6.23 or higher. I think I have read that somewhere, but I can not remember where and I am not 100% sure if it was in relation to 1.0.6 or another application. Anyway... If the Perl script does not build the modules, then something seems to be wrong with 1.0.6 and you should file a bug at bugs.gentoo.org or wait till some one else with 1.0.6 jumps in and responds to this thread. Sorry for that.

// SteveB
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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