VirtualBox

Opened 6 years ago

Closed 6 years ago

#18850 closed defect (duplicate)

VBox Guest Additions: Failed Building Kernel Modules for 3.10.0-1062.el7.x86_64.

Reported by: DonC Owned by:
Component: guest additions Version: VirtualBox 6.0.10
Keywords: Cc:
Guest type: other Host type: Windows

Description

When building the VirtualBox Guest Additions kernel modules (yum update process) saying to look into the /var/log/vboxadd-setup.log. I have included it in this report.

Attachments (1)

vboxadd-setup.log (9.1 KB ) - added by DonC 6 years ago.
File with errors this time - I hope

Download all attachments as: .zip

Change History (6)

comment:1 by Socratis, 6 years ago

You could have included the whole file as is, it's only 3 lines:

Building the main Guest Additions 6.0.10 module for kernel 4.14.35-1902.4.8.el7uek.x86_64.
Building the shared folder support module.
Building the graphics driver module.

I don't see anything wrong in there, do you?

comment:2 by DonC, 6 years ago

Interesting. I will try and re-create it and see what happens. Maybe just doing the add to the Linux kernel will have the same issue.

comment:3 by DonC, 6 years ago

Okay - It was easier to recreate than expected. Here is what I did...

[root@linux71db ~]# /sbin/rcvboxadd quicksetup 3.10.0-1062.el7.x86_64
VirtualBox Guest Additions: Building the modules for kernel 
3.10.0-1062.el7.x86_64.

VirtualBox Guest Additions: Look at /var/log/vboxadd-setup.log to find out what 
went wrong
[root@linux71db ~]# 

I have included the log file and it does have the errors this time. At the top og the file, it is testing for xxx but I have those files:

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 ;							\

[root@linux71db /]# find . -name autoconf.h 
./usr/src/kernels/4.14.35-1902.3.1.el7uek.x86_64/include/generated/autoconf.h
./usr/src/kernels/3.10.0-957.27.2.el7.x86_64/include/generated/autoconf.h
./usr/src/kernels/4.14.35-1902.3.2.el7uek.x86_64/include/generated/autoconf.h
./usr/src/kernels/3.10.0-957.21.3.el7.x86_64/include/generated/autoconf.h
./usr/src/kernels/3.10.0-1062.el7.x86_64/include/generated/autoconf.h  <--------------
./usr/src/kernels/4.14.35-1902.4.8.el7uek.x86_64/include/generated/autoconf.h
[root@linux71db /]# find . -name auto.conf
./usr/src/kernels/4.14.35-1902.3.1.el7uek.x86_64/include/config/auto.conf
./usr/src/kernels/3.10.0-957.27.2.el7.x86_64/include/config/auto.conf
./usr/src/kernels/4.14.35-1902.3.2.el7uek.x86_64/include/config/auto.conf
./usr/src/kernels/3.10.0-957.21.3.el7.x86_64/include/config/auto.conf
./usr/src/kernels/3.10.0-1062.el7.x86_64/include/config/auto.conf  <------------------
./usr/src/kernels/4.14.35-1902.4.8.el7uek.x86_64/include/config/auto.conf

Not so sure what the rest of the errors mean.

Version 0, edited 6 years ago by DonC (next)

by DonC, 6 years ago

Attachment: vboxadd-setup.log added

File with errors this time - I hope

comment:4 by ggouaillardet, 6 years ago

Same error for me.

It occured on VirtualBox 6.0.12 when I updated to CentOS 7 kernel 3.10.0-1062.el7.x86_64

comment:5 by paulson, 6 years ago

Resolution: duplicate
Status: newclosed
Summary: Failed Building Kernel Modules for 3.10.0-1062.el7.x86_64.VBox Guest Additions: Failed Building Kernel Modules for 3.10.0-1062.el7.x86_64.

This is a duplicate of ticket #18917. See the resolution details there.

Note: See TracTickets for help on using tickets.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette