[resolved] virtualbox don't start after kernelupdate

Discussions related to using VirtualBox on Linux hosts.
Post Reply
danduese
Posts: 6
Joined: 19. Jun 2009, 18:09
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: xp

[resolved] virtualbox don't start after kernelupdate

Post by danduese »

Hi friends,
I have a problem with my suse11.1 and virtualbox by SUN 2.2.4. :(
On my notebook(Lenovo 300 N200) there run a Suse11.1. In SUNs VirtualBox there run a XP. Because I have trouble with my internal webcam, I made a kernel-update (without success for the webcam). Since this time, I can't start the VirtualBox yet.

Code: Select all

norbert@linux:~> uname -a
Linux linux 2.6.27.23-0.1-default #1 SMP 2009-05-26 17:02:05 -0400 i686 i686 i386 GNU/Linux
norbert@linux:~> cat /etc/SuSE-release
openSUSE 11.1 (i586)
VERSION = 11.1
the error appears like follow

Image kein Link

short after this, there is another popup

Image kein Link

now I made the follow

Code: Select all

linux:/home/norbert # /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module                                    done
Recompiling VirtualBox kernel module                                 failed
  (Look at /var/log/vbox-install.log to find out what went wrong)

linux:/home/norbert # cat /var/log/vbox-install.log
Makefile:172: *** Error: unable to find the include directory for your current Linux kernel. Specify KERN_INCL=<directory> and run Make again.  Stop.
but it isn't possible (see the logfile). I don't know what to do, because I'm a Newbie... coming from MS.
I have deinstalled vbox and reinstalled it, but the error is still...
Is there anybody can help me?

kind regards
Norbert
Last edited by danduese on 19. Jun 2009, 23:37, edited 1 time in total.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: virtualbox don't start after kernelupdate

Post by Perryg »

Try updating your kernel-headers. Also update the OS in case you need additional files.
danduese
Posts: 6
Joined: 19. Jun 2009, 18:09
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: xp

Re: virtualbox don't start after kernelupdate

Post by danduese »

Perryg wrote:Try updating your kernel-headers. Also update the OS in case you need additional files.
everything is up to date now, without positive effect.

can anybody interpret the logfile entry

Code: Select all

Makefile:172: *** Error: unable to find the include directory for your current Linux kernel. Specify KERN_INCL=<directory> and run Make again.  Stop.
and tell me, what I have to do now?

norbert
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Re: virtualbox don't start after kernelupdate

Post by stefan.becker »

kernel-source must have same version as kernel-default.

Try "rpm -qa | grep kernel" and you will the difference. Kernel-headers can be another version on Suse than kernel-default.
fixedwheel
Volunteer
Posts: 1699
Joined: 13. Sep 2008, 02:18

Re: virtualbox don't start after kernelupdate

Post by fixedwheel »

stefan.becker wrote:Kernel-headers can be another version on Suse than kernel-default.
its the same prerequisites as with installing guest additions and some days ago there was http://forums.virtualbox.org/viewtopic.php?t=18602

from the german subforum...
danduese wrote:

Code: Select all

norbert@linux:~> rpm -qa | grep kernel
linux-kernel-headers-2.6.27-2.28
kernel-default-2.6.27.23-0.1.1
kernel-default-extra-2.6.27.23-0.1.1
kernel-default-base-2.6.27.23-0.1.1
should be: linux-kernel-headers-2.6.27-3.2 ;)
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Re: virtualbox don't start after kernelupdate

Post by stefan.becker »

This is for Linux Host, not Guest like other Post. Wait for the output of "rpm -qa | grep kernel".
fixedwheel
Volunteer
Posts: 1699
Joined: 13. Sep 2008, 02:18

Re: virtualbox don't start after kernelupdate

Post by fixedwheel »

the output of "rpm -qa | grep kernel" was in the german Allgemeine Diskussionen, i copied from there ;)
danduese
Posts: 6
Joined: 19. Jun 2009, 18:09
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: xp

[resolved] virtualbox don't start after kernelupdate

Post by danduese »

the problem is fixed. I add the kernel-source and do the command '/etc/init.d/vboxdrv setup' again. Now it works properly.

Code: Select all

norbert@linux:~> rpm -qa | grep kernel
linux-kernel-headers-2.6.27-2.28
[b]kernel-source-2.6.27.23-0.1.1[/b]
kernel-default-2.6.27.23-0.1.1
kernel-default-extra-2.6.27.23-0.1.1
kernel-default-base-2.6.27.23-0.1.1

linux:/ #  /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module                                                                                                                 done
Recompiling VirtualBox kernel module                                                                                                              done
Starting VirtualBox kernel module                                                                                                                 done
linux:/ # 
Thanks for help.
regards
Norbert
Post Reply