Re: SVN r292469 breaks VirtualBox

From: Alan Cox <alc_at_rice.edu>
Date: Sat, 19 Dec 2015 22:02:56 -0600
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"
>
Received on Sun Dec 20 2015 - 03:03:00 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:01 UTC