VirtualBox

Ticket #16800 (closed defect: fixed)

Opened 5 months ago

Last modified 3 months ago

Fedora 27 (rawhide) install faliure (Linux 4.12 host kernel)

Reported by: obiewan Owned by:
Priority: critical Component: installer
Version: VirtualBox 5.1.22 Keywords:
Cc: Guest type: Linux
Host type: other

Description (last modified by frank) (diff)

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

vbox-install.log Download (100.9 KB) - added by obiewan 5 months ago.
vbox-install.2.log Download (30.1 KB) - added by joeAverage 4 months ago.
log from vbox module build with kernel 4.12
defconfig Download (14.2 KB) - added by joeAverage 4 months ago.
defconfig from kernel 4.12 build

Change History

Changed 5 months ago by obiewan

comment:1 Changed 5 months ago by frank

  • Description modified (diff)

comment:2 Changed 5 months ago by frank

  • Summary changed from Fedora 27 (rawhide) install faliure to Fedora 27 (rawhide) install faliure (Linux 4.12 host kernel)

comment:3 Changed 5 months ago by frank

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

comment:4 Changed 5 months ago by obiewan

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 Changed 4 months ago by frank

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 in reply to: ↑ description Changed 4 months ago by obiewan

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 Changed 4 months ago by obiewan

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 Changed 4 months ago by burdi01

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 Changed 4 months ago by frank

... 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.

Changed 4 months ago by joeAverage

log from vbox module build with kernel 4.12

comment:10 Changed 4 months ago by joeAverage

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 4 months ago by joeAverage (previous) (diff)

comment:11 Changed 4 months ago by frank

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

comment:12 Changed 4 months ago by joeAverage

Thanks for quick support !!!

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

Changed 4 months ago by joeAverage

defconfig from kernel 4.12 build

comment:13 Changed 4 months ago by frank

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 Changed 4 months ago by joeAverage

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 4 months ago by joeAverage (previous) (diff)

comment:15 Changed 4 months ago by frank

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 Changed 4 months ago by joeAverage

all fine here setting CONFIG_JUMP_LABEL=y

besten Dank !!!

comment:17 Changed 3 months ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

Fix is part of 5.1.24.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use