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

VirtualBox modules="vboxdrv vboxnetflt vboxnetadp" [Solved]

Postby Dream-a-Dream » Sat Sep 29, 2012 18:09

I have installed VirtualBox under Sabayon 10 on this way:

https://wiki.sabayon.org/index.php?titl ... Virtualbox

But the VirtualBox startet with an Error. I have searched for the reason and found it. The problem is the file modules.

This line
modules="vboxdrv vboxnetflt vboxnetadp"
was saved in the files

modules.save.1
...
modules.save.11

In the files modules.save 1 to modules.save.11 I can find the line
modules="vboxdrv vboxnetflt vboxnetadp"
but not in the file modules.

How can I solve it? What's wrong in my doing?

"[Solved]"
Last edited by Dream-a-Dream on Mon Oct 01, 2012 18:42, edited 1 time in total.
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 » Sat Sep 29, 2012 19:25

1. Open a Konsole/Terminal window.

2. Log in as root user.

3. EITHER:

a) Open the file /etc/conf.d/modules using the nano editor and add the required line to the end of the file, then save and exit nano:

Code: Select all
nano /etc/conf.d/modules

OR:

b) Use redirection to add the required line to the end of the file:

Code: Select all
echo 'modules="vboxdrv vboxnetflt vboxnetadp"' >> /etc/conf.d/modules

4. Delete the files you wrongly created:

Code: Select all
rm /etc/conf.d/modules.save.*


You didn't give us enough enformation. What desktop environment are you using? If you are using KDE then, instead of the above four steps, you could do:

1. Open a Konsole/Terminal window.

2. Without logging in as root user, use the kdesu command to launch KWrite with root user rights:

Code: Select all
kdesu kwrite /etc/conf.d/modules

(You will be prompted to enter the root user's password.)

3. Add the required line to the end of the file, then save and exit KWrite.

4. Delete the files you wrongly created:

Code: Select all
sudo rm /etc/conf.d/modules.save.*
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: VirtualBox modules="vboxdrv vboxnetflt vboxnetadp"

Postby Dream-a-Dream » Sat Sep 29, 2012 22:03

Thank you. I have a KDE Desktop.
The file modules now is ok.

My next problem is

'/etc/init.d/vboxdrv setup'

I don't have this file. I have had vdboxdrv.save.There was only the symbol ^X in there. This file I have deleted. So I have uninstalled VirtualBox and installed new. But the problem is the same, I don't have this file.
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 » Sat Sep 29, 2012 22:10

What are you trying to do? There is no mention of a file /etc/init.d/vboxdrv in the SL Wiki article on how to install VirtualBox (HOWTO: Using Virtualbox). You don't need a file named /etc/init.d/vboxdrv. You need to follow exactly the instructions in the aforementioned SL Wiki article.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: VirtualBox modules="vboxdrv vboxnetflt vboxnetadp"

Postby Dream-a-Dream » Sat Sep 29, 2012 23:00

I have installed VirtualBox and I was setting up a Guest OS. After point 18 I was getting by the VirtualBox under

Machine - Settings - Storage

and "choose a virtual CD/DVD disk file ..."
under /hone/username/Downloads/bodhi-2.1.0-64.iso

I marking Live CD/DVD finished with OK. Finally I click on the green arrow button.

Now the system show me the error

Failed to open a session for the virtual machine Bodhi.
The virtual machine 'Bodhi' has terminated unexpectedly during startup with exit code 1.

Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
Machine
Interface:
IMachine {5eaa9319-62fc-4b0a-843c-0cb1940f8a91}


and the second:

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.



VirtualBox shows:

General
Name: Bodhi
Operating System: Linux
OS Type: Other Linux

System
Base Memory: 512 MB
Boot Order: Floppy, CD/DVD-Rom, Hard Disk

Display
Video Memory: 12 MB
Remote Desktop Server: Disabled

Storage
IDE-Controller
IDE Primary Master: Bodhi.vdi (Normal, 12,00 GB)
IDE Secondary Master (CD/DVD): bodhi-2.1.0-64.iso (534,43 MB)

Audio
Host Driver: PulseAudio
Controller: ICH AC97

Network
Adapter 1: PCnet-FAST III (NAT)

USB
Device Filters: 0 (0 active)

Shared Folders and Description - None



I don't know what is wrong.
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 » Sun Sep 30, 2012 19:33

I downloaded the same Bodhi Linux ISO file as you and tried it with VirtualBox (virtualbox-bin-4.2.0) on my main laptop running Gentoo, and I don't get your error messages but VirtualBox boots Bohdi to a white screen eventually followed by a black screen with a progress bar that takes ages to move across the screen but then freezes. Seems that Bodhi and VB 4.2.0 may not work well together. Have you tried the ISO of another distribution, to see if VirtualBox itself works OK?
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: VirtualBox modules="vboxdrv vboxnetflt vboxnetadp"

Postby newerusebtfrs » Sun Sep 30, 2012 20:10

Looks like my problem:
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.

To start winXP I need to open console in root mode and:
modprobe vboxdrv

Any idea? Everything else work like charm but login as root everytime is quite boring :(
I was installing with help from this link: https://wiki.sabayon.org/index.php?titl ... Virtualbox
newerusebtfrs
Young Hen
 
Posts: 25
Joined: Sun Aug 21, 2011 23:34

Re: VirtualBox modules="vboxdrv vboxnetflt vboxnetadp"

Postby Fitzcarraldo » Sun Sep 30, 2012 20:47

Well, if you're both experiencing the same problem with different distributions/OSs then it looks like it might be something to do with the Entropy package. I don't see the problem with VirtualBox 4.2.0 in Gentoo (although it doesn't like 64-bit Bodhi 2.1.0 specifically, but has no trouble with the other distributions I have tried). I therefore suggest one of you file a bug report (to do that, click on the link 'Bugs' at the top right of this page).
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: VirtualBox modules="vboxdrv vboxnetflt vboxnetadp"

Postby Dream-a-Dream » Mon Oct 01, 2012 18:43

I have create a bug, thank you.
"[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 newerusebtfrs » Tue Oct 02, 2012 22:37

I found solution! I think the problem is with kernel updates
just edit etc/conf.d/modules
find:
# 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"

Change "modules_3_4="vboxdrv vboxnetfl" to your kernell (I had before 2_6) and voila :)
Ohhhh I feel so proud ;)
newerusebtfrs
Young Hen
 
Posts: 25
Joined: Sun Aug 21, 2011 23:34

Next

Return to Beginners|Newbies Area

Who is online

Users browsing this forum: No registered users and 2 guests