× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

VirtualBox on ReadyNAS OS6

Gex010
Aspirant

VirtualBox on ReadyNAS OS6

I didn't really know where to post this so please move if there is a better suited forum.

I have been able to use VirtualBox on ReadyNAS in the past, but since I have moved over to the new NAS's running OS6 I have not been able to get it right, I have basic linux knowladge (enough to get it working on the previous ReadyNAS's) but now I am hitting a few issues.

Has anyone done this one OS6 yet? and if not perhaps this is our chance?

Thus far I have installed virtualbox-4.2.16 and then I try to run I get the following

root@WEZTESTNAS:~# virtualbox
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (3.0.74.RNx86_64.2.1) or it failed to
load. Please recompile the kernel module and install it by

sudo /etc/init.d/vboxdrv setup

You will not be able to start VMs until this problem is fixed.
Failed to open the X11 display!


I'm obviously not worried about X11 not starting however I need virtualbox to actually run.

From this message I would assume there is a miss match in kernel headers since the ReadyNAS is proprietary?

running /etc/init.d/vboxdrv setup gives me the following:

root@WEZTESTNAS:~# /etc/init.d/vboxdrv setup                                   /sbin/modprobe: invalid option -- 'c'
BusyBox v1.20.2 (Debian 1:1.20.0-7) multi-call binary.

Usage: modprobe [-alrqvsDb] MODULE [symbol=value]...

-a Load multiple MODULEs
-l List (MODULE is a pattern)
-r Remove MODULE (stacks) or do autoclean
-q Quiet
-v Verbose
-s Log to syslog
-D Show dependencies
-b Apply blacklist to module names too

[ ok ] Stopping VirtualBox kernel modules:.
[ ok ] Uninstalling old VirtualBox DKMS kernel modules:.
[....] Trying to register the VirtualBox kernel modules using DKMS:Error! echo
Your kernel headers for kernel 3.0.74.RNx86_64.2.1 cannot be found at
/lib/modules/3.0.74.RNx86_64.2.1/build or /lib/modules/3.0.74.RNx86_64.2.1/soure.

[FAIL] Failed, trying without DKMS ... failed!
[....] Recompiling VirtualBox kernel modules:
[FAIL] Look at /var/log/vbox-install.log to find out what went wrong ... failed


/var/log/vbox-install.log looks as follows:

root@WEZTESTNAS:~# cat /var/log/vbox-install.log                               Uninstalling modules from DKMS
removing old DKMS module vboxhost version 4.2.16

------------------------------
Deleting module version: 4.2.16
completely from the DKMS tree.
------------------------------
Done.
Attempting to install using DKMS

Creating symlink /var/lib/dkms/vboxhost/4.2.16/source ->
/usr/src/vboxhost-4.2.16

DKMS: add completed.
Failed to install using DKMS, attempting to install without
Makefile:181: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.


Any help in making this work is appreciated, and will be by other users too I'm sure!
Message 1 of 7
chirpa
Luminary

Re: VirtualBox on ReadyNAS OS6

Should be pretty similar to the 4.2 thread on the same subject. You'll need GPL kernel header sources to compile the needed modules.
Message 2 of 7
mdgm-ntgr
NETGEAR Employee Retired

Re: VirtualBox on ReadyNAS OS6

Which model ReadyNAS is this on?
Message 3 of 7
Gex010
Aspirant

Re: VirtualBox on ReadyNAS OS6

This is actually on the VirtualBox image of OS6 that you provided in another post, probably not the best way to test it but it's all I have right now, waiting for a shipment of new ReadyNAS's
Message 4 of 7
mdgm-ntgr
NETGEAR Employee Retired

Re: VirtualBox on ReadyNAS OS6

What models have you ordered?

Have you made any further progress using the GPL? The kernel folder would be called something like linux-3.0.x
Message 5 of 7
Gex010
Aspirant

Re: VirtualBox on ReadyNAS OS6

OK so I'm starting from scratch again, loading the kernal myself, I'm following this > https://www.readynas.com/forum/viewtopi ... 35&t=26468

But http://www.readynas.com/download/GPL/RN ... WW_src.zip no longer seems to be available?
Message 6 of 7
mdgm-ntgr
NETGEAR Employee Retired

Re: VirtualBox on ReadyNAS OS6

Why would you be using the GPL for 4.2.4? That is a very old firmware version from March 2009.

You should be using the GPL for 6.0.8: http://kb.netgear.com/app/answers/detail/a_id/2649/~/gpl-open-source-code-for-programmers
Message 7 of 7
Top Contributors
Discussion stats
  • 6 replies
  • 4383 views
  • 0 kudos
  • 3 in conversation
Announcements