Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem to loading module modprobe [Problem solved!]
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
hackum
Tux's lil' helper
Tux's lil' helper


Joined: 23 May 2011
Posts: 108

PostPosted: Sun Jun 12, 2011 7:50 pm    Post subject: Problem to loading module modprobe [Problem solved!] Reply with quote

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
View user's profile Send private message
wswartzendruber
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1261
Location: Idaho, USA

PostPosted: Sun Jun 12, 2011 8:49 pm    Post subject: Reply with quote

Have you re-emerged virtualbox-modules since your latest kernel update?
Back to top
View user's profile Send private message
hackum
Tux's lil' helper
Tux's lil' helper


Joined: 23 May 2011
Posts: 108

PostPosted: Mon Jun 13, 2011 2:30 am    Post subject: Reply with quote

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
View user's profile Send private message
wswartzendruber
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1261
Location: Idaho, USA

PostPosted: Mon Jun 13, 2011 2:32 am    Post subject: Reply with quote

Code:
emerge --oneshot virtualbox-modules
Back to top
View user's profile Send private message
hackum
Tux's lil' helper
Tux's lil' helper


Joined: 23 May 2011
Posts: 108

PostPosted: Mon Jun 13, 2011 2:45 am    Post subject: Reply with quote

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
View user's profile Send private message
wswartzendruber
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1261
Location: Idaho, USA

PostPosted: Mon Jun 13, 2011 3:57 am    Post subject: Reply with quote

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
View user's profile Send private message
hackum
Tux's lil' helper
Tux's lil' helper


Joined: 23 May 2011
Posts: 108

PostPosted: Mon Jun 13, 2011 7:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
wswartzendruber
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1261
Location: Idaho, USA

PostPosted: Mon Jun 13, 2011 9:00 pm    Post subject: Reply with quote

Reboot the computer.
Back to top
View user's profile Send private message
hackum
Tux's lil' helper
Tux's lil' helper


Joined: 23 May 2011
Posts: 108

PostPosted: Mon Jun 13, 2011 9:17 pm    Post subject: Reply with quote

The problem persists. :(
Back to top
View user's profile Send private message
wswartzendruber
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1261
Location: Idaho, USA

PostPosted: Mon Jun 13, 2011 9:19 pm    Post subject: Reply with quote

Give me the output of:

Code:
emerge -s virtualbox
Back to top
View user's profile Send private message
hackum
Tux's lil' helper
Tux's lil' helper


Joined: 23 May 2011
Posts: 108

PostPosted: Mon Jun 13, 2011 9:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
wswartzendruber
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1261
Location: Idaho, USA

PostPosted: Mon Jun 13, 2011 9:36 pm    Post subject: Reply with quote

Now give me the output of:

Code:
find / | grep VirtualBox
Back to top
View user's profile Send private message
hackum
Tux's lil' helper
Tux's lil' helper


Joined: 23 May 2011
Posts: 108

PostPosted: Mon Jun 13, 2011 9:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
wswartzendruber
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1261
Location: Idaho, USA

PostPosted: Mon Jun 13, 2011 10:09 pm    Post subject: Reply with quote

Curious. Now give me the output of:

Code:
find / | grep virtualbox
Back to top
View user's profile Send private message
hackum
Tux's lil' helper
Tux's lil' helper


Joined: 23 May 2011
Posts: 108

PostPosted: Mon Jun 13, 2011 10:12 pm    Post subject: Reply with quote

Here: http://bpaste.net/show/16883/
Back to top
View user's profile Send private message
wswartzendruber
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1261
Location: Idaho, USA

PostPosted: Mon Jun 13, 2011 10:46 pm    Post subject: Reply with quote

Code:
/usr/lib/virtualbox/VBox
Back to top
View user's profile Send private message
hackum
Tux's lil' helper
Tux's lil' helper


Joined: 23 May 2011
Posts: 108

PostPosted: Mon Jun 13, 2011 10:50 pm    Post subject: Reply with quote

still no. :(

Code:

hackum gustavo # /usr/lib/virtualbox/VBox
Unknown application - VBox
hackum gustavo #
Back to top
View user's profile Send private message
wswartzendruber
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1261
Location: Idaho, USA

PostPosted: Mon Jun 13, 2011 10:54 pm    Post subject: Reply with quote

Do you have a window manager such as GNOME or KDE installed?
Back to top
View user's profile Send private message
hackum
Tux's lil' helper
Tux's lil' helper


Joined: 23 May 2011
Posts: 108

PostPosted: Mon Jun 13, 2011 10:59 pm    Post subject: Reply with quote

None of the two. I use the XFCE.
Back to top
View user's profile Send private message
wswartzendruber
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1261
Location: Idaho, USA

PostPosted: Mon Jun 13, 2011 11:05 pm    Post subject: Reply with quote

You should have an applications menu somewhere. Do you see any VirtualBox icon in there?
Back to top
View user's profile Send private message
hackum
Tux's lil' helper
Tux's lil' helper


Joined: 23 May 2011
Posts: 108

PostPosted: Mon Jun 13, 2011 11:08 pm    Post subject: Reply with quote

No. :(
Back to top
View user's profile Send private message
wswartzendruber
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1261
Location: Idaho, USA

PostPosted: Mon Jun 13, 2011 11:10 pm    Post subject: Reply with quote

Code:
ls -l /usr/lib/virtualbox/VBox
Back to top
View user's profile Send private message
hackum
Tux's lil' helper
Tux's lil' helper


Joined: 23 May 2011
Posts: 108

PostPosted: Mon Jun 13, 2011 11:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
hackum
Tux's lil' helper
Tux's lil' helper


Joined: 23 May 2011
Posts: 108

PostPosted: Mon Jun 13, 2011 11:41 pm    Post subject: Reply with quote

will be possible to solve the problem? :(
Back to top
View user's profile Send private message
hackum
Tux's lil' helper
Tux's lil' helper


Joined: 23 May 2011
Posts: 108

PostPosted: Tue Jun 14, 2011 2:12 am    Post subject: Reply with quote

Problem solved!
Thanks you!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum