- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Re: RN31200 - Installing virtualbox on ReadyNas 6.5.0
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I just recently purchased a 312 and I've been following JMehring's post: https://community.netgear.com/t5/Community-Add-ons/Virtualbox-on-OS6-NAS/td-p/902756 and I get stuck on installing virtualbox (I am using the newest from virtualbox.org ( virtualbox-5.1_5.1.0-108711~Debian~wheezy_amd64.deb):
# Get the latest from virtualbox.org (debian build)
dpkg -i virtualbox-4.3_4.3.4-91027~Debian~wheezy_amd64.deb
/etc/init.d/vboxdrv setup
modprobe vboxdrv
modinfo misc/vboxdrv.ko
This is what the installer throws:
root@NAS:/data/Virtualbox# /sbin/vboxconfig /sbin/modprobe: invalid option -- 'c' BusyBox v1.22.1 (Debian 1:1.22.0-4) 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 vboxdrv.sh: Starting VirtualBox services. vboxdrv.sh: Building VirtualBox kernel modules. vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why. There were problems setting up VirtualBox. To re-start the set-up process, run /sbin/vboxconfig as root.
I get the modprobe error (this modprobe has no config dump option) but -failed to install vboxdrv? oh Really? - running modprobe -l I get this (all the complied kernel modules I built earlier):
root@NAS:/data/Virtualbox# modprobe -l kernel/net/rfkill/rfkill.ko kernel/net/netfilter/xt_nat.ko kernel/net/netfilter/xt_conntrack.ko kernel/net/netfilter/xt_addrtype.ko kernel/net/netfilter/nfnetlink_queue.ko kernel/net/netfilter/nfnetlink.ko kernel/net/netfilter/nf_nat.ko kernel/net/netfilter/nf_conntrack.ko kernel/net/llc/llc.ko kernel/net/ipv6/netfilter/nf_nat_masquerade_ipv6.ko kernel/net/ipv6/netfilter/nf_nat_ipv6.ko kernel/net/ipv6/netfilter/nf_defrag_ipv6.ko kernel/net/ipv6/netfilter/nf_conntrack_ipv6.ko kernel/net/ipv6/netfilter/ip6table_nat.ko kernel/net/ipv6/netfilter/ip6table_filter.ko kernel/net/ipv6/netfilter/ip6t_REJECT.ko kernel/net/ipv6/netfilter/ip6t_MASQUERADE.ko kernel/net/ipv6/netfilter/ip6_tables.ko kernel/net/ipv4/netfilter/nf_nat_masquerade_ipv4.ko kernel/net/ipv4/netfilter/nf_nat_ipv4.ko kernel/net/ipv4/netfilter/nf_defrag_ipv4.ko kernel/net/ipv4/netfilter/nf_conntrack_ipv4.ko kernel/net/ipv4/netfilter/iptable_nat.ko kernel/net/ipv4/netfilter/ipt_MASQUERADE.ko kernel/net/bridge/bridge.ko kernel/net/bridge/br_netfilter.ko kernel/net/bluetooth/rfcomm/rfcomm.ko kernel/net/bluetooth/bnep/bnep.ko kernel/net/bluetooth/bluetooth.ko kernel/net/802/stp.ko kernel/net/802/psnap.ko kernel/net/802/p8022.ko kernel/kernel/configs.ko kernel/fs/xfs/xfs.ko kernel/fs/udf/udf.ko kernel/fs/isofs/isofs.ko kernel/drivers/usb/serial/usbserial.ko kernel/drivers/usb/serial/pl2303.ko kernel/drivers/usb/serial/ftdi_sio.ko kernel/drivers/net/netconsole.ko kernel/drivers/bluetooth/btusb.ko kernel/drivers/bluetooth/btintel.ko misc/vboxpci.ko misc/vboxnetadp.ko misc/vboxnetflt.ko misc/vboxdrv.ko <------ 3rdparty/fs/ufsd/ufsd.ko 3rdparty/fs/ufsd/jnl.ko
dmesg complains:
vboxdrv: disagrees about version of symbol module_layout
My srcs (both link to /data/Virtualbox/linux-4.1.21-197-x86_64 folder):
root@NAS:/data/Virtualbox# ls /usr/src/ linux linux-4.1.21-197-x86_64 vboxhost-5.1.0
and my uname info:
root@NAS:/data/Virtualbox# uname -r 4.1.21.x86_64.1 root@NAS:/data/Virtualbox# uname -a Linux NAS 4.1.21.x86_64.1 #1 SMP Wed Jun 1 16:52:57 PDT 2016 x86_64 GNU/Linux
How can I get /sbin/vboxconfig to complete successfully?
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry for not getting back to you until now - I saw your post but two active kids kept me busy from repling to these threads I've made.
So I posted over in virtualbox and they reiterrated that my headers I built were not matching the running ones dispite the uname -r matching so I scraped everything, purged all modules and /usr/src and reviewed the orginal url that this author got. I pulled a similar name down that matched my readynas os 6.5.1 and made them. Additionally I added the debian repository for virtualbox wheezy and I installed dkms which monitors for kernel header changes and compiles based on the kernel modules in the system. This got me to be able to install 4.3.8 which is happily running my Windows 7 32bit (I have atom processor (non-VT-x)) running Passwordstate for the house quite well.
I hope my post helps someone out!
All Replies
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: RN31200 - Installing virtualbox on ReadyNas 6.5.0
Hello enxer,
I suggest you contact the developer of this app you are trying to install. This is not listed and was not submitted to Netgear yet.
Welcome to the community!
Regards,
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: RN31200 - Installing virtualbox on ReadyNas 6.5.0
Trying the same thing here, and also having issues with module magics, though it's possibly something else I'm doing wrong.
Out of interest, you've mentioned directory showing some additional number in it (197):
linux-4.1.21-197-x86_64
The kernel dir I have out of the latest zip here:
http://www.downloads.netgear.com/files/GPL/ReadyNASOS_V6.5.1_WW_src.zip
just has a directory called:
linux-4.1.21-x86_64
With this kernel:
head -4 /usr/src/linux/Makefile VERSION = 4 PATCHLEVEL = 1 SUBLEVEL = 21 EXTRAVERSION = NAME = Series 4800
Where'd you get the kernel sources with this extra number in the directory name?
As for my lack of success, I'm not even able to
sudo cp .config .config-old sudo cp arch/x86/configs/defconfig.x86 .config sudo make clean sudo make ARCH=x86_64 sudo make modules_install ARCH=x86_64
then
sudo modprobe configs # modprobe: can't load module configs (kernel/kernel/configs.ko): invalid module format
So I'm expecting anything the VirtualBox installer is trying to build will fail with mismatches also.
sudo modinfo configs vermagic: 4.1.21.x86_64.1 SMP mod_unload modversions uname -r 4.1.21.x86_64.1
Seems... Odd to me.
ReadyNAS 6.5.1
RN516
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: RN31200 - Installing virtualbox on ReadyNas 6.5.0
Actually sorted this out in the end.
On a hunch I'd got the wrong config, I had a look around and realised there's a special config file for the readynas setup...
#Normal #sudo cp arch/x86/configs/defconfig.x86 .config #ReadyNAS sudo cp arch/x86/configs/readynas_defconfig .config
Give this a shot and see if it works. You may need to do a clean out first (of /lib/modules & kernel build dir).
Have written up a full description based on a number of great forum posts.
Kernel build:
https://gist.github.com/powareverb/5a59e4e68c7e56033ba0998ef3b53b94
VirtualBox build:
TBC
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry for not getting back to you until now - I saw your post but two active kids kept me busy from repling to these threads I've made.
So I posted over in virtualbox and they reiterrated that my headers I built were not matching the running ones dispite the uname -r matching so I scraped everything, purged all modules and /usr/src and reviewed the orginal url that this author got. I pulled a similar name down that matched my readynas os 6.5.1 and made them. Additionally I added the debian repository for virtualbox wheezy and I installed dkms which monitors for kernel header changes and compiles based on the kernel modules in the system. This got me to be able to install 4.3.8 which is happily running my Windows 7 32bit (I have atom processor (non-VT-x)) running Passwordstate for the house quite well.
I hope my post helps someone out!