Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Building VirtualBox kernel modules failed
Date: Sun, 21 Dec 2014 10:47:21
Message-Id: 2710665.YSfK8Wt3ok@andromeda
In Reply to: [gentoo-user] Building VirtualBox kernel modules failed by Gevisz
1 On Sunday, December 21, 2014 10:16:50 AM Gevisz wrote:
2 > Tonight I have compiled a new sys-kernel/gentoo-sources
3 > version 3.17.7 (the previous version was 3.16.5).
4 > Everything as usual:
5 > 1) copy .config from /usr/src/linux-3.16.5-gentoo to /usr/src/linux
6 > that points to the /usr/src/linux-3.17.7-gentoo,
7 > 2) `cd /usr/src/linux`
8 > 3) `make oldconfig`,
9 > 4) `make && make modules_install`,
10 > 5) copy bzImage, .config and System.map to /boot,
11 > and, finally,
12 > 6) `emerge @module-rebuild`.
13 >
14 > Unfortunately, the last operation, that in my case usually
15 > recompiles kernel modules needed for VirtualBox, failed with
16 > the message I provide below. It is very strange for me
17 > because I do not think that those (sometimes unconscious :)
18 > choices I made during `make oldconfig` can influence building
19 > VirtualBox kernel modules.
20 >
21 > >>> Install virtualbox-modules-4.2.24 into
22 > >>> /var/tmp/portage/app-emulation/virtualbox-modules-4.2.24/image/
23 > >>> category app-emulation
24 > * Installing vboxdrv module
25 > * Installing vboxnetflt module
26 > * Installing vboxnetadp module
27 > install: cannot stat ‘vboxnetadp.ko’: No such file or directory
28 > !!! doins: vboxnetadp.ko does not exist
29 > * ERROR: app-emulation/virtualbox-modules-4.2.24::gentoo failed (install
30 > phase): * doins failed
31 > *
32 > * If you need support, post the output of `emerge --info
33 > '=app-emulation/virtualbox-modules-4.2.24::gentoo'`, * the complete build
34 > log and the output of `emerge -pqv
35 > '=app-emulation/virtualbox-modules-4.2.24::gentoo'`. * The complete build
36 > log is located at
37 > '/var/tmp/portage/app-emulation/virtualbox-modules-4.2.24/temp/build.log'.
38 > * The ebuild environment file is located at
39 > '/var/tmp/portage/app-emulation/virtualbox-modules-4.2.24/temp/environment'
40 > . * Working directory:
41 > '/var/tmp/portage/app-emulation/virtualbox-modules-4.2.24/work' * S:
42 > '/var/tmp/portage/app-emulation/virtualbox-modules-4.2.24/work' * QA
43 > Notice: file does not exist:
44 > *
45 > * doins: vboxnetadp.ko does not exist
46 >
47 > And this is the output from `emerge --info
48 > '=app-emulation/virtualbox-modules-4.2.24::gentoo'`:
49 >
50 >
51 > Any thought?
52
53 Can you provide the complete build log as well?
54
55 --
56 Joost

Replies

Subject Author
Re: [gentoo-user] Building VirtualBox kernel modules failed Gevisz <gevisz@×××××.com>