Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

vboxdrv not found after 5 hrs of virtualbox emerge?

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
15 posts • Page 1 of 1
Author
Message
padoor
Advocate
Advocate
User avatar
Posts: 4185
Joined: Fri Dec 30, 2005 1:43 am
Location: india

vboxdrv not found after 5 hrs of virtualbox emerge?

  • Quote

Post by padoor » Mon Mar 21, 2011 1:55 am

the virtualbox merged after long time of 5 hrs 34 minutes
only to find that it will not work for vboxdrv module is not found :(
vboxdrv is made by virtualbox merge no ?
now how can i make the module?
reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name)
Top
TJNII
l33t
l33t
User avatar
Posts: 648
Joined: Sun Nov 09, 2003 3:16 am
Location: for(;;);

  • Quote

Post by TJNII » Mon Mar 21, 2011 1:58 am

install app-emulation/virtualbox-modules

[EDIT]I just checked the ebuild and virtualbox depends on virtualbox-modules so you should have it. What is failing to make you think it isn't there?[/EDIT]
Top
padoor
Advocate
Advocate
User avatar
Posts: 4185
Joined: Fri Dec 30, 2005 1:43 am
Location: india

  • Quote

Post by padoor » Mon Mar 21, 2011 2:30 am

if i ask emerge virtualbox-modules it goes for reinstall
but modprobe vboxdrv does not find it
virtualbox starts and says vboxdrv not loaded and cannot start vm
i searched for vboxdrv with find file and folders , it returned nothing
do i have to make for any kernel change ? every change?
reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name)
Top
TJNII
l33t
l33t
User avatar
Posts: 648
Joined: Sun Nov 09, 2003 3:16 am
Location: for(;;);

  • Quote

Post by TJNII » Mon Mar 21, 2011 2:31 am

Is /usr/src/linux correct for your running kernel?

And yes, these drivers are closely tied to your kernel. It is probable you will need ro re-emerge virtualbox-modules for each kernel change. Just the modules package, though, not the main build.
Top
padoor
Advocate
Advocate
User avatar
Posts: 4185
Joined: Fri Dec 30, 2005 1:43 am
Location: india

  • Quote

Post by padoor » Mon Mar 21, 2011 2:33 am

yes it is showing correct kernel source in linux
i had 3 kernels previously i dont remeber which made this vboxdrv
anyways going in for reinstall of the modules.
will comeback with result :)
reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name)
Top
padoor
Advocate
Advocate
User avatar
Posts: 4185
Joined: Fri Dec 30, 2005 1:43 am
Location: india

  • Quote

Post by padoor » Mon Mar 21, 2011 2:44 am

Code: Select all

localhost ramaswamy # cat  /etc/conf.d/modules
# You can define a list modules for a specific kernel version,
# a released kernel version, a main kernel version or just a list.
#modules_2_6_23_gentoo_r5="ieee1394 ohci1394"
#modules_2_6_23="tun ieee1394"
#modules_2_6="tun"
#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.
#module_ieee1394_args="debug"
#module_ieee1394_args_2_6_23_gentoo_r5="ieee1394 ohci1394"
#module_ieee1394_args_2_6_23="tun ieee1394"
#module_ieee1394_args_2_6="tun"

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

Code: Select all

--- replaced obj /etc/udev/rules.d/10-virtualbox.rules
--- replaced dir /etc/udev/rules.d
--- replaced dir /etc/udev
--- replaced dir /etc
 * Removing app-emulation/virtualbox-modules-4.0.4 from moduledb.
>>> Original instance of package unmerged safely.
 * Updating module dependencies for 2.6.36-gentoo-r5 ...              [ ok ]
 * Adding module to moduledb.
 * Starting with the 3.x release new kernel modules were added,
 * be sure to load all the needed modules.
 * 
 * Please add "vboxdrv", "vboxnetflt" and "vboxnetadp" to:
 * /etc/conf.d/modules
 * 
 * If you are experiencing problems on your guests
 * with USB support and app-emulation/virtualbox-bin,
 * uncomment the udev rules placed in:
 * 
 * /etc/udev/rules.d/10-virtualbox.rules
 * 

>>> Recording app-emulation/virtualbox-modules in "world" favorites file...

 * Messages for package app-emulation/virtualbox-modules-4.0.4:

 * Starting with the 3.x release new kernel modules were added,
 * be sure to load all the needed modules.
 * 
 * Please add "vboxdrv", "vboxnetflt" and "vboxnetadp" to:
 * /etc/conf.d/modules
 * 
 * If you are experiencing problems on your guests
 * with USB support and app-emulation/virtualbox-bin,
 * uncomment the udev rules placed in:
 * 
 * /etc/udev/rules.d/10-virtualbox.rules
 * 
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.
localhost ramaswamy # 
now modprobe finds the module
how do i add to /etc/conf.d/modules ? as said in message for virtualbox-modules

there seems to be nothing enabled there as shown

however virtubox works fine now
thanks for the pointers :)
reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name)
Top
TJNII
l33t
l33t
User avatar
Posts: 648
Joined: Sun Nov 09, 2003 3:16 am
Location: for(;;);

  • Quote

Post by TJNII » Mon Mar 21, 2011 3:18 am

I just have them in /etc/modules.autoload.d/kernel-2.6:

Code: Select all

tom@eServer0 ~ $ cat /etc/modules.autoload.d/kernel-2.6 | grep vbox
vboxnetadp
vboxnetflt
vboxdrv
but I'm still running baselayout 1. I don't have a /etc/conf.d/modules. Are you on baselayout 2?
Top
padoor
Advocate
Advocate
User avatar
Posts: 4185
Joined: Fri Dec 30, 2005 1:43 am
Location: india

  • Quote

Post by padoor » Mon Mar 21, 2011 3:53 am

Code: Select all

localhost ramaswamy # eix baselayout
[D] sys-apps/baselayout
     Available versions:  [P]1.11.15-r3 1.12.13 1.12.14-r1 (~)2.0.1 (~)2.0.1-r1 {bootstrap build static unicode}
     Installed versions:  2.0.2(08:52:32 03/19/11)(-build)
     Homepage:            http://www.gentoo.org/
     Description:         Filesystem baselayout and init scripts

* sys-apps/baselayout-vserver
     Available versions:  [M]1.11.14-r4 [M](~)1.12.3 [M](~)1.12.6 {bootstrap build static unicode}
     Homepage:            http://www.gentoo.org/
     Description:         Filesystem baselayout and init scripts

Found 2 matches.
localhost ramaswamy # 
yes i have baselayout 2
the /etc/autoload thing does not work at all
it always says no modules loaded during boot up
but other things like alsa fuse and other usual things get loaded i think by rc.conf
reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name)
Top
Polynomial-C
Retired Dev
Retired Dev
User avatar
Posts: 1432
Joined: Sun Jun 01, 2003 4:19 pm
Location: Germany

  • Quote

Post by Polynomial-C » Mon Mar 21, 2011 8:56 am

Add something like

Code: Select all

modules="vboxnetadp vboxnetflt"
to your /etc/conf.d/modules file. That should work.
The manual said "Requires Windows10 or better" so I installed GNU/Linux...

my portage overlay

Need a stage1 tarball? (Unofficial builds)
Top
jongust
n00b
n00b
Posts: 47
Joined: Mon Jun 13, 2005 6:03 am

Having a similiar problem with the VBox Modules

  • Quote

Post by jongust » Mon May 16, 2011 8:29 pm

in my /etc/conf.d/modules I have :

# You can define a list modules for a specific kernel version,
# a released kernel version, a main kernel version or just a list.
#modules_2_6_23_gentoo_r5="ieee1394 ohci1394"
#modules_2_6_23="tun ieee1394"
#modules_2_6="tun"
#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.
#module_ieee1394_args="debug"
#module_ieee1394_args_2_6_23_gentoo_r5="ieee1394 ohci1394"
#module_ieee1394_args_2_6_23="tun ieee1394"
#module_ieee1394_args_2_6="tun"

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

I try update-modules---and nothing seems to work.....except re-compiling the VBox modules.
any other ideas?
Do I need to add something like this: modules_2_6_23="vboxdrv" ???? except my kernel version of course.


Heres my make.conf:




# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-march=k8 -O2 -pipe"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
MAKEOPTS="-j7"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE= "nouveau nvidia virtualbox xcomposite lock fam gdu mdnsresponder-compat avahi encode lame truetype -minimal dbus session thunar startup-notification static-libs consolekit device-mapper policy$
ACCEPT_LICENSE="*"
VIDEO_CARDS="virtualbox nouveau nvidia"
INPUT_DEVICES="virtualbox evdev keyboard mice"
GENTOO_MIRRORS="http://gentoo.arcticnetwork.ca/ http://mirror.datapipe.net/gentoo http://distro.ibiblio.org/pub/linux/dis ... ns/gentoo/ http://mirror.iawnet.sandia.gov/gentoo/ http://mirror.its$
XFCE_PLUGINS="menu"

I recently added nouveau to my video cars, but have not installed it yet....fyi.

Thanks,
Jon
Top
krinn
Watchman
Watchman
User avatar
Posts: 7476
Joined: Fri May 02, 2003 6:14 am

  • Quote

Post by krinn » Mon May 16, 2011 9:41 pm

pador
As you use 3 kernels, but only 1 is configure with the modules, all kernels will load the modules and fail with mismatch version or fail to find the modules...
Even it's not critical errors, it's still errors. So you better not do modules="vbox...

The good way is modules_2_6_36_gentoo_r5="vboxdrv vboxnetflt vboxnetadp"
So only when you will use that kernel, the module will be loaded, and with others they will not
Top
jongust
n00b
n00b
Posts: 47
Joined: Mon Jun 13, 2005 6:03 am

Thanks

  • Quote

Post by jongust » Tue May 17, 2011 12:27 am

I will give that a shot (In my issue) and let ya know in a few mins ; )
Top
jongust
n00b
n00b
Posts: 47
Joined: Mon Jun 13, 2005 6:03 am

that fixed it

  • Quote

Post by jongust » Tue May 17, 2011 2:38 am

Thanks for the help.....I tried to do each module like that in 3 seperate lines..and it did not work....seems to be working after a modules-update
Top
vincent-
Retired Dev
Retired Dev
User avatar
Posts: 415
Joined: Sat Jan 13, 2007 12:38 am
Location: Valencia (Spain)

  • Quote

Post by vincent- » Wed May 18, 2011 4:49 pm

I have this line in /etc/conf.d/modules

Code: Select all

modules_2_6="${modules_2_6} vboxdrv vboxnetflt vboxnetadp"
Top
jongust
n00b
n00b
Posts: 47
Joined: Mon Jun 13, 2005 6:03 am

Thanks Peratu

  • Quote

Post by jongust » Wed May 18, 2011 7:46 pm

That solved my issue ; )
Top
Post Reply

15 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic