VirtualBox

Opened 18 months ago

Last modified 16 months ago

#21730 new defect

7.0.8/5.15.0-102.110.5.el8uek.x86_64 broke the guest kernel modules with "invalid relocation target"

Reported by: dpim Owned by:
Component: guest additions Version: VirtualBox-7.0.8
Keywords: Cc:
Guest type: Linux Host type: other

Description (last modified by galitsyn)

Host OS: OSX 13.4 VirtualBox: 7.0.8 r156879 GuestOS: OL8, 5.15.0-102.110.5.el8uek.x86_64 not working with guest additions from 7.0.8, 7.0.6 and GuestAdditions_7.0.9-157775.iso Also, the previous kernel, OL8, 5.15.0-101.103.2.1.el8uek.x86_64 can load these compiled guest drivers;

The problem:

[Wed Jun 14 09:00:41 2023] module: x86/modules: Skipping invalid relocation target, existing value is nonzero for type 1, loc 00000000f4e3fe90, val ffffffffc0a7e7be
[Wed Jun 14 09:00:44 2023] module: x86/modules: Skipping invalid relocation target, existing value is nonzero for type 1, loc 00000000f19f0042, val ffffffffc0b31c84
[Wed Jun 14 09:00:46 2023] module: x86/modules: Skipping invalid relocation target, existing value is nonzero for type 1, loc 0000000008ab270c, val ffffffffc0ba1c84

The build log output in attachment

Attachments (2)

Change History (5)

comment:1 by dpim, 18 months ago

switch GCC compiler from

gcc version 8.5.0 20210514 (Red Hat 8.5.0-18.0.2) (GCC) to gcc version 11.2.1 20220127 (Red Hat 11.2.1-9.1.0.3) (GCC), 'scl enable gcc-toolset-11 bash'

# echo $PATH /opt/rh/gcc-toolset-11/root/usr/bin:/usr/share/Modules/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin # make load rmmod: ERROR: Module vboxvideo is not currently loaded rmmod: ERROR: Module vboxvfs is not currently loaded rmmod: ERROR: Module vboxsf is not currently loaded rmmod: ERROR: Module vboxguest is not currently loaded insmod: ERROR: could not insert module vboxguest.ko: Invalid module format make: * [Makefile:127: load] Error 1 # dmesg | tail -1 [ 768.615619] module: x86/modules: Skipping invalid relocation target, existing value is nonzero for type 1, loc 0000000082562b93, val ffffffffc0b29c84

Version 1, edited 18 months ago by dpim (previous) (next) (diff)

comment:2 by galitsyn, 18 months ago

Description: modified (diff)

comment:3 by dpim, 16 months ago

The problem is gone after switching to 7.10. The 5.15.0-103.114.4.el8uek.x86_64 can load kernel extensions again.

Last edited 16 months ago by dpim (previous) (diff)
Note: See TracTickets for help on using tickets.

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