Date: Wed, 19 Aug 2015 16:42:56 +0200 From: Svatopluk Kraus <onwahe@gmail.com> To: Dmitry Marakasov <amdmi3@amdmi3.ru> Cc: Adrian Chadd <adrian.chadd@gmail.com>, "freebsd-arm@FreeBSD.org" <freebsd-arm@freebsd.org>, Ian Lepore <ian@freebsd.org> Subject: Re: Instability likely related to new pmap on Cubieboard A10 Message-ID: <CAFHCsPVwZS_rCnvKztg7g2%2BvrOBwQpqpPYyA2=hCLGiiU5=mrQ@mail.gmail.com> In-Reply-To: <20150819134708.GJ79354@hades.panopticon> References: <20150819002103.GC79354@hades.panopticon> <1439944961.242.150.camel@freebsd.org> <20150819013834.GD79354@hades.panopticon> <CAJ-VmokJv=nvcEkBogWeNJT65MosxnFcaitWn8FXJu32eahSdw@mail.gmail.com> <20150819120753.GH79354@hades.panopticon> <CAFHCsPVSGuWWY97ac2QVGAE77Lz2gJ12wDLpzH_kNdZsLQxh%2BQ@mail.gmail.com> <20150819134708.GJ79354@hades.panopticon>
next in thread | previous in thread | raw e-mail | index | archive | help
--047d7bd6b082e211da051dab0ccd Content-Type: text/plain; charset=UTF-8 On Wed, Aug 19, 2015 at 3:47 PM, Dmitry Marakasov <amdmi3@amdmi3.ru> wrote: > * Svatopluk Kraus (onwahe@gmail.com) wrote: > >> Great! I'm hunting this kind of panic for long time, but it never was >> so stable. Can you send me "show pmap addr" output from kdb after >> panic - pmap address is in panic message. > > https://people.freebsd.org/~amdmi3/pmap.log > Can you apply debug patch I'm attaching, enable KTR in your config with KTR_PMAP mask at least, and send me output of the following commands after panic : show ktr show pmap Output from ktr should be scrolled until a line like "pmap_remove_page - pmap xxx" will be in there. Thanks, Svata --047d7bd6b082e211da051dab0ccd Content-Type: text/plain; charset=US-ASCII; name="pmap_debug1.diff" Content-Disposition: attachment; filename="pmap_debug1.diff" Content-Transfer-Encoding: base64 X-Attachment-Id: f_idiw1cca0 SW5kZXg6IHN5cy9hcm0vYXJtL3BtYXAtdjYtbmV3LmMKPT09PT09PT09PT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BfX2Z1bmNfXywgcG1hcCwgcHYtPnB2X3ZhLCBwdGUxKTsK LQkJCQkJcGFuaWMoImJhZCBwdGUxIik7CisJCQkJCS8qcGFuaWMoImJhZCBwdGUxIik7Ki8KKwkJ CQkJZG9wYW5pYyA9IFRSVUU7CiAJCQkJfQogCiAJCQkJLyogTWFyayBmcmVlICovCkBAIC00MjUz LDYgKzQyNjYsMTAgQEAKIAkJCWZyZWVfcHZfY2h1bmsocGMpOwogCQl9CiAJfQorCitpZiAoZG9w YW5pYykKKwlwYW5pYygiYmFkIHB0ZTEgYW5kL29yIHB0ZTIiKTsKKwogCXNjaGVkX3VucGluKCk7 CiAJcG1hcF90bGJfZmx1c2hfbmcocG1hcCk7CiAJcndfd3VubG9jaygmcHZoX2dsb2JhbF9sb2Nr KTsK --047d7bd6b082e211da051dab0ccd--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFHCsPVwZS_rCnvKztg7g2%2BvrOBwQpqpPYyA2=hCLGiiU5=mrQ>