Date: Wed, 23 Sep 2020 10:49:08 -0400 From: Mark Johnston <markj@freebsd.org> To: Konstantin Belousov <kostikbel@gmail.com> Cc: rhurlin@freebsd.org, Hans Petter Selasky <hps@selasky.org>, monochrome <monochrome@twcny.rr.com>, freebsd-current@freebsd.org Subject: Re: Fwd: Re: r365488 page faults on AMD Ryzen 9 3950X Message-ID: <20200923144908.GB10974@raichu> In-Reply-To: <20200922225128.GA10974@raichu> References: <b6d7aa27-948a-b820-76b9-1f91a1df0471@selasky.org> <2bbfb4b3-92e9-b3ca-9c31-6c513cee2f2d@gwdg.de> <20200920093814.GD94807@kib.kiev.ua> <0249197f-29f6-4df4-eb63-ca786aaea39d@gwdg.de> <20200920195526.GH94807@kib.kiev.ua> <20200920200735.GJ94807@kib.kiev.ua> <1621df05-35a9-92b9-ffee-d93c17110d87@gwdg.de> <2673660d-3a6e-97c9-82a2-17b5ab8b987b@gwdg.de> <20200921221329.GD2570@kib.kiev.ua> <20200922225128.GA10974@raichu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200923144908.GB10974>