Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Nov 2015 11:22:55 -0800
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        Ed Maste <emaste@freebsd.org>, Konstantin Belousov <kostikbel@gmail.com>
Cc:        David Wolfskill <david@catwhisker.org>, "current@freebsd.org" <current@freebsd.org>
Subject:   Re: Panic: GPF in kernel mode in fork_exit() (prior to FS mouont)
Message-ID:  <5653678F.3040800@FreeBSD.org>
In-Reply-To: <CAPyFy2BFqN4asLVOTbViCOO6wXvuOXAJJA74PPhXPbLz5fJU_g@mail.gmail.com>
References:  <20151123132320.GJ1119@albert.catwhisker.org> <20151123133317.GA58629@kib.kiev.ua> <CAPyFy2BFqN4asLVOTbViCOO6wXvuOXAJJA74PPhXPbLz5fJU_g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <kostikbel@gmail.com>=
 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5653678F.3040800>