Hi,
My setup is on VirtualBox 7.0 environment.
I had been using the 09/12 Stream9 build (Kernel:5.14.0-364.el9.x86_64) and I had no problem in compiling our KO modules and running them.
Just 2 weeks later, I was doing the same with the 09/25 Stream9 (Kernel: 5.14.0-368.el9.x86_64). I was using the latest available Stream9.
After compiling our KO modules, the modprobe and the insmod fails with the following errors:
Error reported on the UI:
-----------------------------
modprobe: ERROR: could not insert <MODULE_NAME>: Exec format error
The dmesg output is:
-------------------------
[ 1744.494543] module: x86/modules: Skipping invalid relocation target, existing value is nonzero for type 1, loc 00000000e5bf8a0c, val ffffffffc0b162a6
The packages were installed were:
kernel-headers-`uname -r`
kernel-devel
<<<<<<<<<<
[root@localhost smart]# cat /proc/version
Linux version 5.14.0-368.el9.x86_64 (mockbuild@x86-05.stream.rdu2.redhat.com) (gcc (GCC) 11.4.1 20230605 (Red Hat 11.4.1-2), GNU ld version 2.35.2-42.el9) #1 SMP PREEMPT_DYNAMIC Thu Sep 21 18:07:33 UTC 2023
[root@localhost smart]# gcc --version
gcc (GCC) 11.4.1 20230605 (Red Hat 11.4.1-2)
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>>>>>>>>>
I saw the same problem with my RHEL 9 setup also. Based on the information I gathered, I tried reinstalling the kernel-headers. I just could not find any other suggestions. From the source code I looked at in the Kernel, looks like the value should be "0" for type 1 (x86_64).
Any pointers is appreciated to resolve this.
CentOS-Stream-9
Issues related to applications and software problems and general support
-
- Posts: 1
- Joined: 2023/09/28 20:35:23
Return to “8 /8-Stream / 9-Stream - General Support”
Jump to
- CentOS General Purpose
- ↳ CentOS - FAQ & Readme First
- ↳ Announcements
- ↳ CentOS Social
- ↳ User Comments
- ↳ Website Problems
- CentOS 8 / 8-Stream / 9-Stream
- ↳ 8 /8-Stream / 9-Stream - General Support
- ↳ 8 /8-Stream / 9-Stream - Hardware Support
- ↳ 8 /8-Stream / 9-Stream - Networking Support
- ↳ 8 /8-Stream / 9-Stream - Security Support
- CentOS 7
- ↳ CentOS 7 - General Support
- ↳ CentOS 7 - Software Support
- ↳ CentOS 7 - Hardware Support
- ↳ CentOS 7 - Networking Support
- ↳ CentOS 7 - Security Support
- CentOS Legacy Versions
- ↳ CentOS 5
- ↳ CentOS 5 - General Support
- ↳ CentOS 5 - Software Support
- ↳ CentOS 5 - Hardware Support
- ↳ CentOS 5 - Networking Support
- ↳ CentOS 5 - Server Support
- ↳ CentOS 5 - Security Support
- ↳ CentOS 5 - Oracle Installation and Support
- ↳ CentOS 5 - Miscellaneous Questions
- ↳ CentOS 6
- ↳ CentOS 6 - General Support
- ↳ CentOS 6 - Software Support
- ↳ CentOS 6 - Hardware Support
- ↳ CentOS 6 - Networking Support
- ↳ CentOS 6 - Security Support