Re: i915 driver update testing

From: Konstantin Belousov <kostikbel_at_gmail.com>
Date: Sun, 5 Oct 2014 20:00:07 +0300
On Sun, Oct 05, 2014 at 11:01:14AM -0400, Adam McDougall wrote:
> (kgdb) #0  doadump (textdump=1) at pcpu.h:219
> #1  0xffffffff80661efd in kern_reboot (howto=260)
>     at /usr/src/sys/kern/kern_shutdown.c:447
> #2  0xffffffff80662450 in panic (fmt=<value optimized out>)
>     at /usr/src/sys/kern/kern_shutdown.c:746
> #3  0xffffffff808fe52f in trap_fatal (frame=<value optimized out>,
>     eva=<value optimized out>) at /usr/src/sys/amd64/amd64/trap.c:866
> #4  0xffffffff808fe87c in trap_pfault (frame=0xfffffe01fe0b21b0,
>     usermode=<value optimized out>) at /usr/src/sys/amd64/amd64/trap.c:677
> #5  0xffffffff808fde9e in trap (frame=0xfffffe01fe0b21b0)
>     at /usr/src/sys/amd64/amd64/trap.c:426
> #6  0xffffffff808e00a2 in calltrap ()
>     at /usr/src/sys/amd64/amd64/exception.S:231
> #7  0xffffffff8166808e in i915_write32 (dev_priv=0xfffff800031f1c00,
>     reg=20736, val=0)
>     at
> /usr/src/sys/modules/drm2/i915kms/../../../dev/drm2/i915/i915_drv.c:992
In kgdb, from this frame, please do
p *dev_priv
p *(dev_priv->dev)
p *(dev_priv->info)

> #8  0xffffffff816928ae in intel_iicbb_pre_xfer (idev=<value optimized out>)
>     at
> /usr/src/sys/modules/drm2/i915kms/../../../dev/drm2/i915/intel_iic.c:144
> #9  0xffffffff81725a17 in iicbb_transfer (dev=0xfffff800066fa400,
>     msgs=0xfffffe01fe0b2410, nmsgs=2) at iicbb_if.h:38
> #10 0xffffffff816931b7 in intel_gmbus_transfer (idev=<value optimized out>,
>     msgs=<value optimized out>, nmsgs=<value optimized out>)
>     at iicbus_if.h:131
> #11 0xffffffff816a16b3 in intel_sdvo_init (dev=<value optimized out>,
>     sdvo_reg=<value optimized out>, is_sdvob=<value optimized out>)
>     at
> /usr/src/sys/modules/drm2/i915kms/../../../dev/drm2/i915/intel_sdvo.c:286
> #12 0xffffffff81681bd7 in intel_modeset_init (dev=0xfffff80003c04000)
>     at
> /usr/src/sys/modules/drm2/i915kms/../../../dev/drm2/i915/intel_display.c:6603
> #13 0xffffffff81664fb7 in i915_driver_load (dev=0xfffff80003c04000,
>     flags=20736)
>     at
> /usr/src/sys/modules/drm2/i915kms/../../../dev/drm2/i915/i915_dma.c:1167
> #14 0xffffffff816e4b85 in drm_attach (kdev=0xfffff800031e3500,
>     idlist=<value optimized out>)
>     at /usr/src/sys/modules/drm2/drm2/../../../dev/drm2/drm_drv.c:591
>     at device_if.h:180
> #16 0xffffffff806990f9 in bus_generic_driver_added (
>     dev=<value optimized out>, driver=<value optimized out>)
>     at /usr/src/sys/kern/subr_bus.c:2793
> #17 0xffffffff80695d5a in devclass_driver_added (dc=0xfffff80003085580,
>     driver=0xffffffff816bdf20) at bus_if.h:204
> #18 0xffffffff80695cbc in devclass_add_driver (dc=0xfffff80003085580,
>     driver=0xffffffff816bdf20, pass=<value optimized out>,
>     dcp=<value optimized out>) at /usr/src/sys/kern/subr_bus.c:1137
> #19 0xffffffff80649d12 in module_register_init (arg=0xffffffff816bdf08)
>     at /usr/src/sys/kern/kern_module.c:123
> #20 0xffffffff8063d214 in linker_load_module (kldname=<value optimized
> out>,
>     modname=0xfffff800060fc400 "i915kms", parent=0x0, verinfo=0x0,
>     lfpp=0xfffffe01fe0b2a80) at /usr/src/sys/kern/kern_linker.c:224
> #21 0xffffffff8063ed08 in kern_kldload (td=<value optimized out>,
>     file=<value optimized out>, fileid=0xfffffe01fe0b2ac4)
>     at /usr/src/sys/kern/kern_linker.c:1029
> #22 0xffffffff8063ee4b in sys_kldload (td=0xfffff80006584920,
>     uap=<value optimized out>) at /usr/src/sys/kern/kern_linker.c:1055
> #23 0xffffffff808fef8b in amd64_syscall (td=0xfffff80006584920, traced=0)
>     at subr_syscall.c:133
> #24 0xffffffff808e038b in Xfast_syscall ()
>     at /usr/src/sys/amd64/amd64/exception.S:390
> #25 0x0000000800888cba in ?? ()
> Previous frame inner to this frame (corrupt stack?)
> Current language:  auto; currently minimal
> (kgdb)
Received on Sun Oct 05 2014 - 15:00:17 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:52 UTC