Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Oct 2013 20:07:53 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        J David <j.david.lists@gmail.com>, Konstantin Belousov <kostikbel@gmail.com>
Cc:        "freebsd-fs@freebsd.org" <freebsd-fs@FreeBSD.org>, alc@FreeBSD.org, Alan Cox <alc@rice.edu>
Subject:   Re: 9.2 + ZFS + i386 = panic: pmap_enter: attempted pmap_enter on 4MB page
Message-ID:  <5266B0E9.3040206@FreeBSD.org>
In-Reply-To: <CABXB=RQe6rLui%2Bc8n-5kUwaaii%2BXmZpSuE60WFaZU3owv_-y9g@mail.gmail.com>
References:  <CABXB=RQd_yT%2BsEA0qBnyCK-3ZsvxfSiSCcMVjnHoSyCB%2BZ5%2BRg@mail.gmail.com> <20131015164537.GH3865@kib.kiev.ua> <525D7784.5000808@rice.edu> <20131016060010.GO3865@kib.kiev.ua> <CABXB=RR2C%2BpZAr%2BZDDCe%2Bxb=EG4AQL0_WyTQneGG1TW6Ghi7=w@mail.gmail.com> <CABXB=RQhsZKJi34gojN_96%2BTmJ9_DOsd-HyZ5wPLAsAPu1h7pg@mail.gmail.com> <20131017070949.GA3865@kib.kiev.ua> <CABXB=RSGpH3sFNo0i6jFr6mH-U79c-1kNA%2B2kZaj7rE9ENoLEA@mail.gmail.com> <CABXB=RTVpBYFy209ML-NMdNioTqJuYYkVv5L9zjRYB=7yemB1w@mail.gmail.com> <CABXB=RQe6rLui%2Bc8n-5kUwaaii%2BXmZpSuE60WFaZU3owv_-y9g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
on 22/10/2013 15:46 J David said the following:
> On Sun, Oct 20, 2013 at 9:02 AM, J David <j.david.lists@gmail.com> wrote:
>> The "attempted pmap_enter on 4MB page" panic occurred again.
> 
> Since a machine that crashes 3-4x a day is not useful, we have
> captured a few viable core images for this panic and have now set it
> to vm.pmap.pg_ps_enabled=0 in the hopes of stopping the crashes.
> 
> If there is anything else we can do to aid the debugging, please let us know.

Both panics you posted actually happened because of bad pointer dereference in ZFS.

It appears that for some reason trap_pfault does not just call panic right there
as it should, but instead attempts to "fault in" a corresponding page.

All in all, these look like a memory corruption of some sort (or use after free).

-- 
Andriy Gapon



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