From owner-freebsd-stable@FreeBSD.ORG Thu May 7 15:05:52 2015 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7232618D for ; Thu, 7 May 2015 15:05:52 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5771D11E8 for ; Thu, 7 May 2015 15:05:52 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.9/8.14.9) with ESMTP id t47F5qnZ040094 for ; Thu, 7 May 2015 15:05:52 GMT (envelope-from bdrewery@freefall.freebsd.org) Received: (from bdrewery@localhost) by freefall.freebsd.org (8.14.9/8.14.9/Submit) id t47F5qSw040093 for freebsd-stable@freebsd.org; Thu, 7 May 2015 15:05:52 GMT (envelope-from bdrewery) Received: (qmail 55834 invoked from network); 7 May 2015 10:05:50 -0500 Received: from unknown (HELO ?10.10.1.139?) (freebsd@shatow.net@10.10.1.139) by sweb.xzibition.com with ESMTPA; 7 May 2015 10:05:50 -0500 Message-ID: <554B7F5D.3050805@FreeBSD.org> Date: Thu, 07 May 2015 10:06:05 -0500 From: Bryan Drewery Organization: FreeBSD User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Johan Schuijt-Li , freebsd-stable@freebsd.org Subject: Re: panic: pmap active 0xfffff8001b7154b8 References: In-Reply-To: OpenPGP: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="QQfDN5mvFGeedxAjOOKS5rVkpVbJB0QKb" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 May 2015 15:05:52 -0000 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 >=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--