SVN r292469 breaks VirtualBox

Alan Cox alc at rice.edu
Sun Dec 20 04:03:00 UTC 2015


On 12/19/2015 20:19, Joe Maloney wrote:
> I ran into this months earlier with NextBSD.  Replacing vm_pageout_grow_cache(). in memobj-r0drv-freebsd.c with this fixed the issue:
>
> vm_pageout_reclaim_contig(1, 0, VM_MAX_ADDRESS, PAGE_SIZE, 0, 3);


Be careful.  Notice that I said, "vm_page_reclaim_contig", not
"vm_pageout_reclaim_contig".  The function in FreeBSD is different from
that in NextBSD. 


>> On Dec 19, 2015, at 7:45 PM, Alan Cox <alc at rice.edu> wrote:
>>
>> On 12/19/2015 19:00, Michael Butler wrote:
>>> While the kernel modules will build, they won't load ..
>>>
>>> kernel: linker_load_file: Unsupported file type
>>> kernel: link_elf_obj: symbol vm_pageout_grow_cache undefined
>>> kernel: linker_load_file: Unsupported file type
>>> kernel: KLD vboxnetflt.ko: depends on vboxdrv - not available or version
>>> mismatch
>>> kernel: linker_load_file: Unsupported file type
>>> kernel: link_elf_obj: symbol vm_pageout_grow_cache undefined
>>> kernel: linker_load_file: Unsupported file type
>>> kernel: KLD vboxnetadp.ko: depends on vboxdrv - not available or version
>>> mismatch
>>> kernel: linker_load_file: Unsupported file type
>>>
>> VBox/Runtime/r0drv/freebsd/memobj-r0drv-freebsd.c will need to be
>> patched to use vm_page_reclaim_contig() instead of vm_pageout_grow_cache().
>>
>> _______________________________________________
>> freebsd-current at freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
>




More information about the freebsd-current mailing list