Gentoo Archives: gentoo-user

From: Chris Lieb <chris.lieb@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Reverting VMware Server
Date: Mon, 11 May 2009 19:58:46
Message-Id: 4A088372.7010309@gmail.com
1 I tried upgrading VMware server on one of my machines from 1.0.9 to
2 2.0.1 today. After the upgrade, I couldn't get any of the modules to
3 insert (Invalid module format). I decided that I would downgrade back
4 to vmware-server-1.0.9.156507 and vmware-modules-1.0.0.15-r2 so that I
5 could get the machine back into a working state.
6
7 I keyworded vmware-server-2* and masked !=vmware-modules-1.0.0.15* to
8 make sure that I'd downgrade the two components of VMware server. I ran
9 emerge, it listed the two packages as downgrades, and let it run.
10 Almost immediately it died while starting the build for vmware-modules
11 with the following error:
12
13 * Could not find a usable .config in the kernel source directory.
14 * Please ensure that /usr/src/linux points to a configured set of Linux
15 sources.
16 * If you are using KBUILD_OUTPUT, please set the environment var so that
17 * it points to the necessary object directory so that it might find
18 .config.
19 *
20 * ERROR: app-emulation/vmware-modules-1.0.0.15-r2 failed.
21 * Call stack:
22 * ebuild.sh, line 48: Called pkg_setup
23 * environment, line 3300: Called vmware-mod_pkg_setup
24 * environment, line 4423: Called linux-mod_pkg_setup
25 * environment, line 2695: Called linux-info_pkg_setup
26 * environment, line 2671: Called check_extra_config
27 * environment, line 653: Called require_configured_kernel
28 * environment, line 3539: Called die
29 * The specific snippet of code:
30 * die "Kernel not configured; no .config found in ${KV_OUT_DIR}";
31 * The die message:
32 * Kernel not configured; no .config found in
33 /lib/modules/2.6.27-gentoo-r8/build
34
35 I looked in the directory that the .config file was supposedly missing
36 from, but it was right there. Also, this message seemed a little
37 strange since my currently running kernel is 2.6.28-gentoo-r5, though I
38 kept a copy of 2.6.27-r10 around. I don't even have a directory for
39 modules for 2.6.27-gentoo-r8 around anymore.
40
41 Why is the vmware-modules ebuild trying to find a .config for a kernel
42 that I don't have installed anywhere on my computer?
43
44 Thanks,
45 Chris Lieb

Replies

Subject Author
[gentoo-user] Re: Reverting VMware Server Chris Lieb <chris.lieb@×××××.com>
Re: [gentoo-user] Reverting VMware Server Paul Hartman <paul.hartman+gentoo@×××××.com>