Bug 1086657

Summary: WARNING: CPU: 0 PID: 3595 at ../drivers/gpu/drm/drm_vblank.c:1081 drm_wait_one_vblank+0x143/0x150 [drm]
Product: [openSUSE] openSUSE Distribution Reporter: Oliver Kurz <okurz>
Component: KernelAssignee: E-mail List <kernel-maintainers>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: jcheung, okurz, tiwai
Version: Leap 15.0   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 1086662, 1096961, 1165399    

Description Oliver Kurz 2018-03-23 12:06:47 UTC
on openSUSE Leap 15.0 from dmesg:


```
[ 2154.208122] [drm:drm_atomic_helper_commit_cleanup_done [drm_kms_helper]] *ERROR* [CRTC:40:pipe B] flip_done timed out
[ 2154.312075] vblank wait timed out on crtc 1
[ 2154.312176] ------------[ cut here ]------------
[ 2154.312224] WARNING: CPU: 0 PID: 3595 at ../drivers/gpu/drm/drm_vblank.c:1081 drm_wait_one_vblank+0x143/0x150 [drm]
[ 2154.312230] Modules linked in: rfcomm fuse af_packet xt_tcpudp ip6t_rpfilter ip6t_REJECT ipt_REJECT xt_conntrack ip_set nfnetlink ebtable_nat ebtable_broute bridge stp llc ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack libcrc32c iptable_mangle iptable_raw iptable_security ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter ip_tables x_tables bnep btusb uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 btrtl btbcm videobuf2_core btintel bluetooth sierra videodev usbserial msr ecdh_generic snd_hda_codec_analog snd_hda_codec_generic snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep snd_pcm snd_timer coretemp hp_wmi snd kvm_intel sparse_keymap
[ 2154.312354]  iTCO_wdt e1000e iTCO_vendor_support rfkill joydev kvm soundcore ptp lpc_ich irqbypass mei_me pcspkr pps_core thermal ac battery wmi shpchp hp_accel mei lis3lv02d input_polldev tpm_infineon acpi_cpufreq btrfs xor raid6_pq hid_generic usbhid i915 sdhci_pci sdhci ata_piix i2c_algo_bit uhci_hcd drm_kms_helper firewire_ohci syscopyarea sysfillrect sysimgblt fb_sys_fops ehci_pci ahci ehci_hcd libahci serio_raw mmc_core firewire_core crc_itu_t drm drm_panel_orientation_quirks ata_generic usbcore video button sg dm_multipath dm_mod scsi_dh_rdac scsi_dh_emc scsi_dh_alua
[ 2154.312466] Supported: No, Unreleased kernel
[ 2154.312477] CPU: 0 PID: 3595 Comm: X Tainted: G        W          4.12.14-lp150.6-default #1 SLE15 (unreleased)
[ 2154.312482] Hardware name: Hewlett-Packard HP Compaq 2710p (#ABD)/30C8, BIOS 68MOU Ver. F.15 01/22/2010
[ 2154.312488] task: ffff88005d7f40c0 task.stack: ffffc900009a4000
[ 2154.312527] RIP: 0010:drm_wait_one_vblank+0x143/0x150 [drm]
[ 2154.312533] RSP: 0018:ffffc900009a7a28 EFLAGS: 00010292
[ 2154.312540] RAX: 000000000000001f RBX: ffff8800752c0000 RCX: 0000000000000000
[ 2154.312546] RDX: ffff88007e41fa08 RSI: ffff88007e417a68 RDI: ffff88007e417a68
[ 2154.312552] RBP: 0000000000000001 R08: 000000000000056c R09: 0000000000000007
[ 2154.312558] R10: ffffc900009a7a28 R11: ffffffff826e6b4d R12: 0000000000000000
[ 2154.312564] R13: 0000000013000719 R14: ffff880075338978 R15: ffff8800601a2800
[ 2154.312572] FS:  00007f71a664f2c0(0000) GS:ffff88007e400000(0000) knlGS:0000000000000000
[ 2154.312579] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 2154.312586] CR2: 00005649d2415cd0 CR3: 000000007a5e0000 CR4: 00000000000006f0
[ 2154.312591] Call Trace:
[ 2154.312616]  ? wait_woken+0x80/0x80
[ 2154.312733]  intel_get_load_detect_pipe+0x37a/0x3c0 [i915]
[ 2154.312828]  intel_tv_detect+0x147/0x510 [i915]
[ 2154.312861]  ? drm_helper_probe_single_connector_modes+0xc8/0x740 [drm_kms_helper]
[ 2154.312881]  drm_helper_probe_single_connector_modes+0xc8/0x740 [drm_kms_helper]
[ 2154.312925]  drm_mode_getconnector+0x156/0x320 [drm]
[ 2154.312962]  drm_ioctl+0x1e0/0x430 [drm]
[ 2154.313003]  ? drm_mode_connector_property_set_ioctl+0x40/0x40 [drm]
[ 2154.313016]  do_vfs_ioctl+0x90/0x5f0
[ 2154.313024]  ? vfs_write+0x12f/0x1a0
[ 2154.313032]  SyS_ioctl+0x74/0x80
[ 2154.313042]  do_syscall_64+0x7b/0x140
[ 2154.313053]  entry_SYSCALL_64_after_hwframe+0x3d/0xa2
[ 2154.313060] RIP: 0033:0x7f71a3f8b477
[ 2154.313066] RSP: 002b:00007ffdb26babc8 EFLAGS: 00003246 ORIG_RAX: 0000000000000010
[ 2154.313075] RAX: ffffffffffffffda RBX: 000055fc6dba5de8 RCX: 00007f71a3f8b477
[ 2154.313080] RDX: 00007ffdb26bac00 RSI: 00000000c05064a7 RDI: 0000000000000018
[ 2154.313086] RBP: 00007ffdb26bac00 R08: 0000000000000000 R09: 0000000000000000
[ 2154.313092] R10: 0000000000000000 R11: 0000000000003246 R12: 00000000c05064a7
[ 2154.313098] R13: 0000000000000018 R14: 0000000000000018 R15: 00007ffdb26bac00
[ 2154.313104] Code: df e0 0f 0b e9 3e ff ff ff 48 89 e6 4c 89 f7 e8 94 77 d1 e0 45 85 e4 0f 85 20 ff ff ff 89 ee 48 c7 c7 18 e7 3d a0 e8 d0 a0 df e0 <0f> 0b e9 0b ff ff ff 66 0f 1f 44 00 00 66 66 66 66 90 8b b7 90 
[ 2154.313203] ---[ end trace 751b462db7810b31 ]---
```

See https://bugzilla.suse.com/show_bug.cgi?id=1039700 for details about the hardware used, https://bugzilla.suse.com/attachment.cgi?id=725619 is the "hwinfo" output from an older installation on same hardware
Comment 1 Takashi Iwai 2018-03-23 13:03:54 UTC
Could you check the TW kernel whether the issue is seen or not?
I guess it'll.

We can hide this again as a hackish way as we had in the past, but we need to confirm that the problem is still present in the recent kernels, too.
Comment 2 Oliver Kurz 2018-06-11 12:15:42 UTC
I can confirm the issue is still there on openSUSE Tumbleweed 20180606 with kernel-default-4.16.12-2
Comment 3 Takashi Iwai 2018-06-11 12:20:22 UTC
OK, thanks, so the upstream is still broken :-<

Meanwhile I already took the hackish patch to disable TV output on SLE15 / Leap 15.0, so this particular bug for Leap 15.0 can be closed now.

If you want to continue hunting the bug for TW, please create a new bug.
Comment 4 Swamp Workflow Management 2019-05-24 13:35:23 UTC
This is an autogenerated message for OBS integration:
This bug (1086657) was mentioned in
https://build.opensuse.org/request/show/705249 15.1 / kernel-source
Comment 5 Swamp Workflow Management 2019-05-31 10:20:10 UTC
openSUSE-SU-2019:1479-1: An update that solves 11 vulnerabilities and has 111 fixes is now available.

Category: security (important)
Bug References: 1050549,1055117,1055186,1061840,1063638,1070872,1082555,1083647,1085535,1085536,1086657,1097584,1106011,1106284,1108193,1108937,1111331,1112063,1112128,1112178,1113722,1114279,1119680,1119843,1120843,1122776,1123663,1124839,1127175,1127371,1127374,1128415,1128971,1128979,1129138,1129693,1129770,1129845,1130527,1130567,1130579,1131416,1131427,1131438,1131451,1131488,1131530,1131574,1131673,1131847,1131900,1131934,1132044,1132219,1132226,1132369,1132373,1132397,1132402,1132403,1132404,1132405,1132411,1132412,1132413,1132426,1132527,1132531,1132561,1132562,1132564,1132618,1132681,1132726,1132828,1132894,1133005,1133094,1133095,1133149,1133176,1133188,1133547,1133668,1133672,1133698,1133702,1133769,1133772,1133778,1133779,1133780,1133850,1133851,1133852,1133897,1134160,1134162,1134201,1134202,1134204,1134205,1134393,1134459,1134461,1134597,1134600,1134651,1134810,1134848,1135007,1135008,1135120,1135278,1135281,1135309,1135312,1135315,1135320,1135323,1135492,1135642
CVE References: CVE-2018-7191,CVE-2019-11085,CVE-2019-11486,CVE-2019-11811,CVE-2019-11815,CVE-2019-11833,CVE-2019-11884,CVE-2019-3882,CVE-2019-5489,CVE-2019-9500,CVE-2019-9503
Sources used:
openSUSE Leap 15.1 (src):    kernel-debug-4.12.14-lp151.28.4.1, kernel-default-4.12.14-lp151.28.4.1, kernel-docs-4.12.14-lp151.28.4.1, kernel-kvmsmall-4.12.14-lp151.28.4.1, kernel-obs-build-4.12.14-lp151.28.4.1, kernel-obs-qa-4.12.14-lp151.28.4.1, kernel-source-4.12.14-lp151.28.4.1, kernel-syms-4.12.14-lp151.28.4.1, kernel-vanilla-4.12.14-lp151.28.4.1
Comment 11 Swamp Workflow Management 2019-06-18 19:16:26 UTC
SUSE-SU-2019:1550-1: An update that solves 28 vulnerabilities and has 318 fixes is now available.

Category: security (important)
Bug References: 1012382,1050242,1050549,1051510,1052904,1053043,1055117,1055121,1055186,1056787,1058115,1061840,1063638,1064802,1065600,1065729,1066129,1068546,1070872,1071995,1075020,1082387,1082555,1083647,1085535,1085536,1086657,1088804,1093389,1097583,1097584,1097585,1097586,1097587,1097588,1099658,1103186,1103259,1103992,1104353,1104427,1106011,1106284,1108193,1108838,1108937,1110946,1111331,1111666,1111696,1112063,1112128,1112178,1113722,1113956,1114279,1114427,1114542,1114638,1115688,1117114,1117158,1117561,1118139,1119680,1119843,1120091,1120318,1120423,1120566,1120843,1120902,1122767,1122776,1123454,1123663,1124503,1124839,1126206,1126356,1126704,1127175,1127371,1127374,1127616,1128052,1128415,1128544,1128904,1128971,1128979,1129138,1129273,1129497,1129693,1129770,1129845,1130195,1130425,1130527,1130567,1130579,1130699,1130937,1130972,1131326,1131427,1131438,1131451,1131467,1131488,1131530,1131565,1131574,1131587,1131659,1131673,1131847,1131848,1131851,1131900,1131934,1131935,1132044,1132219,1132226,1132227,1132365,1132368,1132369,1132370,1132372,1132373,1132384,1132397,1132402,1132403,1132404,1132405,1132407,1132411,1132412,1132413,1132414,1132426,1132527,1132531,1132555,1132558,1132561,1132562,1132563,1132564,1132570,1132571,1132572,1132589,1132618,1132673,1132681,1132726,1132828,1132894,1132943,1132982,1133005,1133016,1133094,1133095,1133115,1133149,1133176,1133188,1133190,1133320,1133486,1133529,1133547,1133584,1133593,1133612,1133616,1133667,1133668,1133672,1133674,1133675,1133698,1133702,1133731,1133769,1133772,1133774,1133778,1133779,1133780,1133825,1133850,1133851,1133852,1133897,1134090,1134160,1134162,1134199,1134200,1134201,1134202,1134203,1134204,1134205,1134223,1134354,1134393,1134397,1134459,1134460,1134461,1134597,1134600,1134607,1134618,1134651,1134671,1134760,1134806,1134810,1134813,1134848,1134936,1134945,1134946,1134947,1134948,1134949,1134950,1134951,1134952,1134953,1134972,1134974,1134975,1134980,1134981,1134983,1134987,1134989,1134990,1134994,1134995,1134998,1134999,1135006,1135007,1135008,1135018,1135021,1135024,1135026,1135027,1135028,1135029,1135031,1135033,1135034,1135035,1135036,1135037,1135038,1135039,1135041,1135042,1135044,1135045,1135046,1135047,1135049,1135051,1135052,1135053,1135055,1135056,1135058,1135100,1135120,1135278,1135281,1135309,1135312,1135314,1135315,1135316,1135320,1135323,1135330,1135492,1135542,1135556,1135603,1135642,1135661,1135758,1136188,1136206,1136215,1136345,1136347,1136348,1136353,1136424,1136428,1136430,1136432,1136434,1136435,1136438,1136439,1136456,1136460,1136461,1136469,1136477,1136478,1136498,1136573,1136586,1136881,1136935,1136990,1137151,1137152,1137153,1137162,1137201,1137224,1137232,1137233,1137236,1137372,1137429,1137444,1137586,1137739,1137752,1138291,1138293
CVE References: CVE-2017-5753,CVE-2018-12126,CVE-2018-12127,CVE-2018-12130,CVE-2018-16880,CVE-2018-7191,CVE-2019-10124,CVE-2019-11085,CVE-2019-11091,CVE-2019-11477,CVE-2019-11478,CVE-2019-11479,CVE-2019-11486,CVE-2019-11487,CVE-2019-11811,CVE-2019-11815,CVE-2019-11833,CVE-2019-11884,CVE-2019-12382,CVE-2019-12818,CVE-2019-12819,CVE-2019-3846,CVE-2019-3882,CVE-2019-5489,CVE-2019-8564,CVE-2019-9003,CVE-2019-9500,CVE-2019-9503
Sources used:
SUSE Linux Enterprise Module for Live Patching 15-SP1 (src):    kernel-default-4.12.14-197.4.1, kernel-livepatch-SLE15-SP1_Update_1-1-3.3.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 12 Swamp Workflow Management 2019-06-18 22:32:11 UTC
SUSE-SU-2019:1550-1: An update that solves 28 vulnerabilities and has 318 fixes is now available.

Category: security (important)
Bug References: 1012382,1050242,1050549,1051510,1052904,1053043,1055117,1055121,1055186,1056787,1058115,1061840,1063638,1064802,1065600,1065729,1066129,1068546,1070872,1071995,1075020,1082387,1082555,1083647,1085535,1085536,1086657,1088804,1093389,1097583,1097584,1097585,1097586,1097587,1097588,1099658,1103186,1103259,1103992,1104353,1104427,1106011,1106284,1108193,1108838,1108937,1110946,1111331,1111666,1111696,1112063,1112128,1112178,1113722,1113956,1114279,1114427,1114542,1114638,1115688,1117114,1117158,1117561,1118139,1119680,1119843,1120091,1120318,1120423,1120566,1120843,1120902,1122767,1122776,1123454,1123663,1124503,1124839,1126206,1126356,1126704,1127175,1127371,1127374,1127616,1128052,1128415,1128544,1128904,1128971,1128979,1129138,1129273,1129497,1129693,1129770,1129845,1130195,1130425,1130527,1130567,1130579,1130699,1130937,1130972,1131326,1131427,1131438,1131451,1131467,1131488,1131530,1131565,1131574,1131587,1131659,1131673,1131847,1131848,1131851,1131900,1131934,1131935,1132044,1132219,1132226,1132227,1132365,1132368,1132369,1132370,1132372,1132373,1132384,1132397,1132402,1132403,1132404,1132405,1132407,1132411,1132412,1132413,1132414,1132426,1132527,1132531,1132555,1132558,1132561,1132562,1132563,1132564,1132570,1132571,1132572,1132589,1132618,1132673,1132681,1132726,1132828,1132894,1132943,1132982,1133005,1133016,1133094,1133095,1133115,1133149,1133176,1133188,1133190,1133320,1133486,1133529,1133547,1133584,1133593,1133612,1133616,1133667,1133668,1133672,1133674,1133675,1133698,1133702,1133731,1133769,1133772,1133774,1133778,1133779,1133780,1133825,1133850,1133851,1133852,1133897,1134090,1134160,1134162,1134199,1134200,1134201,1134202,1134203,1134204,1134205,1134223,1134354,1134393,1134397,1134459,1134460,1134461,1134597,1134600,1134607,1134618,1134651,1134671,1134760,1134806,1134810,1134813,1134848,1134936,1134945,1134946,1134947,1134948,1134949,1134950,1134951,1134952,1134953,1134972,1134974,1134975,1134980,1134981,1134983,1134987,1134989,1134990,1134994,1134995,1134998,1134999,1135006,1135007,1135008,1135018,1135021,1135024,1135026,1135027,1135028,1135029,1135031,1135033,1135034,1135035,1135036,1135037,1135038,1135039,1135041,1135042,1135044,1135045,1135046,1135047,1135049,1135051,1135052,1135053,1135055,1135056,1135058,1135100,1135120,1135278,1135281,1135309,1135312,1135314,1135315,1135316,1135320,1135323,1135330,1135492,1135542,1135556,1135603,1135642,1135661,1135758,1136188,1136206,1136215,1136345,1136347,1136348,1136353,1136424,1136428,1136430,1136432,1136434,1136435,1136438,1136439,1136456,1136460,1136461,1136469,1136477,1136478,1136498,1136573,1136586,1136881,1136935,1136990,1137151,1137152,1137153,1137162,1137201,1137224,1137232,1137233,1137236,1137372,1137429,1137444,1137586,1137739,1137752,1138291,1138293
CVE References: CVE-2017-5753,CVE-2018-12126,CVE-2018-12127,CVE-2018-12130,CVE-2018-16880,CVE-2018-7191,CVE-2019-10124,CVE-2019-11085,CVE-2019-11091,CVE-2019-11477,CVE-2019-11478,CVE-2019-11479,CVE-2019-11486,CVE-2019-11487,CVE-2019-11811,CVE-2019-11815,CVE-2019-11833,CVE-2019-11884,CVE-2019-12382,CVE-2019-12818,CVE-2019-12819,CVE-2019-3846,CVE-2019-3882,CVE-2019-5489,CVE-2019-8564,CVE-2019-9003,CVE-2019-9500,CVE-2019-9503
Sources used:
SUSE Linux Enterprise Workstation Extension 15-SP1 (src):    kernel-default-4.12.14-197.4.1
SUSE Linux Enterprise Module for Open Buildservice Development Tools 15-SP1 (src):    dtb-aarch64-4.12.14-197.4.1, kernel-debug-4.12.14-197.4.1, kernel-default-4.12.14-197.4.1, kernel-docs-4.12.14-197.4.1, kernel-kvmsmall-4.12.14-197.4.1, kernel-obs-qa-4.12.14-197.4.1, kernel-source-4.12.14-197.4.1, kernel-vanilla-4.12.14-197.4.1, kernel-zfcpdump-4.12.14-197.4.1
SUSE Linux Enterprise Module for Live Patching 15-SP1 (src):    kernel-default-4.12.14-197.4.1, kernel-livepatch-SLE15-SP1_Update_1-1-3.3.1
SUSE Linux Enterprise Module for Legacy Software 15-SP1 (src):    kernel-default-4.12.14-197.4.1
SUSE Linux Enterprise Module for Development Tools 15-SP1 (src):    kernel-docs-4.12.14-197.4.1, kernel-obs-build-4.12.14-197.4.1, kernel-source-4.12.14-197.4.1, kernel-syms-4.12.14-197.4.1
SUSE Linux Enterprise Module for Basesystem 15-SP1 (src):    kernel-default-4.12.14-197.4.1, kernel-source-4.12.14-197.4.1, kernel-zfcpdump-4.12.14-197.4.1
SUSE Linux Enterprise High Availability 15-SP1 (src):    kernel-default-4.12.14-197.4.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.