Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#42934 - [linux] i915 segfaults on setting external monitor as only screen (Lenovo W540 + Docking Station)

Attached to Project: Arch Linux
Opened by David Runge (dvzrv) - Friday, 28 November 2014, 01:47 GMT
Last edited by Doug Newgard (Scimmia) - Friday, 20 October 2017, 15:00 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
When using an external monitor on my Lenovo W540 DisplayPort and setting that monitor to be the only screen (i.e. using arandr/xrandr), the below mentioned segfault happens roughly every 4 seconds. Last stable linux kernel version is: 3.16.4 (mainline 3.18.x also seems to work).
Complete journal in attachment.

This bug can be "switched off" by adding the internal laptop screen to X again.


------------[ cut here ]------------
WARNING: CPU: 0 PID: 4 at drivers/gpu/drm/i915/intel_dp.c:1306 edp_panel_vdd_off.part.12+0x62/0x70 [i915]()
eDP VDD not forced on
Modules linked in:
uas usb_storage xt_CHECKSUM ipt_MASQUERADE nf_conntrack_netbios_ns nf_conntrack_broadcast xt_tcpudp ip6t_rpfilter ip6t_REJECT ipt_REJECT xt_conntrack ebtable_broute bridge stp llc ebtable_filter ebtable_nat ebtables ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_filter ip6table_raw ip6table_security ip6table_mangle ip6_tables iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_filter iptable_raw iptable_security iptable_mangle ip_tables x_tables bnep bbswitch(O) snd_usb_audio snd_usbmidi_lib uvcvideo videobuf2_vmalloc hid_logitech_dj videobuf2_memops videobuf2_core v4l2_common videodev usbhid ecb hid media btusb bluetooth snd_dice snd_firewire_lib snd_rawmidi snd_seq_device joydev mousedev arc4 snd_hda_codec_realtek snd_hda_codec_hdmi
snd_hda_codec_generic iTCO_wdt iTCO_vendor_support coretemp intel_rapl iwlmvm x86_pkg_temp_thermal intel_powerclamp kvm_intel mac80211 kvm crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel iwlwifi aes_x86_64 lrw gf128mul glue_helper ablk_helper psmouse cryptd cfg80211 serio_raw i2c_i801 thinkpad_acpi nvram rfkill tpm_tis hwmon tpm ac battery evdev mac_hid wmi thermal snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm e1000e snd_timer snd mei_me ie31200_edac mei soundcore ptp edac_core lpc_ich shpchp pps_core processor sch_fq_codel nfs lockd sunrpc fscache virtio loop fuse vhba(O) acpi_call(O) ext4 crc16 mbcache jbd2 sd_mod sr_mod cdrom crc_t10dif crct10dif_common atkbd libps2 ahci crc32c_intel libahci libata scsi_mod ehci_pci sdhci_pci firewire_ohci sdhci ehci_hcd
xhci_hcd led_class firewire_core crc_itu_t mmc_core usbcore usb_common i8042 serio i915 button intel_gtt i2c_algo_bit video drm_kms_helper drm i2c_core dm_mod
CPU: 0 PID: 4 Comm: kworker/0:0 Tainted: G W O 3.17.4-1-ARCH #1
Hardware name: LENOVO 20BG001KGE/20BG001KGE, BIOS GNET28WW (1.10 ) 11/21/2013
Workqueue: events i915_hotplug_work_func [i915]
0000000000000000 00000000def1d197 ffff8804680c7c90 ffffffff81537b0e
ffff8804680c7cd8 ffff8804680c7cc8 ffffffff8107078d ffff8804683660e0
0000000000000000 ffff8804655b0000 0000000000000011 0000000000000003
Call Trace:
[<ffffffff81537b0e>] dump_stack+0x4d/0x6f
[<ffffffff8107078d>] warn_slowpath_common+0x7d/0xa0
[<ffffffff8107080c>] warn_slowpath_fmt+0x5c/0x80
[<ffffffffa009ae4b>] ? drm_dp_dpcd_read+0x1b/0x20 [drm_kms_helper]
[<ffffffffa01290f2>] edp_panel_vdd_off.part.12+0x62/0x70 [i915]
[<ffffffffa0129a60>] intel_dp_probe_mst.part.13+0xb0/0xf0 [i915]
[<ffffffffa012a739>] intel_dp_detect+0xa9/0x230 [i915]
[<ffffffffa00e29c8>] i915_hotplug_work_func+0x1f8/0x310 [i915]
[<ffffffff81088df5>] process_one_work+0x145/0x400
[<ffffffff810893bb>] worker_thread+0x6b/0x4a0
[<ffffffff81089350>] ? init_pwq.part.22+0x10/0x10
[<ffffffff8108e2da>] kthread+0xea/0x100
[<ffffffff8108e1f0>] ? kthread_create_on_node+0x1b0/0x1b0
[<ffffffff8153da7c>] ret_from_fork+0x7c/0xb0
[<ffffffff8108e1f0>] ? kthread_create_on_node+0x1b0/0x1b0
---[ end trace 8d386c519d197604 ]---


Additional info:
3.18 < linux > 3.16.4
Other distros seem to have the same problem (also with other Lenovo laptop models): https://bugzilla.redhat.com/show_bug.cgi?id=1132632
Unfortunately I couldn't find anything related upstream...


Steps to reproduce:
- Start X.
- Connect external monitor via DisplayPort (apparently also all connectors of the provided DockingStations have the same issue)
- Make external monitor the only screen.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Friday, 20 October 2017, 15:00 GMT
Reason for closing:  No response
Comment by Philipp Claßen (PhCl) - Friday, 05 December 2014, 12:27 GMT
Confirmed. I also get the same error, also on Lenovo W540. I using 3.17.4-1-ARCH.

Here is the stacktrace from dmesg:

WARNING: CPU: 0 PID: 14395 at drivers/gpu/drm/i915/intel_dp.c:1306 edp_panel_vdd_off.part.12+0x62/0x70 [i915]()
eDP VDD not forced on
Modules linked in:
tun fuse ctr ccm snd_hda_codec_hdmi joydev snd_hda_codec_realtek snd_hda_codec_generic arc4 nls_iso8859_1 nls_cp437 vfat fat iwlmvm iTCO_wdt iTCO_vendor_support mac80211 coretemp intel_rapl x86_pkg_temp_thermal ecb intel_powerclamp iwlwifi nouveau i915 psmouse kvm uvcvideo mxm_wmi videobuf2_vmalloc serio_raw videobuf2_memops ttm cfg80211 pcspkr videobuf2_core evdev drm_kms_helper intel_gtt btusb v4l2_common bluetooth mousedev mac_hid ie31200_edac thinkpad_acpi videodev nvram snd_hda_intel drm snd_hda_controller media rfkill crc16 i2c_algo_bit snd_hda_codec i2c_i801 hwmon snd_hwdep e1000e wmi mei_me tpm_tis snd_pcm mei tpm i2c_core processor battery snd_timer ptp thermal video pps_core lpc_ich snd shpchp edac_core soundcore ac button sch_fq_codel btrfs xor raid6_pq algif_skcipher af_alg
hid_generic usbhid hid dm_crypt dm_mod sr_mod cdrom sd_mod crc_t10dif atkbd libps2 crct10dif_pclmul crct10dif_common crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul ahci glue_helper ablk_helper libahci cryptd ehci_pci libata sdhci_pci sdhci xhci_hcd ehci_hcd led_class scsi_mod mmc_core usbcore usb_common i8042 serio
CPU: 0 PID: 14395 Comm: kworker/0:1 Tainted: G W 3.17.4-1-ARCH #1
Hardware name: LENOVO 20BG0045GE/20BG0045GE, BIOS GNET66WW (2.14 ) 07/02/2014
Workqueue: events i915_hotplug_work_func [i915]
0000000000000000 00000000a128f1fd ffff8803eab4bc90 ffffffff81537b0e
ffff8803eab4bcd8 ffff8803eab4bcc8 ffffffff8107078d ffff88045d61b0e0
0000000000000000 ffff88045d460000 0000000000000011 0000000000000003
Call Trace:
[<ffffffff81537b0e>] dump_stack+0x4d/0x6f
[<ffffffff8107078d>] warn_slowpath_common+0x7d/0xa0
[<ffffffff8107080c>] warn_slowpath_fmt+0x5c/0x80
[<ffffffffa04dce4b>] ? drm_dp_dpcd_read+0x1b/0x20 [drm_kms_helper]
[<ffffffffa09200f2>] edp_panel_vdd_off.part.12+0x62/0x70 [i915]
[<ffffffffa0920a60>] intel_dp_probe_mst.part.13+0xb0/0xf0 [i915]
[<ffffffffa0921739>] intel_dp_detect+0xa9/0x230 [i915]
[<ffffffffa08d99c8>] i915_hotplug_work_func+0x1f8/0x310 [i915]
[<ffffffff81088df5>] process_one_work+0x145/0x400
[<ffffffff810893bb>] worker_thread+0x6b/0x4a0
[<ffffffff81089350>] ? init_pwq.part.22+0x10/0x10
[<ffffffff8108e2da>] kthread+0xea/0x100
[<ffffffff811c0000>] ? unpoison_memory+0x110/0x2d0
[<ffffffff8108e1f0>] ? kthread_create_on_node+0x1b0/0x1b0
[<ffffffff8153da7c>] ret_from_fork+0x7c/0xb0
[<ffffffff8108e1f0>] ? kthread_create_on_node+0x1b0/0x1b0
Comment by mattia (nTia89) - Monday, 02 October 2017, 17:52 GMT
is this issue still valid?

Loading...