On Tue, Sep 22, 2020 at 06:51:28PM -0400, Mark Johnston wrote: > On Tue, Sep 22, 2020 at 01:13:29AM +0300, Konstantin Belousov wrote: > > On Mon, Sep 21, 2020 at 08:57:46PM +0200, Rainer Hurling wrote: > > > Fatal trap 12: page fault while in kernel mode > > > cpuid = 31; apic id = 1f > > > fault virtual address = 0x25407efa > > This address is very suspicious. > > > > I cannot claim it as the fact, but most likely cause for such garbage > > pointer value is mismatched ABI between kernel and module. In other > > words, the module was built against headers from different kernel. > > For some reason clang is not complaining about a missing declaration for > vm_pager_allocate(), despite -Wmissing-prototypes in the CFLAGS...
It looks like the virtualbox makefiles helpfully add -w to the compiler invocation, so the build output is "sanitized." Of course, removing that flag uncovers a slew of warnings. :( In any case I submitted a patch to https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249326 _______________________________________________ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"