dCore Import Debian Packages to Mountable SCE extensions > dCore x86 Imported Extensions
virtualbox vboxdrv
Onyarian:
Hi,
I'm working with ub-dCore-trusty.
I have importsce virtualbox-4.3.sce from the debextra "http://download.virtualbox.org/virtualbox/debian trusty contrib"
When I run virtualbox comes up the virtualbox-manager OK.
Then when I select the virtualOS there is the error:
--- Quote ---Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or
there is a permision problem with /dev/vboxdrv. Please reinstall the
kernel module by executing
'/etc/init.d/vboxdrv setup'
as root. If it is available in your distribution, you should install the
DKMS package first. This package keeps track of Linux kernel changes
and compiles the vboxdrv kernel module if necessary.
--- End quote ---
Then I importsce build-essential, linux-headers-generic, linux-source and module-assistant,
to recompile the driver, but I can't do it
--- Quote ---tc@ubt-dC5x-ordjd:~$ sudo /etc/init.d/vboxdrv setup
/sbin/modprobe: invalid option -- 'c'
BusyBox v1.20.2 (2012-08-07 01:31:01 UTC) 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
Stopping VirtualBox kernel modules ...done.
Recompiling VirtualBox kernel modules ...failed!
(Look at /var/log/vbox-install.log to find out what went wrong)
--- End quote ---
and /var/log/vbox-install.log says:
--- Quote ---Makefile:183: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
--- End quote ---
What should I do to recompile the vboxdrv?
Thanks
Jason W:
I am actually working on this very thing right now. I plan to build the kernel modules and will upload them to be imported to make it easy to run virtualbox on dCore. I will also build modules for Core as well.
When the modules are built and availble, it should just be a matter of
importsce virtualbox
importsce virtualbox-modules-3.8.13-tinycore
The Linux source would need to be our 3.8.13 kernel. Give me a couple days and I should have it. I am new to virtualbox and will give it some testing before I upload the modules.
Onyarian:
Ok Jason, glad to hear this, thank you very much.
Jason W:
Ok, I have built the Virutalbox kernel modules on TC 5.x, which is where the main dCore kernel was built so it is compatible with both. Also made a startup script for Virtualbox for it to run as expected. I am running a live cd distro through VB on dCore-jessie now, sound and network and all is working nicely.
I will visit the guest-additions later. Use below commands to use Virtualbox on dcore:
importsce virtualbox-host-modules-3.8.13-tinycore
importsce virtualbox
Onyarian:
Hi Jason,
I have imported and then loadsce virtualbox-host-modules-3.8.13-tinycore and virtualbox-qt and I have now this new error:
--- Quote ---Failed to start the virtual machine WinXP
Failed to load VMMR0.r0
(VERR_SUPLIB_SYMLINKS_ARE_NOT_PERMITTED).
Result code: NS_ERROR_FAILURE (0x80004005)
Component: Console
Interface: IConsole {8ab7c520-2442-4b66-8d74-4ff1e195d2b6}
--- End quote ---
my lsmod:
--- Quote ---tc@ubt-dC5x-ordjd:~$ lsmod
Module Size Used by
pci_stub 12288 1
vboxpci 16384 0
vboxnetadp 24576 0
vboxnetflt 20480 0
vboxdrv 188416 3 vboxnetadp,vboxnetflt,vboxpci
dm_crypt 16384 1
ipt_REJECT 12288 1
xt_conntrack 12288 1
xt_LOG 16384 0
nf_conntrack_ftp 12288 0
iptable_nat 12288 0 ...
--- End quote ---
I have proved with different virtual machines (winxp and TC) with the same error
Here you can see a screenshot:
Navigation
[0] Message Index
[#] Next page
Go to full version