[Centos 9 Guest] Cannot install Guest Additions 7.0.12

Discussions about using Linux guests in VirtualBox.
Post Reply
fdorin
Posts: 1
Joined: 10. Nov 2023, 15:29

[Centos 9 Guest] Cannot install Guest Additions 7.0.12

Post by fdorin »

Hi,
On a fresh install of Centos 9 as a guest os, I cannot install the guest additions when running VBoxLinuxAdditions.run

Information about the config :
- host OS : Windows 10
- guest OS : CentOS 9
- virtual box version : 7.0.12 r159484
- virtual box guest additions versions : 7.0.12
- on CentOS, just adding packages kernel-headers & kernel-devel before trying to install guest additions

According to the log, the problem is with an undefined symbol reported by modpost :

Code: Select all

make -f ./scripts/Makefile.modpost
  sed 's/\.ko$/\.o/' /tmp/vbox.0/modules.order | scripts/mod/modpost -m -a  -o /tmp/vbox.0/Module.symvers -e -i Module.symvers   -T -
ERROR: modpost: "__pte_offset_map" [/tmp/vbox.0/vboxguest.ko] undefined!
make[2]: *** [scripts/Makefile.modpost:134 : /tmp/vbox.0/Module.symvers] Erreur 1
make[2]: *** Suppression du fichier « /tmp/vbox.0/Module.symvers »
make[1]: *** [Makefile:1843: modules] Error 2
make: *** [/tmp/vbox.0/Makefile-footer.gmk:133: vboxguest] Error 2
kernel modules and services were not reloaded
Any advice ?
Attachments
vboxadd-setup.log
(29.51 KiB) Downloaded 15 times
IvanHoHo
Posts: 1
Joined: 15. Nov 2023, 22:45

Re: [Centos 9 Guest] Cannot install Guest Additions 7.0.12

Post by IvanHoHo »

Hi.

Have same problem. Centos 9 "kernel 5.14.0-383.el9.x86_64"
Any suggestions
Attachments
vboxadd-setup.log
(29.49 KiB) Downloaded 20 times
jve
Posts: 1
Joined: 18. Nov 2023, 09:35

Re: [Centos 9 Guest] Cannot install Guest Additions 7.0.12

Post by jve »

Hello,

I think that it's a kernel issue with version 5.14.0-383.el9.x86_64

Set back to previous kernel minor version (for me it was 5.14.0-295.el9.x86_64) with grubby commands and then try again to install version 7.0.12 of VirtualBox Guest Additions is successfull.

I don't know what to do next but wait for next minor version and try to see if it's fixed.

Best regards
sylk
Posts: 2
Joined: 20. Nov 2023, 18:47

Re: [Centos 9 Guest] Cannot install Guest Additions 7.0.12

Post by sylk »

I downloaded both kernel-headers and kernel-devel for the kernel version I have (uname -r) and it finally worked for me.
sylk
Posts: 2
Joined: 20. Nov 2023, 18:47

Re: [Centos 9 Guest] Cannot install Guest Additions 7.0.12

Post by sylk »

The issue seems to be with 5.14.0-381.el9.x86_64 and 5.14.0-383.el9.x86_64.

I verified guess addition works fine with kernels 373, 375 and 378.
fth0
Volunteer
Posts: 5612
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: [Centos 9 Guest] Cannot install Guest Additions 7.0.12

Post by fth0 »

Please try the VirtualBox Guest Additions 7.0.13r159676 (or newer) from the VirtualBox test builds, which contains a bugfix necessary for Linux kernel 5.14.0-378.el9.x86_64.

If the issue persists, please create a ticket in the Bugtracker.
BMcA
Posts: 2
Joined: 24. Nov 2023, 21:28

Re: [Centos 9 Guest] Cannot install Guest Additions 7.0.12

Post by BMcA »

I've installed the test build Version 7.0.13r160260 and the issue isn't fixed.
This is with kernel 5.14.0-386.el9.x86_64
fth0
Volunteer
Posts: 5612
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: [Centos 9 Guest] Cannot install Guest Additions 7.0.12

Post by fth0 »

This issue should be fixed in the VirtualBox test builds 7.0.13r160458 and newer.
BMcA
Posts: 2
Joined: 24. Nov 2023, 21:28

Re: [Centos 9 Guest] Cannot install Guest Additions 7.0.12

Post by BMcA »

Yep thanks, just downloaded and installed Guest Additions 7.0.x revision 160458 from the Test Builds link above, and can confirm it resolves the issue.
fth0
Volunteer
Posts: 5612
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: [Centos 9 Guest] Cannot install Guest Additions 7.0.12

Post by fth0 »

Thanks for confirming! :)
Post Reply