VirtualBox

Opened 7 years ago

Closed 7 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 Frank Mehnert)

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)

vbox-install.log (100.9 KB ) - added by George R. Goffe 7 years ago.
vbox-install.2.log (30.1 KB ) - added by joeAverage 7 years ago.
log from vbox module build with kernel 4.12
defconfig (14.2 KB ) - added by joeAverage 7 years ago.
defconfig from kernel 4.12 build

Download all attachments as: .zip

Change History (20)

by George R. Goffe, 7 years ago

Attachment: vbox-install.log added

comment:1 by Frank Mehnert, 7 years ago

Description: modified (diff)

comment:2 by Frank Mehnert, 7 years ago

Summary: Fedora 27 (rawhide) install faliureFedora 27 (rawhide) install faliure (Linux 4.12 host kernel)

comment:3 by Frank Mehnert, 7 years ago

The most recent 5.1.x test builds should work on Linux 4.12.

comment:4 by George R. Goffe, 7 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 Frank Mehnert, 7 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.

in reply to:  description comment:6 by George R. Goffe, 7 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 George R. Goffe, 7 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 burdi01, 7 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 Frank Mehnert, 7 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.

by joeAverage, 7 years ago

Attachment: vbox-install.2.log added

log from vbox module build with kernel 4.12

comment:10 by joeAverage, 7 years ago

can't compile vbox kernel modules with last test build (116627) on Fedora 26 (64 Bit) and kernel 4.12 with gcc version 7.1.1 20170622

vbox-install.log is attached (renamed during upload to vbox-install.2.log)

Hints to debug/fix this ?

Last edited 7 years ago by joeAverage (previous) (diff)

comment:11 by Frank Mehnert, 7 years ago

joeAverage, which package did you install, the Linux 64-bit .run package?

comment:12 by joeAverage, 7 years ago

Thanks for quick support !!!

this one: VirtualBox-5.1.23-116627-Linux_amd64.run

by joeAverage, 7 years ago

Attachment: defconfig added

defconfig from kernel 4.12 build

comment:13 by Frank Mehnert, 7 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 joeAverage, 7 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

Last edited 7 years ago by joeAverage (previous) (diff)

comment:15 by Frank Mehnert, 7 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.

comment:16 by joeAverage, 7 years ago

all fine here setting CONFIG_JUMP_LABEL=y

besten Dank !!!

comment:17 by Frank Mehnert, 7 years ago

Resolution: fixed
Status: newclosed

Fix is part of 5.1.24.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use