Opened 8 years ago
Closed 8 years ago
#16800 closed defect (fixed)
Fedora 27 (rawhide) install faliure (Linux 4.12 host kernel)
Reported by: | George R. Goffe | Owned by: | |
---|---|---|---|
Component: | installer | Version: | VirtualBox 5.1.22 |
Keywords: | Cc: | ||
Guest type: | Linux | Host type: | other |
Description (last modified by )
I have just downloaded this version of VB and am getting the enclosed messages.
None of the packages referenced exist.
VirtualBox 5.1.23 r115786 installer, built 2017-05-26T13:46:46Z.
Testing system setup... make KBUILD_VERBOSE=1 SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 CONFIG_MODULE_SIG= -C /lib/modules/4.12.0-0.rc2.git3.1.fc27.x86_64/build -j8 modules make[1]: warning: -jN forced in submake: disabling jobserver mode. Makefile:937: "Cannot use CONFIG_STACK_VALIDATION, please install libelf-dev, libelf-devel or elfutils-libelf-devel" 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 ; \
Attachments (3)
Change History (20)
by , 8 years ago
Attachment: | vbox-install.log added |
---|
comment:1 by , 8 years ago
Description: | modified (diff) |
---|
comment:2 by , 8 years ago
Summary: | Fedora 27 (rawhide) install faliure → Fedora 27 (rawhide) install faliure (Linux 4.12 host kernel) |
---|
comment:3 by , 8 years ago
comment:4 by , 8 years ago
Frank,
Thanks for your response.
I have upgraded to "todays" testbuilds. It looks like it installed but I get these messages and don't know where/how to proceed. Your thoughts would be GLADLY accepted.
George...
VirtualBox: Error -610 in supR3HardenedMainInitRuntime! VirtualBox: dlopen("/opt/VirtualBox/VBoxRT.so",) failed: <NULL>
VirtualBox: Tip! It may help to reinstall VirtualBox.
comment:5 by , 8 years ago
obiewan, please check the permissions of the / and the /opt directory. I assume that /opt has the wrong permissions. It should be only writable by root.
comment:6 by , 8 years ago
Frank,
You are the master! I changed /opt and / to 755 and tried the 5.2.22 version of VB which failed and the latest development version which is now running.
When did VB start enforcing these permissions? As far as I KNOW, I have not changed them until a few minutes ago. It would be nice to have a meaningful error message if this situation ever happens. What do you think?
Best Regards,
George...
Replying to obiewan:
I have just downloaded this version of VB and am getting the enclosed messages.
None of the packages referenced exist.
VirtualBox 5.1.23 r115786 installer, built 2017-05-26T13:46:46Z.
Testing system setup... make KBUILD_VERBOSE=1 SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 CONFIG_MODULE_SIG= -C /lib/modules/4.12.0-0.rc2.git3.1.fc27.x86_64/build -j8 modules make[1]: warning: -jN forced in submake: disabling jobserver mode. Makefile:937: "Cannot use CONFIG_STACK_VALIDATION, please install libelf-dev, libelf-devel or elfutils-libelf-devel" 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 ; \
comment:7 by , 8 years ago
Frank,
You are the master! I changed /opt and / to 755 and tried the 5.2.22 version of VB which failed and the latest development version which is now running.
When did VB start enforcing these permissions? As far as I KNOW, I have not changed them until a few minutes ago. It would be nice to have a meaningful error message if this situation ever happens. What do you think?
Best Regards,
George...
comment:8 by , 8 years ago
Slackware64 Current - kernel 4.12.0-rc7-burdi64 Installing VB 5.1.22-115126 fails with the same errors as the OP. Installing the VB 5.1.23-116306 testbuild succeeds.
As an aside: The autoconf.h error as mentioned in this issue's description is a red herring: it also is reported with the successful installations of VB 5.1.22-115126 on kernel 4.11.7 and the VB 5.1.23-116306 on kernel kernel 4.12.0-rc7.
comment:9 by , 8 years ago
... and if you at the actual output then you will notice that this is just the autoconf.h check from the kernel Makefile -- actually the instructions which would print the error message and not the error message itself.
comment:10 by , 8 years ago
can't compile vbox kernel modules with last test build and kernel 4.12
vbox-install.log is attached
comment:11 by , 8 years ago
joeAverage, which package did you install, the Linux 64-bit .run package?
comment:12 by , 8 years ago
Thanks for quick support !!!
this one: VirtualBox-5.1.23-116627-Linux_amd64.run
comment:13 by , 8 years ago
Weird. I installed the latest available kernel from here which is currently 4.12.0-0.rc7.git2.1.fc27 on Fedora 25. Didn't observe your problem. I will install the 4.12.0-1.fc27 kernel once it is available and re-test...
comment:14 by , 8 years ago
I'm running vanilla kernel 4.12 from here: https://www.kernel.org/
AFAIK gcc has changed from Fedora 25 to 26, too
F25: gcc-6.3.1-1.fc25
F26: gcc-7.1.1-3.fc26.x86_64
4.12.0-0.rc7.git2.1.fc27 crashes on my box
comment:15 by , 8 years ago
joeAverage, actually it's a difference in your configuration. The modules should successfully compile if you set CONFIG_JUMP_LABEL=y.
A better fix can be found in r67769. This fix has to be applied to all iprt/string.h files in the kernel module source directory.
The most recent 5.1.x test builds should work on Linux 4.12.