From owner-freebsd-current@freebsd.org Sun Dec 24 14:44:44 2017 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 6F18EE93021 for ; Sun, 24 Dec 2017 14:44:44 +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 53C057D410 for ; Sun, 24 Dec 2017 14:44:44 +0000 (UTC) (envelope-from david@catwhisker.org) Received: by mailman.ysv.freebsd.org (Postfix) id 53061E93020; Sun, 24 Dec 2017 14:44:44 +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 52B2CE9301F for ; Sun, 24 Dec 2017 14:44:44 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.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 267717D40F for ; Sun, 24 Dec 2017 14:44:43 +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 vBOEibkO004259; Sun, 24 Dec 2017 14:44:37 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.15.2/8.15.2/Submit) id vBOEiaXL004258; Sun, 24 Dec 2017 06:44:36 -0800 (PST) (envelope-from david) Date: Sun, 24 Dec 2017 06:44:36 -0800 From: David Wolfskill To: Dimitry Andric Cc: current , Warner Losh Subject: Re: Panic @ orm_identify+0x308 (kernel probes) after r327103 -> r327140 Message-ID: <20171224144436.GS1555@albert.catwhisker.org> Mail-Followup-To: David Wolfskill , Dimitry Andric , current , Warner Losh References: <20171224132710.GN1555@albert.catwhisker.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="wnBGVoaGQwxWUIo6" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.2 (2017-12-15) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 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: Sun, 24 Dec 2017 14:44:44 -0000 --wnBGVoaGQwxWUIo6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Dec 24, 2017 at 03:16:59PM +0100, Dimitry Andric wrote: > ... > > Fatal trap 9: general protection fault while in kernel mode > > cpuid =3D 2; apic id =3D 02 > > instruction pointer =3D 0x20:0xffffffff81066968 > > stack pointer =3D 0x28:0xffffffff82286a90 > > frame pointer =3D 0x28:0xffffffff82286ad0 > > 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 0 (swapper) > > [ thread pid 0 tid 100000 ] > > Stopped at orm_identify+0x308: movq (%r14),%rax > > db> bt > > Tracing pid 0 tid 100000 td 0xffffffff81e94340 > > orm_identify() at orm_identify+0x308/frame 0xffffffff82286ad0 > > bus_generic_probe() at bus_generic_probe+0x74/frame 0xffffffff82286b00 > > isa_probe_children() at isa_probe_children+0x19/frame 0xffffffff82286b50 > > mi_startup() at mi_startup+0x9c/frame 0xffffffff82286b70 > > btext() at btext+0x2c >=20 > Since there is "isa" in the backtrace, I would consider r327120 ("Warn > when nonPNP ISA devices are attached in GENERIC that they are being > removed from GENERIC in 12") by Warner suspect... >=20 > Specifically, this change: > https://svnweb.freebsd.org/base/head/sys/x86/isa/orm.c?r1=3D327120&r2=3D3= 27119&pathrev=3D327120 >=20 > -Dimitry >=20 And, indeed that seems to be the case: After 'svn merge -c -r327120 .' --- Reverse-merging r327120 into '.': U sys/isa/isa_common.c U sys/isa/pnp.c U sys/isa/vga_isa.c U sys/x86/isa/orm.c --- Recording mergeinfo for reverse merge of r327120 into '.': U . and a kernel rebuild/re-install, the machine boots OK: FreeBSD freebeast.catwhisker.org 12.0-CURRENT FreeBSD 12.0-CURRENT #52 r32= 7140M/327142:1200054: Sun Dec 24 06:36:43 PST 2017 root@freebeast.catwh= isker.org:/common/S4/obj/usr/src/amd64.amd64/sys/GENERIC amd64 Peace, david --=20 David H. Wolfskill david@catwhisker.org If Trump is "taking names" re: the UN Jerusalem vote, he can add mine. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --wnBGVoaGQwxWUIo6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJaP71UXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRDQ0I3Q0VGOTE3QTgwMUY0MzA2NEQ3N0Ix NTM5Q0M0MEEwNDlFRTE3AAoJEBU5zECgSe4Xb8cIAMrG1/rZCpbbvzufTc3T4SZS LQe9S7gSgP+A9SeVnYzQPproyZQlRV4p/QaVoB4AgQA8XB/dv85sqeNch+QojY5y Lp3ykkXW2DEKmGQtBohKqVVRJY2ZXrQ//aAuKddA5zOpeNRafE5vHE+DCLJt7O24 LmQtlkup/ftutVMXx9Qzsb2fCH+VuHCWeQNeCdX/YhadoaE03PAT6aJNEEeE6S08 eFOmt9c7q8eUMp7r6ocK9CEzs8eZL7Uo1Rs0YJnJFIPtmVSnYKN2e5dp57gpdzVc 2dqJEgv/BMkqBh04HSZ53+tNgkCIvsDkG+PhNNFpT1Hv8Fr7b+TjPO/oLc+5BUE= =QCOE -----END PGP SIGNATURE----- --wnBGVoaGQwxWUIo6--