From owner-freebsd-current@freebsd.org Wed Dec 30 13:54:09 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 D00F9A55ED9 for ; Wed, 30 Dec 2015 13:54:09 +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 B3DEA1949 for ; Wed, 30 Dec 2015 13:54:09 +0000 (UTC) (envelope-from david@catwhisker.org) Received: by mailman.ysv.freebsd.org (Postfix) id B2013A55ED8; Wed, 30 Dec 2015 13:54:09 +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 97A47A55ED7 for ; Wed, 30 Dec 2015 13:54:09 +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 541A21948 for ; Wed, 30 Dec 2015 13:54:08 +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 tBUDs7hZ041229 for ; Wed, 30 Dec 2015 05:54:07 -0800 (PST) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.15.2/8.15.2/Submit) id tBUDs7H9041228 for current@freebsd.org; Wed, 30 Dec 2015 05:54:07 -0800 (PST) (envelope-from david) Date: Wed, 30 Dec 2015 05:54:07 -0800 From: David Wolfskill To: current@freebsd.org Subject: Panic in ld_ldt() @r292914 (amd64) -- just after launching CPUs Message-ID: <20151230135407.GH1222@albert.catwhisker.org> Reply-To: current@freebsd.org Mail-Followup-To: current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="z3SYAdNKCFJcUCPa" 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: Wed, 30 Dec 2015 13:54:10 -0000 --z3SYAdNKCFJcUCPa Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Found this on both my build machine and my laptop, each of which just built head @r292914 (while running r292864 during the build) -- e.g.: FreeBSD g1-252.catwhisker.org 11.0-CURRENT FreeBSD 11.0-CURRENT #287 r2928= 64M/292864:1100092: Tue Dec 29 05:01:42 PST 2015 root@g1-252.catwhisker= =2Eorg:/common/S4/obj/usr/src/sys/CANARY amd64 Unfortunately, the panic occurs early enough that I can't get a crash dump (I'm don't think the swap device has yet been discovered), and serial console isn't working for my build machine. I took some screen shots of the laptop, but I don't seem to be able to connect the phone to the laptop in a way to allow data interchange, so I'll try to hand-transcribe the more obviously-relevant bits: =2E.. SMP: AP CPU #5 Launched! kernel trap 9 with interrupts disabled Fatal trap 9: general protection fault while in kernel mode cpuid =3D 6; apic id =3D 86 instruction pointer =3D 0x28:0xffffffff80d9b505 stack pointer =3D 0x28:0xfffffe06015ca8f0 frame pointer =3D 0x28:0xfffffe06015ca950 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D resume, IOPL =3D 0 current process =3D 11 (idle: cpu6) [ thread pid 11 tid 100010 ] Stopped at 0xffffffff80d9b505 =3D ld_ldt: lldt %ax db> bt Tracing pid 11 tid 100010 td 0xfffff800067f69a0 ld_ldt() at 0xffffffff80d9b505 =3D ld_ldt/frame 0xfffffe06015ca900 sched_switch() at 0xffffffff80a176c5 =3D sched_switch+0x495/frame 0xfffffe0= 6015ca950 mi_switch() at 0xffffffff809f8759 =3D mi_switch+0x169/frame 0xfffffe06015ca= 980 sched_idletd() at 0xffffffff80a1a211 =3D sched_idletd+0x391/frame 0xfffffe0= 6015caa70 fork_exit() at 0xffffffff809b5324 =3D fork_exit+0x84/frame 0xfffffe06015aab0 fork_trampoline() at 0xffffffff80d9eade =3D fork_trampoline+0xe/frame 0xfff= ffe06015caab0 --- trap 0, rip =3D 0, rsp =3D 0, rpb =3D 0 --- db>=20 I'm happy to try testing, but as I actually use the laptop for day-to-day activities, I'm likely to need to do some priority-shifting. 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. --z3SYAdNKCFJcUCPa Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJWg+H/XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRDQ0I3Q0VGOTE3QTgwMUY0MzA2NEQ3N0Ix NTM5Q0M0MEEwNDlFRTE3AAoJEBU5zECgSe4XA+wH/0reEmpGBzwL73iKO+dr8Edc UWHkadR07iJvVeCDGKBG+8vvUIa8JDjJuVtEtcEVmxVsLUiKmyMPJF49wLkdpQqZ 3pvoLoIYGRZEKuIMcCXUjrkr0Nh7NGKkl6Zsv114tU1sHnZYKUulK42nQQ5CFMq/ t+gSU9L6ctylcM7U4Rq8nm/Q5rqmyUmSlW4FCs9pXoJJ9zot4c0WEh7MHUn/yGhh I5lwdtvVMY8nZhoYeslEleXU7Ks8Clr5xOm/SMIcRN4JHWzQqHzFz39wd7GpQscP NBJDe9Z7SehbxBEo6wwhmvP5UQxfHb/WwqTEnBphm9Hg1QtL7Ton7qIOX9iVg9s= =7aFs -----END PGP SIGNATURE----- --z3SYAdNKCFJcUCPa--