Page 1 of 1
Vbox additions won´t start after kernel update - centos 5.5
Posted: 10. Nov 2010, 15:42
by Pitty
Hi!
Today i did a kernel update on my Centos 5.5 guest to 2.6.18-194.26.1.el5.
After that i could not manage vboxadditions to run properly.
I always get a "modprobe vboxguest failed" error during the Virtual Box Guest additions startup sequence.
/sbin/modprobe vboxguest returns:
FATAL: Error inserting vboxguest (/lib/modules/2.6.18-194.26.1.el/misc/vboxguest.ko): Invalid module format
any idea anyone?
Re: Vbox additions won´t start after kernel update - centos 5.5
Posted: 10. Nov 2010, 15:58
by fixedwheel
install the guest additions again
Re: Vbox additions won´t start after kernel update - centos 5.5
Posted: 10. Nov 2010, 16:50
by Pitty
thats what i did.. results as discribed above

Re: Vbox additions won´t start after kernel update - centos 5.5
Posted: 10. Nov 2010, 17:10
by Perryg
If you did not have dkms installed and you have a kernel update you will need to make sure that the kernel and the headers match. then run /etc/init.d/vboxdrv setup or re-install the additions.
Re: Vbox additions won´t start after kernel update - centos 5.5
Posted: 10. Nov 2010, 17:58
by Pitty
kernel headers should match since the update did install the new headers as well.
nevertheless i just installed dkms package via rpm (yum didnt know it).
But i am not sure where it was installed. Could not find an executable.. yum search proclaimed that it is
installed now.
whatsoever.. still no success modprobe still fails on vboxguest during install.
Re: Vbox additions won´t start after kernel update - centos 5.5
Posted: 10. Nov 2010, 18:29
by Perryg
Did you reboot the host?
Re: Vbox additions won´t start after kernel update - centos 5.5
Posted: 10. Nov 2010, 19:51
by Pitty
Yes. During reboot a short (successful) notice about dkms concerning vbox apeared.
nevertheless, its still not running and i have no executable for dkms.. (or its not in the PATH)
Re: Vbox additions won´t start after kernel update - centos 5.5
Posted: 10. Nov 2010, 20:12
by fixedwheel
could you post the output of
uname -r
rpm -qa|grep kernel
sorry i don't know about how to do dkms on Centos ...
Re: Vbox additions won´t start after kernel update - centos 5.5
Posted: 11. Nov 2010, 09:17
by Pitty
[root@localhost ~]# uname -r
2.6.18-194.26.1.el5
[root@localhost ~]# rpm -qa |grep kernel
kernel-xen-devel-2.6.18-194.17.4.el5
kernel-2.6.18-194.26.1.el5
kernel-devel-2.6.18-194.17.4.el5
kernel-xen-devel-2.6.18-194.26.1.el5
kernel-xen-2.6.18-194.17.1.el5
kernel-2.6.18-194.17.1.el5
kernel-2.6.18-194.17.4.el5
kernel-devel-2.6.18-194.26.1.el5
kernel-xen-2.6.18-194.26.1.el5
kernel-xen-devel-2.6.18-194.17.1.el5
kernel-devel-2.6.18-194.17.1.el5
kernel-xen-2.6.18-194.17.4.el5
kernel-headers-2.6.18-194.26.1.el5
[root@localhost ~]#
Re: Vbox additions won´t start after kernel update - centos 5.5
Posted: 11. Nov 2010, 09:24
by Pitty
to have it all here: the installation script returns the following:
[root@localhost VBOXADDITIONS_3.2.10_66523]# sh ./VBoxLinuxAdditions-amd64.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 3.2.10 Guest Additions for Linux........
VirtualBox Guest Additions installer
Removing installed version 3.2.10 of VirtualBox Guest Additions...
Uninstalling old VirtualBox DKMS kernel modules [ OK ]
Building the VirtualBox Guest Additions kernel modules
Your guest system does not seem to have sufficient OpenGL support to enable
accelerated 3D effects (this requires Linux 2.6.27 or later in the guest
system). This Guest Additions feature will be disabled.
Doing non-kernel setup of the Guest Additions [ OK ]
Starting the VirtualBox Guest Additions [FAILED]
(modprobe vboxguest failed)
Installing the Window System drivers
Installing X.Org 7.1 modules [ OK ]
Setting up the Window System to use the Guest Additions [ OK ]
You may need to restart the hal service and the Window System (or just restart
the guest system) to enable the Guest Additions.
Installing graphics libraries and desktop services componen[ OK ]
[root@localhost VBOXADDITIONS_3.2.10_66523]#
Re: Vbox additions won´t start after kernel update - centos 5.5
Posted: 11. Nov 2010, 11:39
by Pitty
stupid error.. finally found it
i did
$ modinfo vboxguest
and found that my gcc was the wrong version...
after switching back to gcc4.1 it worked fine
sorry for the trouble and thanks for you help, guys!