Re: Panic _at_ orm_identify+0x308 (kernel probes) after r327103 -> r327140

From: David Wolfskill <david_at_catwhisker.org>
Date: Sun, 24 Dec 2017 06:44:36 -0800
On Sun, Dec 24, 2017 at 03:16:59PM +0100, Dimitry Andric wrote:
> ...
> > Fatal trap 9: general protection fault while in kernel mode
> > cpuid = 2; apic id = 02
> > instruction pointer     = 0x20:0xffffffff81066968
> > stack pointer           = 0x28:0xffffffff82286a90
> > frame pointer           = 0x28:0xffffffff82286ad0
> > code segment            = base 0x0, limit 0xfffff, type 0x1b
> >                        = DPL 0, pres 1, long 1, def32 0, gran 1
> > processor eflags        = interrupt enabled, resume, IOPL = 0
> > current process         = 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
> 
> 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...
> 
> Specifically, this change:
> https://svnweb.freebsd.org/base/head/sys/x86/isa/orm.c?r1=327120&r2=327119&pathrev=327120
> 
> -Dimitry
> 


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  r327140M/327142:1200054: Sun Dec 24 06:36:43 PST 2017     root_at_freebeast.catwhisker.org:/common/S4/obj/usr/src/amd64.amd64/sys/GENERIC  amd64

Peace,
david
-- 
David H. Wolfskill				david_at_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.

Received on Sun Dec 24 2017 - 13:44:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:14 UTC