Bug 1195034 - kernel BUG at drivers/gpu/drm/i915/i915_gem.c:4257! invalid opcode: 0000 [#1] SMP [NEEDINFO]
Summary: kernel BUG at drivers/gpu/drm/i915/i915_gem.c:4257! invalid opcode: 0000 [#1]...
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-22 10:39 UTC by Lubomir Rintel
Modified: 2015-11-23 17:13 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-23 17:13:23 UTC
Type: Bug
Embargoed:
jforbes: needinfo?


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
FreeDesktop.org 89305 0 None None None Never

Description Lubomir Rintel 2015-02-22 10:39:06 UTC
When switching the display from Mutter/wayland or weston I experience a lockup:

[lkundrak@odvarok ~]$ uname -a
Linux odvarok 3.20.0-0.rc0.git10.1.fc22.x86_64 #1 SMP Fri Feb 20 14:44:06 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux


Feb 22 11:13:08 odvarok kernel: dnf (2589) used greatest stack depth: 10960 bytes left
Feb 22 11:14:03 odvarok kernel: ------------[ cut here ]------------
Feb 22 11:14:03 odvarok kernel: WARNING: CPU: 0 PID: 3200 at drivers/gpu/drm/i915/i915_gem.c:4285 i915_gem_object_unpin_fence+0x75/0xa0 [i915]()
Feb 22 11:14:03 odvarok kernel: WARN_ON(dev_priv->fence_regs[obj->fence_reg].pin_count <= 0)
Feb 22 11:14:03 odvarok kernel: Modules linked in: bnep bluetooth fuse ccm joydev wacom_w8001 arc4 iwl3945 iwlegacy mac80211 kvm_intel snd_hda_codec_analog snd_hda_codec_generic iTCO_wdt iTCO_vendor_support kvm ppdev snd_hda_intel snd_hda_controller snd_hda_codec cfg80211 serio_raw i2c_i801 snd_hwdep snd_seq lpc_ich snd_seq_device mfd_core snd
Feb 22 11:14:03 odvarok kernel: CPU: 0 PID: 3200 Comm: weston Tainted: G        W       3.20.0-0.rc0.git10.1.fc22.x86_64 #1
Feb 22 11:14:03 odvarok kernel: Hardware name: LENOVO 7762AS1/7762AS1, BIOS 7SET39WW (1.25 ) 03/22/2011
Feb 22 11:14:03 odvarok kernel:  0000000000000000 00000000073741d7 ffff8800b81ff5f8 ffffffff81877630
Feb 22 11:14:03 odvarok kernel:  0000000000000000 ffff8800b81ff650 ffff8800b81ff638 ffffffff810ab3ca
Feb 22 11:14:03 odvarok kernel:  ffff8800b46ba600 ffff88007d090000 ffff8800b416fe00 ffffffffa0283f60
Feb 22 11:14:03 odvarok kernel: Call Trace:
Feb 22 11:14:03 odvarok kernel:  [<ffffffff81877630>] dump_stack+0x4c/0x65
Feb 22 11:14:03 odvarok kernel:  [<ffffffff810ab3ca>] warn_slowpath_common+0x8a/0xc0
Feb 22 11:14:03 odvarok kernel:  [<ffffffff810ab455>] warn_slowpath_fmt+0x55/0x70
Feb 22 11:14:03 odvarok kernel:  [<ffffffffa023bf67>] ? intel_cleanup_plane_fb+0x37/0x80 [i915]
Feb 22 11:14:03 odvarok kernel:  [<ffffffffa01ee645>] i915_gem_object_unpin_fence+0x75/0xa0 [i915]
Feb 22 11:14:03 odvarok kernel:  [<ffffffffa022f9c5>] intel_unpin_fb_obj+0x25/0x60 [i915]
Feb 22 11:14:03 odvarok kernel:  [<ffffffffa023bf6f>] intel_cleanup_plane_fb+0x3f/0x80 [i915]
Feb 22 11:14:03 odvarok kernel:  [<ffffffffa014393e>] drm_plane_helper_commit+0x1fe/0x300 [drm_kms_helper]
Feb 22 11:14:03 odvarok kernel:  [<ffffffffa0143b8c>] drm_plane_helper_disable+0x5c/0xb0 [drm_kms_helper]
Feb 22 11:14:03 odvarok kernel:  [<ffffffffa0233ee3>] __intel_set_mode+0x323/0xb90 [i915]
Feb 22 11:14:03 odvarok kernel:  [<ffffffff8124b45c>] ? rcu_read_lock_sched_held+0x6c/0x80
Feb 22 11:14:03 odvarok kernel:  [<ffffffff8124f645>] ? __kmalloc+0x205/0x2d0
Feb 22 11:14:03 odvarok kernel:  [<ffffffffa023b947>] intel_crtc_set_config+0xca7/0x1020 [i915]
Feb 22 11:14:03 odvarok kernel:  [<ffffffffa00bc037>] ? drm_atomic_state_free+0x27/0x60 [drm]
Feb 22 11:14:03 odvarok kernel:  [<ffffffffa00ab7e9>] drm_mode_set_config_internal+0x69/0x120 [drm]
Feb 22 11:14:03 odvarok kernel:  [<ffffffffa014c908>] restore_fbdev_mode+0xc8/0xf0 [drm_kms_helper]
Feb 22 11:14:03 odvarok kernel:  [<ffffffffa014e969>] drm_fb_helper_restore_fbdev_mode_unlocked+0x29/0x80 [drm_kms_helper]
Feb 22 11:14:03 odvarok kernel:  [<ffffffffa014e9e2>] drm_fb_helper_set_par+0x22/0x50 [drm_kms_helper]
Feb 22 11:14:03 odvarok kernel:  [<ffffffffa024b7aa>] intel_fbdev_set_par+0x1a/0x60 [i915]
Feb 22 11:14:03 odvarok kernel:  [<ffffffff814a615c>] fb_set_var+0x23c/0x4a0
Feb 22 11:14:03 odvarok kernel:  [<ffffffff8149baac>] fbcon_blank+0x34c/0x390
Feb 22 11:14:03 odvarok kernel:  [<ffffffff8153d502>] do_unblank_screen+0xe2/0x1f0
Feb 22 11:14:03 odvarok kernel:  [<ffffffff815319b1>] complete_change_console+0x61/0xf0
Feb 22 11:14:03 odvarok kernel:  [<ffffffff8153221a>] vt_ioctl+0x7da/0x14c0
Feb 22 11:14:03 odvarok kernel:  [<ffffffff8110386f>] ? lock_release_holdtime.part.29+0xf/0x200
Feb 22 11:14:03 odvarok kernel:  [<ffffffff81523e29>] tty_ioctl+0x449/0xe00
Feb 22 11:14:03 odvarok kernel:  [<ffffffff813a7be5>] ? inode_has_perm.isra.48+0x55/0xa0
Feb 22 11:14:03 odvarok kernel:  [<ffffffff8128cd68>] do_vfs_ioctl+0x2e8/0x530
Feb 22 11:14:03 odvarok kernel:  [<ffffffff8128d031>] SyS_ioctl+0x81/0xa0
Feb 22 11:14:03 odvarok kernel:  [<ffffffff81880ba9>] system_call_fastpath+0x12/0x17
Feb 22 11:14:03 odvarok kernel: ---[ end trace 804a0e2e3e91ca24 ]---
Feb 22 11:14:03 odvarok kernel: ------------[ cut here ]------------
Feb 22 11:14:03 odvarok kernel: kernel BUG at drivers/gpu/drm/i915/i915_gem.c:4257!
Feb 22 11:14:03 odvarok kernel: invalid opcode: 0000 [#1] SMP 
Feb 22 11:14:03 odvarok kernel: Modules linked in: bnep bluetooth fuse ccm joydev wacom_w8001 arc4 iwl3945 iwlegacy mac80211 kvm_intel snd_hda_codec_analog snd_hda_codec_generic iTCO_wdt iTCO_vendor_support kvm ppdev snd_hda_intel snd_hda_controller snd_hda_codec cfg80211 serio_raw i2c_i801 snd_hwdep snd_seq lpc_ich snd_seq_device mfd_core snd
Feb 22 11:14:03 odvarok kernel: CPU: 0 PID: 3200 Comm: weston Tainted: G        W       3.20.0-0.rc0.git10.1.fc22.x86_64 #1
Feb 22 11:14:03 odvarok kernel: Hardware name: LENOVO 7762AS1/7762AS1, BIOS 7SET39WW (1.25 ) 03/22/2011
Feb 22 11:14:03 odvarok kernel: task: ffff8800b77b34a0 ti: ffff8800b81fc000 task.ti: ffff8800b81fc000
Feb 22 11:14:03 odvarok kernel: RIP: 0010:[<ffffffffa01ee43a>]  [<ffffffffa01ee43a>] i915_gem_object_ggtt_unpin+0xca/0xd0 [i915]
Feb 22 11:14:03 odvarok kernel: RSP: 0018:ffff8800b81ff6b0  EFLAGS: 00010246
Feb 22 11:14:03 odvarok kernel: RAX: ffff8800b5dc4400 RBX: ffff8800b416fe00 RCX: ffff8800b5dc4400
Feb 22 11:14:03 odvarok kernel: RDX: 00000000ffffffff RSI: ffff88007d0998a8 RDI: ffff8800b416fe00
Feb 22 11:14:03 odvarok kernel: RBP: ffff8800b81ff6b0 R08: ffff8800b416ff00 R09: 0000000000000000
Feb 22 11:14:03 odvarok kernel: R10: 0000000000000001 R11: 0000000000000001 R12: ffff8800b416fe00
Feb 22 11:14:03 odvarok kernel: R13: ffffffffa0283f60 R14: ffff8800b46ba600 R15: ffff8800b8181300
Feb 22 11:14:03 odvarok kernel: FS:  00007f79574208c0(0000) GS:ffff8800be000000(0000) knlGS:0000000000000000
Feb 22 11:14:03 odvarok kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
Feb 22 11:14:03 odvarok kernel: CR2: 00007fde7941bf68 CR3: 00000000b4b86000 CR4: 00000000000007f0
Feb 22 11:14:03 odvarok kernel: Stack:
Feb 22 11:14:03 odvarok kernel:  ffff8800b81ff6c8 ffffffffa01ee452 ffff8800b416fe00 ffff8800b81ff6e8
Feb 22 11:14:03 odvarok kernel:  ffffffffa022f9cd ffff8800b46ba600 ffff88007e803060 ffff8800b81ff708
Feb 22 11:14:03 odvarok kernel:  ffffffffa023bf6f ffff88007ea87c00 ffff8800b8181300 ffff8800b81ff788
Feb 22 11:14:03 odvarok kernel: Call Trace:
Feb 22 11:14:03 odvarok kernel:  [<ffffffffa01ee452>] i915_gem_object_unpin_from_display_plane+0x12/0x90 [i915]
Feb 22 11:14:03 odvarok kernel:  [<ffffffffa022f9cd>] intel_unpin_fb_obj+0x2d/0x60 [i915]
Feb 22 11:14:03 odvarok kernel:  [<ffffffffa023bf6f>] intel_cleanup_plane_fb+0x3f/0x80 [i915]
Feb 22 11:14:03 odvarok kernel:  [<ffffffffa014393e>] drm_plane_helper_commit+0x1fe/0x300 [drm_kms_helper]
Feb 22 11:14:03 odvarok kernel:  [<ffffffffa0143b8c>] drm_plane_helper_disable+0x5c/0xb0 [drm_kms_helper]
Feb 22 11:14:03 odvarok kernel:  [<ffffffffa0233ee3>] __intel_set_mode+0x323/0xb90 [i915]
Feb 22 11:14:03 odvarok kernel:  [<ffffffff8124b45c>] ? rcu_read_lock_sched_held+0x6c/0x80
Feb 22 11:14:03 odvarok kernel:  [<ffffffff8124f645>] ? __kmalloc+0x205/0x2d0
Feb 22 11:14:03 odvarok kernel:  [<ffffffffa023b947>] intel_crtc_set_config+0xca7/0x1020 [i915]
Feb 22 11:14:03 odvarok kernel:  [<ffffffffa00bc037>] ? drm_atomic_state_free+0x27/0x60 [drm]
Feb 22 11:14:03 odvarok kernel:  [<ffffffffa00ab7e9>] drm_mode_set_config_internal+0x69/0x120 [drm]
Feb 22 11:14:03 odvarok kernel:  [<ffffffffa014c908>] restore_fbdev_mode+0xc8/0xf0 [drm_kms_helper]
Feb 22 11:14:03 odvarok kernel:  [<ffffffffa014e969>] drm_fb_helper_restore_fbdev_mode_unlocked+0x29/0x80 [drm_kms_helper]
Feb 22 11:14:03 odvarok kernel:  [<ffffffffa014e9e2>] drm_fb_helper_set_par+0x22/0x50 [drm_kms_helper]
Feb 22 11:14:03 odvarok kernel:  [<ffffffffa024b7aa>] intel_fbdev_set_par+0x1a/0x60 [i915]
Feb 22 11:14:03 odvarok kernel:  [<ffffffff814a615c>] fb_set_var+0x23c/0x4a0
Feb 22 11:14:03 odvarok kernel:  [<ffffffff8149baac>] fbcon_blank+0x34c/0x390
Feb 22 11:14:03 odvarok kernel:  [<ffffffff8153d502>] do_unblank_screen+0xe2/0x1f0
Feb 22 11:14:03 odvarok kernel:  [<ffffffff815319b1>] complete_change_console+0x61/0xf0
Feb 22 11:14:03 odvarok kernel:  [<ffffffff8153221a>] vt_ioctl+0x7da/0x14c0
Feb 22 11:14:03 odvarok kernel:  [<ffffffff8110386f>] ? lock_release_holdtime.part.29+0xf/0x200
Feb 22 11:14:03 odvarok kernel:  [<ffffffff81523e29>] tty_ioctl+0x449/0xe00
Feb 22 11:14:03 odvarok kernel:  [<ffffffff813a7be5>] ? inode_has_perm.isra.48+0x55/0xa0
Feb 22 11:14:03 odvarok kernel:  [<ffffffff8128cd68>] do_vfs_ioctl+0x2e8/0x530
Feb 22 11:14:03 odvarok kernel:  [<ffffffff8128d031>] SyS_ioctl+0x81/0xa0
Feb 22 11:14:03 odvarok kernel:  [<ffffffff81880ba9>] system_call_fastpath+0x12/0x17
Feb 22 11:14:03 odvarok kernel: Code: 41 83 e1 f0 83 e2 0f 41 09 d1 84 d2 44 88 88 c0 00 00 00 75 07 80 a7 59 01 00 00 7f 5d c3 0f 1f 00 0f 0b 66 0f 1f 44 00 00 0f 0b <0f> 0b 0f 1f 40 00 66 66 66 66 90 55 48 89 e5 53 48 89 fb e8 1e 
Feb 22 11:14:03 odvarok kernel: RIP  [<ffffffffa01ee43a>] i915_gem_object_ggtt_unpin+0xca/0xd0 [i915]
Feb 22 11:14:03 odvarok kernel:  RSP <ffff8800b81ff6b0>
Feb 22 11:14:03 odvarok kernel: ---[ end trace 804a0e2e3e91ca25 ]---

Comment 1 Justin M. Forbes 2015-10-20 19:24:20 UTC
*********** MASS BUG UPDATE **************

We apologize for the inconvenience.  There is a large number of bugs to go through and several of them have gone stale.  Due to this, we are doing a mass bug update across all of the Fedora 22 kernel bugs.

Fedora 22 has now been rebased to 4.2.3-200.fc22.  Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel.

If you have moved on to Fedora 23, and are still experiencing this issue, please change the version to Fedora 23.

If you experience different issues, please open a new bug report for those.

Comment 2 Fedora Kernel Team 2015-11-23 17:13:23 UTC
*********** MASS BUG UPDATE **************
This bug is being closed with INSUFFICIENT_DATA as there has not been a response in over 4 weeks. If you are still experiencing this issue, please reopen and attach the relevant data from the latest kernel you are running and any data that might have been requested previously.


Note You need to log in before you can comment on or make changes to this bug.