seba76 / virtualbox4dsm Goto Github PK
View Code? Open in Web Editor NEWVirtualBox package for Synology DSM 6.2.x
License: MIT License
VirtualBox package for Synology DSM 6.2.x
License: MIT License
Vbox is installed on second physical HDD (VOLUME2) but phpvirtualbox's UI only shows Volume1 (doesn't even allow manual input of path which worked for .vdi creation atleast)
my first HDD failed with data loss 😢 now, DSM and packages are on second bay HDD slot AND has Volume2/VirtualBox
can you already say when virtualbox4dsm will be released for DSM 7?
Dear Seba76,
Thank you for your work.
I really hope to update the package you worked on. Unfortunately, the Braswell architecture is not inculded in your latest release.
Is there any possibility it can be added? I'm sorry I'm not skilled enough to compile it myself.
Kind regards and many thanks in advance!
Joeri
Hello, many thanks for the good work but it doesn 't really work at my side. I tried both on Synology DS716+2 (DSM 6.2), then Ubuntu and now on Fedora but I don 't succeed. This is what I do... on my Fedora 30 as root.
mkdir toolkit
cd toolkit/
git clone https://github.com/SynologyOpenSource/pkgscripts-ng.git
./pkgscripts-ng/EnvDeploy -v 6.2 -p braswell
mkdir source
cd source
git clone https://github.com/seba76/virtualbox4dsm.git
cd virtualbox4dsm
And until here all seems OK.
[root@myserver virtualbox4dsm]# ./config.sh prep
And then I try the kernel build from inside the toolkit folder.
cd ../..
./pkgscripts-ng/PkgCreate.py --print-log -I -S -p braswell -v 6.2 linux-3.10.x
It starts... but after some minutes it fails, I don 't know why. This is the error log.
_Set cache size limit to 3.0 Gbytes
Statistics cleared
[INFO] projectList="linux-3.10.x"
[INFO] Start to build linux-3.10.x.
[SCRIPT] build script: //source/linux-3.10.x/SynoBuildConf/build
[INFO] ======= Run build script =======
cp: cannot stat '/lnxscripts/config/signing_key': No such file or directory
cp: cannot stat '/lnxscripts/config/trusted_certificates': No such file or directory
cp: cannot stat '/lnxscripts/config/untrusted_certificates': No such file or directory
/source/linux-3.10.x/crypto/ocf/ep80579/Makefile:75: ICP_ROOT is undefined. Please set the path to EP80579 release package directory "-> setenv ICP_ROOT "
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/zconf.lex.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf --oldconfig Kconfig
=====Build Synology Linux kernel 3.10.x =====
In file included from scripts/sortextable.c:161:0:
scripts/sortextable.c: In function 'main':
scripts/sortextable.h:158:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
memset(relocs, 0, relocs_size);
^
scripts/sortextable.h:104:6: note: 'relocs_size' was declared here
int relocs_size;
^
In file included from scripts/sortextable.c:159:0:
scripts/sortextable.h:158:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
memset(relocs, 0, relocs_size);
^
scripts/sortextable.h:104:6: note: 'relocs_size' was declared here
int relocs_size;
^
In file included from include/linux/device.h:27:0,
from include/linux/node.h:17,
from include/linux/cpu.h:5,
from kernel/events/core.c:14:
kernel/events/core.c: In function 'perf_duration_warn':
include/linux/ratelimit.h:22:9: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int' [-Wformat=]
struct ratelimit_state name = {
^
include/linux/printk.h:309:9: note: in expansion of macro 'DEFINE_RATELIMIT_STATE'
static DEFINE_RATELIMIT_STATE(_rs,
^
kernel/events/core.c:239:2: note: in expansion of macro 'printk_ratelimited'
printk_ratelimited(KERN_WARNING
^
fs/namespace.c: In function 'SyS_mount':
fs/namespace.c:2278:8: warning: 'kernel_dev' may be used uninitialized in this function [-Wmaybe-uninitialized]
ret = do_mount(kernel_dev, kernel_dir->name, kernel_type, flags,
^
fs/namespace.c:2257:8: note: 'kernel_dev' was declared here
char *kernel_dev;
^
fs/namespace.c:2278:8: warning: 'kernel_type' may be used uninitialized in this function [-Wmaybe-uninitialized]
ret = do_mount(kernel_dev, kernel_dir->name, kernel_type, flags,
^
fs/namespace.c:2255:8: note: 'kernel_type' was declared here
char *kernel_type;
^
make[1]: *** No rule to make target 'signing_key', needed by 'signing_key.x509'. Stop.
make[1]: *** Waiting for unfinished jobs....
Makefile:800: recipe for target 'kernel' failed
make: *** [kernel] Error 2
make: *** Waiting for unfinished jobs....
security/apparmor/lsm.c:835:16: warning: initialization from incompatible pointer type
.sb_mount = apparmor_sb_mount,
^
security/apparmor/lsm.c:835:16: warning: (near initialization for 'apparmor_ops.sb_mount')
fs/btrfs/inode.c: In function 'btrfs_read_locked_inode':
fs/btrfs/inode.c:3349:1: warning: label 'cache_acl' defined but not used [-Wunused-label]
cache_acl:
^
GEN fs/aufs/conf.str
fs/btrfs/ordered-data.c: In function 'btrfs_start_ordered_extent':
fs/btrfs/ordered-data.c:653:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
u64 start = entry->file_offset;
^
fs/cifs/sess.c:694:1: warning: 'sess_auth_lanman' defined but not used [-Wunused-function]
sess_auth_lanman(struct sess_data *sess_data)
^
fs/cifs/sess.c:1041:1: warning: 'sess_auth_kerberos' defined but not used [-Wunused-function]
sess_auth_kerberos(struct sess_data *sess_data)
^
fs/ecryptfs/mmap.c: In function 'ecryptfs_aggregate_write_end':
fs/ecryptfs/mmap.c:474:15: warning: unused variable 'lower_file' [-Wunused-variable]
struct file *lower_file = ecryptfs_inode_to_private(ecryptfs_inode)->lower_file;
^
In file included from fs/btrfs/xattr_syno.c:8:0:
fs/btrfs/xattr.h:21:8: warning: 'struct btrfs_trans_handle' declared inside parameter list
const void *value, size_t size, int flags);
^
fs/btrfs/xattr.h:21:8: warning: its scope is only this definition or declaration, which is probably not what you want
fs/btrfs/xattr.h:30:23: warning: 'struct btrfs_trans_handle' declared inside parameter list
const struct qstr *qstr);
^
Error! /source/linux-3.10.x/arch/x86_64/boot/bzImage does not exist!
[Error] Build project fail!
Time cost: 00:00:52 [Build-->linux-3.10.x]
[INFO] Build linux-3.10.x finished!
----------------- Time cost statistics -----------------
Time cost: 00:00:52 [Build-->linux-3.10.x]
########################################################
Error(s) occurred on project "linux-3.10.x"
########################################################
1 projects, 1 failed.
[Error] Check [/logs/error.build] for fixing errors.
_
Regards,
Joost
When I upgrade package all machines from phpvbox are gone. Workaround is to add them manually but this should be fixed. Also default machine folder is set to root folder.
It could be that on some models udev is not picking up rules, to fix this rename file so it includes prefix number.
Thanks at first for creating the SPK's :-) !!!!!
Maybe at Line 114 in the installer script the file has to be renamed 50-virtualbox.rules. Otherwise it isn't executed by udevadm. Tested at DS1515+
Originally posted by @ghost in #6 (comment)
Скачал и установил вручную VirtualBox. А как настроить доступ через браузер к нему?
Ввожу в адресной строке - http://IP-адрес/virtualbox ошибка 404
http://IP-адрес/phpvirtualbox/ - тоже самое
Hello.
I have installed я virtualbox4dsm v.6.0.8-130520 package at my device synology DS412+(cedarview), OS: DSM 6.2.2-24922 Update 2.
But this package doesn't start. I run it and see load indication for short time but it doesn't start then.
What could be a problem and how can i fix it?
Thank you.
Hi there, sorry to bother but I wanted to ask if there are any plans for a version compatible with synology ds 918+ ?
Thanks a lot!
Why no 5.2.20 package for x64?...but maybe you already work on an 5.2.22 package for all architectures?
please release spk for Broadwell version.
Currently using 6.0.8, noticed one issue of function under remote display.
"Extended Features: | Allow Multiple Connections"
It is not enabling or working either.
Its great if you could release 6.1.4 spk. I tried to compile but I am not expert, so stuck at last commands.
./pkgscripts-ng/PkgCreate.py -I -p broadwell -v 6.2 linux-3.10.x
./pkgscripts-ng/PkgCreate.py -I -p broadwell -v 6.2 virtualbox4dsm
when analyzed log i noticed following errors.
make[1]: *** No rule to make target 'signing_key', needed by 'signing_key.x509'. Stop.
make[1]: *** Waiting for unfinished jobs....
Makefile:800: recipe for target 'kernel' failed
make: *** [kernel] Error 2
make: *** Waiting for unfinished jobs....
Please help.
Thanks in advance
Hello,
I installed virtualbox4dsm and phpvirtualbox4dsm and got both working fairly well. But I am having issues getting the option to create a VM with a 64 bit system - the option simply isn't there - only 32 bit options.
Thanks in advance
Hello.
I'm not very good at Linux, so I ask for help.
I have DS713 + on Linux kernel 3.10.105 (Cedarview), DSM 6.2.3-25426 Update 3.
I am installing virtualbox4dsm 6.0 and phpvirtualbox4dsm 6.0.8.
I don't understand how should I create a Windows virtual machine. I set everything up, start the virtual machine and see in a small preview window that the OS installation is starting. But I don’t understand how to connect to this machine. In the Display settings, I see that the address for connecting via RDP is local (127.0.0.1), in the settings you can only change the port and authorization method. It is clear that I cannot connect to the address 127.0.0.1, because virtualbox is physically launched on a different machine (NAS), and not on the one with which I log in (PC).
So how do I configure to connect?
I really hope that in your plans there is a desire to create virtualbox4dsm 6.1 for the Cedarview core.
And another question: how to add the Extension Pack or is it already there?
Hello,
And thanks for your good job.
I've a question. I've wanted compiling virtualbox for my DSM 6.1.7-15284 but when I install it, I've an issue "Kernel 3.10.102 is not supported".
I tested to change branch 15152 to 15284 in the config script but it doesn't good ... normal, the sources are branched in 15152.
Have you a solution to bypassed this issue ?
Thanks in advance for your response.
Hi,
I have tried to install the "virtualbox4dsm-bromolow-6.1.4-136177.spk" file on my DSM 6.2.3-25426 Update 3. After the installation I became a pop up with the message:
"VirtualBox" can not installed.
shared folder does not exist
But the folder VirtualBoxVMs was automatic created by the installer... What is the Problem, and how can I fix it?
Thank you.
Hello
i'm trying to build by myself :)
My Own : DS918+ Apollolake 6.2.3-25426 Update 3
I'm packaging with a Ubuntu 18.04 LTS Fresh installed
Everything seems to be good but ...
info@syno-package:~/toolkit/source/virtualbox4dsm$ sudo ../../pkgscripts-ng/PkgCreate.py --print-log -I -S -p apollolake -v 6.2 linux-4.4.x
env_section : default
env_version : 6.2
dep_level : 1
branch : master
suffix :
collect : False
update : True
link : True
build : True
install : False
only_install : False
sign : False
build_opt :
install_opt :
print_log : True
sdk_ver : 6.0
package : linux-4.4.x
Where can i specify DSM Version ?
i've tested with
5.1.18
5.2.44
6.0.24
6.1.32
same result
My DS-1515+ after install virtualbox4dsm-avoton-6.0.8-130520.spk , and let it started.
then I get and install phpvirtualbox from github, but when I want to modify config.php in phpvirtualbox :
/* Username / Password for system user that runs VirtualBox */
var $username = 'vbox';
var $password = 'pass';
So , what is the correct value is 'username' and 'password' ?
Package upgrade currently breaks installation. Only solution to update is to uninstall existing package and then install new package.
have issue web this installed work then and virtualbox for dim 6.2 no work
https://monosnap.com/file/3R98QvYupwiiZDilLrXVBX7NkQxXZK
https://monosnap.com/file/JUtm1d7hhyX6IVfMuoCN6MpyuiFvup
https://monosnap.com/file/YNyd6Zs6A4Gxz8vT847f1QeMoUZnNp
Exception Object
(
[message:protected] => Unable to parse URL ()
[string:Exception:private] =>
[code:protected] => 64
[file:protected] => /var/services/web/phpvirtualbox4dsm/endpoints/api.php
[line:protected] => 134
[trace:Exception:private] => Array
(
)
[previous:Exception:private] =>
)
Could you build it for linux kernel 4.4.59+ x86_64?
Hi.
What is the correct package for old DSM DS1511+ ?
Thanks
Hi,
thank you for your great work. I could install the latest versions of VirtualBox4DSM and PHPVirtualBox on a DS 412+ and run VMs in 32 bit mode.
VirtualBox doesn't offer me Linux / 64 bit for new VMs, though. The processor of the DS 412+ (Atom D2700 cedarview) is supposed to be 64 bit, and this is also what uname -a shows me:
Linux diskstation 3.10.105 #25556 SMP Thu Mar 18 12:51:35 CST 2021 x86_64 GNU/Linux synology_cedarview_412+
So is there something I could have misconfigured that now prevents creating 64 bit VMs?
Thanks
Thomas
Will you be updating this for the new DSM versions?
Thanks!
Welcome
When will be my SYN 218+ have cpu intel Applo Lake work from VB.
Cheers. Does the versions 5.2.16 for Synology DSM 6.2 x64 support AMD based box?I successfully installed it on my AMD a4-5000 based box but i can't even start it.My DSM version is 6.2 23739.Thanks!
Welcome
We when working on CPU Applo Lake ?
Cheers
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.