Jump to content
XPEnology Community

Virtualbox and phpVirtualbox on XPEnology


seba

Recommended Posts

I am not able to figure out how to repackage the file and make it work. I replace the .ko files in the package than repackage the tgz. Recreate the SPK and it installs but will not start. It seems that it is grabbing information from another location.

 

I can replace the .ko files with the new kernels though that were provided and it works perfectly fine. /shrug. I will break apart all the files tonight and try to figure it out.

 

Also, i put together a fast blog to explain how to copy files over using SCP - It's a pain.

 

http://rysnas.com/wordpress/

 

Seba could you be of help with this sir?

 

Kernel modules are copied during installation from package to /lib/moduels/3.2.40/. That is done by script from scripts folder during install.

Link to comment
Share on other sites

Hi, i have found the problem with Bridged Network.

I need to compile with the bromolow .config and not x86_64 .config.

 

I compiled the Kernel new and now it works very good.

 

Here you can download the Kernel Files: https://mega.co.nz/#!dcZHXQRZ!0IxvlxPe9 ... QlvaOWp8D0

 

Instructions:

Install the SPK from Seba (first Thread).

Go in the folder /usr/local/virtualbox/lib/modules/3.2.40/ an backup the 4 vbox...ko files.

Replace this 4 Files with the new compiled and reboot your NAS.

 

Then it should work.

 

Testet with XPEnoboot 5.1-5022.2 / DSM 5.1-5022 Update 2 / X64 DS3615xs.

 

If i have time and have the know how - would make a "fixed" spk.

 

Dodo

Edited by Guest
Link to comment
Share on other sites

Seba,

When I extracted the .spk file and than extract the package.tgz file.

 

I found the directory with the KO files and replaced them. Repackaged using tar -cvf package.tgz *

 

it created a new package.tgz file.

 

Than I recompiled the .spk file using

 

tar -cfv VBox.spk *

 

I get the new SPK.

 

I show the files move into the correct directory on the Synology but they don't work. When I do an SCP and overwrite the files and reboot the Diskstation they work correctly.

 

Secondly; i'm sorry i am compiling the SPK to run on a DS153 and DS1515 not the VirtualBox :sad: I apologize for the confusion.

Link to comment
Share on other sites

Hi, i have found the problem with Bridged Network.

I need to compile with the bromolow .config and not x86_64 .config.

 

I compiled the Kernel new and now it works very good.

 

Here you can download the Kernel Files: https://mega.co.nz/#!dcZHXQRZ!0IxvlxPe9 ... QlvaOWp8D0

 

Instructions:

Install the SPK from Seba (first Thread).

Go in the folder /usr/local/virtualbox/lib/modules/3.2.40/ an backup the 4 vbox...ko files.

Replace this 4 Files with the new compiled and reboot your NAS.

 

Then it should work.

 

Testet with XPEnoboot 5.1-5022.2 / DSM 5.1-5022 Update 2 / X64 DS3615xs.

 

If i have time and have the know how - would make a "fixed" spk.

 

Dodo

 

With your files i get an error "Failed to load VMMR0.r0 (VERR_SUPLIB_SYMLINKS_ARE_NOT_PERMITTED)"

 

Testet with XPEnoboot 5.1-5022.2 / DSM 5.1-5022 Update 2 / X64 DS3615xs on HP Microserver Gen8 bare matal

 

Exception Object
(
   [message:protected] => Failed to load VMMR0.r0 (VERR_SUPLIB_SYMLINKS_ARE_NOT_PERMITTED)
   [string:Exception:private] => 
   [code:protected] => 0
   [file:protected] => /volume1/web/phpvirtualbox/lib/vboxconnector.php
   [line:protected] => 2382
   [trace:Exception:private] => Array
       (
           [0] => Array
               (
                   [file] => /volume1/web/phpvirtualbox/lib/vboxconnector.php
                   [line] => 928
                   [function] => remote_progressGet
                   [class] => vboxconnector
                   [type] => ->
                   [args] => Array
                       (
                           [0] => Array
                               (
                                   [progress] => 9f15e6b90cc0b2a6-00000000000000d3
                                   [_persist] => Array
                                       (
                                           [vboxHandle] => 9f15e6b90cc0b2a6-00000000000000d1
                                       )

                                   [fn] => progressGet
                               )

                       )

               )

           [1] => Array
               (
                   [file] => /volume1/web/phpvirtualbox/lib/ajax.php
                   [line] => 309
                   [function] => __call
                   [class] => vboxconnector
                   [type] => ->
                   [args] => Array
                       (
                           [0] => progressGet
                           [1] => Array
                               (
                                   [0] => Array
                                       (
                                           [progress] => 9f15e6b90cc0b2a6-00000000000000d3
                                           [_persist] => Array
                                               (
                                                   [vboxHandle] => 9f15e6b90cc0b2a6-00000000000000d1
                                               )

                                           [fn] => progressGet
                                       )

                                   [1] => Array
                                       (
                                           [0] => Array
                                               (
                                                   [data] => Array
                                                       (
                                                           [responseData] => Array
                                                               (
                                                                   [progress] => 9f15e6b90cc0b2a6-00000000000000d3
                                                                   [info] => Array
                                                                       (
                                                                           [completed] => 1
                                                                           [canceled] => 
                                                                           [description] => Starting VM
                                                                           [operationDescription] => Starting virtual machine
                                                                           [timeRemaining] => Array
                                                                               (
                                                                               )

                                                                           [timeElapsed] => Array
                                                                               (
                                                                                   [days] => 16227
                                                                                   [hours] => 12
                                                                                   [minutes] => 44
                                                                                   [seconds] => 1
                                                                               )

                                                                           [percent] => 20
                                                                       )

                                                               )

                                                           [success] => 1
                                                           [key] => 720f4c5f2f9c111d81c1aa4a7f53b5bc
                                                       )

                                                   [errors] => Array
                                                       (
                                                       )

                                                   [persist] => Array
                                                       (
                                                       )

                                                   [messages] => Array
                                                       (
                                                       )

                                               )

                                       )

                               )

                       )

               )

           [2] => Array
               (
                   [file] => /volume1/web/phpvirtualbox/lib/ajax.php
                   [line] => 309
                   [function] => progressGet
                   [class] => vboxconnector
                   [type] => ->
                   [args] => Array
                       (
                           [0] => Array
                               (
                                   [progress] => 9f15e6b90cc0b2a6-00000000000000d3
                                   [_persist] => Array
                                       (
                                           [vboxHandle] => 9f15e6b90cc0b2a6-00000000000000d1
                                       )

                                   [fn] => progressGet
                               )

                           [1] => Array
                               (
                                   [0] => Array
                                       (
                                           [data] => Array
                                               (
                                                   [responseData] => Array
                                                       (
                                                           [progress] => 9f15e6b90cc0b2a6-00000000000000d3
                                                           [info] => Array
                                                               (
                                                                   [completed] => 1
                                                                   [canceled] => 
                                                                   [description] => Starting VM
                                                                   [operationDescription] => Starting virtual machine
                                                                   [timeRemaining] => Array
                                                                       (
                                                                       )

                                                                   [timeElapsed] => Array
                                                                       (
                                                                           [days] => 16227
                                                                           [hours] => 12
                                                                           [minutes] => 44
                                                                           [seconds] => 1
                                                                       )

                                                                   [percent] => 20
                                                               )

                                                       )

                                                   [success] => 1
                                                   [key] => 720f4c5f2f9c111d81c1aa4a7f53b5bc
                                               )

                                           [errors] => Array
                                               (
                                               )

                                           [persist] => Array
                                               (
                                               )

                                           [messages] => Array
                                               (
                                               )

                                       )

                               )

                       )

               )

       )

   [previous:Exception:private] => 
)

Link to comment
Share on other sites

With the help from Seba i have created a "fixed" SPK for easy Installation. (Thank you Seba)

I have testet ist and it works on my System very well.

 

Testet with XPEnoboot 5.1-5022.2 / DSM 5.1-5022 Update 2 / X64 DS3615xs - selfmade NAS Asus P8H67-I, ICore i5 2400 and on Acer H340.

 

I hope it works on your System too.

 

Download: https://mega.co.nz/#!RcJShazA!C1Qax4M6o ... 72ibUa_0g4

 

Please report if it works or not. Thanks

 

Dodo

Link to comment
Share on other sites

With the help from Seba i have created a "fixed" SPK for easy Installation. (Thank you Seba)

I have testet ist and it works on my System very well.

 

Testet with XPEnoboot 5.1-5022.2 / DSM 5.1-5022 Update 2 / X64 DS3615xs - selfmade NAS Asus P8H67-I, ICore i5 2400 and on Acer H340.

 

I hope it works on your System too.

 

Download: https://mega.co.nz/#!RcJShazA!C1Qax4M6o ... 72ibUa_0g4

 

Please report if it works or not. Thanks

 

Dodo

 

Dear DoDo

 

I tried to install your file in my DS1515+(real synology) but I can't.

The erroe message is 'This package is not support in this DiskStation platform.'(I'm Korean. So the message was Korean.)

Thank you!

Link to comment
Share on other sites

Hi polly76,

 

the DS1515+ have the Architecture "avoton", the Package is for the Architecture "bromolow".

You can try to edit the SPK so you can install it, but i don´t know if it works.

 

Open the SPK with WInRAR or 7Zip, edit the File "Info".

Change the Line arch="bromolow" in arch="avoton" save the SPK and try to install it.

 

Dodo

Link to comment
Share on other sites

It looks like a permission Problem or phpVirtualBox. Do you use symlinks?

My pleasure. Optware was installed on the machine and virtualbox do not follow the /opt -> /volume1/@optware symlink.

After restoring the origin state the package runs very well. Thanks for your work.

Link to comment
Share on other sites

I just found out that the default storage for VM data ("/root/VirtualBox VMs") is not mounted to the volume1 so the space on it is limited.

 

Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/md0               2451064   1188708   1159956  51% /
/tmp                   2008316       284   2008032   0% /tmp
/run                   2008316      3484   2004832   0% /run
/dev/shm               2008316         4   2008312   0% /dev/shm
/dev/mapper/vol1-origin
                    3841039664 2038738576 1802198688  53% /volume1
/dev/sdu1                16048     13374      2674  83% /volumeUSB1/usbshare
/volume1/@spazial@   3841039664 2038738576 1802198688  53% /volume1/spazial

Someone else has this configuration?

Link to comment
Share on other sites

With the help from Seba i have created a "fixed" SPK for easy Installation. (Thank you Seba)

I have testet ist and it works on my System very well.

 

Testet with XPEnoboot 5.1-5022.2 / DSM 5.1-5022 Update 2 / X64 DS3615xs - selfmade NAS Asus P8H67-I, ICore i5 2400 and on Acer H340.

 

I hope it works on your System too.

 

Download: https://mega.co.nz/#!RcJShazA!C1Qax4M6o ... 72ibUa_0g4

 

Please report if it works or not. Thanks

 

Dodo

 

 

Hi dodo-dk, I just tried your updated package, thanks to you and thanks again to Seba.

But with is spk, on a real ds415+ NAS, the NAS... crashes !

 

:wink:

 

 

EDIT //

Never mind, just installed the updated kernel package you provided on your blog, it works now :wink:

(but notice that you don't have to reboot the nas, in the package manager the option "start"/"stop" works well)

Link to comment
Share on other sites

Hello,

 

I have DSM 5.1 installed on a old HP Proliant server with the Intel Xeon E5450 CPU and 12GB of RAM.

 

I have installed phpvirtualbox.

 

Whenever I try to launch a VM I am getting the following error.

 

The virtual machine 'WinXP' has terminated unexpectedly during startup with exit code 1

 

Exception Object
(
   [message:protected] => The virtual machine 'WinXP' has terminated unexpectedly during startup with exit code 1
   [string:Exception:private] => 
   [code:protected] => 0
   [file:protected] => /volume1/web/phpvirtualbox/lib/vboxconnector.php
   [line:protected] => 2382
   [trace:Exception:private] => Array
       (
           [0] => Array
               (
                   [file] => /volume1/web/phpvirtualbox/lib/vboxconnector.php
                   [line] => 928
                   [function] => remote_progressGet
                   [class] => vboxconnector
                   [type] => ->
                   [args] => Array
                       (
                           [0] => Array
                               (
                                   [progress] => 74b9938f0541c22b-000000000000042f
                                   [_persist] => Array
                                       (
                                           [vboxHandle] => 74b9938f0541c22b-000000000000042d
                                       )

                                   [fn] => progressGet
                               )

                       )

               )

           [1] => Array
               (
                   [file] => /volume1/web/phpvirtualbox/lib/ajax.php
                   [line] => 309
                   [function] => __call
                   [class] => vboxconnector
                   [type] => ->
                   [args] => Array
                       (
                           [0] => progressGet
                           [1] => Array
                               (
                                   [0] => Array
                                       (
                                           [progress] => 74b9938f0541c22b-000000000000042f
                                           [_persist] => Array
                                               (
                                                   [vboxHandle] => 74b9938f0541c22b-000000000000042d
                                               )

                                           [fn] => progressGet
                                       )

                                   [1] => Array
                                       (
                                           [0] => Array
                                               (
                                                   [data] => Array
                                                       (
                                                           [responseData] => Array
                                                               (
                                                                   [progress] => 74b9938f0541c22b-000000000000042f
                                                                   [info] => Array
                                                                       (
                                                                           [completed] => 1
                                                                           [canceled] => 
                                                                           [description] => Starting VM
                                                                           [operationDescription] => Creating process for virtual machine "WinXP" (headless)
                                                                           [timeRemaining] => Array
                                                                               (
                                                                               )

                                                                           [timeElapsed] => Array
                                                                               (
                                                                                   [days] => 16482
                                                                                   [hours] => 12
                                                                                   [minutes] => 9
                                                                                   [seconds] => 16
                                                                               )

                                                                           [percent] => 0
                                                                       )

                                                               )

                                                           [success] => 1
                                                           [key] => 720f4c5f2f9c111d81c1aa4a7f53b5bc
                                                       )

                                                   [errors] => Array
                                                       (
                                                       )

                                                   [persist] => Array
                                                       (
                                                       )

                                                   [messages] => Array
                                                       (
                                                       )

                                               )

                                       )

                               )

                       )

               )

           [2] => Array
               (
                   [file] => /volume1/web/phpvirtualbox/lib/ajax.php
                   [line] => 309
                   [function] => progressGet
                   [class] => vboxconnector
                   [type] => ->
                   [args] => Array
                       (
                           [0] => Array
                               (
                                   [progress] => 74b9938f0541c22b-000000000000042f
                                   [_persist] => Array
                                       (
                                           [vboxHandle] => 74b9938f0541c22b-000000000000042d
                                       )

                                   [fn] => progressGet
                               )

                           [1] => Array
                               (
                                   [0] => Array
                                       (
                                           [data] => Array
                                               (
                                                   [responseData] => Array
                                                       (
                                                           [progress] => 74b9938f0541c22b-000000000000042f
                                                           [info] => Array
                                                               (
                                                                   [completed] => 1
                                                                   [canceled] => 
                                                                   [description] => Starting VM
                                                                   [operationDescription] => Creating process for virtual machine "WinXP" (headless)
                                                                   [timeRemaining] => Array
                                                                       (
                                                                       )

                                                                   [timeElapsed] => Array
                                                                       (
                                                                           [days] => 16482
                                                                           [hours] => 12
                                                                           [minutes] => 9
                                                                           [seconds] => 16
                                                                       )

                                                                   [percent] => 0
                                                               )

                                                       )

                                                   [success] => 1
                                                   [key] => 720f4c5f2f9c111d81c1aa4a7f53b5bc
                                               )

                                           [errors] => Array
                                               (
                                               )

                                           [persist] => Array
                                               (
                                               )

                                           [messages] => Array
                                               (
                                               )

                                       )

                               )

                       )

               )

       )

   [previous:Exception:private] => 
)

 

Any ideas what could be going on here?

 

Would really love to get this working!

 

Cheers and great work :smile:

Link to comment
Share on other sites

I am still worried about migrating to DSM 5.1.

Can anyone tell me if everything is fine with a bare-metal HP n54l installation?

Thanks!

I'm running a bare-metal N54L with 2 4TB WD Red and 2 4TB WD Green with latest DSM and Virtualbox and phpvirtualbox. Everything seems to be fine except the detection of the 5th and 6th drives (ODD and external SATA) that I'm not sure if it's something I did or if it's something with 5.1.

 

Please notice that all 6 drives were working fine with DSM pre-5.0.

Link to comment
Share on other sites

I am still worried about migrating to DSM 5.1.

Can anyone tell me if everything is fine with a bare-metal HP n54l installation?

Thanks!

I'm running a bare-metal N54L with 2 4TB WD Red and 2 4TB WD Green with latest DSM and Virtualbox and phpvirtualbox. Everything seems to be fine except the detection of the 5th and 6th drives (ODD and external SATA) that I'm not sure if it's something I did or if it's something with 5.1.

 

Please notice that all 6 drives were working fine with DSM pre-5.0.

Link to comment
Share on other sites

Hello everybody,

 

i have made a new package from the seba spk for DSM 5.1 compatible with cedarview, bromolow & avoton architecture

http://gofile.io/?id=lPp1QM

 

If you change the INFO in the spk by yourself it could be also installed on x86 architecture i think!

 

Have fun!

 

There are two german discussions to Virtualbox on Synology here (in german):

http://www.synology-forum.de/showthread ... auf-der-DS

http://www.synology-forum.de/showthread ... iskstation

Link to comment
Share on other sites

Everything seems to be fine except the detection of the 5th and 6th drives (ODD and external SATA) that I'm not sure if it's something I did or if it's something with 5.1.

I'm running DSM5.1 b5022U2 (upgraded from 5.0 b4528U2) on 5 disks in my N54L - bare metal. The fifth disk is connected to the ODD port.

Have you checked your BIOS - verified that nothing has changed during the upgrade?

Link to comment
Share on other sites

I am still worried about migrating to DSM 5.1.

Can anyone tell me if everything is fine with a bare-metal HP n54l installation?

Thanks!

I'm running a bare-metal N54L with 2 4TB WD Red and 2 4TB WD Green with latest DSM and Virtualbox and phpvirtualbox. Everything seems to be fine except the detection of the 5th and 6th drives (ODD and external SATA) that I'm not sure if it's something I did or if it's something with 5.1.

 

Please notice that all 6 drives were working fine with DSM pre-5.0.

 

So does that mean it is still not fully functional?

Thanks!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...