Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Failed to start VirtualBox guest additions
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
vincent-
Retired Dev
Retired Dev


Joined: 13 Jan 2007
Posts: 415
Location: Valencia (Spain)

PostPosted: Sun Sep 13, 2009 11:03 am    Post subject: Failed to start VirtualBox guest additions Reply with quote

I can't start VirtualBox guest additions and I don't know why.

Code:
# /etc/init.d/virtualbox-guest-additions start
 * Caching service dependencies ...                                                                                                                      [ ok ]
 * Starting VirtualBox guest additions ...
 *      Loading kernel modules and creating devices
 *      Starting the vboxadd system service
 * Failed to start VirtualBox guest additions


This are the log messages
Code:
Sep 13 12:54:26 fujitsu [ 8627.039216] vboxadd: VirtualBox Guest PCI device not found.
Sep 13 12:54:26 fujitsu [ 8627.052073] vboxadd: VirtualBox Guest PCI device not found.
Sep 13 12:54:26 fujitsu [ 8627.052691] vboxvfs: Unknown symbol vboxadd_cmc_open
Sep 13 12:54:26 fujitsu [ 8627.052793] vboxvfs: Unknown symbol RTLogBackdoorPrintf
Sep 13 12:54:26 fujitsu [ 8627.052865] vboxvfs: Unknown symbol vboxadd_cmc_ctl_guest_filter_mask
Sep 13 12:54:26 fujitsu [ 8627.052948] vboxvfs: Unknown symbol RTSpinlockReleaseNoInts
Sep 13 12:54:26 fujitsu [ 8627.053062] vboxvfs: Unknown symbol RTHeapSimpleAlloc
Sep 13 12:54:26 fujitsu [ 8627.053167] vboxvfs: Unknown symbol RTErrConvertToErrno
Sep 13 12:54:26 fujitsu [ 8627.053239] vboxvfs: Unknown symbol vboxadd_cmc_call
Sep 13 12:54:26 fujitsu [ 8627.053320] vboxvfs: Unknown symbol RTSpinlockCreate
Sep 13 12:54:26 fujitsu [ 8627.053410] vboxvfs: Unknown symbol RTHeapSimpleFree
Sep 13 12:54:26 fujitsu [ 8627.053537] vboxvfs: Unknown symbol vboxadd_cmc_close
Sep 13 12:54:26 fujitsu [ 8627.053626] vboxvfs: Unknown symbol RTHeapSimpleInit
Sep 13 12:54:26 fujitsu [ 8627.053763] vboxvfs: Unknown symbol AssertMsg2
Sep 13 12:54:26 fujitsu [ 8627.053859] vboxvfs: Unknown symbol RTSpinlockDestroy
Sep 13 12:54:26 fujitsu [ 8627.053961] vboxvfs: Unknown symbol RTAssertShouldPanic
Sep 13 12:54:26 fujitsu [ 8627.054157] vboxvfs: Unknown symbol AssertMsg1
Sep 13 12:54:26 fujitsu [ 8627.054259] vboxvfs: Unknown symbol RTSpinlockAcquireNoInts
Sep 13 12:54:26 fujitsu rc-scripts: Failed to start VirtualBox guest additions


The modules are loaded at boot using /etc/modules.autoload/kernel-2.6 file
Code:
# grep vbox /etc/modules.autoload.d/kernel-2.6
vboxdrv
vboxnetadp
vboxnetflt
vboxvideo


Code:
# lsmod | grep vbox
vboxvideo               2448  0
vboxnetflt             84940  0
vboxnetadp             79052  0
vboxdrv              1689068  1 vboxnetflt


Please help. I need this working to have shared folders on VirtualBox.

Thank you in advance.
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5098
Location: Dark side of the mood

PostPosted: Sun Sep 13, 2009 11:25 am    Post subject: Reply with quote

Have you tried virtualbox-ose-additions? I think virtualbox-guest-additions is a precompiled binary that was linked against symbols that are not present on your machine -- are you using a [rather] recent kernel?
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
vincent-
Retired Dev
Retired Dev


Joined: 13 Jan 2007
Posts: 415
Location: Valencia (Spain)

PostPosted: Sun Sep 13, 2009 12:16 pm    Post subject: Reply with quote

I'm using virtualbox-bin instead of virtualbox-ose , so I have chosed virtualbox-guest-additions instead of virtualbox-ose-additions.

My kernel is gentoo-sources-2.6.30

I'll try virtualbox-ose-additions. Thank you.
Back to top
View user's profile Send private message
vincent-
Retired Dev
Retired Dev


Joined: 13 Jan 2007
Posts: 415
Location: Valencia (Spain)

PostPosted: Sun Sep 13, 2009 4:18 pm    Post subject: Reply with quote

Ok, I have installed virtualbox-ose and virtualbox-ose-additions.

Now, I don't have an init script, I have to load "vboxvfs" module, but when I try it I give the same error:

Code:
# modprobe vboxvfs
FATAL: Error inserting vboxvfs (/lib/modules/2.6.30-gentoo-r4/misc/vboxvfs.ko): Unknown symbol in module, or unknown parameter (see dmesg)


And the dmesg:
Code:
Sep 13 18:13:49 fujitsu [27789.377200] vboxadd: VirtualBox Guest PCI device not found.
Sep 13 18:13:49 fujitsu [27789.377805] vboxvfs: Unknown symbol vboxadd_cmc_open
Sep 13 18:13:49 fujitsu [27789.377907] vboxvfs: Unknown symbol RTLogBackdoorPrintf
Sep 13 18:13:49 fujitsu [27789.377979] vboxvfs: Unknown symbol vboxadd_cmc_ctl_guest_filter_mask
Sep 13 18:13:49 fujitsu [27789.378090] vboxvfs: Unknown symbol RTSpinlockReleaseNoInts
Sep 13 18:13:49 fujitsu [27789.378166] vboxvfs: Unknown symbol RTHeapSimpleAlloc
Sep 13 18:13:49 fujitsu [27789.378271] vboxvfs: Unknown symbol RTErrConvertToErrno
Sep 13 18:13:49 fujitsu [27789.378342] vboxvfs: Unknown symbol vboxadd_cmc_call
Sep 13 18:13:49 fujitsu [27789.378423] vboxvfs: Unknown symbol RTSpinlockCreate
Sep 13 18:13:49 fujitsu [27789.378513] vboxvfs: Unknown symbol RTHeapSimpleFree
Sep 13 18:13:49 fujitsu [27789.378641] vboxvfs: Unknown symbol vboxadd_cmc_close
Sep 13 18:13:49 fujitsu [27789.378729] vboxvfs: Unknown symbol RTHeapSimpleInit
Sep 13 18:13:49 fujitsu [27789.378866] vboxvfs: Unknown symbol AssertMsg2
Sep 13 18:13:49 fujitsu [27789.378962] vboxvfs: Unknown symbol RTSpinlockDestroy
Sep 13 18:13:49 fujitsu [27789.379067] vboxvfs: Unknown symbol RTAssertShouldPanic
Sep 13 18:13:49 fujitsu [27789.379260] vboxvfs: Unknown symbol AssertMsg1
Sep 13 18:13:49 fujitsu [27789.379362] vboxvfs: Unknown symbol RTSpinlockAcquireNoInts
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5098
Location: Dark side of the mood

PostPosted: Sun Sep 13, 2009 5:52 pm    Post subject: Reply with quote

What version of virtualbox is it?
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
vincent-
Retired Dev
Retired Dev


Joined: 13 Jan 2007
Posts: 415
Location: Valencia (Spain)

PostPosted: Sun Sep 13, 2009 6:24 pm    Post subject: Reply with quote

virtualbox-bin-3.0.6
virtualbox-guest-additions-3.0.6
virtualbox-modules-3.0.6
kbuild-0.1.5-r1
xf86-input-virtualbox-3.0.6
xf86-video-virtualbox-3.0.6

I need this into package.keywords
Code:
dev-util/kbuild
app-emulation/virtualbox-modules
app-emulation/virtualbox-guest-additions
app-emulation/virtualbox-bin
x11-drivers/xf86-video-virtualbox
x11-drivers/xf86-input-virtualbox
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5098
Location: Dark side of the mood

PostPosted: Sun Sep 13, 2009 8:10 pm    Post subject: Reply with quote

You're actually trying to install virtualbox-ose-additions on a Gentoo guest, aren't you?

EDIT: Sorry, I was mistaken. Package virtualbox-ose-additions actually contains virtualbox Guest Additions CDROM ISO image, for use on a VirtualBox host. Package virtualbox-guest-additions contains guest additions for Gentoo guests.

You didn't mention whether the Gentoo machine you're writing about is your guest or your host machine.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
vincent-
Retired Dev
Retired Dev


Joined: 13 Jan 2007
Posts: 415
Location: Valencia (Spain)

PostPosted: Sun Sep 13, 2009 8:47 pm    Post subject: Reply with quote

No, I have installed Windows XP on a virtual machine. I need shared folders but I can't load vboxvfs module.
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5098
Location: Dark side of the mood

PostPosted: Sun Sep 13, 2009 10:23 pm    Post subject: Reply with quote

So all you need is virtualbox-ose-additions on your Gentoo host. You'll be able to install the additions into the Windows guest from VirtualBox menu. I haven't yet tried Virtual Box nor checked whether shared folders do work for now or not. I only have vboxdrv, vboxnetadp and vboxnetflt on the host. But what I'm sure of is that Virtual Box guest additions must be installed in the guest.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
vincent-
Retired Dev
Retired Dev


Joined: 13 Jan 2007
Posts: 415
Location: Valencia (Spain)

PostPosted: Mon Sep 14, 2009 4:05 am    Post subject: Reply with quote

I have installed virtualbox-guest-additions on Gentoo (emerge virtualbox-guest-additions) and in the Windows virtual machine (mount the guestadditions.iso and install).
All works unless the vboxvfs module.

And, I can't install virtualbox-ose-additions because blocks with virtualbox-bin. And I don't use virtualbox-ose because if I use it, I haven't USB support.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
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