Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 940482 - app-emulation/virtualbox-7.1.2: cannot start VMs - Failed to load R0 module
Summary: app-emulation/virtualbox-7.1.2: cannot start VMs - Failed to load R0 module
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Viorel Munteanu
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-29 11:09 UTC by Adel KARA SLIMANE
Modified: 2024-10-01 05:05 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
virtualbox machine log (VBox.log,3.13 KB, text/x-log)
2024-09-29 11:10 UTC, Adel KARA SLIMANE
Details
emerge --info (emerge.info,8.12 KB, text/plain)
2024-09-29 11:11 UTC, Adel KARA SLIMANE
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adel KARA SLIMANE 2024-09-29 11:09:43 UTC
When trying to launch a Rocky-8.10 ISO I get this error message in the GUI app

```
Failed to load R0 module /usr/lib64/virtualbox/VMMR0.r0: /usr/lib64/virtualbox/VMMR0.r0: DT_RELA* does not match section type: 4 vs 9 (VERR_BAD_EXE_FORMAT)
```

The machine log ~/.VirtualBox/Machines/Rocky-8.10/Logs/Vbox.log contains these lines

```
00:00:00.627767 SUP: RTLdrOpen failed for VMMR0.r0 (/usr/lib64/virtualbox/VMMR0.r0) VERR_BAD_EXE_FORMAT
00:00:00.627778 PDMLdr: pdmR3LoadR0U: pszName="VMMR0.r0" rc=VERR_BAD_EXE_FORMAT szErr="/usr/lib64/virtualbox/VMMR0.r0: DT_RELA* does not match section type: 4 vs 9"
```

I re-emerged virtualbox and tried running it as root, same error happens

Reproducible: Always
Comment 1 Adel KARA SLIMANE 2024-09-29 11:10:23 UTC
Created attachment 904175 [details]
virtualbox machine log
Comment 2 Adel KARA SLIMANE 2024-09-29 11:11:09 UTC
Created attachment 904176 [details]
emerge --info
Comment 3 Larry the Git Cow gentoo-dev 2024-10-01 05:05:09 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1380e33b302c750dc75201cc92eb8d36d19ddfb

commit d1380e33b302c750dc75201cc92eb8d36d19ddfb
Author:     Viorel Munteanu <ceamac@gentoo.org>
AuthorDate: 2024-10-01 04:57:53 +0000
Commit:     Viorel Munteanu <ceamac@gentoo.org>
CommitDate: 2024-10-01 05:04:33 +0000

    app-emulation/virtualbox: fix VERR_BAD_EXE_FORMAT
    
    Building with -fno-plt in CFLAGS breaks VirtualBox.  Filter it out.
    
    Closes: https://bugs.gentoo.org/940482
    Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>

 app-emulation/virtualbox/virtualbox-7.1.2.ebuild | 3 +++
 1 file changed, 3 insertions(+)