kernel BUG at drivers/gpu/drm/i915/i915_gem.c:1262!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[432102.922022] ------------[ cut here ]------------
[432102.922173] WARNING: CPU: 2 PID: 45 at drivers/gpu/drm/i915/intel_display.c:8979 intel_fb_obj_invalidate+0xdb/0xe0 [i915]()
[432102.922178] Modules linked in: uas usb_storage dm_crypt ctr ccm arc4 iwldvm mac80211 iwlwifi cfg80211 rfcomm bnep uvcvideo rtsx_usb videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common videodev snd_hda_codec_hdmi snd_hda_codec_idt snd_hda_codec_generic dell_laptop dell_wmi sparse_keymap snd_hda_intel snd_hda_controller snd_hda_codec dcdbas btusb snd_hwdep snd_pcm bluetooth snd_seq_midi snd_seq_midi_event x86_pkg_temp_thermal snd_rawmidi snd_seq coretemp ghash_clmulni_intel cryptd snd_timer snd_seq_device microcode snd soundcore serio_raw lpc_ich mac_hid parport_pc ppdev lp parport binfmt_misc hid_generic usbhid hid nouveau i915 psmouse mxm_wmi ttm i2c_algo_bit ahci libahci drm_kms_helper drm wmi video
[432102.922241] CPU: 2 PID: 45 Comm: kswapd0 Not tainted 3.17.0 #50
[432102.922243] Hardware name: Dell Inc.          Inspiron 7720/04M3YM, BIOS A07 08/16/2012
[432102.922246]  0000000000000009 ffff8801376cba60 ffffffff81707891 0000000000000000
[432102.922251]  ffff8801376cba98 ffffffff8109832d ffff88000aef3200 ffff880034486000
[432102.922256]  ffff880032870000 0000000000000000 ffff880032870000 ffff8801376cbaa8
[432102.922261] Call Trace:
[432102.922272]  [<ffffffff81707891>] dump_stack+0x4e/0x7a
[432102.922277]  [<ffffffff8109832d>] warn_slowpath_common+0x7d/0xa0
[432102.922281]  [<ffffffff8109840a>] warn_slowpath_null+0x1a/0x20
[432102.922299]  [<ffffffffa015b02b>] intel_fb_obj_invalidate+0xdb/0xe0 [i915]
[432102.922314]  [<ffffffffa012498e>] i915_gem_object_set_to_cpu_domain+0x9e/0x1f0 [i915]
[432102.922328]  [<ffffffffa0124b11>] i915_gem_object_put_pages_gtt+0x31/0x1a0 [i915]
[432102.922342]  [<ffffffffa0122fc5>] i915_gem_object_put_pages+0xb5/0x140 [i915]
[432102.922356]  [<ffffffffa0127169>] __i915_gem_shrink+0x1f9/0x2c0 [i915]
[432102.922369]  [<ffffffffa01279f8>] i915_gem_shrinker_scan+0x68/0xa0 [i915]
[432102.922376]  [<ffffffff811a3b78>] shrink_slab_node+0x138/0x2f0
[432102.922379]  [<ffffffff811a556f>] ? shrink_slab+0x3f/0x160
[432102.922382]  [<ffffffff811a55bb>] shrink_slab+0x8b/0x160
[432102.922386]  [<ffffffff811a8848>] balance_pgdat+0x388/0x5a0
[432102.922389]  [<ffffffff811a8be0>] kswapd+0x180/0x470
[432102.922394]  [<ffffffff810d5830>] ? prepare_to_wait_event+0x110/0x110
[432102.922397]  [<ffffffff811a8a60>] ? balance_pgdat+0x5a0/0x5a0
[432102.922401]  [<ffffffff810b609c>] kthread+0xfc/0x120
[432102.922405]  [<ffffffff810b5fa0>] ? kthread_create_on_node+0x230/0x230
[432102.922410]  [<ffffffff81710e2c>] ret_from_fork+0x7c/0xb0
[432102.922413]  [<ffffffff810b5fa0>] ? kthread_create_on_node+0x230/0x230
[432102.922415] ---[ end trace 95ef281295f96d81 ]---
[432102.922431] ------------[ cut here ]------------
[432102.922465] WARNING: CPU: 2 PID: 45 at drivers/gpu/drm/i915/intel_display.c:8979 intel_fb_obj_invalidate+0xdb/0xe0 [i915]()
[432102.922468] Modules linked in: uas usb_storage dm_crypt ctr ccm arc4 iwldvm mac80211 iwlwifi cfg80211 rfcomm bnep uvcvideo rtsx_usb videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common videodev snd_hda_codec_hdmi snd_hda_codec_idt snd_hda_codec_generic dell_laptop dell_wmi sparse_keymap snd_hda_intel snd_hda_controller snd_hda_codec dcdbas btusb snd_hwdep snd_pcm bluetooth snd_seq_midi snd_seq_midi_event x86_pkg_temp_thermal snd_rawmidi snd_seq coretemp ghash_clmulni_intel cryptd snd_timer snd_seq_device microcode snd soundcore serio_raw lpc_ich mac_hid parport_pc ppdev lp parport binfmt_misc hid_generic usbhid hid nouveau i915 psmouse mxm_wmi ttm i2c_algo_bit ahci libahci drm_kms_helper drm wmi video
[432102.922523] CPU: 2 PID: 45 Comm: kswapd0 Tainted: G        W      3.17.0 #50
[432102.922526] Hardware name: Dell Inc.          Inspiron 7720/04M3YM, BIOS A07 08/16/2012
[432102.922528]  0000000000000009 ffff8801376cba60 ffffffff81707891 0000000000000000
[432102.922532]  ffff8801376cba98 ffffffff8109832d ffff88008d032400 ffff880034486000
[432102.922536]  ffff880032870000 0000000000000000 ffff880032870000 ffff8801376cbaa8
[432102.922539] Call Trace:
[432102.922546]  [<ffffffff81707891>] dump_stack+0x4e/0x7a
[432102.922550]  [<ffffffff8109832d>] warn_slowpath_common+0x7d/0xa0
[432102.922552]  [<ffffffff8109840a>] warn_slowpath_null+0x1a/0x20
[432102.922586]  [<ffffffffa015b02b>] intel_fb_obj_invalidate+0xdb/0xe0 [i915]
[432102.922606]  [<ffffffffa012498e>] i915_gem_object_set_to_cpu_domain+0x9e/0x1f0 [i915]
[432102.922623]  [<ffffffffa0124b11>] i915_gem_object_put_pages_gtt+0x31/0x1a0 [i915]
[432102.922637]  [<ffffffffa0122fc5>] i915_gem_object_put_pages+0xb5/0x140 [i915]
[432102.922652]  [<ffffffffa0127169>] __i915_gem_shrink+0x1f9/0x2c0 [i915]
[432102.922669]  [<ffffffffa01279f8>] i915_gem_shrinker_scan+0x68/0xa0 [i915]
[432102.922679]  [<ffffffff811a3b78>] shrink_slab_node+0x138/0x2f0
[432102.922682]  [<ffffffff811a556f>] ? shrink_slab+0x3f/0x160
[432102.922685]  [<ffffffff811a55bb>] shrink_slab+0x8b/0x160
[432102.922688]  [<ffffffff811a8848>] balance_pgdat+0x388/0x5a0
[432102.922691]  [<ffffffff811a8be0>] kswapd+0x180/0x470
[432102.922696]  [<ffffffff810d5830>] ? prepare_to_wait_event+0x110/0x110
[432102.922698]  [<ffffffff811a8a60>] ? balance_pgdat+0x5a0/0x5a0
[432102.922705]  [<ffffffff810b609c>] kthread+0xfc/0x120
[432102.922710]  [<ffffffff810b5fa0>] ? kthread_create_on_node+0x230/0x230
[432102.922715]  [<ffffffff81710e2c>] ret_from_fork+0x7c/0xb0
[432102.922719]  [<ffffffff810b5fa0>] ? kthread_create_on_node+0x230/0x230
[432102.922722] ---[ end trace 95ef281295f96d82 ]---
[432102.922850] ------------[ cut here ]------------
[432102.922908] WARNING: CPU: 2 PID: 45 at drivers/gpu/drm/i915/intel_display.c:8979 intel_fb_obj_invalidate+0xdb/0xe0 [i915]()
[432102.922912] Modules linked in: uas usb_storage dm_crypt ctr ccm arc4 iwldvm mac80211 iwlwifi cfg80211 rfcomm bnep uvcvideo rtsx_usb videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common videodev snd_hda_codec_hdmi snd_hda_codec_idt snd_hda_codec_generic dell_laptop dell_wmi sparse_keymap snd_hda_intel snd_hda_controller snd_hda_codec dcdbas btusb snd_hwdep snd_pcm bluetooth snd_seq_midi snd_seq_midi_event x86_pkg_temp_thermal snd_rawmidi snd_seq coretemp ghash_clmulni_intel cryptd snd_timer snd_seq_device microcode snd soundcore serio_raw lpc_ich mac_hid parport_pc ppdev lp parport binfmt_misc hid_generic usbhid hid nouveau i915 psmouse mxm_wmi ttm i2c_algo_bit ahci libahci drm_kms_helper drm wmi video
[432102.922963] CPU: 2 PID: 45 Comm: kswapd0 Tainted: G        W      3.17.0 #50
[432102.922964] Hardware name: Dell Inc.          Inspiron 7720/04M3YM, BIOS A07 08/16/2012
[432102.922966]  0000000000000009 ffff8801376cba60 ffffffff81707891 0000000000000000
[432102.922969]  ffff8801376cba98 ffffffff8109832d ffff88008d032a00 ffff880034486000
[432102.922973]  ffff880032870000 0000000000000000 ffff880032870000 ffff8801376cbaa8
[432102.922977] Call Trace:
[432102.922986]  [<ffffffff81707891>] dump_stack+0x4e/0x7a
[432102.922989]  [<ffffffff8109832d>] warn_slowpath_common+0x7d/0xa0
[432102.922991]  [<ffffffff8109840a>] warn_slowpath_null+0x1a/0x20
[432102.923014]  [<ffffffffa015b02b>] intel_fb_obj_invalidate+0xdb/0xe0 [i915]
[432102.923029]  [<ffffffffa012498e>] i915_gem_object_set_to_cpu_domain+0x9e/0x1f0 [i915]
[432102.923047]  [<ffffffffa0124b11>] i915_gem_object_put_pages_gtt+0x31/0x1a0 [i915]
[432102.923059]  [<ffffffffa0122fc5>] i915_gem_object_put_pages+0xb5/0x140 [i915]
[432102.923072]  [<ffffffffa0127169>] __i915_gem_shrink+0x1f9/0x2c0 [i915]
[432102.923082]  [<ffffffffa01279f8>] i915_gem_shrinker_scan+0x68/0xa0 [i915]
[432102.923090]  [<ffffffff811a3b78>] shrink_slab_node+0x138/0x2f0
[432102.923093]  [<ffffffff811a556f>] ? shrink_slab+0x3f/0x160
[432102.923096]  [<ffffffff811a55bb>] shrink_slab+0x8b/0x160
[432102.923099]  [<ffffffff811a8848>] balance_pgdat+0x388/0x5a0
[432102.923102]  [<ffffffff811a8be0>] kswapd+0x180/0x470
[432102.923105]  [<ffffffff810d5830>] ? prepare_to_wait_event+0x110/0x110
[432102.923107]  [<ffffffff811a8a60>] ? balance_pgdat+0x5a0/0x5a0
[432102.923113]  [<ffffffff810b609c>] kthread+0xfc/0x120
[432102.923116]  [<ffffffff810b5fa0>] ? kthread_create_on_node+0x230/0x230
[432102.923119]  [<ffffffff81710e2c>] ret_from_fork+0x7c/0xb0
[432102.923122]  [<ffffffff810b5fa0>] ? kthread_create_on_node+0x230/0x230
[432102.923124] ---[ end trace 95ef281295f96d83 ]---
[432102.923173] ------------[ cut here ]------------
[432102.923209] kernel BUG at drivers/gpu/drm/i915/i915_gem.c:1262!
[432102.923237] invalid opcode: 0000 [#1] PREEMPT SMP 
[432102.923262] Modules linked in: uas usb_storage dm_crypt ctr ccm arc4 iwldvm mac80211 iwlwifi cfg80211 rfcomm bnep uvcvideo rtsx_usb videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common videodev snd_hda_codec_hdmi snd_hda_codec_idt snd_hda_codec_generic dell_laptop dell_wmi sparse_keymap snd_hda_intel snd_hda_controller snd_hda_codec dcdbas btusb snd_hwdep snd_pcm bluetooth snd_seq_midi snd_seq_midi_event x86_pkg_temp_thermal snd_rawmidi snd_seq coretemp ghash_clmulni_intel cryptd snd_timer snd_seq_device microcode snd soundcore serio_raw lpc_ich mac_hid parport_pc ppdev lp parport binfmt_misc hid_generic usbhid hid nouveau i915 psmouse mxm_wmi ttm i2c_algo_bit ahci libahci drm_kms_helper drm wmi video
[432102.923617] CPU: 2 PID: 45 Comm: kswapd0 Tainted: G        W      3.17.0 #50
[432102.923650] Hardware name: Dell Inc.          Inspiron 7720/04M3YM, BIOS A07 08/16/2012
[432102.923685] task: ffff88013766a130 ti: ffff8801376c8000 task.ti: ffff8801376c8000
[432102.923719] RIP: 0010:[<ffffffffa01235cc>]  [<ffffffffa01235cc>] i915_wait_seqno+0x7c/0xa0 [i915]
[432102.923781] RSP: 0018:ffff8801376cbaf8  EFLAGS: 00010246
[432102.923804] RAX: 0000000000000001 RBX: ffff880032870000 RCX: 0000000000000018
[432102.923835] RDX: ffff88008d033908 RSI: 00000000005c4f93 RDI: ffff880032872680
[432102.923870] RBP: ffff8801376cbb18 R08: 0000000000000000 R09: 0000000000000000
[432102.923901] R10: 0000000000000000 R11: ffffea0000402c80 R12: ffff880032872680
[432102.923932] R13: ffff88008d032c00 R14: 0000000000000001 R15: ffff880032870000
[432102.923966] FS:  0000000000000000(0000) GS:ffff88013f280000(0000) knlGS:0000000000000000
[432102.924002] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[432102.924030] CR2: 00007f3d465dc000 CR3: 0000000102ada000 CR4: 00000000001407e0
[432102.924073] Stack:
[432102.924087]  ffff88008d032c00 ffff88008d032cf0 ffff88008d032c00 ffff880032870000
[432102.924133]  ffff8801376cbb30 ffffffffa0123627 ffff88008d032c00 ffff8801376cbb48
[432102.924169]  ffffffffa0123664 ffff880104b4b000 ffff8801376cbb78 ffffffffa0126e48
[432102.924205] Call Trace:
[432102.924238]  [<ffffffffa0123627>] i915_gem_object_wait_rendering+0x37/0x60 [i915]
[432102.924287]  [<ffffffffa0123664>] i915_gem_object_finish_gpu.part.53+0x14/0x30 [i915]
[432102.924339]  [<ffffffffa0126e48>] i915_vma_unbind+0x118/0x240 [i915]
[432102.924380]  [<ffffffffa012715c>] __i915_gem_shrink+0x1ec/0x2c0 [i915]
[432102.924422]  [<ffffffffa01279f8>] i915_gem_shrinker_scan+0x68/0xa0 [i915]
[432102.924465]  [<ffffffff811a3b78>] shrink_slab_node+0x138/0x2f0
[432102.924494]  [<ffffffff811a556f>] ? shrink_slab+0x3f/0x160
[432102.924521]  [<ffffffff811a55bb>] shrink_slab+0x8b/0x160
[432102.924548]  [<ffffffff811a8848>] balance_pgdat+0x388/0x5a0
[432102.924575]  [<ffffffff811a8be0>] kswapd+0x180/0x470
[432102.924601]  [<ffffffff810d5830>] ? prepare_to_wait_event+0x110/0x110
[432102.924635]  [<ffffffff811a8a60>] ? balance_pgdat+0x5a0/0x5a0
[432102.924670]  [<ffffffff810b609c>] kthread+0xfc/0x120
[432102.924693]  [<ffffffff810b5fa0>] ? kthread_create_on_node+0x230/0x230
[432102.924730]  [<ffffffff81710e2c>] ret_from_fork+0x7c/0xb0
[432102.924755]  [<ffffffff810b5fa0>] ? kthread_create_on_node+0x230/0x230
[432102.924786] Code: 0f 1f 80 00 00 00 00 8b 93 a0 9d 00 00 41 0f b6 ce 44 89 ee 4c 89 e7 45 31 c9 45 31 c0 e8 ed ea ff ff 5b 41 5c 41 5d 41 5e 5d c3 <0f> 0b 45 84 f6 74 13 8b 83 a0 9d 00 00 c1 f8 1f 83 e0 06 83 e8 
[432102.924965] RIP  [<ffffffffa01235cc>] i915_wait_seqno+0x7c/0xa0 [i915]
[432102.925104]  RSP <ffff8801376cbaf8>
[432102.935737] ---[ end trace 95ef281295f96d84 ]---

It's BUG_ON(!mutex_is_locked(&dev->struct_mutex)) in i915_wait_seqno.
Warnings are from WARN_ON(!mutex_is_locked(&dev->struct_mutex)) in
intel_fb_obj_invalidate.

dev->struct_mutex is locked from i915_gem_shrinker_scan, so something unlocks
it when we reach intel_fb_obj_invalidate/i915_wait_seqno.

Full dmesg: http://people.freedesktop.org/~mslusarz/bug20150104.txt

Marcin
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux