Genymotion fail to run - virtualbox 7

Ok thank you. Can i ask for help to downgrade virtualbox and linux515-virtualbox-host-modules without getting the Kernel Driver Not Installed (rc=-1908) error from virtualbox itself?

How can i clear my ignore list?

I’d have to look that up.
So can you.
You added it - you should know where you did add that.

When you use the downgrade command it adds it to the ignore list

pacman -Qs virtualbox
local/linux515 5.15.76-1
    The Linux515 kernel and modules
local/linux515-virtualbox-host-modules 7.0.2-3 (linux515-extramodules)
    Virtualbox host kernel modules for Manjaro Kernel
local/virtualbox 7.0.2-1
    Powerful x86 virtualization for enterprise as well as home use
sudo DOWNGRADE_FROM_ALA=1 downgrade virtualbox
loading packages...
warning: downgrading package virtualbox (7.0.2-1 => 6.1.38-1)
resolving dependencies...
looking for conflicting packages...

Packages (1) virtualbox-6.1.38-1

Total Installed Size:  163.40 MiB
Net Upgrade Size:      -16.72 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                     [######################] 100%
(1/1) checking package integrity                   [######################] 100%
(1/1) loading package files                        [######################] 100%
(1/1) checking for file conflicts                  [######################] 100%
(1/1) checking available disk space                [######################] 100%
:: Running pre-transaction hooks...
(1/1) Creating Timeshift snapshot before upgrade...
==> skipping timeshift-autosnap due skipRsyncAutosnap in /etc/timeshift-autosnap.conf set to TRUE.
:: Processing package changes...
(1/1) downgrading virtualbox                       [######################] 100%
:: Running post-transaction hooks...
(1/7) Creating system user accounts...
(2/7) Reloading system manager configuration...
(3/7) Reloading device manager configuration...
(4/7) Arming ConditionNeedsUpdate...
(5/7) Updating the MIME type database...
(6/7) Updating icon theme caches...
(7/7) Updating the desktop file MIME type cache...
sudo pacman -Syu virtualbox
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: virtualbox is in IgnorePkg/IgnoreGroup. Install anyway? [Y/n] n
warning: skipping target: virtualbox
:: Starting full system upgrade...
warning: virtualbox: ignoring package upgrade (6.1.38-1 => 7.0.2-1)
 there is nothing to do

You see?


Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text

I asked google for:
pacman ignore list
and, of course, the Arch wiki came up

pacman - ArchWiki

sudo DOWNGRADE_FROM_ALA=1 downgrade linux515-virtualbox-host-modules 
loading packages...
warning: downgrading package linux515-virtualbox-host-modules (7.0.2-3 => 6.1.38-2)
resolving dependencies...
looking for conflicting packages...

Packages (1) linux515-virtualbox-host-modules-6.1.38-2

Total Installed Size:   0.24 MiB
Net Upgrade Size:      -0.01 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                     [######################] 100%
(1/1) checking package integrity                   [######################] 100%
(1/1) loading package files                        [######################] 100%
(1/1) checking for file conflicts                  [######################] 100%
(1/1) checking available disk space                [######################] 100%
:: Running pre-transaction hooks...
(1/1) Creating Timeshift snapshot before upgrade...
==> skipping timeshift-autosnap due skipRsyncAutosnap in /etc/timeshift-autosnap.conf set to TRUE.
:: Processing package changes...
(1/1) downgrading linux515-virtualbox-host-modules [######################] 100%
In order to use the new version, reload all virtualbox modules manually.
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Updating module dependencies...

In order to use the new version, reload all virtualbox modules manually.
How do i do this properly. Is modprobe vboxdrv and a system reboot enough?


Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text

a reboot will certainly do

Why not just try?

Ok, ive done the reboot. This is where we are:

pacman -Qs virtualbox
local/linux515 5.15.76-1
    The Linux515 kernel and modules
local/linux515-virtualbox-host-modules 6.1.38-2 (linux515-extramodules)
    Virtualbox host kernel modules for Manjaro Kernel
local/virtualbox 6.1.38-1
    Powerful x86 virtualization for enterprise as well as home use
sudo vboxreload
[sudo] password for bul: 
Unloading modules: 
Loading modules: modprobe: ERROR: could not insert 'vboxnetadp': Exec format error
modprobe: ERROR: could not insert 'vboxnetflt': Exec format error
modprobe: ERROR: could not insert 'vboxdrv': Exec format error

Screenshot_2022-11-13_12-35-35

Im back to my initial question:

How does one successfully downgrade virtualbox without getting the Kernel Driver Not Installed (rc=-1908) error from virtualbox itself (if you try to run a VM from within Virtualbox only)

Is a successful virtualbox downgrade in Manjaro possible?


Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text

virtualbox version 6.1.38-1
kernel modules version 6.1.38-2

no match

What can i do, its the closest downgrade is offering?

I can’t help you.

dkms should be the way to go

rather than the precompiled modules

but Manjaro stable is a different thing than Arch - I think I saw someone mentioning in this thread here that the testing or unstable branch of Manjaro would be more suitable for this kind of thing - it’s closer to Arch

While you may be able to downgrade a package the result is unpredictable and unsupported.

In fact it creates more problems than it solves and both the downgrade process and the resulting system is unsupported.

Ok thank you guys,

If i remove linux515-virtualbox-host-modules 6.1.38-2 (linux515-extramodules) and virtualbox 6.1.38-1, how can i install the previous (non v7) versions without going the downgrade route? What is the correct way to do it?

Ok, can you tell me how does virtualbox-host-modules and dkms differ?

the dkms is built against your actual installed kernel version and whatever virtualbox version you have
the precompiled version requires that kernel version and kernel module version and virtualbox version match

dkms will always match because it’s built against the installed versions of the two

@linux-aarhus has shown it running

If i have a closer look at your provided screenshot, the Genymotion icon seems like the one from a previous version (3.2.x).

If i would like to try to install a previous version of genymotion, how would i go about that (as i think the virtualbox v7 error was introduced in the 3.3.x versions)

… just trying to cover all the possibilities

it is v3.3.1-1 - just like yours

Summary

image

Thank you, did you change your hypervisor by any chance to qemu or is yours still on virtualbox?

gmtool config --hypervisor qemu|virtualbox

No qemu - VirtualBox 7

I think I made that very clear earlier in the thread.

Also unstable branch - which is the closest you get to Arch - and as such the recommended approach for using AUR with minimal impact.

sudo pacman-mirrors -aS unstable && sudo pacman -Syyu
1 Like

Thank you, i give the unstable branch a go. Thank you so much for your help so far. I really appreciate it

Just another question, i managed to get hold of genymotion-3.2.0-linux_x64.bin. How would i go about installing a bin file?

You should not.