VirtualBox modules="vboxdrv vboxnetflt vboxnetadp" [Solved]

If you are new to Linux or new to Sabayon Linux and just not sure where to post, here ya go. Post without fear of being told to RTFM :-)

Moderator: Moderators

Re: VirtualBox modules="vboxdrv vboxnetflt vboxnetadp"

Postby Dream-a-Dream » Wed Oct 03, 2012 18:47

newerusebtfrs how hase you solved it?

I get the error again.

Kernel driver not installed (rc=-1908)

The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission 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 recompiles the vboxdrv kernel module if necessary.


and

Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
Machine
Interface:
IMachine {22781af3-1c96-4126-9edf-67a020e0e858}



at first my modules files looks like this:

# You can define a list modules for a specific kernel version,
# a released kernel version, a main kernel version or just a list.
# The most specific versioned variable will take precedence.
#modules_2_6_23_gentoo_r5="ieee1394 ohci1394"
#modules_2_6_23="tun ieee1394"
#modules_2_6="tun"
#modules_2="ipv6"
#modules="ohci1394"
#modules="vboxdrv vboxnetflt vboxnetadp"

# You can give modules a different name when they load - the new name
# will also be used to pick arguments below.
#modules="dummy:dummy1"

# Give the modules some arguments if needed, per version if necessary.
# Again, the most specific versioned variable will take precedence.
#module_ieee1394_args="debug"
#module_ieee1394_args_2_6_23_gentoo_r5="debug2"
#module_ieee1394_args_2_6_23="debug3"
#module_ieee1394_args_2_6="debug4"
#module_ieee1394_args_2="debug5"

# You should consult your kernel documentation and configuration
# for a list of modules and their options.


than I want see my kernel-version
as root i asked

# uname -r
3.4.0-sabayon


if I give only this line
modules_3_4="vboxdrv vboxnetflt"
in the file, the problem is the same.

The I change the whole file

# You can define a list modules for a specific kernel version,
# a released kernel version, a main kernel version or just a list.
# The most specific versioned variable will take precedence.
#modules_3_4_0_gentoo_r5="ieee1394 ohci1394"
#modules_3_4_0="tun ieee1394"
#modules_3_4="tun"
#modules_3="ipv4"
#modules="ohci1394"

# You can give modules a different name when they load - the new name
# will also be used to pick arguments below.
#modules="dummy:dummy1"

# Give the modules some arguments if needed, per version if necessary.
# Again, the most specific versioned variable will take precedence.
#module_ieee1394_args="debug"
#module_ieee1394_args_3_4_0_gentoo_r5="debug2"
#module_ieee1394_args_3_4_0="debug3"
#module_ieee1394_args_3_4="debug4"
#module_ieee1394_args_3="debug5"

# You should consult your kernel documentation and configuration
# for a list of modules and their options.
#modules_3_4="vboxdrv vboxnetflt"
#modules="vboxdrv vboxnetflt vboxnetadp"


The error comes is on the head.
Asylum is a humans right
Dream-a-Dream
Baby Hen
 
Posts: 7
Joined: Sun Sep 23, 2012 21:35
Location: Germany

Re: VirtualBox modules="vboxdrv vboxnetflt vboxnetadp"

Postby Fitzcarraldo » Wed Oct 03, 2012 20:18

Your problem is that you have this:

Code: Select all
#modules="vboxdrv vboxnetflt vboxnetadp"

but you need to have:

Code: Select all
modules="vboxdrv vboxnetflt vboxnetadp"

The hash symbol (#) at the beginning of a line in a file turns the line into a comment that is ignored. Remove the hash symbol from the beginning of the last line in the file.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7334
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: VirtualBox modules="vboxdrv vboxnetflt vboxnetadp"

Postby newerusebtfrs » Wed Oct 03, 2012 22:59

Fitzcarraldo have right. Try remove #. My file look like this(notice 2 last lines without hashes[#]):

# You can define a list modules for a specific kernel version,
# a released kernel version, a main kernel version or just a list.
# The most specific versioned variable will take precedence.
#modules_2_6_23_gentoo_r5="ieee1394 ohci1394"
#modules_2_6_23="tun ieee1394"
#modules_2_6="tun"
#modules_2="ipv6"
#modules="ohci1394"

# You can give modules a different name when they load - the new name
# will also be used to pick arguments below.
#modules="dummy:dummy1"

# Give the modules some arguments if needed, per version if necessary.
# Again, the most specific versioned variable will take precedence.
#module_ieee1394_args="debug"
#module_ieee1394_args_2_6_23_gentoo_r5="debug2"
#module_ieee1394_args_2_6_23="debug3"
#module_ieee1394_args_2_6="debug4"
#module_ieee1394_args_2="debug5"
,

# You should consult your kernel documentation and configuration
# for a list of modules and their options.
modules_3_4="vboxdrv vboxnetflt"
modules="vboxdrv vboxnetflt vboxnetadp"
newerusebtfrs
Young Hen
 
Posts: 25
Joined: Sun Aug 21, 2011 23:34

Re: VirtualBox modules="vboxdrv vboxnetflt vboxnetadp"

Postby Fitzcarraldo » Thu Oct 04, 2012 5:39

newerusebtfrs, you don't need the second-to-last line, and you can delete it. The only thing you need is:

Code: Select all
modules="vboxdrv vboxnetflt vboxnetadp"
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7334
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: VirtualBox modules="vboxdrv vboxnetflt vboxnetadp"

Postby Dream-a-Dream » Thu Oct 04, 2012 21:52

Now it works on my Laptop too. I have changed the file modules in the way from newerusebtfrs and Fitzcarraldo. But the persons from the bug give me this solution.

If it still doesn't work, try as root:
modprobe vboxdrv
modprobe vboxnetadp
modprobe vboxnetflt
do these command fail (what's the message?) or succeed?

another commands whose output can be useful:
uname -r
equo query installed -qv virtualbox



The last line solved my problem. :D

"[Solved]"
Asylum is a humans right
Dream-a-Dream
Baby Hen
 
Posts: 7
Joined: Sun Sep 23, 2012 21:35
Location: Germany

Re: VirtualBox modules="vboxdrv vboxnetflt vboxnetadp"

Postby Fitzcarraldo » Fri Oct 05, 2012 5:37

Yes, it helps if the modules you need to load are actually installed and loaded. :D

BTW, when your problem is solved, please click EDIT for the first post in the thread and append "[Solved]" to the Subject. See the link in my signature. I'll do it for you this time.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7334
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: VirtualBox modules="vboxdrv vboxnetflt vboxnetadp" [Sol

Postby Dream-a-Dream » Sun Oct 07, 2012 21:02

Thank you. I have misunderstood the place. I have it written on the last line in the first blog.
Asylum is a humans right
Dream-a-Dream
Baby Hen
 
Posts: 7
Joined: Sun Sep 23, 2012 21:35
Location: Germany

Previous

Return to Beginners|Newbies Area

Who is online

Users browsing this forum: ags40 and 1 guest