Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Nov 2015 05:23:20 -0800
From:      David Wolfskill <david@catwhisker.org>
To:        current@freebsd.org
Subject:   Panic: GPF in kernel mode in fork_exit() (prior to FS mouont)
Message-ID:  <20151123132320.GJ1119@albert.catwhisker.org>

next in thread | raw e-mail | index | archive | help

--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
<http://www.catwhisker.org/~david/FreeBSD/head/>.  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--



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