From owner-freebsd-current@freebsd.org Mon Nov 23 19:23:00 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 11864A368D3 for ; Mon, 23 Nov 2015 19:23:00 +0000 (UTC) (envelope-from bdrewery@FreeBSD.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 E49B51CB6 for ; Mon, 23 Nov 2015 19:22:59 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id E2762A368D2; Mon, 23 Nov 2015 19:22:59 +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 E20BCA368D1 for ; Mon, 23 Nov 2015 19:22:59 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id C77411CB5; Mon, 23 Nov 2015 19:22:59 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [IPv6:::1]) by freefall.freebsd.org (Postfix) with ESMTP id C0B371C5E; Mon, 23 Nov 2015 19:22:59 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id 788CE17758; Mon, 23 Nov 2015 19:22:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id 47kXwD1lf_4D; Mon, 23 Nov 2015 19:22:56 +0000 (UTC) Subject: Re: Panic: GPF in kernel mode in fork_exit() (prior to FS mouont) DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com 63B9217752 To: Ed Maste , Konstantin Belousov References: <20151123132320.GJ1119@albert.catwhisker.org> <20151123133317.GA58629@kib.kiev.ua> Cc: David Wolfskill , "current@freebsd.org" From: Bryan Drewery Openpgp: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Organization: FreeBSD Message-ID: <5653678F.3040800@FreeBSD.org> Date: Mon, 23 Nov 2015 11:22:55 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dHGidcJSNmcIr7fBbe8dmC7MKejKvxFHW" 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 19:23:00 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --dHGidcJSNmcIr7fBbe8dmC7MKejKvxFHW Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 11/23/2015 9:58 AM, Ed Maste wrote: > On 23 November 2015 at 08:33, Konstantin Belousov = wrote: >> >> The revision 291171 changed layout of the dereferenced structure >> sysentvec. Was your kernel build clean, or did you used -DNO_CLEAN or >> similar option ? If yes, remove the kernel build directory and start >> from scratch. >=20 > Every time removing the build directory and starting from scratch > fixes an issue like this it's demonstrated a bug in our build's > dependency tracking. Starting over is a fine workaround to make > progress, but I'd also like to try to extract sufficient detail when > this happens so that we can fix these cases. My guess is that some files are missing proper dependencies on sysent.h. For example these 2 would not rebuild. I think any consumers of these headers which dereferenced the struct pointers would need to include sys/sysent.h, but that this still may lead to a broken situation somewher= e. sys/sys/imgact.h:struct sysentvec; sys/sys/ktrace.h:struct sysentvec; --=20 Regards, Bryan Drewery --dHGidcJSNmcIr7fBbe8dmC7MKejKvxFHW 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 iQEcBAEBAgAGBQJWU2ePAAoJEDXXcbtuRpfPvooIAMGMZ8ZIELnl/3xxiQjQ9khj r5H1g6cskEHZJXYAL40l2rwhABVH21Oo87SkNeUlV1UEq6Wj3aQGCewvGp9XAofw ZpnLnLIEZwavpUczuzMB1onduUdL5T5SC7XX6uqxEgXhOzteYwYVxnvJs1t15sZc 8f9Dkr0wWODQx6tQv0QsINNE7WIRSVjhobfc9mnmCjHgeUEtduqUjK45AQrG4eE/ xk8D11W1kUCZWRho4TeOkX/+7+hzy9sawF8mw5sX2WxjWrio8PQLtxA7kWZMqp+n l5vX7tyZcRp1+jLAby2F2lKmyC6sxyZx2XKjh0UcV41NvVOwicTU9fgRm1y6Ink= =atYM -----END PGP SIGNATURE----- --dHGidcJSNmcIr7fBbe8dmC7MKejKvxFHW--