Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 May 2015 10:06:05 -0500
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        Johan Schuijt-Li <johan@300.nl>, freebsd-stable@freebsd.org
Subject:   Re: panic: pmap active 0xfffff8001b7154b8
Message-ID:  <554B7F5D.3050805@FreeBSD.org>
In-Reply-To: <C8964592-7239-4988-AA80-D3634143A5C4@300.nl>
References:  <C8964592-7239-4988-AA80-D3634143A5C4@300.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--QQfDN5mvFGeedxAjOOKS5rVkpVbJB0QKb
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 5/7/2015 7:08 AM, Johan Schuijt-Li wrote:
> Hi,
>=20
> We=E2=80=99ve been seeing (seemingly) random reboots on 10.1-RELEASE vi=
rtual machines (KVM virtualisation) on our production servers. In an atte=
mpt to determine what was causing this we=E2=80=99ve switched to running =
a kernel with INVARIANTS enabled. This resulted for us in the following p=
anic:
>=20
> Unread portion of the kernel message buffer:
> panic: pmap active 0xfffff8001b7154b8
> cpuid =3D 3
> KDB: stack backtrace:
> db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe03d=
d1493a0
> kdb_backtrace() at kdb_backtrace+0x39/frame 0xfffffe03dd149450
> vpanic() at vpanic+0x126/frame 0xfffffe03dd149490
> kassert_panic() at kassert_panic+0x139/frame 0xfffffe03dd149500
> pmap_remove_pages() at pmap_remove_pages+0x8c/frame 0xfffffe03dd1495f0
> exec_new_vmspace() at exec_new_vmspace+0x16a/frame 0xfffffe03dd149650
> exec_elf64_imgact() at exec_elf64_imgact+0x658/frame 0xfffffe03dd149720=

> kern_execve() at kern_execve+0x5e4/frame 0xfffffe03dd149a80
> sys_execve() at sys_execve+0x37/frame 0xfffffe03dd149ae0
> amd64_syscall() at amd64_syscall+0x25a/frame 0xfffffe03dd149bf0
> Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe03dd149bf0
> --- syscall (59, FreeBSD ELF64, sys_execve), rip =3D 0x80158af1a, rsp =3D=
 0x7fffffffac38, rbp =3D 0x7fffffffad40 ---
>=20
>=20
> I=E2=80=99ve only come across one other report here (without result unf=
ortunate):
> https://lists.freebsd.org/pipermail/freebsd-current/2014-June/050827.ht=
ml <https://lists.freebsd.org/pipermail/freebsd-current/2014-June/050827.=
html>
>=20

I looked around for the conclusion of that thread but could not find it.
I was reproducing so often I'm sure this case was fixed. I may have
privately contacted one of the VM maintainers to fix it. However lacking
evidence I think it just stopped happening for me and I never reported
anything useful.

> Are other people aware of this issue or working on this?
>=20
> I can provide access to a VM with a kernel dump and the kernel build fo=
r extra information if needed.
>=20

What we really need is a full core dump (minidump) and backtrace. This
will let us inspect the pmap state.

https://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug.html=

https://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-gdb.=
html


--=20
Regards,
Bryan Drewery


--QQfDN5mvFGeedxAjOOKS5rVkpVbJB0QKb
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBAgAGBQJVS39dAAoJEDXXcbtuRpfPGvoH/24OKaEWx9LvP4M5YVxZ94Kb
lMa6RkC7lZWXSzUptoMbQWdlbVC42oQIVgkgYlS8Hm1tn/lrAHstoxc5asgcxxSf
SbkVbOnHc2MjXQFQ0ckZDwSv/cPwAV273/pRi7Wx9kNp1y5BFwZoc0EJCa2b6qeo
NVJzYRCeEAHqsiMIeuMzDw0odseEleA5niBrc6T8pCLLCCvovYYpDQyv+H1BI9kT
PxGeIs1LkvQF01hqp0lyT1MnewfVNmD9vR12zmrmFwm/U65Uxp+SFlDjh0STdHUt
rBtLt52Ex8e0IrG1EL3rGbxxdqe6Ghe51jHvzn+MB/9zpWaQO5iEts6Sn16kg58=
=hhmF
-----END PGP SIGNATURE-----

--QQfDN5mvFGeedxAjOOKS5rVkpVbJB0QKb--



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