Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Dec 2017 06:44:36 -0800
From:      David Wolfskill <david@catwhisker.org>
To:        Dimitry Andric <dimitry@andric.com>
Cc:        current <current@freebsd.org>, Warner Losh <imp@bsdimp.com>
Subject:   Re: Panic @ orm_identify+0x308 (kernel probes) after r327103 -> r327140
Message-ID:  <20171224144436.GS1555@albert.catwhisker.org>
In-Reply-To: <FC1A3E5C-2B7E-42EF-BAE1-09DC96179F4B@andric.com>
References:  <20171224132710.GN1555@albert.catwhisker.org> <FC1A3E5C-2B7E-42EF-BAE1-09DC96179F4B@andric.com>

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

--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--



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