* DKMS module and recipe for target '.../virtualbox/5.2.34/build/vboxdrv' failed
@ 2020-06-18 5:41 Jeffrey Walton
2020-06-18 6:13 ` Greg KH
0 siblings, 1 reply; 4+ messages in thread
From: Jeffrey Walton @ 2020-06-18 5:41 UTC (permalink / raw)
To: kernelnewbies
Hi Everyone,
I recently upgraded Ubuntu 18.04 x86_64 to the 5.4.0-37 kernel.
VirtualBox died, and I am trying to reinstall virtualbox-dkms. The
reinstall fails because the build fails. The log is below.
Is there anything I can do to solve the problem?
==========
$ cat /var/lib/dkms/virtualbox/5.2.34/build/make.log
DKMS make.log for virtualbox-5.2.34 for kernel 5.4.0-37-generic (x86_64)
Thu Jun 18 01:35:43 EDT 2020
make: Entering directory '/usr/src/linux-headers-5.4.0-37-generic'
CC [M] /var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/linux/SUPDrv-linux.o
CC [M] /var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/SUPDrv.o
CC [M] /var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/SUPDrvGip.o
CC [M] /var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/SUPDrvTracer.o
CC [M] /var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/SUPLibAll.o
CC [M] /var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/SUPDrvSem.o
CC [M] /var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/r0drv/alloc-r0drv.o
CC [M] /var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/r0drv/initterm-r0drv.o
CC [M] /var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/r0drv/memobj-r0drv.o
CC [M] /var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/r0drv/mpnotification-r0drv.o
CC [M] /var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/r0drv/powernotification-r0drv.o
CC [M] /var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/r0drv/linux/assert-r0drv-linux.o
CC [M] /var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/r0drv/linux/alloc-r0drv-linux.o
In file included from ././include/linux/compiler_types.h:59:0,
from <command-line>:0:
/var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/SUPDrvGip.c: In function
‘supdrvTscDeltaThread’:
./include/linux/compiler_attributes.h:200:41: error: expected ‘)’
before ‘__attribute__’
# define fallthrough __attribute__((__fallthrough__))
^
/var/lib/dkms/virtualbox/5.2.34/build/include/iprt/cdefs.h:1116:48:
note: in expansion of macro ‘fallthrough’
# define RT_FALL_THROUGH() __attribute__((fallthrough))
^~~~~~~~~~~
/var/lib/dkms/virtualbox/5.2.34/build/include/iprt/cdefs.h:1123:33:
note: in expansion of macro ‘RT_FALL_THROUGH’
#define RT_FALL_THRU() RT_FALL_THROUGH()
^~~~~~~~~~~~~~~
/var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/SUPDrvGip.c:4198:17:
note: in expansion of macro ‘RT_FALL_THRU’
RT_FALL_THRU();
^~~~~~~~~~~~
In file included from
/var/lib/dkms/virtualbox/5.2.34/build/include/VBox/cdefs.h:29:0,
from
/var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/SUPDrvInternal.h:34,
from
/var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/SUPDrvGip.c:33:
/var/lib/dkms/virtualbox/5.2.34/build/include/iprt/cdefs.h:1116:60:
error: expected identifier or ‘(’ before ‘)’ token
# define RT_FALL_THROUGH() __attribute__((fallthrough))
^
/var/lib/dkms/virtualbox/5.2.34/build/include/iprt/cdefs.h:1123:33:
note: in expansion of macro ‘RT_FALL_THROUGH’
#define RT_FALL_THRU() RT_FALL_THROUGH()
^~~~~~~~~~~~~~~
/var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/SUPDrvGip.c:4198:17:
note: in expansion of macro ‘RT_FALL_THRU’
RT_FALL_THRU();
^~~~~~~~~~~~
In file included from ././include/linux/compiler_types.h:59:0,
from <command-line>:0:
./include/linux/compiler_attributes.h:200:41: error: expected ‘)’
before ‘__attribute__’
# define fallthrough __attribute__((__fallthrough__))
^
/var/lib/dkms/virtualbox/5.2.34/build/include/iprt/cdefs.h:1116:48:
note: in expansion of macro ‘fallthrough’
# define RT_FALL_THROUGH() __attribute__((fallthrough))
^~~~~~~~~~~
/var/lib/dkms/virtualbox/5.2.34/build/include/iprt/cdefs.h:1123:33:
note: in expansion of macro ‘RT_FALL_THROUGH’
#define RT_FALL_THRU() RT_FALL_THROUGH()
^~~~~~~~~~~~~~~
/var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/SUPDrvGip.c:4227:17:
note: in expansion of macro ‘RT_FALL_THRU’
RT_FALL_THRU();
^~~~~~~~~~~~
In file included from
/var/lib/dkms/virtualbox/5.2.34/build/include/VBox/cdefs.h:29:0,
from
/var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/SUPDrvInternal.h:34,
from
/var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/SUPDrvGip.c:33:
/var/lib/dkms/virtualbox/5.2.34/build/include/iprt/cdefs.h:1116:60:
error: expected identifier or ‘(’ before ‘)’ token
# define RT_FALL_THROUGH() __attribute__((fallthrough))
^
/var/lib/dkms/virtualbox/5.2.34/build/include/iprt/cdefs.h:1123:33:
note: in expansion of macro ‘RT_FALL_THROUGH’
#define RT_FALL_THRU() RT_FALL_THROUGH()
^~~~~~~~~~~~~~~
/var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/SUPDrvGip.c:4227:17:
note: in expansion of macro ‘RT_FALL_THRU’
RT_FALL_THRU();
^~~~~~~~~~~~
/var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/SUPDrvGip.c:4196:20:
warning: this statement may fall through [-Wimplicit-fallthrough=]
if (RT_FAILURE(rc))
^
/var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/SUPDrvGip.c:4201:13: note: here
case kTscDeltaThreadState_Listening:
^~~~
In file included from <command-line>:0:0:
/var/lib/dkms/virtualbox/5.2.34/build/include/VBox/SUPDrvMangling.h:30:30:
warning: this statement may fall through [-Wimplicit-fallthrough=]
#define RT_MANGLER(symbol) VBoxHost_##symbol
/var/lib/dkms/virtualbox/5.2.34/build/include/iprt/mangling.h:2219:57:
note: in expansion of macro ‘RT_MANGLER’
# define RTThreadSleep
RT_MANGLER(RTThreadSleep)
^~~~~~~~~~
/var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/SUPDrvGip.c:4226:17:
note: in expansion of macro ‘RTThreadSleep’
RTThreadSleep(1);
^~~~~~~~~~~~~
/var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/SUPDrvGip.c:4230:13: note: here
case kTscDeltaThreadState_Measuring:
^~~~
scripts/Makefile.build:273: recipe for target
'/var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/SUPDrvGip.o' failed
make[2]: *** [/var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/SUPDrvGip.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from
/var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/r0drv/linux/alloc-r0drv-linux.c:31:0:
/var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/r0drv/linux/alloc-r0drv-linux.c:
In function ‘VBoxHost_RTMemContAlloc’:
/var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/r0drv/linux/the-linux-kernel.h:331:47:
error: implicit declaration of function ‘set_pages_x’; did you mean
‘set_pages_rw’? [-Werror=implicit-function-declaration]
# define MY_SET_PAGES_EXEC(pPages, cPages) set_pages_x(pPages, cPages)
^
/var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/r0drv/linux/alloc-r0drv-linux.c:445:13:
note: in expansion of macro ‘MY_SET_PAGES_EXEC’
MY_SET_PAGES_EXEC(&paPages[iPage], 1);
^~~~~~~~~~~~~~~~~
/var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/r0drv/linux/alloc-r0drv-linux.c:
In function ‘VBoxHost_RTMemContFree’:
/var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/r0drv/linux/the-linux-kernel.h:332:47:
error: implicit declaration of function ‘set_pages_nx’; did you mean
‘set_pages_rw’? [-Werror=implicit-function-declaration]
# define MY_SET_PAGES_NOEXEC(pPages, cPages) set_pages_nx(pPages, cPages)
^
/var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/r0drv/linux/alloc-r0drv-linux.c:493:13:
note: in expansion of macro ‘MY_SET_PAGES_NOEXEC’
MY_SET_PAGES_NOEXEC(&paPages[iPage], 1);
^~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
scripts/Makefile.build:273: recipe for target
'/var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/r0drv/linux/alloc-r0drv-linux.o'
failed
make[2]: *** [/var/lib/dkms/virtualbox/5.2.34/build/vboxdrv/r0drv/linux/alloc-r0drv-linux.o]
Error 1
scripts/Makefile.build:522: recipe for target
'/var/lib/dkms/virtualbox/5.2.34/build/vboxdrv' failed
make[1]: *** [/var/lib/dkms/virtualbox/5.2.34/build/vboxdrv] Error 2
Makefile:1719: recipe for target '/var/lib/dkms/virtualbox/5.2.34/build' failed
make: *** [/var/lib/dkms/virtualbox/5.2.34/build] Error 2
make: Leaving directory '/usr/src/linux-headers-5.4.0-37-generic'
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: DKMS module and recipe for target '.../virtualbox/5.2.34/build/vboxdrv' failed
2020-06-18 5:41 DKMS module and recipe for target '.../virtualbox/5.2.34/build/vboxdrv' failed Jeffrey Walton
@ 2020-06-18 6:13 ` Greg KH
2020-06-19 4:27 ` Valdis Klētnieks
0 siblings, 1 reply; 4+ messages in thread
From: Greg KH @ 2020-06-18 6:13 UTC (permalink / raw)
To: Jeffrey Walton; +Cc: kernelnewbies
On Thu, Jun 18, 2020 at 01:41:23AM -0400, Jeffrey Walton wrote:
> Hi Everyone,
>
> I recently upgraded Ubuntu 18.04 x86_64 to the 5.4.0-37 kernel.
> VirtualBox died, and I am trying to reinstall virtualbox-dkms. The
> reinstall fails because the build fails. The log is below.
>
> Is there anything I can do to solve the problem?
Ask the out-of-tree virtualbox developers to fix their code to work with
the newer kernel source. Nothing we can do about that, sorry.
good luck!
greg k-h
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: DKMS module and recipe for target '.../virtualbox/5.2.34/build/vboxdrv' failed
2020-06-18 6:13 ` Greg KH
@ 2020-06-19 4:27 ` Valdis Klētnieks
2020-06-19 4:45 ` Jeffrey Walton
0 siblings, 1 reply; 4+ messages in thread
From: Valdis Klētnieks @ 2020-06-19 4:27 UTC (permalink / raw)
To: Greg KH; +Cc: Jeffrey Walton, kernelnewbies
[-- Attachment #1.1: Type: text/plain, Size: 827 bytes --]
On Thu, 18 Jun 2020 08:13:00 +0200, Greg KH said:
> On Thu, Jun 18, 2020 at 01:41:23AM -0400, Jeffrey Walton wrote:
> > Hi Everyone,
> >
> > I recently upgraded Ubuntu 18.04 x86_64 to the 5.4.0-37 kernel.
> > VirtualBox died, and I am trying to reinstall virtualbox-dkms. The
> > reinstall fails because the build fails. The log is below.
> >
> > Is there anything I can do to solve the problem?
>
> Ask the out-of-tree virtualbox developers to fix their code to work with
> the newer kernel source. Nothing we can do about that, sorry.
Won't do any good, because...
> cat /var/lib/dkms/virtualbox/5.2.34/build/make.log
5.2.34 is a few releases back. 6.1.10 is out, and supports the 5.7 kernel (and
most of the fixes to support 5.8-rc1 have already landed for 6.1.12).
They fixed that problem probably close to a year ago.
[-- Attachment #1.2: Type: application/pgp-signature, Size: 832 bytes --]
[-- Attachment #2: Type: text/plain, Size: 170 bytes --]
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: DKMS module and recipe for target '.../virtualbox/5.2.34/build/vboxdrv' failed
2020-06-19 4:27 ` Valdis Klētnieks
@ 2020-06-19 4:45 ` Jeffrey Walton
0 siblings, 0 replies; 4+ messages in thread
From: Jeffrey Walton @ 2020-06-19 4:45 UTC (permalink / raw)
To: kernelnewbies
On Fri, Jun 19, 2020 at 12:27 AM Valdis Klētnieks
<valdis.kletnieks@vt.edu> wrote:
>
> On Thu, 18 Jun 2020 08:13:00 +0200, Greg KH said:
> > On Thu, Jun 18, 2020 at 01:41:23AM -0400, Jeffrey Walton wrote:
> > > Hi Everyone,
> > >
> > > I recently upgraded Ubuntu 18.04 x86_64 to the 5.4.0-37 kernel.
> > > VirtualBox died, and I am trying to reinstall virtualbox-dkms. The
> > > reinstall fails because the build fails. The log is below.
> > >
> > > Is there anything I can do to solve the problem?
> >
> > Ask the out-of-tree virtualbox developers to fix their code to work with
> > the newer kernel source. Nothing we can do about that, sorry.
>
> Won't do any good, because...
>
> > cat /var/lib/dkms/virtualbox/5.2.34/build/make.log
>
> 5.2.34 is a few releases back. 6.1.10 is out, and supports the 5.7 kernel (and
> most of the fixes to support 5.8-rc1 have already landed for 6.1.12).
> They fixed that problem probably close to a year ago.
Thanks Valdis .
A quick question... Why is a 5.4 kernel using 5.2 dkms source code? It
seems to me if Ubuntu used the proper source code, then the problem
would not exist.
Jeff
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-06-19 4:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-18 5:41 DKMS module and recipe for target '.../virtualbox/5.2.34/build/vboxdrv' failed Jeffrey Walton
2020-06-18 6:13 ` Greg KH
2020-06-19 4:27 ` Valdis Klētnieks
2020-06-19 4:45 ` Jeffrey Walton
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).