Gentoo Archives: gentoo-user

From: David Relson <relson@×××××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] vmware problem
Date: Thu, 12 Jun 2008 03:57:55
Message-Id: 20080611235743.62b4a7b0@osage.osagesoftware.com
In Reply to: Re: [gentoo-user] vmware problem by Iain Buchanan
1 On Thu, 12 Jun 2008 11:45:46 +0930
2 Iain Buchanan wrote:
3
4 > Hi,
5 >
6 > On Wed, 2008-06-11 at 20:12 -0400, David Relson wrote:
7 > > Greetings,
8 > >
9 > > I've got vmware-server installed on my AMD64x2 workstation with
10 > > kernel 2.6.25-gentoo-r4. It used to work fine with kernel
11 > > 2.6.22-gentoo-r9.
12 > >
13 > > My current versions are:
14 > >
15 > > vmware-server: 1.0.5.80187
16 > > vmware-modules: 1.0.0.15-r1
17 > >
18 > > Today vmware won't start up. It's complaining:
19 > >
20 > > vmware is installed, but it has not been (correctly) configured
21 > > for this system. To (re-)configure it, invoke the following
22 > > command: /opt/vmware/server/bin/vmware-config.pl.
23 > >
24 > > I've run vmware-config.pl and accepted the default answers to all
25 > > questions -- the same thing I've done several times over the past
26 > > year. The run ends with the following messages:
27 > >
28 > > * Starting VMware services: [ ok ]
29 > > * Virtual machine monitor [ !! ]
30 > > * Virtual ethernet [ !! ]
31 > > * Module vmnet is not loaded. Please verify that it is loaded
32 > > before [ !! ]
33 > > * running this script. [ !! ]
34 > >
35 > > The configuration of VMware Server 1.0.5 build-80187 for Linux
36 > > for this running kernel completed successfully.
37 > >
38 > > Given the "module vmnet" message, I've run "emerge --oneshot
39 > > vmware-modules" and verified that /lib/modules/2.6.25-gentoo-r4/misc
40 > > has new versions of vmmon.ko and vmnet.ko. When I run "modprobe
41 > > vmnet", it reports:
42 > >
43 > > FATAL: Error inserting vmnet
44 > > (/lib/modules/2.6.25-gentoo-r4/misc/vmnet.ko): Invalid module
45 > > format
46 > >
47 > > What detail am I missing about building vmnet.ko ??
48 >
49 > I have various vmware module problems, and there are a number of
50 > tweaks I try when I get to a brick wall:
51 >
52 > sometimes just `rm /etc/vmware/not_configured` is enough, but given
53 > you can't load it manually, maybe not!
54 >
55 > try both:
56 > /etc/init.d/vmware stop
57 > /etc/vmware/init.d/vmware stop
58 > and make sure all vm* modules are unloaded.
59 >
60 > run vmware-config, but say no to everthing. Then start start the
61 > vmware init.d service, see if it works. (don't run vmware).
62 >
63 > stop vmware, run vmware-config again, and then add in your options.
64 > Start the vmware service again... and cross your fingers :)
65 >
66 > There might also be some useful messages in dmesg, or syslog (can't
67 > remember where they go) about why the module isn't loading - perhaps
68 > there's a deprecated kernel option you have to compile in?
69 >
70
71 /var/log/messages says:
72
73 vmnet: disagrees about version of symbol struct_module
74
75 So I upgraded linux-headers from 2.6.23-r3 to 2.6.25-r4, then emerged
76 vmware-modules again, ran "modprobe vmnet", and (again) got the above
77 message
78
79 Attempted to upgrade vmware-modules from 1.0.0.15-r1 to 1.0.0.17-r1 and
80 found it blocked by vmware-server-1.0.5.80187:
81
82 emerge --oneshot vmware-modules
83 Calculating dependencies... done!
84 [ebuild U ] app-emulation/vmware-modules-1.0.0.17-r1 [1.0.0.15-r1]
85 [blocks B ] >=app-emulation/vmware-modules-1.0.0.16 (is blocking
86 app-emulation/vmware-server-1.0.5.80187)
87
88 It seems that the vmware-server ebuild only permits modules-1.0.0.15 ...
89
90 Is any of this ringing any bells???
91
92 Also, reading the google translation of the German posting, it seems to
93 say there was a conflict with dual core and vmmon and (perhaps)
94 disabling SMP, then building vmmon, then enabling SMP gave a working
95 module. This is a guess and I've not yet tried it.
96
97 Regards,
98
99 David
100 --
101 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] vmware problem Andrey Falko <ma3oxuct@×××××.com>