[Xenial Regression] Kernel panics on HDMI in Xenial

Bug #1658999 reported by Leann Ogasawara
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Triaged
High
Unassigned

Bug Description

sabdfl is on a Dell XPS 15 and seeing kernel panics on HDMI connect with a
wide range of displays. He's running 4.4.0-62.83 and notes this is definitely a regression as it was working previously.

Jan 24 08:32:31 mark-XPS-15-9550 kernel: [ 489.995791] ------------[
cut here ]------------
Jan 24 08:32:31 mark-XPS-15-9550 kernel: [ 489.995842] WARNING: CPU: 4
PID: 2548 at /build/linux-W6HB68/linux-4.4.0/ubuntu/i915/intel_pm.c:3675
skl_update_other_pipe_wm+0x16c/0x180 [i915_bpo]()
Jan 24 08:32:31 mark-XPS-15-9550 kernel: [ 489.995846] WARN_ON(!wm_changed)
Jan 24 08:32:31 mark-XPS-15-9550 kernel: [ 489.995849] Modules linked
in: xt_REDIRECT nf_nat_redirect xt_hl xt_conntrack xt_addrtype overlay
aufs rfcomm xt_CHECKSUM iptable_mangle xt_tcpudp ipt_MASQUERADE
nf_nat_masquerade_ipv4 xt_comment iptable_nat nf_conntrack_ipv4
nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack bridge stp llc bnep
binfmt_misc snd_hda_codec_hdmi dell_led snd_hda_codec_realtek
snd_hda_codec_generic zfs(PO) zunicode(PO) zcommon(PO) znvpair(PO)
spl(O) zavl(PO) nls_iso8859_1 dell_wmi dell_laptop dcdbas snd_hda_intel
snd_hda_codec snd_hda_core snd_hwdep snd_pcm brcmfmac snd_seq_midi
brcmutil snd_seq_midi_event rtsx_pci_ms cfg80211 memstick intel_rapl
x86_pkg_temp_thermal intel_powerclamp snd_rawmidi coretemp
crct10dif_pclmul crc32_pclmul snd_seq ghash_clmulni_intel aesni_intel
uvcvideo aes_x86_64 videobuf2_vmalloc btusb cdc_ether lrw
videobuf2_memops snd_seq_device gf128mul usbnet videobuf2_v4l2 btrtl
glue_helper snd_timer ablk_helper videobuf2_core cryptd r8152
v4l2_common hid_multitouch mii videodev snd media joydev input_leds
serio_raw soundcore idma64 virt_dma mei_me mei processor_thermal_device
shpchp intel_lpss_pci intel_soc_dts_iosf intel_lpss_acpi intel_lpss
hci_uart btbcm btqca btintel int3403_thermal bluetooth dell_smo8800
intel_hid int3400_thermal mac_hid acpi_thermal_rel sparse_keymap
int3402_thermal int340x_thermal_zone acpi_pad acpi_als kfifo_buf
industrialio kvm_intel kvm irqbypass iptable_filter ip_tables
ip6table_filter ip6_tables x_tables parport_pc ppdev lp parport autofs4
usbhid rtsx_pci_sdmmc nouveau i915_bpo mxm_wmi intel_ips ttm
i2c_algo_bit drm_kms_helper psmouse syscopyarea sysfillrect sysimgblt
fb_sys_fops ahci nvme rtsx_pci drm libahci i2c_hid hid wmi
pinctrl_sunrisepoint video pinctrl_intel fjes
Jan 24 08:32:31 mark-XPS-15-9550 kernel: [ 489.996021] CPU: 4 PID: 2548
Comm: Xorg Tainted: P O 4.4.0-62-generic #83-Ubuntu
Jan 24 08:32:31 mark-XPS-15-9550 kernel: [ 489.996024] Hardware name:
Dell Inc. XPS 15 9550/0N7TVV, BIOS 01.02.00 04/07/2016
Jan 24 08:32:31 mark-XPS-15-9550 kernel: [ 489.996027]
0000000000000286 000000005b61ce69 ffff880880293920 ffffffff813f7c63
Jan 24 08:32:31 mark-XPS-15-9550 kernel: [ 489.996033]
ffff880880293968 ffffffffc02be9a0 ffff880880293958 ffffffff810812d2
Jan 24 08:32:31 mark-XPS-15-9550 kernel: [ 489.996037]
ffff88089255f000 ffff88089160a148 ffff88089255e000 ffff880892644b78
Jan 24 08:32:31 mark-XPS-15-9550 kernel: [ 489.996042] Call Trace:
Jan 24 08:32:31 mark-XPS-15-9550 kernel: [ 489.996051]
[<ffffffff813f7c63>] dump_stack+0x63/0x90
Jan 24 08:32:31 mark-XPS-15-9550 kernel: [ 489.996059]
[<ffffffff810812d2>] warn_slowpath_common+0x82/0xc0
Jan 24 08:32:31 mark-XPS-15-9550 kernel: [ 489.996064]
[<ffffffff8108136c>] warn_slowpath_fmt+0x5c/0x80
Jan 24 08:32:31 mark-XPS-15-9550 kernel: [ 489.996101]
[<ffffffffc01dffec>] skl_update_other_pipe_wm+0x16c/0x180 [i915_bpo]
Jan 24 08:32:31 mark-XPS-15-9550 kernel: [ 489.996136]
[<ffffffffc01e0185>] skl_update_wm+0x185/0x610 [i915_bpo]
Jan 24 08:32:31 mark-XPS-15-9550 kernel: [ 489.996190]
[<ffffffffc02713af>] ? intel_ddi_enable_transcoder_func+0x17f/0x260
[i915_bpo]
Jan 24 08:32:31 mark-XPS-15-9550 kernel: [ 489.996225]
[<ffffffffc01e3f0e>] intel_update_watermarks+0x1e/0x30 [i915_bpo]
Jan 24 08:32:31 mark-XPS-15-9550 kernel: [ 489.996276]
[<ffffffffc0253681>] haswell_crtc_enable+0x761/0x8e0 [i915_bpo]
Jan 24 08:32:31 mark-XPS-15-9550 kernel: [ 489.996327]
[<ffffffffc024f586>] intel_atomic_commit+0x5d6/0x14a0 [i915_bpo]
Jan 24 08:32:31 mark-XPS-15-9550 kernel: [ 489.996366]
[<ffffffffc00d3bde>] ? drm_atomic_check_only+0x18e/0x590 [drm]
Jan 24 08:32:31 mark-XPS-15-9550 kernel: [ 489.996397]
[<ffffffffc00d4017>] drm_atomic_commit+0x37/0x60 [drm]
Jan 24 08:32:31 mark-XPS-15-9550 kernel: [ 489.996415]
[<ffffffffc017fdc6>] drm_atomic_helper_set_config+0x76/0xb0 [drm_kms_helper]
Jan 24 08:32:31 mark-XPS-15-9550 kernel: [ 489.996443]
[<ffffffffc00c2e42>] drm_mode_set_config_internal+0x62/0x100 [drm]
Jan 24 08:32:31 mark-XPS-15-9550 kernel: [ 489.996472]
[<ffffffffc00c749c>] drm_mode_setcrtc+0x3cc/0x4f0 [drm]
Jan 24 08:32:31 mark-XPS-15-9550 kernel: [ 489.996493]
[<ffffffffc00b8752>] drm_ioctl+0x152/0x540 [drm]
Jan 24 08:32:31 mark-XPS-15-9550 kernel: [ 489.996519]
[<ffffffffc00c70d0>] ? drm_mode_setplane+0x1b0/0x1b0 [drm]
Jan 24 08:32:31 mark-XPS-15-9550 kernel: [ 489.996527]
[<ffffffff812227af>] do_vfs_ioctl+0x29f/0x490
Jan 24 08:32:31 mark-XPS-15-9550 kernel: [ 489.996533]
[<ffffffff8108e561>] ? __set_task_blocked+0x41/0xa0
Jan 24 08:32:31 mark-XPS-15-9550 kernel: [ 489.996539]
[<ffffffff81090ef6>] ? __set_current_blocked+0x36/0x60
Jan 24 08:32:31 mark-XPS-15-9550 kernel: [ 489.996543]
[<ffffffff81222a19>] SyS_ioctl+0x79/0x90
Jan 24 08:32:31 mark-XPS-15-9550 kernel: [ 489.996548]
[<ffffffff810911ae>] ? SyS_rt_sigprocmask+0x8e/0xc0
Jan 24 08:32:31 mark-XPS-15-9550 kernel: [ 489.996555]
[<ffffffff818385f2>] entry_SYSCALL_64_fastpath+0x16/0x71
Jan 24 08:32:31 mark-XPS-15-9550 kernel: [ 489.996559] ---[ end trace
62a7d2128b4c1405 ]---

Changed in linux (Ubuntu):
importance: Undecided → High
status: New → Triaged
description: updated
Revision history for this message
Thadeu Lima de Souza Cascardo (cascardo) wrote :

Do we know the last working kernel, so we can "bisect"?

Revision history for this message
Thadeu Lima de Souza Cascardo (cascardo) wrote :

This upstream commit removes the warning, and mentions its "plague".

734fa01f3a17ac80d2d53cee0b05b246c03df0e4 drm/i915/gen9: Calculate watermarks during atomic 'check' (v2)

tags: added: kernel-key
Revision history for this message
Taihsiang Ho (taihsiangho) wrote :

This issue could not reproduce with an AOC E2460SW Widescreen (24" 1920 x 1080 16:9).

I tried to reproduce by the following steps:

1. Enabled the proposed pocket, and updated the system via GUI updater.
2. After updating the system, reboot.
3. Plug-in the aforementioned monitor in the HDMI jack of the XPS15.
4. Check dmesg and /var/log/syslog. The panic message could not be found in both of them. The screen of external HDMI monitor and the internal monitor looks good as well.
5. Suspend the system by the desktop indicator.
6. After the system resumed, repeated the step3. I got the same result as the step4.

Revision history for this message
Jerry Kao (jerry.kao) wrote :

I took the xps15 from tai. The kernel is already upgraded to 4.4.0-62.
I tested it with PHILIPS 288PL6 4K monitor and cannot reproduce the issue. Connected the monitor via HDMI and Type-C (to HDMI) ports and both works well. All display modes are available. Checked dmesg and /var/log/syslog, there is no similar warning or kernel panics messages.

Revision history for this message
Thadeu Lima de Souza Cascardo (cascardo) wrote :

I built the attached patch and put the binaries at [1].

It would be nice to have someone test it before we push it for review and maybe respin.

[1] http://people.canonical.com/~cascardo/lp1658999/

tags: added: patch
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :
Download full text (5.0 KiB)

I had Mark test a kernel which jsalisbury built that reverted the following commits:

c173e45ac693 UBUNTU: SAUCE: i915_bpo: Validate mode against max. link data rate for DP MST
ee161605391d UBUNTU: SAUCE: i915_bpo: Fix DP link rate math

Mark's feedback is as follows:

"OK. Before I installed the kernel I plugged in the switched-off
projector, and saw this:

Jan 26 09:34:42 mark-XPS-15-9550 kernel: [71126.173214]
[drm:drm_edid_block_valid [drm]] *ERROR* EDID checksum is invalid,
remainder is 130
Jan 26 09:34:42 mark-XPS-15-9550 kernel: [71126.173219] Raw EDID:
Jan 26 09:34:42 mark-XPS-15-9550 kernel: [71126.173222] 00 ff ff ff
ff ff ff 00 ff ff ff ff ff ff ff ff
Jan 26 09:34:42 mark-XPS-15-9550 kernel: [71126.173225] ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff
Jan 26 09:34:42 mark-XPS-15-9550 kernel: [71126.173227] ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff
Jan 26 09:34:42 mark-XPS-15-9550 kernel: [71126.173229] ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff
Jan 26 09:34:42 mark-XPS-15-9550 kernel: [71126.173231] ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff
Jan 26 09:34:42 mark-XPS-15-9550 kernel: [71126.173233] ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff
Jan 26 09:34:42 mark-XPS-15-9550 kernel: [71126.173235] ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff
Jan 26 09:34:42 mark-XPS-15-9550 kernel: [71126.173237] ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff
Jan 26 09:34:43 mark-XPS-15-9550 kernel: [71126.200170]
[drm:drm_edid_block_valid [drm]] *ERROR* EDID checksum is invalid,
remainder is 130
Jan 26 09:34:43 mark-XPS-15-9550 kernel: [71126.200173] Raw EDID:
Jan 26 09:34:43 mark-XPS-15-9550 kernel: [71126.200176] 00 ff ff ff
ff ff ff 00 ff ff ff ff ff ff ff ff
Jan 26 09:34:43 mark-XPS-15-9550 kernel: [71126.200177] ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff
Jan 26 09:34:43 mark-XPS-15-9550 kernel: [71126.200179] ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff
Jan 26 09:34:43 mark-XPS-15-9550 kernel: [71126.200180] ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff
Jan 26 09:34:43 mark-XPS-15-9550 kernel: [71126.200181] ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff
Jan 26 09:34:43 mark-XPS-15-9550 kernel: [71126.200182] ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff
Jan 26 09:34:43 mark-XPS-15-9550 kernel: [71126.200184] ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff
Jan 26 09:34:43 mark-XPS-15-9550 kernel: [71126.200185] ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff
Jan 26 09:34:43 mark-XPS-15-9550 kernel: [71126.227128]
[drm:drm_edid_block_valid [drm]] *ERROR* EDID checksum is invalid,
remainder is 130
Jan 26 09:34:43 mark-XPS-15-9550 kernel: [71126.227132] Raw EDID:
Jan 26 09:34:43 mark-XPS-15-9550 kernel: [71126.227134] 00 ff ff ff
ff ff ff 00 ff ff ff ff ff ff ff ff
Jan 26 09:34:43 mark-XPS-15-9550 kernel: [71126.227136] ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff
Jan 26 09:34:43 mark-XPS-15-9550 kernel: [71126.227137] ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff
Jan 26 09:34:43 mark-XPS-15-9550 kernel: [71126.227138] ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff
Jan 26 09:34:43 mark-XPS-15-9550 kernel: ...

Read more...

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

So, those patches do not need to be reverted. The actual panic was likely something other than i915_bpo related.

Revision history for this message
Nara Huang (narahuang) wrote :

Tried XPS 15 9550 with kernel 4.4.0-62.83,
cannot see the kernel panic with projector Optoma EP7155 (using HDMI)

tags: added: kernel-da-key
removed: kernel-key
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.