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)
Change History (6)
comment:1 by , 6 years ago
comment:2 by , 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 , 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.
comment:4 by , 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 , 6 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
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.
You could have included the whole file as is, it's only 3 lines:
I don't see anything wrong in there, do you?