View previous topic :: View next topic |
Author |
Message |
hackum Tux's lil' helper
Joined: 23 May 2011 Posts: 108
|
Posted: Sun Jun 12, 2011 7:50 pm Post subject: Problem to loading module modprobe [Problem solved!] |
|
|
Hello,
After installing VirtualBox, I'm having trouble loading the module. Consider:
gustavo # modprobe vboxdrv
FATAL: Error inserting vboxdrv (/lib/modules/2.6.38-gentoo-r6/misc/vboxdrv.ko): Invalid module format
Thanks you!
Last edited by hackum on Tue Jun 14, 2011 2:13 am; edited 1 time in total |
|
Back to top |
|
|
wswartzendruber Veteran
Joined: 23 Mar 2004 Posts: 1261 Location: Idaho, USA
|
Posted: Sun Jun 12, 2011 8:49 pm Post subject: |
|
|
Have you re-emerged virtualbox-modules since your latest kernel update? |
|
Back to top |
|
|
hackum Tux's lil' helper
Joined: 23 May 2011 Posts: 108
|
Posted: Mon Jun 13, 2011 2:30 am Post subject: |
|
|
wswartzendruber wrote: | Have you re-emerged virtualbox-modules since your latest kernel update? |
I do not know you know. How can I obtain this information?
Thanks you! |
|
Back to top |
|
|
wswartzendruber Veteran
Joined: 23 Mar 2004 Posts: 1261 Location: Idaho, USA
|
Posted: Mon Jun 13, 2011 2:32 am Post subject: |
|
|
Code: | emerge --oneshot virtualbox-modules |
|
|
Back to top |
|
|
hackum Tux's lil' helper
Joined: 23 May 2011 Posts: 108
|
Posted: Mon Jun 13, 2011 2:45 am Post subject: |
|
|
Thanks you!
Now not can start the Virtualbox, see:
Code: |
hackum gustavo # modprobe vboxdrv
hackum gustavo # chgrp vboxusers /dev/vboxdrv
hackum gustavo # echo 'modules="${modules} vboxdrv"' >> /etc/conf.d/modules
hackum gustavo # VirtualBox
bash: VirtualBox: command not found
hackum gustavo #
|
|
|
Back to top |
|
|
wswartzendruber Veteran
Joined: 23 Mar 2004 Posts: 1261 Location: Idaho, USA
|
Posted: Mon Jun 13, 2011 3:57 am Post subject: |
|
|
Good gravy! Don't run that thing as root!
Look, you need to run the vast majority of your programs as a normal user. When you run common stuff as root, any bug or vulnerability in that program can bring the entire system down.
You need to add your normal user to the vboxusers* group.
Do this as root:
Code: | gpasswd -a $USER** vboxusers |
* I think that's what it's called. I could be mistaken.
** This is the name of your ordinary user. |
|
Back to top |
|
|
hackum Tux's lil' helper
Joined: 23 May 2011 Posts: 108
|
Posted: Mon Jun 13, 2011 7:37 pm Post subject: |
|
|
Hello! Sorry by no warn:I already write this command. But still yes, I no can start the program. See:
Code: |
hackum gustavo # gpasswd -a gutavo vboxusers
gpasswd: user 'gutavo' does not exist
hackum gustavo # gpasswd -a gustavo vboxusers
Adding user gustavo to group vboxusers
hackum gustavo # VirtualBox
bash: VirtualBox: command not found
hackum gustavo # virtualbox
bash: virtualbox: command not found
hackum gustavo #
|
Or
Code: |
gustavo@hackum ~ $ VirtualBox
bash: VirtualBox: command not found
gustavo@hackum ~ $ virtualbox
bash: virtualbox: command not found
gustavo@hackum ~ $
|
|
|
Back to top |
|
|
wswartzendruber Veteran
Joined: 23 Mar 2004 Posts: 1261 Location: Idaho, USA
|
Posted: Mon Jun 13, 2011 9:00 pm Post subject: |
|
|
Reboot the computer. |
|
Back to top |
|
|
hackum Tux's lil' helper
Joined: 23 May 2011 Posts: 108
|
Posted: Mon Jun 13, 2011 9:17 pm Post subject: |
|
|
The problem persists. |
|
Back to top |
|
|
wswartzendruber Veteran
Joined: 23 Mar 2004 Posts: 1261 Location: Idaho, USA
|
Posted: Mon Jun 13, 2011 9:19 pm Post subject: |
|
|
Give me the output of:
Code: | emerge -s virtualbox |
|
|
Back to top |
|
|
hackum Tux's lil' helper
Joined: 23 May 2011 Posts: 108
|
Posted: Mon Jun 13, 2011 9:21 pm Post subject: |
|
|
Code: |
hackum gustavo # emerge -s virtualbox
Searching...
[ Results for search key : virtualbox ]
[ Applications found : 8 ]
* app-emulation/virtualbox
Latest version available: 3.2.12-r4
Latest version installed: 3.2.12-r4
Size of files: 56,874 kB
Homepage: http://www.virtualbox.org/
Description: Software family of powerful x86 virtualization
License: GPL-2
* app-emulation/virtualbox-additions
Latest version available: 3.2.12
Latest version installed: 3.2.12
Size of files: 32,370 kB
Homepage: http://www.virtualbox.org/
Description: CD image containing guest additions for VirtualBox
License: PUEL
* app-emulation/virtualbox-bin
Latest version available: 4.0.8
Latest version installed: [ Not Installed ]
Size of files: 142,698 kB
Homepage: http://www.virtualbox.org/
Description: Family of powerful x86 virtualization products for enterprise as well as home use
License: GPL-2 PUEL
* app-emulation/virtualbox-extpack-oracle [ Masked ]
Latest version available: 4.0.8
Latest version installed: [ Not Installed ]
Size of files: 3,447 kB
Homepage: http://www.virtualbox.org/
Description: PUEL extensions for VirtualBox
License: PUEL
* app-emulation/virtualbox-guest-additions
Latest version available: 3.2.12
Latest version installed: [ Not Installed ]
Size of files: 56,874 kB
Homepage: http://www.virtualbox.org/
Description: VirtualBox kernel modules and user-space tools for Linux guests
License: GPL-2
* app-emulation/virtualbox-modules
Latest version available: 4.0.8
Latest version installed: 3.2.12
Size of files: 879 kB
Homepage: http://www.virtualbox.org/
Description: Kernel Modules for Virtualbox
License: GPL-2
* x11-drivers/xf86-input-virtualbox
Latest version available: 3.2.12
Latest version installed: [ Not Installed ]
Size of files: 56,874 kB
Homepage: http://www.virtualbox.org/
Description: VirtualBox input driver
License: GPL-2
* x11-drivers/xf86-video-virtualbox
Latest version available: 3.2.12
Latest version installed: [ Not Installed ]
Size of files: 56,874 kB
Homepage: http://www.virtualbox.org/
Description: VirtualBox video driver
License: GPL-2
hackum gustavo #
|
|
|
Back to top |
|
|
wswartzendruber Veteran
Joined: 23 Mar 2004 Posts: 1261 Location: Idaho, USA
|
Posted: Mon Jun 13, 2011 9:36 pm Post subject: |
|
|
Now give me the output of:
Code: | find / | grep VirtualBox |
|
|
Back to top |
|
|
hackum Tux's lil' helper
Joined: 23 May 2011 Posts: 108
|
Posted: Mon Jun 13, 2011 9:45 pm Post subject: |
|
|
Code: |
hackum gustavo # find / | grep VirtualBox
/usr/lib/virtualbox/sdk/bindings/VirtualBox.xidl
/usr/lib/virtualbox/sdk/bindings/xpcom/idl/VirtualBox_XPCOM.idl
/usr/lib/virtualbox/sdk/bindings/xpcom/include/VirtualBox_XPCOM.h
/usr/lib/virtualbox/sdk/installer/vboxapi/VirtualBox_constants.py
/usr/lib/virtualbox/components/VirtualBox_XPCOM.xpt
/usr/portage/distfiles/VirtualBox-3.2.12-OSE.tar.bz2
hackum gustavo #
|
|
|
Back to top |
|
|
wswartzendruber Veteran
Joined: 23 Mar 2004 Posts: 1261 Location: Idaho, USA
|
Posted: Mon Jun 13, 2011 10:09 pm Post subject: |
|
|
Curious. Now give me the output of:
Code: | find / | grep virtualbox |
|
|
Back to top |
|
|
hackum Tux's lil' helper
Joined: 23 May 2011 Posts: 108
|
|
Back to top |
|
|
wswartzendruber Veteran
Joined: 23 Mar 2004 Posts: 1261 Location: Idaho, USA
|
Posted: Mon Jun 13, 2011 10:46 pm Post subject: |
|
|
Code: | /usr/lib/virtualbox/VBox |
|
|
Back to top |
|
|
hackum Tux's lil' helper
Joined: 23 May 2011 Posts: 108
|
Posted: Mon Jun 13, 2011 10:50 pm Post subject: |
|
|
still no.
Code: |
hackum gustavo # /usr/lib/virtualbox/VBox
Unknown application - VBox
hackum gustavo #
|
|
|
Back to top |
|
|
wswartzendruber Veteran
Joined: 23 Mar 2004 Posts: 1261 Location: Idaho, USA
|
Posted: Mon Jun 13, 2011 10:54 pm Post subject: |
|
|
Do you have a window manager such as GNOME or KDE installed? |
|
Back to top |
|
|
hackum Tux's lil' helper
Joined: 23 May 2011 Posts: 108
|
Posted: Mon Jun 13, 2011 10:59 pm Post subject: |
|
|
None of the two. I use the XFCE. |
|
Back to top |
|
|
wswartzendruber Veteran
Joined: 23 Mar 2004 Posts: 1261 Location: Idaho, USA
|
Posted: Mon Jun 13, 2011 11:05 pm Post subject: |
|
|
You should have an applications menu somewhere. Do you see any VirtualBox icon in there? |
|
Back to top |
|
|
hackum Tux's lil' helper
Joined: 23 May 2011 Posts: 108
|
Posted: Mon Jun 13, 2011 11:08 pm Post subject: |
|
|
No. |
|
Back to top |
|
|
wswartzendruber Veteran
Joined: 23 Mar 2004 Posts: 1261 Location: Idaho, USA
|
Posted: Mon Jun 13, 2011 11:10 pm Post subject: |
|
|
Code: | ls -l /usr/lib/virtualbox/VBox |
|
|
Back to top |
|
|
hackum Tux's lil' helper
Joined: 23 May 2011 Posts: 108
|
Posted: Mon Jun 13, 2011 11:15 pm Post subject: |
|
|
Code: |
hackum gustavo # ls -l /usr/lib/virtualbox/VBox
-rwxr-x--- 1 root vboxusers 2931 Jun 13 18:07 /usr/lib/virtualbox/VBox
hackum gustavo #
|
|
|
Back to top |
|
|
hackum Tux's lil' helper
Joined: 23 May 2011 Posts: 108
|
Posted: Mon Jun 13, 2011 11:41 pm Post subject: |
|
|
will be possible to solve the problem? |
|
Back to top |
|
|
hackum Tux's lil' helper
Joined: 23 May 2011 Posts: 108
|
Posted: Tue Jun 14, 2011 2:12 am Post subject: |
|
|
Problem solved!
Thanks you! |
|
Back to top |
|
|
|