Re: i915 driver update testing

From: Adam McDougall <mcdouga9_at_egr.msu.edu>
Date: Tue, 07 Oct 2014 15:37:00 -0400
On 10/07/2014 14:24, Konstantin Belousov wrote:
> On Tue, Oct 07, 2014 at 02:08:06PM -0400, Adam McDougall wrote:
>> On 10/07/2014 12:44, Konstantin Belousov wrote:
>>> On Tue, Oct 07, 2014 at 09:00:56AM -0400, Adam McDougall wrote:
>>>>
>>>> On 10/7/2014 12:20 AM, Konstantin Belousov wrote:
>>>>> On Mon, Oct 06, 2014 at 07:30:20PM -0400, Adam McDougall wrote:
>>>>>> On 10/05/2014 13:00, Konstantin Belousov wrote:
>>>>>>> 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)
>>>>>> http://www.egr.msu.edu/~mcdouga9/i915-1b.txt
>>>>>>
>>>>>> Sorry for the delay.  I duplicated this on a spare computer of the same
>>>>>> model so I can test easier.
>>>>> Great, thank you.  Please also do, from the frame 12,
>>>>> p *dev
>>>>>
>>>> http://www.egr.msu.edu/~mcdouga9/i915-2.txt
>>>
>>> From the same frame, please do
>>> p *(struct drm_i915_private *)(dev->private)
>>>
>>
>> (kgdb) f 12
>> #12 0xffffffff81681bd7 in intel_modeset_init (dev=0xfffff80003bd9000)
>>     at
>> /usr/src/sys/modules/drm2/i915kms/../../../dev/drm2/i915/intel_display.c:6603
>> 6603				found = intel_sdvo_init(dev, PCH_SDVOB, true);
>> Current language:  auto; currently minimal
>> (kgdb) p *(struct drm_i915_private *)(dev->private)
>> There is no member named private.
> It is dev_private, typo.
> 
I actually took a guess at that too, but this didn't look helpful:
(kgdb) p *(struct drm_i915_private *)(dev_private)
No symbol "dev_private" in current context.
Received on Tue Oct 07 2014 - 17:37:02 UTC

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