Public bug reported:

Plugging a second monitor via a docking station or leaving the laptop
plugged and letting the screen go to sleep triggers an error from which
the system cannot recover (typically requires a restart).

May 05 16:14:23 laptop kernel: i915 0000:00:02.0: [drm] *ERROR* Link Training 
Unsuccessful
May 05 16:14:23 laptop kernel: ---[ end trace 78ca69c43885a7d9 ]---
May 05 16:14:23 laptop kernel:  </TASK>
May 05 16:14:23 laptop kernel:  ret_from_fork+0x1f/0x30
May 05 16:14:23 laptop kernel:  ? set_kthread_struct+0x50/0x50
May 05 16:14:23 laptop kernel:  kthread+0x127/0x150
May 05 16:14:23 laptop kernel:  ? process_one_work+0x3d0/0x3d0
May 05 16:14:23 laptop kernel:  worker_thread+0x53/0x420
May 05 16:14:23 laptop kernel:  process_one_work+0x228/0x3d0
May 05 16:14:23 laptop kernel:  i915_hotplug_work_func+0x1d8/0x2f0 [i915]
May 05 16:14:23 laptop kernel:  intel_ddi_hotplug+0xb5/0x1d0 [i915]
May 05 16:14:23 laptop kernel:  intel_dp_retrain_link+0x242/0x3a0 [i915]
May 05 16:14:23 laptop kernel:  intel_dp_start_link_train+0x136/0x1a0 [i915]
May 05 16:14:23 laptop kernel:  ? bdw_update_pipe_irq+0xd1/0x1d0 [i915]
May 05 16:14:23 laptop kernel:  intel_dp_link_train_phy+0x3a/0x110 [i915]
May 05 16:14:23 laptop kernel:  
intel_dp_link_training_clock_recovery+0x136/0x2a0 [i915]
May 05 16:14:23 laptop kernel:  intel_dp_get_adjust_train+0xff/0x290 [i915]
May 05 16:14:23 laptop kernel:  <TASK>
May 05 16:14:23 laptop kernel: Call Trace:
May 05 16:14:23 laptop kernel: CR2: 00007f3f521ad4b0 CR3: 0000000070610006 CR4: 
00000000003706e0
May 05 16:14:23 laptop kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
May 05 16:14:23 laptop kernel: FS:  0000000000000000(0000) 
GS:ffff97f3f7980000(0000) knlGS:0000000000000000
May 05 16:14:23 laptop kernel: R13: ffff97f2da5aa170 R14: 0000000000000004 R15: 
0000000000000000
May 05 16:14:23 laptop kernel: R10: ffffffffffffffff R11: 0000000000000001 R12: 
ffff97f2c12c2f50
May 05 16:14:23 laptop kernel: RBP: ffffbe9cc837fba8 R08: 0000000000000003 R09: 
00000000b4a411e2
May 05 16:14:23 laptop kernel: RDX: ffff97f3f79a0588 RSI: 0000000000000001 RDI: 
ffff97f3f79a0580
May 05 16:14:23 laptop kernel: RAX: 0000000000000000 RBX: ffff97f2db200000 RCX: 
0000000000000027
May 05 16:14:23 laptop kernel: RSP: 0018:ffffbe9cc837fb80 EFLAGS: 00010282
May 05 16:14:23 laptop kernel: Code: 4c 8b 67 50 4d 85 e4 75 03 4c 8b 27 e8 de 
ff 3f f2 48 c7 c1 40 af 95 c0 4c 89 e2 48 c7 c7 ef 70 97 c0 48 89 c6 e8 f6 a9 
88 f2 <0f> 0b b8 09 00 00 00 c7 45 e4 0a 00 00 00 e9 4e ff ff ff 48 89 c6
May 05 16:14:23 laptop kernel: RIP: 0010:intel_ddi_dp_voltage_max+0xeb/0x120 
[i915]
May 05 16:14:23 laptop kernel: Workqueue: events i915_hotplug_work_func [i915]
May 05 16:14:23 laptop kernel: Hardware name: LENOVO 20K5S0T200/20K5S0T200, 
BIOS R0IET36W (1.14 ) 05/02/2017
May 05 16:14:23 laptop kernel: CPU: 3 PID: 17616 Comm: kworker/3:0 Tainted: G   
     W         5.15.0-72-generic #79-Ubuntu
May 05 16:14:23 laptop kernel:  ledtrig_audio snd_rawmidi mei_me 
intel_pch_thermal mei snd_seq snd_seq_device snd_timer snd soundcore 
platform_profile mac_hid acpi_pad sch_fq_codel msr parport_pc ppdev lp parport 
ramoops pstore_blk reed_solomon efi_pstore pstore_zone ip_tables x_tables 
autofs4 dm_crypt i915 crct10dif_pclmul crc32_pclmul ghash_clmulni_intel 
rtsx_pci_sdmmc i2c_algo_bit ttm drm_kms_helper aesni_intel syscopyarea 
sysfillrect sysimgblt fb_sys_fops crypto_simd cryptd cec nvme rc_core i2c_i801 
xhci_pci psmouse e1000e drm i2c_smbus nvme_core rtsx_pci xhci_pci_renesas wmi 
video
May 05 16:14:23 laptop kernel: Modules linked in: hid_logitech_hidpp 
hid_logitech_dj hid_generic usbhid hid ccm xfrm_user xfrm_algo l2tp_ppp 
l2tp_netlink l2tp_core ip6_udp_tunnel udp_tunnel pppox intel_rapl_msr mei_hdcp 
intel_rapl_common intel_tcc_cooling snd_soc_skl x86_pkg_temp_thermal 
intel_powerclamp snd_soc_hdac_hda coretemp snd_hda_ext_core snd_soc_sst_ipc 
kvm_intel snd_soc_sst_dsp binfmt_misc snd_soc_acpi_intel_match kvm snd_soc_acpi 
snd_soc_core snd_hda_codec_hdmi rapl nls_iso8859_1 intel_cstate joydev 
snd_ctl_led snd_compress input_leds ac97_bus snd_hda_codec_realtek 
snd_hda_codec_generic uvcvideo videobuf2_vmalloc videobuf2_memops 
snd_pcm_dmaengine videobuf2_v4l2 iwlmvm videobuf2_common videodev mc think_lmi 
firmware_attributes_class mac80211 serio_raw intel_wmi_thunderbolt 
snd_hda_intel snd_intel_dspcfg wmi_bmof libarc4 iwlwifi snd_intel_sdw_acpi 
ee1004 snd_hda_codec snd_hda_core snd_seq_midi snd_hwdep snd_seq_midi_event 
cfg80211 snd_pcm thinkpad_acpi nvram intel_xhci_usb_
 role_switch
May 05 16:14:23 laptop kernel: WARNING: CPU: 3 PID: 17616 at 
drivers/gpu/drm/i915/display/intel_ddi.c:1007 
intel_ddi_dp_voltage_max+0xeb/0x120 [i915]
May 05 16:14:23 laptop kernel: i915 0000:00:02.0: drm_WARN_ON(n_entries > 
(sizeof(index_to_dp_signal_levels) / sizeof((index_to_dp_signal_levels)[0]) + 
((int)(sizeof(struct { 
int:(-!!(__builtin_types_compatible_p(typeof((index_to_dp_signal_levels)), 
typeof(&(index_to_dp_signal_levels)[0])))); })))))
May 05 16:14:23 laptop kernel: ------------[ cut here ]------------

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: xserver-xorg-video-intel 2:2.99.917+git20210115-1
ProcVersionSignature: Ubuntu 5.15.0-72.79-generic 5.15.98
Uname: Linux 5.15.0-72-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.4
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckResult: unknown
CompizPlugins: No value set for 
`/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: None
CurrentDesktop: KDE
Date: Fri May  5 16:17:30 2023
DistUpgraded: 2023-02-12 15:29:46,619 DEBUG Running PostInstallScript: 
'/usr/lib/ubuntu-advantage/upgrade_lts_contract.py'
DistroCodename: jammy
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes, if not too technical
GraphicsCard:
 Intel Corporation Skylake GT2 [HD Graphics 520] [8086:1916] (rev 07) (prog-if 
00 [VGA controller])
   Subsystem: Lenovo Skylake GT2 [HD Graphics 520] [17aa:5062]
InstallationDate: Installed on 2021-02-07 (817 days ago)
InstallationMedia: Kubuntu 20.04.2 LTS "Focal Fossa" - Release amd64 (20210204)
MachineType: LENOVO 20K5S0T200
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.15.0-72-generic 
root=/dev/mapper/vgkubuntu-root ro quiet splash vt.handoff=7
SourcePackage: xserver-xorg-video-intel
UpgradeStatus: Upgraded to jammy on 2023-02-12 (81 days ago)
dmi.bios.date: 05/02/2017
dmi.bios.release: 1.14
dmi.bios.vendor: LENOVO
dmi.bios.version: R0IET36W (1.14 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20K5S0T200
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40700 WIN
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.ec.firmware.release: 1.12
dmi.modalias: 
dmi:bvnLENOVO:bvrR0IET36W(1.14):bd05/02/2017:br1.14:efr1.12:svnLENOVO:pn20K5S0T200:pvrThinkPadX270W10DG:rvnLENOVO:rn20K5S0T200:rvrSDK0J40700WIN:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_20K5_BU_Think_FM_ThinkPadX270W10DG:
dmi.product.family: ThinkPad X270 W10DG
dmi.product.name: 20K5S0T200
dmi.product.sku: LENOVO_MT_20K5_BU_Think_FM_ThinkPad X270 W10DG
dmi.product.version: ThinkPad X270 W10DG
dmi.sys.vendor: LENOVO
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.113-2~ubuntu0.22.04.1
version.libgl1-mesa-dri: libgl1-mesa-dri 22.2.5-0ubuntu0.1~22.04.1
version.libgl1-mesa-glx: libgl1-mesa-glx 22.2.5-0ubuntu0.1~22.04.1
version.xserver-xorg-core: xserver-xorg-core 2:21.1.4-2ubuntu1.7~22.04.1
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-2ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20210115-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.17-2build1

** Affects: xserver-xorg-video-intel (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug jammy ubuntu

** Attachment added: "journalctl -r"
   https://bugs.launchpad.net/bugs/2018610/+attachment/5671270/+files/bug.txt

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xserver-xorg-video-intel in Ubuntu.
https://bugs.launchpad.net/bugs/2018610

Title:
  hotplug of second monitor or screen sleep causes i915 0000:00:02.0:
  [drm] *ERROR* Link Training Unsuccessful

Status in xserver-xorg-video-intel package in Ubuntu:
  New

Bug description:
  Plugging a second monitor via a docking station or leaving the laptop
  plugged and letting the screen go to sleep triggers an error from
  which the system cannot recover (typically requires a restart).

  May 05 16:14:23 laptop kernel: i915 0000:00:02.0: [drm] *ERROR* Link Training 
Unsuccessful
  May 05 16:14:23 laptop kernel: ---[ end trace 78ca69c43885a7d9 ]---
  May 05 16:14:23 laptop kernel:  </TASK>
  May 05 16:14:23 laptop kernel:  ret_from_fork+0x1f/0x30
  May 05 16:14:23 laptop kernel:  ? set_kthread_struct+0x50/0x50
  May 05 16:14:23 laptop kernel:  kthread+0x127/0x150
  May 05 16:14:23 laptop kernel:  ? process_one_work+0x3d0/0x3d0
  May 05 16:14:23 laptop kernel:  worker_thread+0x53/0x420
  May 05 16:14:23 laptop kernel:  process_one_work+0x228/0x3d0
  May 05 16:14:23 laptop kernel:  i915_hotplug_work_func+0x1d8/0x2f0 [i915]
  May 05 16:14:23 laptop kernel:  intel_ddi_hotplug+0xb5/0x1d0 [i915]
  May 05 16:14:23 laptop kernel:  intel_dp_retrain_link+0x242/0x3a0 [i915]
  May 05 16:14:23 laptop kernel:  intel_dp_start_link_train+0x136/0x1a0 [i915]
  May 05 16:14:23 laptop kernel:  ? bdw_update_pipe_irq+0xd1/0x1d0 [i915]
  May 05 16:14:23 laptop kernel:  intel_dp_link_train_phy+0x3a/0x110 [i915]
  May 05 16:14:23 laptop kernel:  
intel_dp_link_training_clock_recovery+0x136/0x2a0 [i915]
  May 05 16:14:23 laptop kernel:  intel_dp_get_adjust_train+0xff/0x290 [i915]
  May 05 16:14:23 laptop kernel:  <TASK>
  May 05 16:14:23 laptop kernel: Call Trace:
  May 05 16:14:23 laptop kernel: CR2: 00007f3f521ad4b0 CR3: 0000000070610006 
CR4: 00000000003706e0
  May 05 16:14:23 laptop kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 
0000000080050033
  May 05 16:14:23 laptop kernel: FS:  0000000000000000(0000) 
GS:ffff97f3f7980000(0000) knlGS:0000000000000000
  May 05 16:14:23 laptop kernel: R13: ffff97f2da5aa170 R14: 0000000000000004 
R15: 0000000000000000
  May 05 16:14:23 laptop kernel: R10: ffffffffffffffff R11: 0000000000000001 
R12: ffff97f2c12c2f50
  May 05 16:14:23 laptop kernel: RBP: ffffbe9cc837fba8 R08: 0000000000000003 
R09: 00000000b4a411e2
  May 05 16:14:23 laptop kernel: RDX: ffff97f3f79a0588 RSI: 0000000000000001 
RDI: ffff97f3f79a0580
  May 05 16:14:23 laptop kernel: RAX: 0000000000000000 RBX: ffff97f2db200000 
RCX: 0000000000000027
  May 05 16:14:23 laptop kernel: RSP: 0018:ffffbe9cc837fb80 EFLAGS: 00010282
  May 05 16:14:23 laptop kernel: Code: 4c 8b 67 50 4d 85 e4 75 03 4c 8b 27 e8 
de ff 3f f2 48 c7 c1 40 af 95 c0 4c 89 e2 48 c7 c7 ef 70 97 c0 48 89 c6 e8 f6 
a9 88 f2 <0f> 0b b8 09 00 00 00 c7 45 e4 0a 00 00 00 e9 4e ff ff ff 48 89 c6
  May 05 16:14:23 laptop kernel: RIP: 0010:intel_ddi_dp_voltage_max+0xeb/0x120 
[i915]
  May 05 16:14:23 laptop kernel: Workqueue: events i915_hotplug_work_func [i915]
  May 05 16:14:23 laptop kernel: Hardware name: LENOVO 20K5S0T200/20K5S0T200, 
BIOS R0IET36W (1.14 ) 05/02/2017
  May 05 16:14:23 laptop kernel: CPU: 3 PID: 17616 Comm: kworker/3:0 Tainted: G 
       W         5.15.0-72-generic #79-Ubuntu
  May 05 16:14:23 laptop kernel:  ledtrig_audio snd_rawmidi mei_me 
intel_pch_thermal mei snd_seq snd_seq_device snd_timer snd soundcore 
platform_profile mac_hid acpi_pad sch_fq_codel msr parport_pc ppdev lp parport 
ramoops pstore_blk reed_solomon efi_pstore pstore_zone ip_tables x_tables 
autofs4 dm_crypt i915 crct10dif_pclmul crc32_pclmul ghash_clmulni_intel 
rtsx_pci_sdmmc i2c_algo_bit ttm drm_kms_helper aesni_intel syscopyarea 
sysfillrect sysimgblt fb_sys_fops crypto_simd cryptd cec nvme rc_core i2c_i801 
xhci_pci psmouse e1000e drm i2c_smbus nvme_core rtsx_pci xhci_pci_renesas wmi 
video
  May 05 16:14:23 laptop kernel: Modules linked in: hid_logitech_hidpp 
hid_logitech_dj hid_generic usbhid hid ccm xfrm_user xfrm_algo l2tp_ppp 
l2tp_netlink l2tp_core ip6_udp_tunnel udp_tunnel pppox intel_rapl_msr mei_hdcp 
intel_rapl_common intel_tcc_cooling snd_soc_skl x86_pkg_temp_thermal 
intel_powerclamp snd_soc_hdac_hda coretemp snd_hda_ext_core snd_soc_sst_ipc 
kvm_intel snd_soc_sst_dsp binfmt_misc snd_soc_acpi_intel_match kvm snd_soc_acpi 
snd_soc_core snd_hda_codec_hdmi rapl nls_iso8859_1 intel_cstate joydev 
snd_ctl_led snd_compress input_leds ac97_bus snd_hda_codec_realtek 
snd_hda_codec_generic uvcvideo videobuf2_vmalloc videobuf2_memops 
snd_pcm_dmaengine videobuf2_v4l2 iwlmvm videobuf2_common videodev mc think_lmi 
firmware_attributes_class mac80211 serio_raw intel_wmi_thunderbolt 
snd_hda_intel snd_intel_dspcfg wmi_bmof libarc4 iwlwifi snd_intel_sdw_acpi 
ee1004 snd_hda_codec snd_hda_core snd_seq_midi snd_hwdep snd_seq_midi_event 
cfg80211 snd_pcm thinkpad_acpi nvram intel_xhci_us
 b_role_switch
  May 05 16:14:23 laptop kernel: WARNING: CPU: 3 PID: 17616 at 
drivers/gpu/drm/i915/display/intel_ddi.c:1007 
intel_ddi_dp_voltage_max+0xeb/0x120 [i915]
  May 05 16:14:23 laptop kernel: i915 0000:00:02.0: drm_WARN_ON(n_entries > 
(sizeof(index_to_dp_signal_levels) / sizeof((index_to_dp_signal_levels)[0]) + 
((int)(sizeof(struct { 
int:(-!!(__builtin_types_compatible_p(typeof((index_to_dp_signal_levels)), 
typeof(&(index_to_dp_signal_levels)[0])))); })))))
  May 05 16:14:23 laptop kernel: ------------[ cut here ]------------

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: xserver-xorg-video-intel 2:2.99.917+git20210115-1
  ProcVersionSignature: Ubuntu 5.15.0-72.79-generic 5.15.98
  Uname: Linux 5.15.0-72-generic x86_64
  ApportVersion: 2.20.11-0ubuntu82.4
  Architecture: amd64
  BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
  CasperMD5CheckResult: unknown
  CompizPlugins: No value set for 
`/apps/compiz-1/general/screen0/options/active_plugins'
  CompositorRunning: None
  CurrentDesktop: KDE
  Date: Fri May  5 16:17:30 2023
  DistUpgraded: 2023-02-12 15:29:46,619 DEBUG Running PostInstallScript: 
'/usr/lib/ubuntu-advantage/upgrade_lts_contract.py'
  DistroCodename: jammy
  DistroVariant: ubuntu
  ExtraDebuggingInterest: Yes, if not too technical
  GraphicsCard:
   Intel Corporation Skylake GT2 [HD Graphics 520] [8086:1916] (rev 07) 
(prog-if 00 [VGA controller])
     Subsystem: Lenovo Skylake GT2 [HD Graphics 520] [17aa:5062]
  InstallationDate: Installed on 2021-02-07 (817 days ago)
  InstallationMedia: Kubuntu 20.04.2 LTS "Focal Fossa" - Release amd64 
(20210204)
  MachineType: LENOVO 20K5S0T200
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.15.0-72-generic 
root=/dev/mapper/vgkubuntu-root ro quiet splash vt.handoff=7
  SourcePackage: xserver-xorg-video-intel
  UpgradeStatus: Upgraded to jammy on 2023-02-12 (81 days ago)
  dmi.bios.date: 05/02/2017
  dmi.bios.release: 1.14
  dmi.bios.vendor: LENOVO
  dmi.bios.version: R0IET36W (1.14 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 20K5S0T200
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40700 WIN
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: None
  dmi.ec.firmware.release: 1.12
  dmi.modalias: 
dmi:bvnLENOVO:bvrR0IET36W(1.14):bd05/02/2017:br1.14:efr1.12:svnLENOVO:pn20K5S0T200:pvrThinkPadX270W10DG:rvnLENOVO:rn20K5S0T200:rvrSDK0J40700WIN:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_20K5_BU_Think_FM_ThinkPadX270W10DG:
  dmi.product.family: ThinkPad X270 W10DG
  dmi.product.name: 20K5S0T200
  dmi.product.sku: LENOVO_MT_20K5_BU_Think_FM_ThinkPad X270 W10DG
  dmi.product.version: ThinkPad X270 W10DG
  dmi.sys.vendor: LENOVO
  version.compiz: compiz N/A
  version.libdrm2: libdrm2 2.4.113-2~ubuntu0.22.04.1
  version.libgl1-mesa-dri: libgl1-mesa-dri 22.2.5-0ubuntu0.1~22.04.1
  version.libgl1-mesa-glx: libgl1-mesa-glx 22.2.5-0ubuntu0.1~22.04.1
  version.xserver-xorg-core: xserver-xorg-core 2:21.1.4-2ubuntu1.7~22.04.1
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-2ubuntu1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20210115-1
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 
1:1.0.17-2build1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/2018610/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to