Created attachment 106296 [details] dmesg ==System Environment== -------------------------- Regression: Yes. Good commit on drm-next: 58b21c22c66dd223d27405d54b47102a27bda0b7 Non-working platforms: SNB HSW ==kernel== -------------------------- origin/drm-intel-nightly:43df30da20447e2856b2761215ff274886a9f931(fails) drm-intel-nightly: 2014y-09m-12d-15h-35m-20s UTC integration manifest origin/drm-intel-next-queued:648fb42d1e77cf90cddea2b1cf1f4ac4453e65e6(works) drm/i915: Extend BIOS stolen mem handling to all platform origin/drm-intel-fixes: e76c8c5979021483a3a6b480cfe360c644a403c0(works) drm/i915: Fix SRC_COPY width on 830/845g origin/drm-fixes: 83502a5d34386f7c6973bc70e1c423f55f5a2e3a(works) drm/ast: AST2000 cannot be detected correctly origin/drm-next: edbaae5a5cab89de0e64b8c03ebd9a8d5d266550(fails) Merge tag 'topic/vblank-rework-2014-09-12' of git://anongit.freedesktop.org/drm-intel into drm-next ==Bug detailed description== ----------------------------- igt/drv_module_reload causes "WARNING: CPU: 5 PID: 3993 at drivers/gpu/drm/i915/i915_irq.c:154 ironlake_disable_vblank+0x40/0x52 [i915]()" Output: [root@x-hsw24 tests]# ./drv_module_reload unbinding /sys/class/vtconsole/vtcon0/: (M) frame buffer device module successfully unloaded [root@x-hsw24 tests]# echo $? 0 [root@x-hsw24 tests]# dmesg -r|egrep ""<[1-4]>""|grep drm <4>[ 65.503283] WARNING: CPU: 5 PID: 3993 at drivers/gpu/drm/i915/i915_irq.c:154 ironlake_disable_vblank+0x40/0x52 [i915]() <4>[ 65.503285] Modules linked in: dm_mod snd_hda_codec_realtek snd_hda_codec_generic iTCO_wdt iTCO_vendor_support snd_hda_codec_hdmi dcdbas serio_raw pcspkr i2c_i801 snd_hda_controller lpc_ich snd_hda_codec mfd_core snd_hwdep shpchp snd_pcm snd_timer snd soundcore battery acpi_cpufreq i915(-) button video drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea [last unloaded: snd_hda_intel] <4>[ 65.503301] CPU: 5 PID: 3993 Comm: rmmod Not tainted 3.17.0-rc4_drm-intel-nightly_43df30_20140915+ #2476 <4>[ 65.503339] [<ffffffffa0010fa4>] ? vblank_disable_and_save+0x74/0x17f [drm] <4>[ 65.503347] [<ffffffffa00121f3>] ? drm_vblank_cleanup+0x48/0x7c [drm] <4>[ 65.503359] [<ffffffffa0013117>] ? drm_dev_unregister+0x1e/0x8b [drm] <4>[ 65.503363] [<ffffffffa00139a3>] ? drm_put_dev+0x45/0x4e [drm] <4>[ 65.503381] [<ffffffffa0015221>] ? drm_pci_exit+0x39/0x9c [drm] <4>[ 65.503403] WARNING: CPU: 5 PID: 3993 at drivers/gpu/drm/i915/i915_irq.c:154 ironlake_disable_vblank+0x40/0x52 [i915]() <4>[ 65.503404] Modules linked in: dm_mod snd_hda_codec_realtek snd_hda_codec_generic iTCO_wdt iTCO_vendor_support snd_hda_codec_hdmi dcdbas serio_raw pcspkr i2c_i801 snd_hda_controller lpc_ich snd_hda_codec mfd_core snd_hwdep shpchp snd_pcm snd_timer snd soundcore battery acpi_cpufreq i915(-) button video drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea [last unloaded: snd_hda_intel] <4>[ 65.503418] CPU: 5 PID: 3993 Comm: rmmod Tainted: G W 3.17.0-rc4_drm-intel-nightly_43df30_20140915+ #2476 <4>[ 65.503449] [<ffffffffa0010fa4>] ? vblank_disable_and_save+0x74/0x17f [drm] <4>[ 65.503455] [<ffffffffa00121f3>] ? drm_vblank_cleanup+0x48/0x7c [drm] <4>[ 65.503466] [<ffffffffa0013117>] ? drm_dev_unregister+0x1e/0x8b [drm] <4>[ 65.503470] [<ffffffffa00139a3>] ? drm_put_dev+0x45/0x4e [drm] <4>[ 65.503486] [<ffffffffa0015221>] ? drm_pci_exit+0x39/0x9c [drm] <4>[ 65.503505] WARNING: CPU: 5 PID: 3993 at drivers/gpu/drm/i915/i915_irq.c:154 ironlake_disable_vblank+0x40/0x52 [i915]() <4>[ 65.503506] Modules linked in: dm_mod snd_hda_codec_realtek snd_hda_codec_generic iTCO_wdt iTCO_vendor_support snd_hda_codec_hdmi dcdbas serio_raw pcspkr i2c_i801 snd_hda_controller lpc_ich snd_hda_codec mfd_core snd_hwdep shpchp snd_pcm snd_timer snd soundcore battery acpi_cpufreq i915(-) button video drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea [last unloaded: snd_hda_intel] <4>[ 65.503520] CPU: 5 PID: 3993 Comm: rmmod Tainted: G W 3.17.0-rc4_drm-intel-nightly_43df30_20140915+ #2476 <4>[ 65.503550] [<ffffffffa0010fa4>] ? vblank_disable_and_save+0x74/0x17f [drm] <4>[ 65.503556] [<ffffffffa00121f3>] ? drm_vblank_cleanup+0x48/0x7c [drm] <4>[ 65.503567] [<ffffffffa0013117>] ? drm_dev_unregister+0x1e/0x8b [drm] <4>[ 65.503571] [<ffffffffa00139a3>] ? drm_put_dev+0x45/0x4e [drm] <4>[ 65.503586] [<ffffffffa0015221>] ? drm_pci_exit+0x39/0x9c [drm] Here has another warnings below on drm-intel-fixes and drm-fixes: [root@x-hsw24 tests]# dmesg -r|egrep ""<[1-4]>""|grep drm <4>[ 90.242620] WARNING: CPU: 0 PID: 3998 at drivers/gpu/drm/drm_crtc.c:5113 drm_mode_config_cleanup+0x165/0x23f [drm]() <4>[ 90.242623] Modules linked in: dm_mod snd_hda_codec_realtek snd_hda_codec_generic iTCO_wdt snd_hda_codec_hdmi iTCO_vendor_support dcdbas serio_raw pcspkr i2c_i801 snd_hda_controller snd_hda_codec lpc_ich snd_hwdep mfd_core snd_pcm shpchp snd_timer snd soundcore battery acpi_cpufreq i915(-) button video drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea [last unloaded: snd_hda_intel] <4>[ 90.242648] CPU: 0 PID: 3998 Comm: rmmod Not tainted 3.17.0-rc4_drm-intel-fixes_e76c8c_20140915+ #2484 <4>[ 90.242682] [<ffffffffa001a78f>] ? drm_mode_config_cleanup+0x165/0x23f [drm] <4>[ 90.242688] [<ffffffffa001a78f>] ? drm_mode_config_cleanup+0x165/0x23f [drm] <4>[ 90.242718] [<ffffffffa00130d7>] ? drm_dev_unregister+0x1e/0x8b [drm] <4>[ 90.242724] [<ffffffffa00139bb>] ? drm_put_dev+0x45/0x4e [drm] <4>[ 90.242751] [<ffffffffa0015061>] ? drm_pci_exit+0x39/0x9c [drm] <4>[ 90.244256] WARNING: CPU: 0 PID: 3998 at drivers/gpu/drm/i915/i915_dma.c:1905 i915_driver_unload+0x1a0/0x276 [i915]() <4>[ 90.244258] Modules linked in: dm_mod snd_hda_codec_realtek snd_hda_codec_generic iTCO_wdt snd_hda_codec_hdmi iTCO_vendor_support dcdbas serio_raw pcspkr i2c_i801 snd_hda_controller snd_hda_codec lpc_ich snd_hwdep mfd_core snd_pcm shpchp snd_timer snd soundcore battery acpi_cpufreq i915(-) button video drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea [last unloaded: snd_hda_intel] <4>[ 90.244273] CPU: 0 PID: 3998 Comm: rmmod Tainted: G W 3.17.0-rc4_drm-intel-fixes_e76c8c_20140915+ #2484 <4>[ 90.244305] [<ffffffffa00130d7>] ? drm_dev_unregister+0x1e/0x8b [drm] <4>[ 90.244309] [<ffffffffa00139bb>] ? drm_put_dev+0x45/0x4e [drm] <4>[ 90.244325] [<ffffffffa0015061>] ? drm_pci_exit+0x39/0x9c [drm] <4>[ 90.244341] WARNING: CPU: 0 PID: 3998 at drivers/gpu/drm/i915/i915_dma.c:1913 i915_driver_unload+0x1e3/0x276 [i915]() <4>[ 90.244343] Modules linked in: dm_mod snd_hda_codec_realtek snd_hda_codec_generic iTCO_wdt snd_hda_codec_hdmi iTCO_vendor_support dcdbas serio_raw pcspkr i2c_i801 snd_hda_controller snd_hda_codec lpc_ich snd_hwdep mfd_core snd_pcm shpchp snd_timer snd soundcore battery acpi_cpufreq i915(-) button video drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea [last unloaded: snd_hda_intel] <4>[ 90.244356] CPU: 0 PID: 3998 Comm: rmmod Tainted: G W 3.17.0-rc4_drm-intel-fixes_e76c8c_20140915+ #2484 <4>[ 90.244387] [<ffffffffa00130d7>] ? drm_dev_unregister+0x1e/0x8b [drm] <4>[ 90.244391] [<ffffffffa00139bb>] ? drm_put_dev+0x45/0x4e [drm] <4>[ 90.244406] [<ffffffffa0015061>] ? drm_pci_exit+0x39/0x9c [drm] ==Reproduce steps== ---------------------------- 1. ./drv_module_reload
It impacts all platforms. [ 33.023954] Call Trace: [ 33.023957] [<ffffffff81841018>] dump_stack+0x46/0x58 [ 33.023959] [<ffffffff81074ccc>] ? down_trylock+0x2c/0x37 [ 33.023961] [<ffffffff8183d0fb>] print_circular_bug+0x2ad/0x2be [ 33.023962] [<ffffffff81078fa1>] __lock_acquire+0x10ac/0x1803 [ 33.023963] [<ffffffff81079c08>] lock_acquire+0xd3/0x10d [ 33.023964] [<ffffffff81433435>] ? store_bind+0x1f0/0x221 [ 33.023965] [<ffffffff8107a43e>] ? trace_hardirqs_on+0xd/0xf [ 33.023966] [<ffffffff8108550d>] console_lock+0x41/0x60 [ 33.023967] [<ffffffff81433435>] ? store_bind+0x1f0/0x221 [ 33.023969] [<ffffffff8139efca>] ? simple_strtoul+0x9/0xb [ 33.023970] [<ffffffff81433435>] store_bind+0x1f0/0x221 [ 33.023971] [<ffffffff81450034>] dev_attr_store+0x18/0x24 [ 33.023973] [<ffffffff811a7f4b>] sysfs_kf_write+0x4a/0x52 [ 33.023974] [<ffffffff811a71e0>] kernfs_fop_write+0xe9/0x132 [ 33.023975] [<ffffffff81143248>] vfs_write+0xbe/0x19a [ 33.023977] [<ffffffff81143552>] SyS_write+0x4a/0x91 [ 33.023978] [<ffffffff81848712>] system_call_fastpath+0x12/0x17 [ 33.024031] Console: switching to colour dummy device 80x25 [ 33.063395] drm_kms_helper: drm: unregistered panic notifier [ 33.081080] ------------[ cut here ]------------ [ 33.081102] WARNING: CPU: 0 PID: 3726 at drivers/gpu/drm/i915/i915_irq.c:154 ironlake_disable_display_irq+0x36/0x77 [i915]()
The failure unable to reproduce on latest -nightly(b921a5e434f541c6d96378838df47b4259cc3489) [root@x-hsw24 tests]# ./drv_module_reload unbinding /sys/class/vtconsole/vtcon0/: (M) frame buffer device module successfully unloaded module successfully loaded again [root@x-hsw24 tests]# echo $? 0 [root@x-hsw24 tests]# dmesg -r|egrep "<[1-4]>"|grep drm [root@x-hsw24 tests]#
Closing old verified.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.