Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

Virtualbox Err: Kernel driver not installed Between OS boots

Here you can post threads/topics about programs like vmware, parallels, qemu, virtualbox, dosbox and all the other virtual machines/emulators that exist. This includes how to setup, suggestions on what works well with MEPIS and what doesn't, etc.
Message
Author
User avatar
BitJam
Forum Guide
Forum Guide
Posts: 2472
Joined: Sat Aug 22, 2009 11:36 pm

Re: Virtualbox Err: Kernel driver not installed Between OS b

#11 Post by BitJam » Sun Jun 29, 2014 1:49 pm

ISTM the problem is just that the vboxdrv service is not being run when the system starts up. Isn't there a program that lets people control which services run? If so then it should be easy to have vboxdrv run at startup which should solve the problem.

User avatar
mmikeinsantarosa
Forum Guide
Forum Guide
Posts: 2377
Joined: Thu May 01, 2014 10:12 am

Re: Virtualbox Err: Kernel driver not installed Between OS b

#12 Post by mmikeinsantarosa » Sun Jun 29, 2014 2:05 pm

first off, because I was having trouble with VB, i removed everything that had VB init's package name and then following DOs tutorial, installed the latest Oracle version after adding the virtualbox repo. And the only additional VB item I downloaded was the extensions pack so I could do USB on the VM.
Here's the return for the grep:
ii broadcom-sta-dkms 6.30.223.141-1 all dkms source for the Broadcom STA Wireless driver
ii dkms 2.2.0.3-1.2 all Dynamic Kernel Module Support Framework
rc virtualbox 4.3.12-dfsg-1~bpo70+1 i386 x86 virtualization solution - base binaries
ii virtualbox-4.3 4.3.12-93733~Debian~wheezy i386 Oracle VM VirtualBox
rc virtualbox-guest-x11 4.3.12-dfsg-1~bpo70+1 i386 x86 virtualization solution - X11 guest utilities
rc virtualbox-qt 4.3.12-dfsg-1~bpo70+1 i386 x86 virtualization solution - Qt based user interface
Mike
LT: MX17.1 Quad Core model: Intel Core i7-6820HQ Kernel: 4.16.0-12.1-liquorix-amd64 (64 bit)
DT: Intel(R) Core i5-3.1GHz Kernel~3.9-1-mepis64 x86_64

User avatar
kmathern
Forum Veteran
Forum Veteran
Posts: 9318
Joined: Wed Jul 12, 2006 2:26 pm

Re: Virtualbox Err: Kernel driver not installed Between OS b

#13 Post by kmathern » Sun Jun 29, 2014 2:20 pm

mmikeinsantarosa wrote:first off, because I was having trouble with VB, i removed everything that had VB init's package name and then following DOs tutorial, installed the latest Oracle version after adding the virtualbox repo. And the only additional VB item I downloaded was the extensions pack so I could do USB on the VM.
Here's the return for the grep:
ii broadcom-sta-dkms 6.30.223.141-1 all dkms source for the Broadcom STA Wireless driver
ii dkms 2.2.0.3-1.2 all Dynamic Kernel Module Support Framework
rc virtualbox 4.3.12-dfsg-1~bpo70+1 i386 x86 virtualization solution - base binaries
ii virtualbox-4.3 4.3.12-93733~Debian~wheezy i386 Oracle VM VirtualBox
rc virtualbox-guest-x11 4.3.12-dfsg-1~bpo70+1 i386 x86 virtualization solution - X11 guest utilities
rc virtualbox-qt 4.3.12-dfsg-1~bpo70+1 i386 x86 virtualization solution - Qt based user interface
Mike
Okay, it looks like in your first attempt you were using the Debian virtualbox packages and (like I suspected) you hadn't installed either the virtualbox-dkms or virtualbox-source package so the modules hadn't been built during installation. Those are the 'rc' items.


It looks like you are now using the Oracle package. Did the various vbox modules get built during installation? This will show them

Code: Select all

sudo modinfo vboxdrv vboxnetadp vboxnetflt vboxpci
Is the vboxdrv module and the others getting loaded during startup? This will show that

Code: Select all

dmesg | grep vbox
From what I'm seeing using the Debian virtualbox packages the vboxdrv module loads automatically during startup without needing to do anything.

User avatar
joany
Forum Veteran
Forum Veteran
Posts: 5919
Joined: Mon Feb 12, 2007 1:45 pm

Re: Virtualbox Err: Kernel driver not installed Between OS b

#14 Post by joany » Sun Jun 29, 2014 2:28 pm

Stevo wrote: Well, I have to admit those are where those files are in my MEPIS 12 installation. Can someone successfully running VB in MX run a "locate" on "vboxdrv" and see what files they get? I don't know how different the init boot sequence is in MX, or if getting "K02" tacked onto the start of some init files is normal.
I'm successfully running VirtualBox in MX-14/KDE and my files match those you posted. The OP's installation doesn't look complete. I'd suggest re-installing VirtualBox using Synaptic from this repository:

Code: Select all

deb http://download.virtualbox.org/virtualbox/debian/ wheezy contrib  
MX-14; 3.12-0.bpo.1-686-pae kernel using 4GB RAM
2.4GHz AMD Athlon 4600+
NVidia GeForce 6150 LE; 304.121 Display Driver
You didn't slow down because you're old; you're old because you slowed down.

User avatar
lucky9
Forum Veteran
Forum Veteran
Posts: 11380
Joined: Wed Jul 12, 2006 5:54 am

Re: Virtualbox Err: Kernel driver not installed Between OS b

#15 Post by lucky9 » Sun Jun 29, 2014 2:49 pm

The Oracle version is the surest way to get a complete VirtualBox installation. Their Extension Package should really be thought of as a necessary dependency.

The most I've had to do with the Synaptic installation was remove it and it's configuration files so I could install the Oracle version.
dkms not being installed correctly and not adding my User to the vboxusers group were things that could (and did) crop up when trying anything but the Oracle way.
Yes, even I am dishonest. Not in many ways, but in some. Forty-one, I think it is.
--Mark Twain

User avatar
BitJam
Forum Guide
Forum Guide
Posts: 2472
Joined: Sat Aug 22, 2009 11:36 pm

Re: Virtualbox Err: Kernel driver not installed Between OS b

#16 Post by BitJam » Sun Jun 29, 2014 3:43 pm

mmikeinsantarosa wrote:I can open a terminal and from su run "/etc/init.d/vboxdrv setup"
and that does fix the problem until...
I shutdown and restart my laptop and I have to run /etc/init.d/vboxdrv setup again.
Still seems to me the solution is to get this service to run at startup. An alternative is to list the Virtualbox modules in the file /etc/modules.

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 22421
Joined: Wed Jul 19, 2006 6:13 am

Re: Virtualbox Err: Kernel driver not installed Between OS b

#17 Post by Jerry3904 » Sun Jun 29, 2014 4:07 pm

Did we already check this: run MX User Manager and click on the tab Group Membership, then select your user name from the pull-down menu, is that user listed as being a member of the vboxdrvr group?
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, Kingston SSD 120 GB and WesternDigital 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB

User avatar
joany
Forum Veteran
Forum Veteran
Posts: 5919
Joined: Mon Feb 12, 2007 1:45 pm

Re: Virtualbox Err: Kernel driver not installed Between OS b

#18 Post by joany » Sun Jun 29, 2014 4:14 pm

lucky9 wrote:The Oracle version is the surest way to get a complete VirtualBox installation. Their Extension Package should really be thought of as a necessary dependency.

The most I've had to do with the Synaptic installation was remove it and it's configuration files so I could install the Oracle version.
dkms not being installed correctly and not adding my User to the vboxusers group were things that could (and did) crop up when trying anything but the Oracle way.
You mean virtualbox.org repository I posted isn't the Oracle version?

http://download.virtualbox.org/virtualbox/debian/

This sure looks like the Oracle version to me. At least is says it is when I launch VirtualBox :confused:
I use Synaptic whenever possible because it pulls in any missing dependencies.
MX-14; 3.12-0.bpo.1-686-pae kernel using 4GB RAM
2.4GHz AMD Athlon 4600+
NVidia GeForce 6150 LE; 304.121 Display Driver
You didn't slow down because you're old; you're old because you slowed down.

User avatar
mmikeinsantarosa
Forum Guide
Forum Guide
Posts: 2377
Joined: Thu May 01, 2014 10:12 am

Re: Virtualbox Err: Kernel driver not installed Between OS b

#19 Post by mmikeinsantarosa » Sun Jun 29, 2014 4:37 pm

Here's #1 <Joany>
sudo modinfo vboxdrv vboxnetadp vboxnetflt vboxpci
WARNING: Ignoring invalid value 'share' for parameter 'security'
filename: /lib/modules/3.12-0.bpo.1-686-pae/kernel/misc/vboxdrv.ko
version: 4.3.12 (0x001a0007)
license: GPL
description: Oracle VM VirtualBox Support Driver
author: Oracle Corporation
srcversion: 30D83B8623696560B9205D9
depends:
vermagic: 3.12-0.bpo.1-686-pae SMP mod_unload modversions 686
parm: force_async_tsc:force the asynchronous TSC mode (int)
filename: /lib/modules/3.12-0.bpo.1-686-pae/kernel/misc/vboxnetadp.ko
version: 4.3.12 ((0xA2CDe001U))
license: GPL
description: Oracle VM VirtualBox Network Adapter Driver
author: Oracle Corporation
srcversion: 335CED940C87CEB85E4DCE4
depends: vboxdrv
vermagic: 3.12-0.bpo.1-686-pae SMP mod_unload modversions 686
filename: /lib/modules/3.12-0.bpo.1-686-pae/kernel/misc/vboxnetflt.ko
version: 4.3.12 ((0xA2CDe001U))
license: GPL
description: Oracle VM VirtualBox Network Filter Driver
author: Oracle Corporation
srcversion: F950500D977B3CE3565591F
depends: vboxdrv
vermagic: 3.12-0.bpo.1-686-pae SMP mod_unload modversions 686
filename: /lib/modules/3.12-0.bpo.1-686-pae/kernel/misc/vboxpci.ko
version: 4.3.12
license: GPL
description: Oracle VM VirtualBox PCI access Driver
author: Oracle Corporation
srcversion: 29F61D7C0181914559C5A02
depends: vboxdrv
vermagic: 3.12-0.bpo.1-686-pae SMP mod_unload modversions 686
And #2 <Joany>
dmesg | grep vbox
<no return>
yup, nothing back from #2

finally #3 Lucky9
My user name in MX Users & Groups has vboxusers checked

Mike
LT: MX17.1 Quad Core model: Intel Core i7-6820HQ Kernel: 4.16.0-12.1-liquorix-amd64 (64 bit)
DT: Intel(R) Core i5-3.1GHz Kernel~3.9-1-mepis64 x86_64

User avatar
kmathern
Forum Veteran
Forum Veteran
Posts: 9318
Joined: Wed Jul 12, 2006 2:26 pm

Re: Virtualbox Err: Kernel driver not installed Between OS b

#20 Post by kmathern » Sun Jun 29, 2014 4:47 pm

mmikeinsantarosa wrote:
dmesg | grep vbox
<no return>
yup, nothing back from #2
hmm, I get this:

Code: Select all

$ dmesg | grep vbox
[   22.150959] vboxdrv: Found 2 processor cores.
[   22.152608] vboxdrv: fAsync=0 offMin=0x243 offMax=0xa98
[   22.153748] vboxdrv: TSC mode is 'synchronous', kernel timer mode is 'normal'.
[   22.153753] vboxdrv: Successfully loaded version 4.3.12 (interface 0x001a0007).
[   22.473072] vboxpci: IOMMU not found (not compiled)
I get that whether my user is in the vboxusers group or not.

I haven't checked what the "IOMMU not found ..." message is about.


What does this show?

Code: Select all

ls -l /etc/rc{0,1,2,3,4,5,6}.d/{K,S}*vbox* 2>/dev/null
This is what I get:

Code: Select all

$ ls -l /etc/rc{0,1,2,3,4,5,6}.d/{K,S}*vbox* 2>/dev/null
lrwxrwxrwx 1 root root 31 Jun 29 14:51 /etc/rc0.d/K01vboxautostart-service -> ../init.d/vboxautostart-service
lrwxrwxrwx 1 root root 33 Jun 29 14:51 /etc/rc0.d/K01vboxballoonctrl-service -> ../init.d/vboxballoonctrl-service
lrwxrwxrwx 1 root root 25 Jun 29 14:51 /etc/rc0.d/K01vboxweb-service -> ../init.d/vboxweb-service
lrwxrwxrwx 1 root root 17 Jun 29 14:49 /etc/rc0.d/K02vboxdrv -> ../init.d/vboxdrv
lrwxrwxrwx 1 root root 31 Jun 29 14:51 /etc/rc1.d/K01vboxautostart-service -> ../init.d/vboxautostart-service
lrwxrwxrwx 1 root root 33 Jun 29 14:51 /etc/rc1.d/K01vboxballoonctrl-service -> ../init.d/vboxballoonctrl-service
lrwxrwxrwx 1 root root 25 Jun 29 14:51 /etc/rc1.d/K01vboxweb-service -> ../init.d/vboxweb-service
lrwxrwxrwx 1 root root 17 Jun 29 14:49 /etc/rc1.d/K02vboxdrv -> ../init.d/vboxdrv
lrwxrwxrwx 1 root root 17 Jun 29 14:49 /etc/rc2.d/S02vboxdrv -> ../init.d/vboxdrv
lrwxrwxrwx 1 root root 31 Jun 29 14:51 /etc/rc2.d/S03vboxautostart-service -> ../init.d/vboxautostart-service
lrwxrwxrwx 1 root root 33 Jun 29 14:51 /etc/rc2.d/S03vboxballoonctrl-service -> ../init.d/vboxballoonctrl-service
lrwxrwxrwx 1 root root 25 Jun 29 14:51 /etc/rc2.d/S03vboxweb-service -> ../init.d/vboxweb-service
lrwxrwxrwx 1 root root 17 Jun 29 14:49 /etc/rc3.d/S02vboxdrv -> ../init.d/vboxdrv
lrwxrwxrwx 1 root root 31 Jun 29 14:51 /etc/rc3.d/S03vboxautostart-service -> ../init.d/vboxautostart-service
lrwxrwxrwx 1 root root 33 Jun 29 14:51 /etc/rc3.d/S03vboxballoonctrl-service -> ../init.d/vboxballoonctrl-service
lrwxrwxrwx 1 root root 25 Jun 29 14:51 /etc/rc3.d/S03vboxweb-service -> ../init.d/vboxweb-service
lrwxrwxrwx 1 root root 17 Jun 29 14:49 /etc/rc4.d/S02vboxdrv -> ../init.d/vboxdrv
lrwxrwxrwx 1 root root 31 Jun 29 14:51 /etc/rc4.d/S03vboxautostart-service -> ../init.d/vboxautostart-service
lrwxrwxrwx 1 root root 33 Jun 29 14:51 /etc/rc4.d/S03vboxballoonctrl-service -> ../init.d/vboxballoonctrl-service
lrwxrwxrwx 1 root root 25 Jun 29 14:51 /etc/rc4.d/S03vboxweb-service -> ../init.d/vboxweb-service
lrwxrwxrwx 1 root root 17 Jun 29 14:49 /etc/rc5.d/S02vboxdrv -> ../init.d/vboxdrv
lrwxrwxrwx 1 root root 31 Jun 29 14:51 /etc/rc5.d/S03vboxautostart-service -> ../init.d/vboxautostart-service
lrwxrwxrwx 1 root root 33 Jun 29 14:51 /etc/rc5.d/S03vboxballoonctrl-service -> ../init.d/vboxballoonctrl-service
lrwxrwxrwx 1 root root 25 Jun 29 14:51 /etc/rc5.d/S03vboxweb-service -> ../init.d/vboxweb-service
lrwxrwxrwx 1 root root 31 Jun 29 14:51 /etc/rc6.d/K01vboxautostart-service -> ../init.d/vboxautostart-service
lrwxrwxrwx 1 root root 33 Jun 29 14:51 /etc/rc6.d/K01vboxballoonctrl-service -> ../init.d/vboxballoonctrl-service
lrwxrwxrwx 1 root root 25 Jun 29 14:51 /etc/rc6.d/K01vboxweb-service -> ../init.d/vboxweb-service
lrwxrwxrwx 1 root root 17 Jun 29 14:49 /etc/rc6.d/K02vboxdrv -> ../init.d/vboxdrv

Post Reply

Return to “VMs/Emulators”