Page MenuHomeSolus

Initial version of virtualbox
ClosedPublic

Authored by kyrios123 on Oct 19 2017, 3:28 PM.
Referenced Files
F11054299: D1228.id.diff
Fri, Aug 11, 12:38 AM
F11054298: D1228.id3039.diff
Fri, Aug 11, 12:38 AM
F11054297: D1228.id3117.diff
Fri, Aug 11, 12:38 AM
F11054296: D1228.id2996.diff
Fri, Aug 11, 12:38 AM
F11054294: D1228.id3040.diff
Fri, Aug 11, 12:37 AM
F11054293: D1228.id3038.diff
Fri, Aug 11, 12:37 AM
F11054292: D1228.id3042.diff
Fri, Aug 11, 12:37 AM
F11038140: D1228.diff
Wed, Aug 9, 10:03 PM
Tokens
"100" token, awarded by Justin.

Details

Summary

Inclusion of VirtualBox in the repository.
Fixes T322, invalidates T2837.

Signed-off-by: Pierre-Yves <pyu@riseup.net>

Test Plan

Could run a 32-bit VM inside my test VM.
@Justin confirmed it's working fine on his end.

Diff Detail

Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

Installed -current and -common and opened it OK but can't launch any VMs. Added myself to vboxusers group and rebooted as well.
Error: http://au.justin.id.au/screenshots/20171024-135434.png
There is no /dev/vboxdrv on my system so something is still missing.

In D1228#19504, @Justin wrote:

Installed -current and -common and opened it OK but can't launch any VMs. Added myself to vboxusers group and rebooted as well.
Error: http://au.justin.id.au/screenshots/20171024-135434.png
There is no /dev/vboxdrv on my system so something is still missing.

Thanks for this valuable feedback. I think I know what the problem is. ?

If you run VirtualBox from a terminal, you have the following error, right?

WARNING: The vboxdrv kernel module is not loaded. Either there is no module
         available for the current kernel (4.13.9-29.current) or it failed to
         load. Please recompile the kernel module and install it by

           sudo /sbin/vboxconfig

         You will not be able to start VMs until this problem is fixed.

So you can load the module with sudo modprobe vboxdrv I just have to figure out how to do this. I think I have to put a conf file in /usr/lib64/modules-load.d.

This is still a work in progress but now the vboxdrv kernel module should be automatically loaded so it should be possible to start the VM

I think this version should be fine. All feedbacks welcome!

Update:

  • Per (sub)package summary

OK AWESOME!

This is now working. I had to run sudo modprobe vboxdrv, tested but got another error about networking so ran sudo modprobe vboxnetflt and it works! I tested a VM I already had from my existing VirtualBox .run install (this was installed prior to testing). Audio worked fine on youtube in firefox too.

There are a few other vbox* modules: vboxnetadp vboxnetflt vboxpci vboxvideo so they might need to be enabled too, not sure.

Another check just done and the guest ISO will automatically download when you try to insert it.

Use acpica-unix instead of iasl name as the dependency is already available in the repository with this name.

In D1228#19548, @Justin wrote:

OK AWESOME!

This is now working. I had to run sudo modprobe vboxdrv, tested but got another error about networking so ran sudo modprobe vboxnetflt and it works! I tested a VM I already had from my existing VirtualBox .run install (this was installed prior to testing). Audio worked fine on youtube in firefox too.

There are a few other vbox* modules: vboxnetadp vboxnetflt vboxpci vboxvideo so they might need to be enabled too, not sure.

Did you try with the latest version ?
Compared to the initial version, I have added vboxdrv.service that should automatically load the required kernel modules, so if you have to load them manually it means this doesn't work as expected.

What is the output of sudo /usr/lib64/virtualbox/vboxdrv.sh status ?

kyrios123 edited the test plan for this revision. (Show Details)
kyrios123 set the repository for this revision to R3133 virtualbox.
kyrios123 added a project: Patch Submission.
This revision was automatically updated to reflect the committed changes.