[vbox-dev] VBox kernel module does not build on kernel 3.5-rc1

walt w41ter at gmail.com
Mon Jun 4 15:55:00 PDT 2012

On 06/04/2012 03:21 PM, Larry Finger wrote:
> In kernel 3.5-rc1, entry point do_mmap() is no longer made public. The specific 
> error is
>    CC [M] 
> /usr/share/virtualbox/src/vboxhost/vboxdrv/r0drv/linux/memobj-r0drv-linux.o
> /usr/share/virtualbox/src/vboxhost/vboxdrv/r0drv/linux/memobj-r0drv-linux.c: In 
> function ‘rtR0MemObjLinuxDoMmap’:
> /usr/share/virtualbox/src/vboxhost/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:1150:9: 
> error: implicit declaration of function ‘do_mmap’ 

Hi Larry.  When I saw your post I was hoping you already had a patch for us ;)

Just to add another data point:

commit dc982501d9643ab0c117e7d87562857ce234652d
Author: Al Viro <viro@>
Date:   Wed May 30 20:11:57 2012 -0400

    kill do_mmap() completely
    just pull into vm_mmap()

More information about the vbox-dev mailing list