Bug 69875

Summary: [i915] kernel 3.11.2 intel_pipe_config_compare ERROR
Product: DRI Reporter: Carsten Mattner <carstenmattner>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: da_audiophile, freedesktop, intel-gfx-bugs, mike.parker
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
dmesg output
none
3.11.1 drm.debug=0xe
none
3.11.2 drm.debug=0xe
none
3.11.1 drm.debug=0xe
none
3.11.2 drm.debug=0xe
none
3.11.3 drm.debug=0xe none

Description Carsten Mattner 2013-09-27 08:43:45 UTC
After the update to 3.11.2 new ERROR messages appeared on bootup:

[    0.000000] Linux version 3.11.2-1-ARCH (tobias@testing-i686) (gcc version 4.8.1 20130725 (prerelease) (GCC) ) #1 SMP PREEMPT Fri Sep 27 08:03:21 CEST 2013

...

[   16.922234] [drm:intel_pipe_config_compare] *ERROR* mismatch in adjusted_mode.flags (expected 2, found 0)
[   16.922244] ------------[ cut here ]------------
[   16.922282] WARNING: CPU: 1 PID: 171 at drivers/gpu/drm/i915/intel_display.c:8299 check_crtc_state+0x590/0xb30 [i915]()
[   16.922285] pipe state doesn't match!
[   16.922287] Modules linked in: microcode(+) iTCO_vendor_support ath5k(+) evdev i2c_i801(+) input_polldev pcspkr ath of_i2c joydev snd_hda_codec_idt mac80211 i915(+) sky2 cfg80211 snd_hda_intel rfkill snd_hda_codec drm_kms_helper snd_hwdep drm snd_pcm i2c_algo_bit snd_page_alloc i2c_core snd_timer snd soundcore lpc_ich video shpchp intel_agp intel_gtt agpgart button acpi_cpufreq mperf processor ext4 crc16 mbcache jbd2 xts gf128mul hid_appleir hid_generic hid_cherry usbhid hid dm_crypt dm_mod usb_storage sd_mod sr_mod cdrom ata_generic pata_acpi ata_piix libata firewire_ohci scsi_mod firewire_core crc_itu_t ehci_pci uhci_hcd ehci_hcd usbcore usb_common
[   16.922341] CPU: 1 PID: 171 Comm: systemd-udevd Not tainted 3.11.2-1-ARCH #1
[   16.922343] Hardware name: Apple Inc. Macmini2,1
[   16.922346]  00000000 00000000 f6ef55e8 c141bc5f f6ef5628 f6ef5618 c104560e f8f74959
[   16.922353]  f6ef5644 000000ab f8f6c3b4 0000206b f8f28240 f8f28240 f53ff650 f53ff000
[   16.922360]  0000000a f6ef5630 c1045663 00000009 f6ef5628 f8f74959 f6ef5644 f6ef5898
[   16.922367] Call Trace:
[   16.922375]  [<c141bc5f>] dump_stack+0x4b/0x79
[   16.922381]  [<c104560e>] warn_slowpath_common+0x7e/0xa0
[   16.922409]  [<f8f28240>] ? check_crtc_state+0x590/0xb30 [i915]
[   16.922435]  [<f8f28240>] ? check_crtc_state+0x590/0xb30 [i915]
[   16.922440]  [<c1045663>] warn_slowpath_fmt+0x33/0x40
[   16.922467]  [<f8f28240>] check_crtc_state+0x590/0xb30 [i915]
[   16.922498]  [<f8f31e83>] intel_modeset_check_state+0x2a3/0x760 [i915]
[   16.922526]  [<f8f323d0>] intel_set_mode+0x30/0x40 [i915]
[   16.922553]  [<f8f334e0>] intel_get_load_detect_pipe+0x230/0x3a0 [i915]
[   16.922588]  [<f8f52857>] intel_tv_detect+0xe7/0x4a0 [i915]
[   16.922596]  [<f86b2448>] drm_helper_probe_single_connector_modes+0x1b8/0x340 [drm_kms_helper]
[   16.922602]  [<f86b0001>] drm_fb_helper_probe_connector_modes.isra.3+0x41/0x60 [drm_kms_helper]
[   16.922608]  [<f86b0e6d>] drm_fb_helper_initial_config+0x15d/0x480 [drm_kms_helper]
[   16.922631]  [<f8f0236f>] ? i915_write32+0x9f/0x180 [i915]
[   16.922653]  [<f8f01d86>] ? i915_read32+0x56/0x150 [i915]
[   16.922685]  [<f8f5196e>] intel_fbdev_initial_config+0x1e/0x20 [i915]
[   16.922708]  [<f8f05de2>] i915_driver_load+0xcb2/0xce0 [i915]
[   16.922730]  [<f8f02f20>] ? i915_switcheroo_set_state+0xa0/0xa0 [i915]
[   16.922747]  [<f86cd39e>] ? drm_get_minor+0x1be/0x240 [drm]
[   16.922757]  [<f86cf0e3>] drm_get_pci_dev+0x133/0x240 [drm]
[   16.922780]  [<f8f0169b>] i915_pci_probe+0x2b/0x60 [i915]
[   16.922786]  [<c124099f>] pci_device_probe+0x6f/0xb0
[   16.922792]  [<c12e57c9>] driver_probe_device+0x79/0x360
[   16.922796]  [<c12e5b61>] __driver_attach+0x71/0x80
[   16.922800]  [<c12e5af0>] ? __device_attach+0x40/0x40
[   16.922804]  [<c12e3bd7>] bus_for_each_dev+0x47/0x80
[   16.922807]  [<c12e52be>] driver_attach+0x1e/0x20
[   16.922811]  [<c12e5af0>] ? __device_attach+0x40/0x40
[   16.922815]  [<c12e4ef7>] bus_add_driver+0x1c7/0x280
[   16.922819]  [<c12409e0>] ? pci_device_probe+0xb0/0xb0
[   16.922823]  [<c12409e0>] ? pci_device_probe+0xb0/0xb0
[   16.922827]  [<c12e613a>] driver_register+0x6a/0x130
[   16.922831]  [<c1240832>] __pci_register_driver+0x32/0x40
[   16.922840]  [<f86cf2e5>] drm_pci_init+0xf5/0x100 [drm]
[   16.922846]  [<f896d000>] ? 0xf896cfff
[   16.922867]  [<f896d05e>] i915_init+0x5e/0x60 [i915]
[   16.922872]  [<c100042a>] do_one_initcall+0xca/0x190
[   16.922877]  [<c10cbfc7>] ? tracepoint_update_probe_range+0x47/0x130
[   16.922882]  [<c141f12d>] ? mutex_unlock+0xd/0x10
[   16.922886]  [<c10cc989>] ? tracepoint_module_notify+0x119/0x180
[   16.922890]  [<c14251a1>] ? notifier_call_chain+0x41/0x60
[   16.922896]  [<c10675c4>] ? __blocking_notifier_call_chain+0x44/0x60
[   16.922902]  [<c10a6a81>] load_module+0x19f1/0x2300
[   16.922910]  [<c10a741f>] SyS_init_module+0x8f/0xf0
[   16.922918]  [<c142850d>] sysenter_do_call+0x12/0x28
[   16.922920] ---[ end trace a8bb9aa7d94acce1 ]---
[   16.940334] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.10

...

[   66.003042] [drm:intel_pipe_config_compare] *ERROR* mismatch in adjusted_mode.flags (expected 2, found 0)
[   66.003048] ------------[ cut here ]------------
[   66.003075] WARNING: CPU: 1 PID: 289 at drivers/gpu/drm/i915/intel_display.c:8299 check_crtc_state+0x590/0xb30 [i915]()
[   66.003078] pipe state doesn't match!
[   66.003079] Modules linked in: arc4 coretemp kvm_intel kvm iTCO_wdt applesmc microcode iTCO_vendor_support ath5k evdev i2c_i801 input_polldev pcspkr ath of_i2c joydev snd_hda_codec_idt mac80211 i915 sky2 cfg80211 snd_hda_intel rfkill snd_hda_codec drm_kms_helper snd_hwdep drm snd_pcm i2c_algo_bit snd_page_alloc i2c_core snd_timer snd soundcore lpc_ich video shpchp intel_agp intel_gtt agpgart button acpi_cpufreq mperf processor ext4 crc16 mbcache jbd2 xts gf128mul hid_appleir hid_generic hid_cherry usbhid hid dm_crypt dm_mod usb_storage sd_mod sr_mod cdrom ata_generic pata_acpi ata_piix libata firewire_ohci scsi_mod firewire_core crc_itu_t ehci_pci uhci_hcd ehci_hcd usbcore usb_common
[   66.003142] CPU: 1 PID: 289 Comm: X Tainted: G        W    3.11.2-1-ARCH #1
[   66.003144] Hardware name: Apple Inc. Macmini2,1
[   66.003147]  00000000 00000000 f6f598b0 c141bc5f f6f598f0 f6f598e0 c104560e f8f74959
[   66.003154]  f6f5990c 00000121 f8f6c3b4 0000206b f8f28240 f8f28240 f5016650 f5016000
[   66.003161]  0000000a f6f598f8 c1045663 00000009 f6f598f0 f8f74959 f6f5990c f6f59b60
[   66.003168] Call Trace:
[   66.003176]  [<c141bc5f>] dump_stack+0x4b/0x79
[   66.003182]  [<c104560e>] warn_slowpath_common+0x7e/0xa0
[   66.003197]  [<f8f28240>] ? check_crtc_state+0x590/0xb30 [i915]
[   66.003211]  [<f8f28240>] ? check_crtc_state+0x590/0xb30 [i915]
[   66.003216]  [<c1045663>] warn_slowpath_fmt+0x33/0x40
[   66.003230]  [<f8f28240>] check_crtc_state+0x590/0xb30 [i915]
[   66.003248]  [<f8f31e83>] intel_modeset_check_state+0x2a3/0x760 [i915]
[   66.003264]  [<f8f323d0>] intel_set_mode+0x30/0x40 [i915]
[   66.003278]  [<f8f334e0>] intel_get_load_detect_pipe+0x230/0x3a0 [i915]
[   66.003298]  [<f8c157f4>] ? __ext4_handle_dirty_metadata+0x64/0x130 [ext4]
[   66.003314]  [<f8f52857>] intel_tv_detect+0xe7/0x4a0 [i915]
[   66.003322]  [<f8b1a13f>] ? jbd2_journal_stop+0x24f/0x3e0 [jbd2]
[   66.003329]  [<f86b2448>] drm_helper_probe_single_connector_modes+0x1b8/0x340 [drm_kms_helper]
[   66.003361]  [<f86d4fe5>] drm_mode_getconnector+0x305/0x350 [drm]
[   66.003370]  [<c1101c3f>] ? __generic_file_aio_write+0x1ef/0x460
[   66.003381]  [<f86d4ce0>] ? drm_mode_getcrtc+0xc0/0xc0 [drm]
[   66.003389]  [<f86c7c5a>] drm_ioctl+0x49a/0x540 [drm]
[   66.003400]  [<f8be5300>] ? ext4_file_write+0xd0/0x470 [ext4]
[   66.003409]  [<f86d4ce0>] ? drm_mode_getcrtc+0xc0/0xc0 [drm]
[   66.003417]  [<c1152421>] ? do_sync_write+0x61/0x90
[   66.003425]  [<f86c77c0>] ? drm_copy_field+0x70/0x70 [drm]
[   66.003429]  [<c1162446>] do_vfs_ioctl+0x2e6/0x4e0
[   66.003434]  [<c11548d1>] ? __sb_end_write+0x31/0x70
[   66.003438]  [<c1152cd5>] ? vfs_write+0x185/0x1c0
[   66.003442]  [<c11626bf>] SyS_ioctl+0x7f/0x90
[   66.003448]  [<c142850d>] sysenter_do_call+0x12/0x28
[   66.003459] ---[ end trace a8bb9aa7d94acce2 ]---
[   66.186347] [drm:intel_pipe_config_compare] *ERROR* mismatch in adjusted_mode.flags (expected 2, found 0)
[   66.186355] ------------[ cut here ]------------
[   66.186385] WARNING: CPU: 1 PID: 289 at drivers/gpu/drm/i915/intel_display.c:8299 check_crtc_state+0x590/0xb30 [i915]()
[   66.186388] pipe state doesn't match!
[   66.186390] Modules linked in: arc4 coretemp kvm_intel kvm iTCO_wdt applesmc microcode iTCO_vendor_support ath5k evdev i2c_i801 input_polldev pcspkr ath of_i2c joydev snd_hda_codec_idt mac80211 i915 sky2 cfg80211 snd_hda_intel rfkill snd_hda_codec drm_kms_helper snd_hwdep drm snd_pcm i2c_algo_bit snd_page_alloc i2c_core snd_timer snd soundcore lpc_ich video shpchp intel_agp intel_gtt agpgart button acpi_cpufreq mperf processor ext4 crc16 mbcache jbd2 xts gf128mul hid_appleir hid_generic hid_cherry usbhid hid dm_crypt dm_mod usb_storage sd_mod sr_mod cdrom ata_generic pata_acpi ata_piix libata firewire_ohci scsi_mod firewire_core crc_itu_t ehci_pci uhci_hcd ehci_hcd usbcore usb_common
[   66.186452] CPU: 1 PID: 289 Comm: X Tainted: G        W    3.11.2-1-ARCH #1
[   66.186455] Hardware name: Apple Inc. Macmini2,1
[   66.186457]  00000000 00000000 f6f598b0 c141bc5f f6f598f0 f6f598e0 c104560e f8f74959
[   66.186464]  f6f5990c 00000121 f8f6c3b4 0000206b f8f28240 f8f28240 f5016650 f5016000
[   66.186471]  0000000a f6f598f8 c1045663 00000009 f6f598f0 f8f74959 f6f5990c f6f59b60
[   66.186477] Call Trace:
[   66.186485]  [<c141bc5f>] dump_stack+0x4b/0x79
[   66.186492]  [<c104560e>] warn_slowpath_common+0x7e/0xa0
[   66.186507]  [<f8f28240>] ? check_crtc_state+0x590/0xb30 [i915]
[   66.186521]  [<f8f28240>] ? check_crtc_state+0x590/0xb30 [i915]
[   66.186525]  [<c1045663>] warn_slowpath_fmt+0x33/0x40
[   66.186539]  [<f8f28240>] check_crtc_state+0x590/0xb30 [i915]
[   66.186557]  [<f8f31e83>] intel_modeset_check_state+0x2a3/0x760 [i915]
[   66.186573]  [<f8f323d0>] intel_set_mode+0x30/0x40 [i915]
[   66.186588]  [<f8f334e0>] intel_get_load_detect_pipe+0x230/0x3a0 [i915]
[   66.186594]  [<c141f12d>] ? mutex_unlock+0xd/0x10
[   66.186608]  [<f8f3246d>] ? intel_release_load_detect_pipe+0x8d/0xf0 [i915]
[   66.186625]  [<f8f52857>] intel_tv_detect+0xe7/0x4a0 [i915]
[   66.186633]  [<f86b2448>] drm_helper_probe_single_connector_modes+0x1b8/0x340 [drm_kms_helper]
[   66.186647]  [<f86d4fe5>] drm_mode_getconnector+0x305/0x350 [drm]
[   66.186657]  [<f86d4ce0>] ? drm_mode_getcrtc+0xc0/0xc0 [drm]
[   66.186665]  [<f86c7c5a>] drm_ioctl+0x49a/0x540 [drm]
[   66.186697]  [<f8be5300>] ? ext4_file_write+0xd0/0x470 [ext4]
[   66.186708]  [<f86d4ce0>] ? drm_mode_getcrtc+0xc0/0xc0 [drm]
[   66.186715]  [<c1152421>] ? do_sync_write+0x61/0x90
[   66.186723]  [<f86c77c0>] ? drm_copy_field+0x70/0x70 [drm]
[   66.186727]  [<c1162446>] do_vfs_ioctl+0x2e6/0x4e0
[   66.186731]  [<c11548d1>] ? __sb_end_write+0x31/0x70
[   66.186735]  [<c1152cd5>] ? vfs_write+0x185/0x1c0
[   66.186739]  [<c11626bf>] SyS_ioctl+0x7f/0x90
[   66.186746]  [<c142850d>] sysenter_do_call+0x12/0x28
[   66.186749] ---[ end trace a8bb9aa7d94acce3 ]---
[   66.689791] [drm:intel_pipe_config_compare] *ERROR* mismatch in adjusted_mode.flags (expected 2, found 0)
[   66.689796] ------------[ cut here ]------------
[   66.689813] WARNING: CPU: 0 PID: 289 at drivers/gpu/drm/i915/intel_display.c:8299 check_crtc_state+0x590/0xb30 [i915]()
[   66.689815] pipe state doesn't match!
[   66.689817] Modules linked in: arc4 coretemp kvm_intel kvm iTCO_wdt applesmc microcode iTCO_vendor_support ath5k evdev i2c_i801 input_polldev pcspkr ath of_i2c joydev snd_hda_codec_idt mac80211 i915 sky2 cfg80211 snd_hda_intel rfkill snd_hda_codec drm_kms_helper snd_hwdep drm snd_pcm i2c_algo_bit snd_page_alloc i2c_core snd_timer snd soundcore lpc_ich video shpchp intel_agp intel_gtt agpgart button acpi_cpufreq mperf processor ext4 crc16 mbcache jbd2 xts gf128mul hid_appleir hid_generic hid_cherry usbhid hid dm_crypt dm_mod usb_storage sd_mod sr_mod cdrom ata_generic pata_acpi ata_piix libata firewire_ohci scsi_mod firewire_core crc_itu_t ehci_pci uhci_hcd ehci_hcd usbcore usb_common
[   66.689874] CPU: 0 PID: 289 Comm: X Tainted: G        W    3.11.2-1-ARCH #1
[   66.689876] Hardware name: Apple Inc. Macmini2,1
[   66.689878]  00000000 00000000 f6f598b0 c141bc5f f6f598f0 f6f598e0 c104560e f8f74959
[   66.689885]  f6f5990c 00000121 f8f6c3b4 0000206b f8f28240 f8f28240 f5016650 f5016000
[   66.689892]  0000000a f6f598f8 c1045663 00000009 f6f598f0 f8f74959 f6f5990c f6f59b60
[   66.689898] Call Trace:
[   66.689904]  [<c141bc5f>] dump_stack+0x4b/0x79
[   66.689909]  [<c104560e>] warn_slowpath_common+0x7e/0xa0
[   66.689923]  [<f8f28240>] ? check_crtc_state+0x590/0xb30 [i915]
[   66.689937]  [<f8f28240>] ? check_crtc_state+0x590/0xb30 [i915]
[   66.689941]  [<c1045663>] warn_slowpath_fmt+0x33/0x40
[   66.689956]  [<f8f28240>] check_crtc_state+0x590/0xb30 [i915]
[   66.689973]  [<f8f31e83>] intel_modeset_check_state+0x2a3/0x760 [i915]
[   66.689989]  [<f8f323d0>] intel_set_mode+0x30/0x40 [i915]
[   66.689998]  [<f8f334e0>] intel_get_load_detect_pipe+0x230/0x3a0 [i915]
[   66.690035]  [<f8c157f4>] ? __ext4_handle_dirty_metadata+0x64/0x130 [ext4]
[   66.690053]  [<f8f52857>] intel_tv_detect+0xe7/0x4a0 [i915]
[   66.690062]  [<f8b1a13f>] ? jbd2_journal_stop+0x24f/0x3e0 [jbd2]
[   66.690069]  [<f86b2448>] drm_helper_probe_single_connector_modes+0x1b8/0x340 [drm_kms_helper]
[   66.690080]  [<f86d4fe5>] drm_mode_getconnector+0x305/0x350 [drm]
[   66.690087]  [<c1101c3f>] ? __generic_file_aio_write+0x1ef/0x460
[   66.690096]  [<f86d4ce0>] ? drm_mode_getcrtc+0xc0/0xc0 [drm]
[   66.690103]  [<f86c7c5a>] drm_ioctl+0x49a/0x540 [drm]
[   66.690114]  [<f8be5300>] ? ext4_file_write+0xd0/0x470 [ext4]
[   66.690123]  [<f86d4ce0>] ? drm_mode_getcrtc+0xc0/0xc0 [drm]
[   66.690129]  [<c1152421>] ? do_sync_write+0x61/0x90
[   66.690136]  [<f86c77c0>] ? drm_copy_field+0x70/0x70 [drm]
[   66.690140]  [<c1162446>] do_vfs_ioctl+0x2e6/0x4e0
[   66.690144]  [<c11548d1>] ? __sb_end_write+0x31/0x70
[   66.690148]  [<c1152cd5>] ? vfs_write+0x185/0x1c0
[   66.690152]  [<c11626bf>] SyS_ioctl+0x7f/0x90
[   66.690157]  [<c142850d>] sysenter_do_call+0x12/0x28
[   66.690160] ---[ end trace a8bb9aa7d94acce4 ]---
[   66.893039] [drm:intel_pipe_config_compare] *ERROR* mismatch in adjusted_mode.flags (expected 2, found 0)
[   66.893042] ------------[ cut here ]------------
[   66.893058] WARNING: CPU: 1 PID: 289 at drivers/gpu/drm/i915/intel_display.c:8299 check_crtc_state+0x590/0xb30 [i915]()
[   66.893060] pipe state doesn't match!
[   66.893062] Modules linked in: arc4 coretemp kvm_intel kvm iTCO_wdt applesmc microcode iTCO_vendor_support ath5k evdev i2c_i801 input_polldev pcspkr ath of_i2c joydev snd_hda_codec_idt mac80211 i915 sky2 cfg80211 snd_hda_intel rfkill snd_hda_codec drm_kms_helper snd_hwdep drm snd_pcm i2c_algo_bit snd_page_alloc i2c_core snd_timer snd soundcore lpc_ich video shpchp intel_agp intel_gtt agpgart button acpi_cpufreq mperf processor ext4 crc16 mbcache jbd2 xts gf128mul hid_appleir hid_generic hid_cherry usbhid hid dm_crypt dm_mod usb_storage sd_mod sr_mod cdrom ata_generic pata_acpi ata_piix libata firewire_ohci scsi_mod firewire_core crc_itu_t ehci_pci uhci_hcd ehci_hcd usbcore usb_common
[   66.893116] CPU: 1 PID: 289 Comm: X Tainted: G        W    3.11.2-1-ARCH #1
[   66.893119] Hardware name: Apple Inc. Macmini2,1
[   66.893121]  00000000 00000000 f6f598b0 c141bc5f f6f598f0 f6f598e0 c104560e f8f74959
[   66.893128]  f6f5990c 00000121 f8f6c3b4 0000206b f8f28240 f8f28240 f5016650 f5016000
[   66.893135]  0000000a f6f598f8 c1045663 00000009 f6f598f0 f8f74959 f6f5990c f6f59b60
[   66.893141] Call Trace:
[   66.893146]  [<c141bc5f>] dump_stack+0x4b/0x79
[   66.893151]  [<c104560e>] warn_slowpath_common+0x7e/0xa0
[   66.893165]  [<f8f28240>] ? check_crtc_state+0x590/0xb30 [i915]
[   66.893179]  [<f8f28240>] ? check_crtc_state+0x590/0xb30 [i915]
[   66.893184]  [<c1045663>] warn_slowpath_fmt+0x33/0x40
[   66.893198]  [<f8f28240>] check_crtc_state+0x590/0xb30 [i915]
[   66.893215]  [<f8f31e83>] intel_modeset_check_state+0x2a3/0x760 [i915]
[   66.893231]  [<f8f323d0>] intel_set_mode+0x30/0x40 [i915]
[   66.893245]  [<f8f334e0>] intel_get_load_detect_pipe+0x230/0x3a0 [i915]
[   66.893251]  [<c141f12d>] ? mutex_unlock+0xd/0x10
[   66.893265]  [<f8f3246d>] ? intel_release_load_detect_pipe+0x8d/0xf0 [i915]
[   66.893281]  [<f8f52857>] intel_tv_detect+0xe7/0x4a0 [i915]
[   66.893289]  [<f86b2448>] drm_helper_probe_single_connector_modes+0x1b8/0x340 [drm_kms_helper]
[   66.893300]  [<f86d4fe5>] drm_mode_getconnector+0x305/0x350 [drm]
[   66.893310]  [<f86d4ce0>] ? drm_mode_getcrtc+0xc0/0xc0 [drm]
[   66.893317]  [<f86c7c5a>] drm_ioctl+0x49a/0x540 [drm]
[   66.893328]  [<f8be5300>] ? ext4_file_write+0xd0/0x470 [ext4]
[   66.893351]  [<f86d4ce0>] ? drm_mode_getcrtc+0xc0/0xc0 [drm]
[   66.893359]  [<c1152421>] ? do_sync_write+0x61/0x90
[   66.893366]  [<f86c77c0>] ? drm_copy_field+0x70/0x70 [drm]
[   66.893370]  [<c1162446>] do_vfs_ioctl+0x2e6/0x4e0
[   66.893374]  [<c11548d1>] ? __sb_end_write+0x31/0x70
[   66.893378]  [<c1152cd5>] ? vfs_write+0x185/0x1c0
[   66.893382]  [<c11626bf>] SyS_ioctl+0x7f/0x90
[   66.893387]  [<c142850d>] sysenter_do_call+0x12/0x28
[   66.893396] ---[ end trace a8bb9aa7d94acce5 ]---
Comment 1 Carsten Mattner 2013-09-27 08:45:24 UTC
Distro bug: https://bugs.archlinux.org/task/37085
Comment 2 Carsten Mattner 2013-09-27 08:47:27 UTC
Hardware is Intel 945GM
Comment 3 Daniel Vetter 2013-09-27 09:20:19 UTC
Can you please test with the latest drm-intel-fixes git branch from http://cgit.freedesktop.org/~danvet/drm-intel/

If the issue persists please boot with drm.debug=0xe, reproduce the WARN and then attach the complete dmesg to this bug report.
Comment 4 Carsten Mattner 2013-09-27 10:02:32 UTC
(In reply to comment #3)
> Can you please test with the latest drm-intel-fixes git branch from
> http://cgit.freedesktop.org/~danvet/drm-intel/
> 
> If the issue persists please boot with drm.debug=0xe, reproduce the WARN and
> then attach the complete dmesg to this bug report.

I tried with 3.11.1 and that one's still good. I don't know if I can
get a kernel built but might give a try later and can't reboot the
machine at the moment anyhow.

Don't you think https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=cc0ffca95bf3e8cd393327c444c5bf4493deda90 is at fault?
Comment 5 John 2013-09-27 19:16:19 UTC
I can confirm the bug on my i7-3770k (onboard HD 4000).  If I revert the commit that Carsten linked in comment #4, I get no such error in dmesg.

Section of dmsg under 3.11.2 without revert:
[    0.738132] fbcon: inteldrmfb (fb0) is primary device
[    0.939391] [drm:intel_dp_complete_link_train] *ERROR* failed to train DP, aborting
[    1.022675] [drm:intel_pipe_config_compare] *ERROR* mismatch in pch_pfit.size (expected 0, found 167773600)
[    1.022675] ------------[ cut here ]------------
[    1.022686] WARNING: CPU: 0 PID: 78 at drivers/gpu/drm/i915/intel_display.c:8299 check_crtc_state+0x59f/0x9d0 [i915]()
[    1.022687] pipe state doesn't match!
[    1.022689] Modules linked in: i915(+) video button i2c_algo_bit intel_agp intel_gtt drm_kms_helper drm i2c_core
[    1.022690] CPU: 0 PID: 78 Comm: modprobe Not tainted 3.11.2-1-custom #1
[    1.022691] Hardware name: System manufacturer System Product Name/P8Z77-V PRO, BIOS 2104 08/13/2013
[    1.022693]  0000000000000009 ffff880408647180 ffffffff8147721d ffff8804086471c8
[    1.022694]  ffff8804086471b8 ffffffff81048efd ffff880409a1b6d8 ffff8804085d6800
[    1.022695]  0000000000000001 ffff8804085d6ca0 ffff880409a1b000 ffff880408647218
[    1.022696] Call Trace:
[    1.022699]  [<ffffffff8147721d>] dump_stack+0x54/0x8d
[    1.022701]  [<ffffffff81048efd>] warn_slowpath_common+0x7d/0xa0
[    1.022702]  [<ffffffff81048f6c>] warn_slowpath_fmt+0x4c/0x50
[    1.022711]  [<ffffffffa00be91f>] check_crtc_state+0x59f/0x9d0 [i915]
[    1.022720]  [<ffffffffa00c91e3>] intel_modeset_check_state+0x2c3/0x770 [i915]
[    1.022727]  [<ffffffffa00c9725>] intel_set_mode+0x25/0x30 [i915]
[    1.022733]  [<ffffffffa00c9f92>] intel_crtc_set_config+0x762/0x920 [i915]
[    1.022737]  [<ffffffffa001dc5d>] drm_mode_set_config_internal+0x5d/0xe0 [drm]
[    1.022739]  [<ffffffffa0064681>] drm_fb_helper_set_par+0x71/0xf0 [drm_kms_helper]
[    1.022741]  [<ffffffff812bd2b4>] fbcon_init+0x504/0x580
[    1.022743]  [<ffffffff813180fc>] visual_init+0xbc/0x120
[    1.022744]  [<ffffffff8131a6a3>] do_bind_con_driver+0x163/0x380
[    1.022745]  [<ffffffff8131aea4>] do_take_over_console+0x114/0x1c0
[    1.022747]  [<ffffffff812bd393>] do_fbcon_takeover+0x63/0xd0
[    1.022748]  [<ffffffff812c1ae5>] fbcon_event_notify+0x605/0x720
[    1.022750]  [<ffffffff8148164c>] notifier_call_chain+0x4c/0x70
[    1.022751]  [<ffffffff8106fe3d>] __blocking_notifier_call_chain+0x4d/0x70
[    1.022752]  [<ffffffff8106fe76>] blocking_notifier_call_chain+0x16/0x20
[    1.022754]  [<ffffffff812b190b>] fb_notifier_call_chain+0x1b/0x20
[    1.022755]  [<ffffffff812b38dd>] register_framebuffer+0x1dd/0x310
[    1.022757]  [<ffffffffa006442f>] drm_fb_helper_initial_config+0x32f/0x510 [drm_kms_helper]
[    1.022760]  [<ffffffffa001c75f>] ? drm_mode_config_reset+0xcf/0xf0 [drm]
[    1.022762]  [<ffffffff8115dfc5>] ? kmem_cache_alloc_trace+0x225/0x270
[    1.022763]  [<ffffffffa00628a9>] ? drm_fb_helper_init+0x179/0x210 [drm_kms_helper]
[    1.022773]  [<ffffffffa00ea551>] intel_fbdev_initial_config+0x21/0x30 [i915]
[    1.022781]  [<ffffffffa0099351>] i915_driver_load+0xdc1/0xdf0 [i915]
[    1.022785]  [<ffffffffa0019486>] drm_get_pci_dev+0x166/0x280 [drm]
[    1.022792]  [<ffffffffa009471c>] i915_pci_probe+0x2c/0x70 [i915]
[    1.022794]  [<ffffffff81289d7e>] local_pci_probe+0x3e/0x70
[    1.022796]  [<ffffffff81289f71>] pci_device_probe+0x111/0x120
[    1.022798]  [<ffffffff8133b927>] driver_probe_device+0x87/0x3a0
[    1.022799]  [<ffffffff8133bd13>] __driver_attach+0x93/0xa0
[    1.022800]  [<ffffffff8133bc80>] ? __device_attach+0x40/0x40
[    1.022802]  [<ffffffff81339843>] bus_for_each_dev+0x63/0xa0
[    1.022803]  [<ffffffff8133b37e>] driver_attach+0x1e/0x20
[    1.022804]  [<ffffffff8133af18>] bus_add_driver+0x1e8/0x2a0
[    1.022805]  [<ffffffffa012a000>] ? 0xffffffffa0129fff
[    1.022806]  [<ffffffff8133c384>] driver_register+0x74/0x150
[    1.022807]  [<ffffffffa012a000>] ? 0xffffffffa0129fff
[    1.022808]  [<ffffffff81289bfd>] __pci_register_driver+0x4d/0x50
[    1.022811]  [<ffffffffa00196ba>] drm_pci_init+0x11a/0x130 [drm]
[    1.022812]  [<ffffffff8147ac8e>] ? mutex_unlock+0xe/0x10
[    1.022813]  [<ffffffffa012a000>] ? 0xffffffffa0129fff
[    1.022820]  [<ffffffffa012a066>] i915_init+0x66/0x68 [i915]
[    1.022821]  [<ffffffff810002c2>] do_one_initcall+0xf2/0x1a0
[    1.022822]  [<ffffffff8106fe48>] ? __blocking_notifier_call_chain+0x58/0x70
[    1.022824]  [<ffffffff810aa4c7>] load_module+0x1b17/0x25b0
[    1.022825]  [<ffffffff810a6f10>] ? store_uevent+0x40/0x40
[    1.022827]  [<ffffffff810ab0d6>] SyS_finit_module+0x86/0xb0
[    1.022829]  [<ffffffff81485546>] system_call_fastpath+0x1a/0x1f
[    1.022829] ---[ end trace 90f11c6df3f24fdf ]---
Comment 6 John 2013-09-27 19:42:11 UTC
Neglected to mention my box is x86_64 so I changed the tag on the bug (op's was i686).
Comment 7 Daniel Vetter 2013-09-27 19:49:51 UTC
Jon: You have a different bug, please separate a new report for it. When you do so please boot with drm.debug=0xe and attach the complete dmesg.

Carsten: Strange that the regression is from 3.11.1 to .2. But without the drm.debug=0xe dmesg I can't really tell much more.
Comment 8 John 2013-09-27 20:46:24 UTC
@Daniel - I rebooted with the debug flag bug could not replicate the error?!  Removing the debug flag as well, booted into a non-error state.  This is using the stock kernel (i.e. without reverting that commit).
Comment 9 Harvey 2013-09-29 12:19:22 UTC
Created attachment 86795 [details]
dmesg output
Comment 10 Harvey 2013-09-29 12:21:53 UTC
Comment on attachment 86795 [details]
dmesg output

This is on a headless home server, reproducible at every boot, error first showed up in 3.11.2 when updating from 3.11.1
Comment 11 Daniel Vetter 2013-09-29 12:31:16 UTC
(In reply to comment #10)
> Comment on attachment 86795 [details]
> dmesg output
> 
> This is on a headless home server, reproducible at every boot, error first
> showed up in 3.11.2 when updating from 3.11.1

This is a dupe of bug #69791.

In general _please_ file new bug reports, it's much easier for us to mark a bug as a duplicate than to untangle a maze of me-too reports that effectively are all different bug reports.

I know that bugzilla gives you a neat list of possible dupes, but ignoring that is usually the best option. Of course if an upstream dev told you (on irc or so) that there's a bug report already that's different.
Comment 12 Carsten Mattner 2013-10-01 13:41:43 UTC
Created attachment 86906 [details]
3.11.1 drm.debug=0xe
Comment 13 Carsten Mattner 2013-10-01 13:42:16 UTC
Created attachment 86907 [details]
3.11.2 drm.debug=0xe
Comment 14 Carsten Mattner 2013-10-01 13:42:41 UTC
Attached dmesg.
Comment 15 Daniel Vetter 2013-10-01 19:55:03 UTC
Fix is on it's way to stable kernels. Thanks for reporting this issue and please reopen in case my analysis is wrong.

*** This bug has been marked as a duplicate of bug 69791 ***
Comment 16 Carsten Mattner 2013-10-02 08:33:52 UTC
Created attachment 86947 [details]
3.11.1 drm.debug=0xe
Comment 17 Carsten Mattner 2013-10-02 08:34:13 UTC
Created attachment 86948 [details]
3.11.2 drm.debug=0xe
Comment 18 Carsten Mattner 2013-10-02 08:34:33 UTC
Created attachment 86949 [details]
3.11.3 drm.debug=0xe
Comment 19 Carsten Mattner 2013-10-02 08:35:23 UTC
(In reply to comment #15)
> Fix is on it's way to stable kernels. Thanks for reporting this issue and
> please reopen in case my analysis is wrong.
> 
> *** This bug has been marked as a duplicate of bug 69791 ***

Same problem with 3.11.3 switched back to 3.11.1.
Comment 20 Daniel Vetter 2013-10-02 21:17:14 UTC
I've somehow lost the cc: stable tag. Just sent a mail to greg, so this should get fixed asap.
Comment 21 Mike Parker 2013-10-06 19:46:59 UTC
Confirming Comment 19, issue NOT fixed by 3.11.3
Comment 22 Daniel Vetter 2013-10-06 20:13:59 UTC
(In reply to comment #21)
> Confirming Comment 19, issue NOT fixed by 3.11.3

The patch is on it's way, reopening the bug won't make it faster.

And indeed, it landed already in 3.11.4:

commit ca17380a57e7c94dc443fe4fd078bdb07e147b7f
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Tue Sep 10 11:44:30 2013 +0200

    drm/i915/tv: clear adjusted_mode.flags

Geez ...
Comment 23 Mike Parker 2013-10-11 17:11:31 UTC
Confirmed as fixed in 3.11.4
Comment 24 Elizabeth 2017-10-06 14:42:45 UTC
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.