Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Dec 2015 22:02:56 -0600
From:      Alan Cox <alc@rice.edu>
To:        Joe Maloney <jmaloney@pcbsd.org>
Cc:        Michael Butler <imb@protected-networks.net>, freebsd-current <freebsd-current@freebsd.org>, alc@freebsd.org
Subject:   Re: SVN r292469 breaks VirtualBox
Message-ID:  <56762870.7050809@rice.edu>
In-Reply-To: <5ED0F6E0-22DF-4822-923B-8900435D1A11@pcbsd.org>
References:  <5675FD92.5050604@protected-networks.net> <56760852.9020204@rice.edu> <5ED0F6E0-22DF-4822-923B-8900435D1A11@pcbsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.=20


>> On Dec 19, 2015, at 7:45 PM, Alan Cox <alc@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 vers=
ion
>>> 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 vers=
ion
>>> 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_cac=
he().
>>
>> _______________________________________________
>> freebsd-current@freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.=
org"
>





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56762870.7050809>