Lenovo Thinkpad T540p - Kernel Crash 4.15.0-44 (18.04 LTS)

Bug #1813902 reported by Markus Lackner
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux-signed (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When notebook is in docking station the kernel crashes after bootup and logon in GDM.
If notebook is in standalone mode without any external devices connected everything works.

Tried to step back to Kernel 4.15.0-43-generic and everything works like a charm.

Description: Ubuntu 18.04.1 LTS
Release: 18.04

# apt-cache policy linux-image-4.15.0-44-generic
linux-image-4.15.0-44-generic:
  Installed: 4.15.0-44.47
  Candidate: 4.15.0-44.47
  Version table:
 *** 4.15.0-44.47 500
        500 http://at.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
        100 /var/lib/dpkg/status

/var/log/syslog reports a Kernel BUG...
Jan 30 10:18:41 bexlt036 kernel: [ 34.993161] BUG: unable to handle kernel NULL pointer dereference at 0000000000000245
Jan 30 10:18:41 bexlt036 kernel: [ 34.993215] IP: intel_ddi_post_disable+0x54/0x170 [i915]
Jan 30 10:18:41 bexlt036 kernel: [ 34.993217] PGD 0 P4D 0
Jan 30 10:18:41 bexlt036 kernel: [ 34.993222] Oops: 0000 [#1] SMP PTI
Jan 30 10:18:41 bexlt036 kernel: [ 34.993225] Modules linked in: ccm xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack libcrc32c ipt_REJECT nf_reject_ipv4 xt_tcpudp bridge stp llc ebtable_filter ebtables ip6table_filter ip6_tables devlink iptable_filter cmac bnep btusb btrtl btbcm cdc_mbim btintel cdc_wdm bluetooth cdc_ncm usbnet uvcvideo cdc_acm mii ecdh_generic joydev arc4 intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel snd_hda_codec_hdmi kvm snd_hda_codec_realtek snd_hda_codec_generic irqbypass snd_hda_intel intel_cstate snd_hda_codec intel_rapl_perf snd_hda_core snd_hwdep thinkpad_acpi snd_pcm nvram rmi_smbus iwlmvm rmi_core input_leds videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 mac80211 snd_seq_midi
Jan 30 10:18:41 bexlt036 kernel: [ 34.993282] videobuf2_core serio_raw videodev snd_seq_midi_event media iwlwifi snd_rawmidi wmi_bmof snd_seq rtsx_pci_ms memstick snd_seq_device cfg80211 snd_timer snd mei_me soundcore mei mac_hid lpc_ich shpchp ie31200_edac sch_fq_codel sunrpc parport_pc ppdev lp parport ip_tables x_tables autofs4 algif_skcipher af_alg dm_crypt hid_logitech_hidpp hid_logitech_dj hid_generic usbhid hid crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc rtsx_pci_sdmmc i915 ahci aesni_intel i2c_algo_bit e1000e aes_x86_64 drm_kms_helper crypto_simd glue_helper cryptd psmouse syscopyarea libahci sysfillrect sysimgblt fb_sys_fops drm ptp i2c_i801 rtsx_pci pps_core wmi video
Jan 30 10:18:41 bexlt036 kernel: [ 34.993339] CPU: 2 PID: 2890 Comm: Xorg Not tainted 4.15.0-44-generic #47-Ubuntu
Jan 30 10:18:41 bexlt036 kernel: [ 34.993341] Hardware name: LENOVO 20BE00B5GE/20BE00B5GE, BIOS GMET66WW (2.14 ) 07/01/2014
Jan 30 10:18:41 bexlt036 kernel: [ 34.993375] RIP: 0010:intel_ddi_post_disable+0x54/0x170 [i915]
Jan 30 10:18:41 bexlt036 kernel: [ 34.993377] RSP: 0018:ffffa739c28ef9f0 EFLAGS: 00010297
Jan 30 10:18:41 bexlt036 kernel: [ 34.993380] RAX: 0000000000000007 RBX: ffff95550026e000 RCX: ffffffffc054f272
Jan 30 10:18:41 bexlt036 kernel: [ 34.993383] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff95550026e000
Jan 30 10:18:41 bexlt036 kernel: [ 34.993385] RBP: ffffa739c28efa20 R08: 0000000000000000 R09: 0000000000000000
Jan 30 10:18:41 bexlt036 kernel: [ 34.993387] R10: 0000000000000047 R11: 000000000000028f R12: 0000000000000000
Jan 30 10:18:41 bexlt036 kernel: [ 34.993390] R13: ffff95550026e000 R14: ffff9554ffef8000 R15: ffff9554ffa62000
Jan 30 10:18:41 bexlt036 kernel: [ 34.993393] FS: 00007fbfc6b5b600(0000) GS:ffff95551e280000(0000) knlGS:0000000000000000
Jan 30 10:18:41 bexlt036 kernel: [ 34.993395] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jan 30 10:18:41 bexlt036 kernel: [ 34.993398] CR2: 0000000000000245 CR3: 00000003bc132003 CR4: 00000000001606e0
Jan 30 10:18:41 bexlt036 kernel: [ 34.993400] Call Trace:
Jan 30 10:18:41 bexlt036 kernel: [ 34.993432] ? intel_dp_sink_dpms+0xbb/0xf0 [i915]
Jan 30 10:18:41 bexlt036 kernel: [ 34.993462] intel_mst_post_disable_dp+0x99/0xd0 [i915]
Jan 30 10:18:41 bexlt036 kernel: [ 34.993494] intel_encoders_post_disable.isra.102+0x66/0x80 [i915]
Jan 30 10:18:41 bexlt036 kernel: [ 34.993523] haswell_crtc_disable+0xe8/0x150 [i915]
Jan 30 10:18:41 bexlt036 kernel: [ 34.993552] intel_atomic_commit_tail+0x7ea/0xd30 [i915]
Jan 30 10:18:41 bexlt036 kernel: [ 34.993580] intel_atomic_commit+0x277/0x2b0 [i915]
Jan 30 10:18:41 bexlt036 kernel: [ 34.993598] drm_atomic_commit+0x51/0x60 [drm]
Jan 30 10:18:41 bexlt036 kernel: [ 34.993609] drm_atomic_helper_set_config+0x7c/0x90 [drm_kms_helper]
Jan 30 10:18:41 bexlt036 kernel: [ 34.993625] __drm_mode_set_config_internal+0x6b/0x120 [drm]
Jan 30 10:18:41 bexlt036 kernel: [ 34.993639] drm_mode_setcrtc+0x47f/0x660 [drm]
Jan 30 10:18:41 bexlt036 kernel: [ 34.993653] ? drm_mode_getcrtc+0x190/0x190 [drm]
Jan 30 10:18:41 bexlt036 kernel: [ 34.993666] drm_ioctl_kernel+0x5f/0xb0 [drm]
Jan 30 10:18:41 bexlt036 kernel: [ 34.993679] drm_ioctl+0x31b/0x3d0 [drm]
Jan 30 10:18:41 bexlt036 kernel: [ 34.993691] ? drm_mode_getcrtc+0x190/0x190 [drm]
Jan 30 10:18:41 bexlt036 kernel: [ 34.993697] do_vfs_ioctl+0xa8/0x630
Jan 30 10:18:41 bexlt036 kernel: [ 34.993701] ? handle_mm_fault+0xb1/0x1f0
Jan 30 10:18:41 bexlt036 kernel: [ 34.993706] ? __do_page_fault+0x270/0x4d0
Jan 30 10:18:41 bexlt036 kernel: [ 34.993710] SyS_ioctl+0x79/0x90
Jan 30 10:18:41 bexlt036 kernel: [ 34.993714] do_syscall_64+0x73/0x130
Jan 30 10:18:41 bexlt036 kernel: [ 34.993719] entry_SYSCALL_64_after_hwframe+0x3d/0xa2
Jan 30 10:18:41 bexlt036 kernel: [ 34.993722] RIP: 0033:0x7fbfc3f5c5d7
Jan 30 10:18:41 bexlt036 kernel: [ 34.993724] RSP: 002b:00007ffd9d17bb88 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
Jan 30 10:18:41 bexlt036 kernel: [ 34.993728] RAX: ffffffffffffffda RBX: 00007ffd9d17bbc0 RCX: 00007fbfc3f5c5d7
Jan 30 10:18:41 bexlt036 kernel: [ 34.993730] RDX: 00007ffd9d17bbc0 RSI: 00000000c06864a2 RDI: 000000000000000c
Jan 30 10:18:41 bexlt036 kernel: [ 34.993733] RBP: 00007ffd9d17bbc0 R08: 0000000000000000 R09: 000055b5d0381800
Jan 30 10:18:41 bexlt036 kernel: [ 34.993735] R10: 00007ffd9d17bd40 R11: 0000000000000246 R12: 00000000c06864a2
Jan 30 10:18:41 bexlt036 kernel: [ 34.993737] R13: 000000000000000c R14: 000055b5cf8736f0 R15: 000055b5cf6f0670
Jan 30 10:18:41 bexlt036 kernel: [ 34.993740] Code: 0d f6 86 44 02 00 00 40 0f 85 81 00 00 00 83 f8 06 72 77 83 f8 08 76 13 83 f8 0a 75 6d 41 f6 86 60 06 00 00 40 0f 84 dd 00 00 00 <41> f6 84 24 45 02 00 00 08 4d 8d bd 00 01 00 00 74 3e 48 89 df
Jan 30 10:18:41 bexlt036 kernel: [ 34.993817] RIP: intel_ddi_post_disable+0x54/0x170 [i915] RSP: ffffa739c28ef9f0
Jan 30 10:18:41 bexlt036 kernel: [ 34.993819] CR2: 0000000000000245
Jan 30 10:18:41 bexlt036 kernel: [ 34.993842] ---[ end trace 9f26fbba62836c08 ]---

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux-signed (Ubuntu):
status: New → Confirmed
Revision history for this message
Jacob Bunk Nielsen (j0coe) wrote :

I see a problem that I think may be the same on a T470s. I don't know how to confirm if it's the same problem since my laptop crash when I lock the screen when the laptop is docked in a Lenovo dock. It started recently after upgrading the kernel.

Revision history for this message
Jani Jaakkola (jj-lousa) wrote :
Download full text (7.1 KiB)

I can confirm this with Lenovo X280, except that it happens on a USB-C connected monitor which has a builtin USB-hub (the monitor is the docking station). It makes the docking station unusable. In older kernels this setup used to work. I have multiple crashes like this.

Jan 29 18:01:00 lx8-cubbli18 kernel: [ 277.759621] BUG: unable to handle kernel NULL pointer dereference at 0000000000000245
Jan 29 18:01:00 lx8-cubbli18 kernel: [ 277.759719] IP: intel_ddi_post_disable+0x54/0x170 [i915]
Jan 29 18:01:00 lx8-cubbli18 kernel: [ 277.759725] PGD 0 P4D 0
Jan 29 18:01:00 lx8-cubbli18 kernel: [ 277.759736] Oops: 0000 [#1] SMP PTI
Jan 29 18:01:00 lx8-cubbli18 kernel: [ 277.759741] Modules linked in: rfcomm xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_
REJECT nf_reject_ipv4 xt_tcpudp bridge stp llc cmac ebtable_filter ebtables ip6table_filter ip6_tables devlink iptable_filter snd_hrtimer bnep binfmt_misc nls_iso8859_1 arc4 snd_hda_codec_hdmi intel_rapl x86_pkg_temp_thermal intel_powerc
lamp snd_soc_skl coretemp snd_soc_skl_ipc snd_hda_ext_core iwlmvm snd_soc_sst_dsp snd_hda_codec_realtek kvm_intel snd_soc_sst_ipc snd_soc_acpi snd_seq_midi snd_seq_midi_event snd_hda_codec_generic kvm mac80211 snd_soc_core irqbypass inte
l_cstate intel_rapl_perf snd_compress ac97_bus snd_pcm_dmaengine snd_rawmidi snd_hda_intel snd_seq snd_hda_codec snd_hda_core iwlwifi snd_hwdep
Jan 29 18:01:00 lx8-cubbli18 kernel: [ 277.759847] serio_raw snd_pcm intel_wmi_thunderbolt wmi_bmof ax88179_178a rmi_smbus uvcvideo rmi_core usbnet mii cfg80211 videobuf2_vmalloc videobuf2_memops thinkpad_acpi videobuf2_v4l2 videobuf2_
core nvram snd_seq_device videodev joydev input_leds snd_timer media btusb btrtl btbcm btintel bluetooth mei_me processor_thermal_device mei intel_pch_thermal intel_soc_dts_iosf ucsi_acpi ecdh_generic typec_ucsi shpchp typec snd int3403_
thermal int340x_thermal_zone soundcore int3400_thermal acpi_thermal_rel acpi_pad mac_hid sch_fq_codel cuse parport_pc ppdev sunrpc lp parport ip_tables x_tables autofs4 algif_skcipher af_alg dm_crypt raid10 raid456 async_raid6_recov asyn
c_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear dm_mirror dm_region_hash dm_log hid_generic usbhid
Jan 29 18:01:00 lx8-cubbli18 kernel: [ 277.759969] hid uas usb_storage crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc i915 aesni_intel aes_x86_64 crypto_simd i2c_algo_bit glue_helper cryptd drm_kms_helper nvme e1000e syscopyare
a sysfillrect psmouse sysimgblt ptp fb_sys_fops pps_core i2c_i801 nvme_core thunderbolt drm wmi video
Jan 29 18:01:00 lx8-cubbli18 kernel: [ 277.760022] CPU: 6 PID: 1483 Comm: Xorg Not tainted 4.15.0-44-generic #47-Ubuntu
Jan 29 18:01:00 lx8-cubbli18 kernel: [ 277.760026] Hardware name: LENOVO 20KES6P600/20KES6P600, BIOS N20ET36W (1.21 ) 09/06/2018
Jan 29 18:01:00 lx8-cubbli18 kernel: [ 277.760100] RIP: 0010:intel_ddi_post_disable+0x54/0x170 [i915]
Jan 29 18:01:00 lx8-cubbli18 kernel: [ 277.760105] RSP: 0018:ffffa2f243c739f0 EFLAGS: 00010297
Jan 29 18:01:00 lx8-cubbli18 kernel: [ 277.760112] RAX: 000...

Read more...

Revision history for this message
Jani Jaakkola (jj-lousa) wrote :
Download full text (5.5 KiB)

The same thing happens on dock disconnect with Lenovo Thinkpad T480. Here is the log.

Jan 30 17:42:46 cubbli18-gold kernel: [ 169.224084] BUG: unable to handle kernel NULL pointer dereference at 0000000000000245
Jan 30 17:42:46 cubbli18-gold kernel: [ 169.224110] IP: intel_ddi_post_disable+0x54/0x170 [i915]
Jan 30 17:42:46 cubbli18-gold kernel: [ 169.224111] PGD 0 P4D 0
Jan 30 17:42:46 cubbli18-gold kernel: [ 169.224113] Oops: 0000 [#1] SMP PTI
Jan 30 17:42:46 cubbli18-gold kernel: [ 169.224115] Modules linked in: ax88179_178a usbnet mii hid_generic usbhid hid rfcomm snd_hrtimer cmac bnep binfmt_misc nls_iso8859_1 arc4 snd_soc_skl snd_hda_codec_hdmi snd_soc_skl_ipc snd_hda_ext_core snd_soc_sst_dsp snd_soc_sst_ipc snd_hda_codec_realtek snd_soc_acpi iwlmvm snd_hda_codec_generic snd_soc_core snd_compress intel_rapl ac97_bus snd_pcm_dmaengine mac80211 x86_pkg_temp_thermal intel_powerclamp coretemp uvcvideo snd_hda_intel videobuf2_vmalloc videobuf2_memops kvm_intel snd_hda_codec videobuf2_v4l2 snd_hda_core videobuf2_core snd_hwdep kvm videodev snd_pcm media irqbypass btusb intel_cstate btrtl iwlwifi btbcm btintel intel_rapl_perf joydev input_leds bluetooth snd_seq_midi snd_seq_midi_event serio_raw ucsi_acpi snd_rawmidi typec_ucsi cfg80211 ecdh_generic wmi_bmof intel_wmi_thunderbolt
Jan 30 17:42:46 cubbli18-gold kernel: [ 169.224142] typec snd_seq thinkpad_acpi nvram int3403_thermal snd_seq_device snd_timer processor_thermal_device snd int340x_thermal_zone intel_pch_thermal mei_me soundcore mei intel_soc_dts_iosf mac_hid acpi_pad int3400_thermal shpchp acpi_thermal_rel sch_fq_codel cuse parport_pc ppdev lp parport sunrpc ip_tables x_tables autofs4 algif_skcipher af_alg dm_crypt raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear dm_mirror dm_region_hash dm_log crct10dif_pclmul crc32_pclmul ghash_clmulni_intel uas usb_storage pcbc i915 aesni_intel aes_x86_64 crypto_simd i2c_algo_bit glue_helper cryptd drm_kms_helper e1000e syscopyarea psmouse sysfillrect sysimgblt nvme ptp fb_sys_fops i2c_i801 pps_core nvme_core thunderbolt drm wmi video
Jan 30 17:42:46 cubbli18-gold kernel: [ 169.224174] CPU: 0 PID: 59 Comm: kworker/0:1 Not tainted 4.15.0-44-generic #47-Ubuntu
Jan 30 17:42:46 cubbli18-gold kernel: [ 169.224175] Hardware name: LENOVO 20L6S93F00/20L6S93F00, BIOS N24ET41W (1.16 ) 07/18/2018
Jan 30 17:42:46 cubbli18-gold kernel: [ 169.224186] Workqueue: events drm_mode_rmfb_work_fn [drm]
Jan 30 17:42:46 cubbli18-gold kernel: [ 169.224203] RIP: 0010:intel_ddi_post_disable+0x54/0x170 [i915]
Jan 30 17:42:46 cubbli18-gold kernel: [ 169.224204] RSP: 0018:ffffb62e81b47be8 EFLAGS: 00010297
Jan 30 17:42:46 cubbli18-gold kernel: [ 169.224205] RAX: 0000000000000007 RBX: ffff9834d0826000 RCX: ffffffffc08f5272
Jan 30 17:42:46 cubbli18-gold kernel: [ 169.224206] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff9834d0826000
Jan 30 17:42:46 cubbli18-gold kernel: [ 169.224207] RBP: ffffb62e81b47c18 R08: ffffffffffffff80 R09: 00000000000000ff
Jan 30 17:42:46 cubbli18-gold kernel: [ 169.224208] R10: ffff9834cf5e2998 R11: ffff9834cf5e2988 R12: 0000000000000000
Jan 30 17:42:46 ...

Read more...

Revision history for this message
Jani Jaakkola (jj-lousa) wrote :

The problem went away with linux-image-generic-hwe-18.04 4.18.0.14.64. I think I'll just switch to that kernel for machines maintained by me.

Revision history for this message
MaskedDriver (maskeddriver) wrote :

I'm having the same issue on a Dell Latitude 5289 laptop connected to a dell USB-C dock with 2 external monitors, and USB keyboard and mouse (Razer Naga Chroma).

My computer will immediately lock up upon pressing Super + L to lock the screen when it's connected to the dock. When disconnected from the dock, it wakes up fine.

This is isolated to 4.15.0-44 for me as well. I am unable to replicate in 4.15.0-43.

Related issues:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1813956
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1813738
https://bugs.launchpad.net/ubuntu/+source/linux-signed/+bug/1813902

Revision history for this message
Anthony Wong (anthonywong) wrote :

There is a newer linux kernel in -proposed pocket released today with version 4.15.0-45.48, should have fixed your problem, please give it a try.

Revision history for this message
Markus Lackner (mlackner79) wrote :

I just installed the 4.15.0.45.47 kernel from the -proposed repo and it seems to work like a charm :D

Revision history for this message
Jacob Bunk Nielsen (j0coe) wrote :

I also switched to the 4.18.0-14-generic kernel, and it seems to just work.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.