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

Larry Finger Larry.Finger at lwfinger.net
Mon Jun 4 23:13:01 GMT 2012


On 06/04/2012 05:55 PM, walt wrote:
> 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()

There is a patch available from http://mlau.at/files/vbox-4116-35rc0.patch. 
Manuel Lauss wrote it. With it, the kernel module builds, but I have not yet 
tested the resulting module.






More information about the vbox-dev mailing list