Intel G41 doesn't see any screens connected after suspend/resume

Nikolay Martynov mar.kolya at gmail.com
Thu Mar 20 06:38:17 PDT 2014


2014-03-20 3:46 GMT-04:00 Chris Wilson <chris at chris-wilson.co.uk>:
> On Wed, Mar 19, 2014 at 08:15:05PM -0400, Nikolay Martynov wrote:
>> Hi
>>
>> >
>> > Perhaps you failed to install the modules that go with the kernel?
>>   I've built today's git version. The system boots but short after I
>> log into X session system freezes.
>>
>>   I can login via ssh and see dmesg:
>>
>> [   58.699131] general protection fault: 0000 [#1] SMP
>> [   58.699173] Modules linked in: nls_utf8 udf crc_itu_t rfcomm bnep
>> bluetooth 6lowpan_iphc binfmt_misc snd_usb_audio snd_usbmidi_lib
>> gpio_ich ppdev gspca_zc3xx gspca_main videodev snd_hda_codec_realtek
>> dm_multipath snd_hda_codec_generic snd_hda_intel scsi_dh snd_hda_codec
>> snd_hwdep snd_pcm snd_seq_midi coretemp snd_seq_midi_event kvm_intel
>> snd_rawmidi snd_seq kvm snd_seq_device snd_timer snd lpc_ich soundcore
>> serio_raw parport_pc lp mac_hid asus_atk0110 parport raid10 raid456
>> async_raid6_recov async_memcpy async_pq async_xor async_tx xor
>> raid6_pq raid0 multipath linear hid_generic usbhid hid raid1 i915
>> atl1e video i2c_algo_bit drm_kms_helper drm
>> [   58.699510] CPU: 0 PID: 1638 Comm: Xorg Tainted: G        W
>> 3.14.0-rc7-custom #2
>> [   58.699537] Hardware name: System manufacturer System Product
>> Name/P5G41-M LE, BIOS 0506    06/11/2010
>> [   58.699578] task: ffff8800d0f498d0 ti: ffff8800cfcb8000 task.ti:
>> ffff8800cfcb8000
>> [   58.699603] RIP: 0010:[<ffffffffa00a4e3a>]  [<ffffffffa00a4e3a>]
>> i915_gem_object_set_cache_level+0x8a/0x310 [i915]
>> [   58.699677] RSP: 0018:ffff8800cfcb9d60  EFLAGS: 00010246
>> [   58.699701] RAX: ffff880036444000 RBX: dead000000100098 RCX: ffff8800cfcfd158
>> [   58.699725] RDX: ffff8800cfcfcfd8 RSI: ffff8800d086d0d0 RDI: ffff88011b401800
>> [   58.699749] RBP: ffff8800cfcb9d90 R08: 0000000000017340 R09: ffff88011fc17340
>> [   58.699772] R10: ffffea0003421b40 R11: ffffffffa00a1e33 R12: ffff8800cfcfcf00
>> [   58.699796] R13: 0000000000000001 R14: ffff8800cf36c800 R15: ffff8800cfcfcfc0
>> [   58.699821] FS:  00007f3af20e1980(0000) GS:ffff88011fc00000(0000)
>> knlGS:0000000000000000
>> [   58.699856] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
>> [   58.699876] CR2: 00007f52d8659000 CR3: 00000000d0fa2000 CR4: 00000000000407f0
>> [   58.699899] Stack:
>> [   58.699910]  00000001cfcb9d88 ffff8800cf36c800 ffff8800cfcfcf00
>> 00000000fffffffe
>> [   58.699945]  0000000000000001 ffff8800cf36c800 ffff8800cfcb9dc0
>> ffffffffa00a5144
>> [   58.699978]  ffff8800d0ea3000 000000000000006f fffffffffffffff2
>> ffff8800cfcb9e20
>> [   58.700010] Call Trace:
>> [   58.700010]  [<ffffffffa00a5144>] i915_gem_set_caching_ioctl+0x84/0xf0 [i915]
>> [   58.700010]  [<ffffffffa0003bc2>] drm_ioctl+0x4d2/0x600 [drm]
>> [   58.700010]  [<ffffffff8101ce55>] ? native_sched_clock+0x35/0x90
>> [   58.700010]  [<ffffffff8101ce55>] ? native_sched_clock+0x35/0x90
>> [   58.700010]  [<ffffffff8101ceb9>] ? sched_clock+0x9/0x10
>> [   58.700010]  [<ffffffff811d7880>] do_vfs_ioctl+0x2e0/0x4c0
>> [   58.700010]  [<ffffffff810a20f4>] ? vtime_account_user+0x54/0x60
>> [   58.700010]  [<ffffffff811d7ae1>] SyS_ioctl+0x81/0xa0
>> [   58.700010]  [<ffffffff817304ff>] tracesys+0xe1/0xe6
>> [   58.700010] Code: 90 f6 40 40 0f 0f 85 46 01 00 00 48 8b 42 68 49
>> 39 c7 48 8d 50 98 75 e9 44 8b 6d d4 0f 1f 44 00 00 49 8b 46 30 f6 40
>> 1c 20 75 25 <f6> 43 20 20 74 1f 4c 89 ee 48 89 df e8 95 9e ff ff 84 c0
>> 75 10
>> [   58.700010] RIP  [<ffffffffa00a4e3a>]
>> i915_gem_object_set_cache_level+0x8a/0x310 [i915]
>> [   58.700010]  RSP <ffff8800cfcb9d60>
>> [   58.725088] ---[ end trace c84dd3681cbb815b ]---
>>
>>   Is this something expected on current git
>> (ec45c7550806d1373db6915a4031a7ae2542d61f)?
>
> QA just reported it as well,
> https://bugs.freedesktop.org/show_bug.cgi?id=76384
>
> If you can find the corresponding line for
> i915_gem_object_set_cache_level+0x8a
> (gdb /path/to/i915.ko; list *i915_gem_object_set_cache_level+0x8a)
> that would help.

(gdb) list *i915_gem_object_set_cache_level+0x8a
0x24e3a is in i915_gem_object_set_cache_level
(drivers/gpu/drm/i915/i915_gem.c:3147).
3142         * crossing memory domains and dying.
3143         */
3144        if (HAS_LLC(dev))
3145            return true;
3146
3147        if (!drm_mm_node_allocated(gtt_space))
3148            return true;
3149
3150        if (list_empty(&gtt_space->node_list))
3151            return true;

Please let me know if there's anything else I can do.


-- 
Martynov Nikolay.
Email: mar.kolya at gmail.com


More information about the dri-devel mailing list