kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Problem installing kernel due to virtualbox?
@ 2018-03-14 20:27 John Whitmore
  0 siblings, 0 replies; 3+ messages in thread
From: John Whitmore @ 2018-03-14 20:27 UTC (permalink / raw)
  To: kernelnewbies

I've been AWOL working on other things for an age, so just getting back up to speed and building a kernel. Everything built successfully but when I try to install the kernel (64bit laptop) it fails due to a virtualbox error.

  ERROR (dkms apport): kernel package linux-headers-4.16.0-rc5 is not supported
  Error! Bad return status for module build on kernel: 4.16.0-rc5 (x86_64)
  Consult /var/lib/dkms/virtualbox/5.0.40/build/make.log for more information.

I've had a look at that log file but it doesn't say a whole lot more:

  ...linux/scripts/Makefile.build:583: recipe for target '/var/lib/dkms/virtualbox/5.0.40/build/vboxdrv' failed
  make[5]: *** [/var/lib/dkms/virtualbox/5.0.40/build/vboxdrv] Error 2
  Makefile:1552: recipe for target '_module_/var/lib/dkms/virtualbox/5.0.40/build' failed
  make[4]: *** [_module_/var/lib/dkms/virtualbox/5.0.40/build] Error 2
  Makefile:24: recipe for target '__sub-make' failed
  make[3]: *** [__sub-make] Error 2

An Internet search did throw up a few pages about a virtualbox error [1] but I'm not sure the relevance to installing a Linux Kernel. Unless 'sudo make install' is running an Ubuntu script which tries to mess with virtual box. I have removed virtualbox from this machine and tried again but I've still got the same error message in the install process. Maybe I have to reboot after removing virtualbox but it still seems a bit tightly coupled? 

[1] https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/1729568

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Problem installing kernel due to virtualbox?
@ 2018-03-14 20:58 Alex Arvelaez
  2018-03-17 15:01 ` John Whitmore
  0 siblings, 1 reply; 3+ messages in thread
From: Alex Arvelaez @ 2018-03-14 20:58 UTC (permalink / raw)
  To: kernelnewbies

> I've been AWOL working on other things for an age, so just getting back up to speed and building a kernel. Everything built successfully but when I try to install the kernel (64bit laptop) it fails due to a virtualbox error.
>
>   ERROR (dkms apport): kernel package linux-headers-4.16.0-rc5 is not supported
>   Error! Bad return status for module build on kernel: 4.16.0-rc5 (x86_64)
>   Consult /var/lib/dkms/virtualbox/5.0.40/build/make.log for more information.
>
> I've had a look at that log file but it doesn't say a whole lot more:
>
>   ...linux/scripts/Makefile.build:583: recipe for target '/var/lib/dkms/virtualbox/5.0.40/build/vboxdrv' failed
>   make[5]: *** [/var/lib/dkms/virtualbox/5.0.40/build/vboxdrv] Error 2
>   Makefile:1552: recipe for target '_module_/var/lib/dkms/virtualbox/5.0.40/build' failed
>   make[4]: *** [_module_/var/lib/dkms/virtualbox/5.0.40/build] Error 2
>   Makefile:24: recipe for target '__sub-make' failed
>   make[3]: *** [__sub-make] Error 2
>
> An Internet search did throw up a few pages about a virtualbox error [1] but I'm not sure the relevance to installing a Linux Kernel. Unless 'sudo make install' is running an Ubuntu script which tries to mess with virtual box. I have removed virtualbox from this machine and tried again but I've still got the same error message in the install process. Maybe I have to reboot after removing virtualbox but it still seems a bit tightly coupled?

you probably want to remove virtualbox-dkms. Your system is trying to recompile the vbox driver for your newly compiled kernel and failing because it's not supported.

I'm not sure what triggers dkms specifically so I'm not sure how to avoid it.

Regards,

Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20180314/7bbbaadd/attachment-0001.html>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Problem installing kernel due to virtualbox?
  2018-03-14 20:58 Problem installing kernel due to virtualbox? Alex Arvelaez
@ 2018-03-17 15:01 ` John Whitmore
  0 siblings, 0 replies; 3+ messages in thread
From: John Whitmore @ 2018-03-17 15:01 UTC (permalink / raw)
  To: kernelnewbies

On Wed, Mar 14, 2018 at 08:58:05PM +0000, Alex Arvelaez wrote:
> > I've been AWOL working on other things for an age, so just getting back up to speed and building a kernel. Everything built successfully but when I try to install the kernel (64bit laptop) it fails due to a virtualbox error.
> >
> >   ERROR (dkms apport): kernel package linux-headers-4.16.0-rc5 is not supported
> >   Error! Bad return status for module build on kernel: 4.16.0-rc5 (x86_64)
> >   Consult /var/lib/dkms/virtualbox/5.0.40/build/make.log for more information.
> >
> > I've had a look at that log file but it doesn't say a whole lot more:
> >
> >   ...linux/scripts/Makefile.build:583: recipe for target '/var/lib/dkms/virtualbox/5.0.40/build/vboxdrv' failed
> >   make[5]: *** [/var/lib/dkms/virtualbox/5.0.40/build/vboxdrv] Error 2
> >   Makefile:1552: recipe for target '_module_/var/lib/dkms/virtualbox/5.0.40/build' failed
> >   make[4]: *** [_module_/var/lib/dkms/virtualbox/5.0.40/build] Error 2
> >   Makefile:24: recipe for target '__sub-make' failed
> >   make[3]: *** [__sub-make] Error 2
> >
> > An Internet search did throw up a few pages about a virtualbox error [1] but I'm not sure the relevance to installing a Linux Kernel. Unless 'sudo make install' is running an Ubuntu script which tries to mess with virtual box. I have removed virtualbox from this machine and tried again but I've still got the same error message in the install process. Maybe I have to reboot after removing virtualbox but it still seems a bit tightly coupled?
> 
> you probably want to remove virtualbox-dkms. Your system is trying to recompile the vbox driver for your newly compiled kernel and failing because it's not supported.
> 
> I'm not sure what triggers dkms specifically so I'm not sure how to avoid it.
> 
> Regards,
> 
> Alex

Thanks a million Alex, as you suggested removing that package got me up and running.

John

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-03-17 15:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-14 20:58 Problem installing kernel due to virtualbox? Alex Arvelaez
2018-03-17 15:01 ` John Whitmore
  -- strict thread matches above, loose matches on Subject: below --
2018-03-14 20:27 John Whitmore

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).