[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+5PVA6ngjQPvMjzc3DcbOJXRavqk=pzdvTYUyZ9-W+bHDyNrQ@mail.gmail.com>
Date: Mon, 2 Dec 2013 11:02:10 -0500
From: Josh Boyer <jwboyer@...oraproject.org>
To: Souvik Banerjee <souvik1997@...il.com>
Cc: "Linux-Kernel@...r. Kernel. Org" <linux-kernel@...r.kernel.org>
Subject: Re: vboxhost fails to build on 3.13
On Thu, Nov 28, 2013 at 1:17 PM, Souvik Banerjee <souvik1997@...il.com> wrote:
> When I run `dkms install vboxhost/4.3.2` it fails to build with the
> following error:
> -----------------------------------------------------------------------------------------
>
> DKMS make.log for vboxhost-4.3.2 for kernel
> 3.13.0-1git-00096-g711197a-dirty (x86_64)
> Thu Nov 28 11:54:10 CST 2013
> make: Entering directory '/usr/src/linux-3.13.0-1git-00096-g711197a-dirty'
> LD /var/lib/dkms/vboxhost/4.3.2/build/built-in.o
> LD /var/lib/dkms/vboxhost/4.3.2/build/vboxdrv/built-in.o
> CC [M] /var/lib/dkms/vboxhost/4.3.2/build/vboxdrv/linux/SUPDrv-linux.o
> CC [M] /var/lib/dkms/vboxhost/4.3.2/build/vboxdrv/SUPDrv.o
> CC [M] /var/lib/dkms/vboxhost/4.3.2/build/vboxdrv/SUPDrvSem.o
> CC [M] /var/lib/dkms/vboxhost/4.3.2/build/vboxdrv/SUPDrvTracer.o
> CC [M] /var/lib/dkms/vboxhost/4.3.2/build/vboxdrv/r0drv/alloc-r0drv.o
> CC [M] /var/lib/dkms/vboxhost/4.3.2/build/vboxdrv/r0drv/initterm-r0drv.o
> CC [M] /var/lib/dkms/vboxhost/4.3.2/build/vboxdrv/r0drv/memobj-r0drv.o
> CC [M] /var/lib/dkms/vboxhost/4.3.2/build/vboxdrv/r0drv/mpnotification-r0drv.o
> CC [M] /var/lib/dkms/vboxhost/4.3.2/build/vboxdrv/r0drv/powernotification-r0drv.o
> CC [M] /var/lib/dkms/vboxhost/4.3.2/build/vboxdrv/r0drv/linux/assert-r0drv-linux.o
> CC [M] /var/lib/dkms/vboxhost/4.3.2/build/vboxdrv/r0drv/linux/alloc-r0drv-linux.o
> CC [M] /var/lib/dkms/vboxhost/4.3.2/build/vboxdrv/r0drv/linux/initterm-r0drv-linux.o
> CC [M] /var/lib/dkms/vboxhost/4.3.2/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.o
> /var/lib/dkms/vboxhost/4.3.2/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:
> In function ‘rtR0MemObjNativeMapUser’:
> /var/lib/dkms/vboxhost/4.3.2/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:1539:26:
> error: ‘struct mm_struct’ has no member named ‘numa_next_reset’
> pTask->mm->numa_next_reset = jiffies + 0x7fffffffffffffffUL;
> ^
> scripts/Makefile.build:308: recipe for target
> '/var/lib/dkms/vboxhost/4.3.2/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.o'
> failed
> make[2]: *** [/var/lib/dkms/vboxhost/4.3.2/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.o]
> Error 1
> scripts/Makefile.build:455: recipe for target
> '/var/lib/dkms/vboxhost/4.3.2/build/vboxdrv' failed
> make[1]: *** [/var/lib/dkms/vboxhost/4.3.2/build/vboxdrv] Error 2
> Makefile:1253: recipe for target
> '_module_/var/lib/dkms/vboxhost/4.3.2/build' failed
> make: *** [_module_/var/lib/dkms/vboxhost/4.3.2/build] Error 2
> make: Leaving directory '/usr/src/linux-3.13.0-1git-00096-g711197a-dirty'
> -----------------------------------------------------------------------------------------
>
> It seems that numa_next_reset was removed. Using `git log -p` I think
> the offending commit is this:
>
> -----------------------------------------------------------------------------------------
>
> commit 930aa174fcc8b0efaad102fd80f677b92f35eaa2
> Author: Mel Gorman <mgorman@...e.de>
> Date: Mon Oct 7 11:29:37 2013 +0100
>
> sched/numa: Remove the numa_balancing_scan_period_reset sysctl
Then vboxhost needs to be modified to work with the newer kernel.
That's what happens when they keep the drivers out-of-tree. You
should report the issue to the vbox people as they're the only ones in
a position to actually fix their driver.
josh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists