From owner-freebsd-current@freebsd.org Mon Nov 23 13:23:27 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E9933A349A2 for ; Mon, 23 Nov 2015 13:23:27 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D120E1769 for ; Mon, 23 Nov 2015 13:23:27 +0000 (UTC) (envelope-from david@catwhisker.org) Received: by mailman.ysv.freebsd.org (Postfix) id CE408A3499F; Mon, 23 Nov 2015 13:23:27 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B3F88A3499E for ; Mon, 23 Nov 2015 13:23:27 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (mx.catwhisker.org [198.144.209.73]) (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 873591767 for ; Mon, 23 Nov 2015 13:23:26 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.15.2/8.15.2) with ESMTP id tANDNKwt014256 for ; Mon, 23 Nov 2015 05:23:20 -0800 (PST) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.15.2/8.15.2/Submit) id tANDNKjC014255 for current@freebsd.org; Mon, 23 Nov 2015 05:23:20 -0800 (PST) (envelope-from david) Date: Mon, 23 Nov 2015 05:23:20 -0800 From: David Wolfskill To: current@freebsd.org Subject: Panic: GPF in kernel mode in fork_exit() (prior to FS mouont) Message-ID: <20151123132320.GJ1119@albert.catwhisker.org> Mail-Followup-To: David Wolfskill , current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Re2uCLPLNzqOLVJA" Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Nov 2015 13:23:28 -0000 --Re2uCLPLNzqOLVJA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable This was the "smoke test" boot after building: FreeBSD 11.0-CURRENT FreeBSD 11.0-CURRENT #253 r291193M/291193:1100090: M= on Nov 23 04:43:34 PST 2015 root@g1-252.catwhisker.org:/common/S4/obj/u= sr/src/sys/CANARY amd64 and (as noted), it happened fairly early in the boot sequence -- before the file systems were mounted, but after the device probes. It also affected my build machine (same source revision) the same way. The most recent successful head built & booted on the machine was: FreeBSD g1-252.catwhisker.org 11.0-CURRENT FreeBSD 11.0-CURRENT #252 r2911= 59M/291159:1100090: Sun Nov 22 05:16:34 PST 2015 root@localhost:/common= /S4/obj/usr/src/sys/CANARY amd64 I was able to capture a crash dump (by issuing "panic" at the "db> " prompt); I've copied the vmcore.8 & core.txt.8 to . Here's an excerpt from the core.txt.8: =2E.. SMP: passed TSC synchronization test TSC timecounter discards lower 1 bit(s) Timecounter "TSC-low" frequency 1396804168 Hz quality 1000 WARNING: WITNESS option enabled, expect reduced performance. WARNING: DIAGNOSTIC option enabled, expect reduced performance. Expensive timeout(9) function: 0xffffffff808830d0(0xffffffff81761898) 0.004= 704835 s battery0: battery initialization done, tried 1 times GEOM: new disk cd0 GEOM_PART: partition 1 on (diskid/DISK-W200TLZD, MBR) is not aligned on 409= 6 bytes GEOM_PART: partition 2 on (diskid/DISK-W200TLZD, MBR) is not aligned on 409= 6 bytes GEOM_PART: partition 3 on (diskid/DISK-W200TLZD, MBR) is not aligned on 409= 6 bytes start_init: trying /sbin/init Fatal trap 9: general protection fault while in kernel mode cpuid =3D 6; apic id =3D 06 instruction pointer =3D 0x20:0xffffffff809b049e stack pointer =3D 0x28:0xfffffe06015a2a70 frame pointer =3D 0x28:0xfffffe06015a2ab0 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 1 (init) Uptime: 3s =2E... I'm happy to test possible fixes. Peace, david --=20 David H. Wolfskill david@catwhisker.org Those who would murder in the name of God or prophet are blasphemous coward= s. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --Re2uCLPLNzqOLVJA Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJWUxNIXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RThEMDY4QTIxMjc1MDZFRDIzODYzRTc4 QTY3RjlDOERFRjQxOTNCAAoJEIpn+cje9Bk7W38P/1Veo6gEbS5fWsqP/igQ9kxz s76KbUfOhW/SYWib2+R/gnrEnQcWJZrqpy2SIZtkGOhHPaLckEqU8BDUq8a3aVUP QLHnTAwWunmDN3k/JRgvGP3V+6XheAqvV93atW086L3KCuLiyaaAsnfC2e8CAqMS 1kGFLCpIUH6L7EVPpOqrtJDfuUfQct8vg8mq9/px5nV9JAz3XawNNjik8F8YXALs +zId13dvSC6yoOfuI+QfBqr6+OkGoohfZRLtx9WhN3tm00JF8e4GR4wYoyoWRiog dRgbUtQnl2T2AAXy7YlRfdxWjN+7aMe3uO/62PEXnsLU/ul3EU1oNNkQCFV91HbL UQhSzpnK4ltEP+8/IENooPPFJsMnsrSriACOoL78DM2kDsSaoJNPq0XpktPYd8m3 F2tZUy6xA17xZpIC4MD+cdEhdt1Hmr7sZvoTkVXrpSb+iMoaz4S4F1c1rWEVI0YG df0sgeAF+LiU4pIax6d/73I5ENIw3jUvWVNZF44EyqCFpE3JpqxrN5CEUt0QXuvH lg3um0K5R670Q0R1OiKKM2WSBhFaTm1R8/IhegCYq2kIyPZshwuto09mUr/9bZcx Ee32hx04Tw/76m+FlB+JShKspa6pjuvf75QiG+R9cs0xC08MCOBYS2gtPlgASHGi yu3EODEWbrf2oFMo4KMD =+4hV -----END PGP SIGNATURE----- --Re2uCLPLNzqOLVJA--