[Solved] ERROR: Kernel configuration is invalid with RHEL 7.4

Discussions about using Linux guests in VirtualBox.

[Solved] ERROR: Kernel configuration is invalid with RHEL 7.4

Postby eeijlar » 2. Dec 2017, 12:52

I get the 'ERROR: Kernel configuration is invalid' error message:

Code: Select all   Expand viewCollapse view
/usr/bin/gmake -i V=1 CONFIG_MODULE_SIG= -C /lib/modules/3.10.0-693.11.1.el7.x86_64/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 INSTALL_MOD_PATH= INSTALL_MOD_DIR=misc modules_install
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (                \
echo >&2;                                                       \
echo >&2 "  ERROR: Kernel configuration is invalid.";           \
echo >&2 "         include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to fix it.";      \
echo >&2 ;                                                      \
/bin/false)
mkdir -p /lib/modules/3.10.0-693.11.1.el7.x86_64/misc
/usr/bin/gmake -i -f ./scripts/Makefile.modinst


when trying to install the guest additions for Linux RHEL 7.4, with Windows 7 as the host OS.

In this post:
viewtopic.php?f=15&t=84201#p399506

it advised updating to a later version should work so I tried Virtual Box 5.1.30 and 5.1.31

I also tried 5.2 as advised here:
viewtopic.php?f=3&t=85105

I still get the error it doesn't matter what version I use.
Last edited by socratis on 3. Dec 2017, 10:23, edited 1 time in total.
Reason: Marked as [Solved].
eeijlar
 
Posts: 3
Joined: 16. Oct 2014, 12:49

Re: ERROR: Kernel configuration is invalid with RHEL 7.4

Postby socratis » 2. Dec 2017, 14:09

That's not an error, that's an "echo" statement from the installer script.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 12746
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: ERROR: Kernel configuration is invalid with RHEL 7.4

Postby eeijlar » 3. Dec 2017, 09:32

Ah ok... sorry didn't notice that. I guess it installed successfully so. The X server still doesn't come up though:
Code: Select all   Expand viewCollapse view
[    27.205] (II) LoadModule: "vboxvideo"
[    27.247] (WW) Warning, couldn't open module vboxvideo
[    27.247] (II) UnloadModule: "vboxvideo"
[    27.247] (II) Unloading vboxvideo
[    27.247] (EE) Failed to load module "vboxvideo" (module does not exist, 0)
[    27.248] (EE) No drivers available.


I got it to start by moving away the old xorg.conf:
Code: Select all   Expand viewCollapse view
mv /etc/X11/xorg.conf /etc/X11/xorg.conf.old


Thanks for your help.
eeijlar
 
Posts: 3
Joined: 16. Oct 2014, 12:49

Re: ERROR: Kernel configuration is invalid with RHEL 7.4

Postby socratis » 3. Dec 2017, 10:23

Great, thanks for the feedback. Marking as [Solved].
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 12746
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5


Return to Linux Guests

Who is online

Users browsing this forum: Google [Bot] and 8 guests