From: bugzilla-daemon@freedesktop.org Subject: [Bug 104611] [fiji, polaris10] BUG: unable to handle kernel NULL pointer dereference when waking up displays with amdgpu.dc=1 Date: Thu, 12 Jul 2018 14:11:21 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1046680764==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 1C0756F001 for ; Thu, 12 Jul 2018 14:11:21 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1046680764== Content-Type: multipart/alternative; boundary="15314046810.A1AA4.21826" Content-Transfer-Encoding: 7bit --15314046810.A1AA4.21826 Date: Thu, 12 Jul 2018 14:11:21 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D104611 --- Comment #8 from Vedran Mileti=C4=87 --- This still occurs on 4.17, despite bug 106194 suggesting otherwise: [ 7670.095885] BUG: unable to handle kernel NULL pointer dereference at 0000000000000208 [ 7670.095899] PGD 80000003fcee8067 P4D 80000003fcee8067 PUD 3fcee6067 PMD 0 [ 7670.095913] Oops: 0000 [#1] SMP PTI [ 7670.095917] Modules linked in: fuse rpcsec_gss_krb5 nfsv4 dns_resolver n= fs lockd grace fscache vfat fat intel_rapl x86_pkg_temp_thermal intel_powercla= mp coretemp kvm eeepc_wmi irqbypass asus_wmi joydev crct10dif_pclmul crc32_pcl= mul sparse_keymap ghash_clmulni_intel intel_cstate rfkill iTCO_wdt intel_uncore wmi_bmof mei_wdt iTCO_vendor_support mxm_wmi mei_me ppdev mei intel_rapl_pe= rf wmi snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi video i2c_i801 snd_hda_intel acpi_pad snd_hda_codec snd_hda_core snd_hwdep parpor= t_pc parport shpchp snd_seq snd_seq_device snd_pcm snd_timer snd soundcore binfmt_misc auth_rpcgss sunrpc amdkfd amd_iommu_v2 amdgpu chash i2c_algo_bit gpu_sched drm_kms_helper ttm r8169 drm crc32c_intel mii hid_cherry=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 [ 7670.096014] CPU: 7 PID: 934 Comm: Xorg Not tainted 4.17.4-200.fc28.x86_6= 4 #1 [ 7670.096018] Hardware name: Transtec AG /B150M-C, BIOS 3601 12/12/2017 [ 7670.096169] RIP: 0010:create_stream_for_sink+0x2cd/0x650 [amdgpu] [ 7670.096174] RSP: 0018:ffffabfbc20e79d0 EFLAGS: 00010246 [ 7670.096179] RAX: 0000000000000000 RBX: ffff9d9b7ded8000 RCX: 0000000000000000 [ 7670.096184] RDX: 0000000000000013 RSI: ffffffffc0757400 RDI: ffff9d9b7ded80ac [ 7670.096188] RBP: ffffabfbc20e7b10 R08: 0000000000000f00 R09: 0000000000000870 [ 7670.096192] R10: ffff9d9b7ded8000 R11: 0000000000000f00 R12: ffff9d9ba32b1000 [ 7670.096197] R13: 0000000000000000 R14: ffff9d98c0a0c200 R15: ffff9d99495d8000 [ 7670.096202] FS: 00007fa0d0017ac0(0000) GS:ffff9d9bb5dc0000(0000) knlGS:0000000000000000 [ 7670.096207] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 7670.096211] CR2: 0000000000000208 CR3: 00000003fcf16003 CR4: 00000000003606e0 [ 7670.096216] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 7670.096220] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 7670.096223] Call Trace: [ 7670.096370] dm_update_crtcs_state+0x26c/0x4d0 [amdgpu] [ 7670.096510] amdgpu_dm_atomic_check+0x1b1/0x3b0 [amdgpu] [ 7670.096552] drm_atomic_check_only+0x360/0x4f0 [drm] [ 7670.096587] drm_atomic_commit+0x13/0x50 [drm] [ 7670.096619] drm_atomic_connector_commit_dpms+0xdb/0x100 [drm] [ 7670.096652] drm_mode_obj_set_property_ioctl+0x178/0x280 [drm] [ 7670.096686] ? drm_mode_connector_set_obj_prop+0x80/0x80 [drm] [ 7670.096715] drm_mode_connector_property_set_ioctl+0x39/0x60 [drm] [ 7670.096744] drm_ioctl_kernel+0x5b/0xb0 [drm] [ 7670.096772] drm_ioctl+0x1b3/0x370 [drm] [ 7670.096801] ? drm_mode_connector_set_obj_prop+0x80/0x80 [drm] [ 7670.096898] amdgpu_drm_ioctl+0x49/0x80 [amdgpu] [ 7670.096910] do_vfs_ioctl+0xa4/0x610 [ 7670.096918] ksys_ioctl+0x60/0x90 [ 7670.096925] __x64_sys_ioctl+0x16/0x20 [ 7670.096934] do_syscall_64+0x5b/0x160 [ 7670.096944] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 7670.096951] RIP: 0033:0x7fa0cd2dbe17 [ 7670.096955] RSP: 002b:00007ffc439d2b38 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 7670.096962] RAX: ffffffffffffffda RBX: 00000000022374b0 RCX: 00007fa0cd2dbe17 [ 7670.096966] RDX: 00007ffc439d2b70 RSI: 00000000c01064ab RDI: 000000000000000c [ 7670.096970] RBP: 00007ffc439d2b70 R08: 0000000000000000 R09: 0000000002236100 [ 7670.096974] R10: 0000000000000018 R11: 0000000000000246 R12: 00000000c01064ab [ 7670.096978] R13: 000000000000000c R14: 0000000002237940 R15: 000000000223b001 [ 7670.096983] Code: 49 c7 87 28 60 00 00 00 00 00 00 4c 89 bb 98 01 00 00 = e8 c7 f9 ff ff 4d 8b ac 24 50 04 00 00 ba 13 00 00 00 48 8d bb ac 00 00 00 <41= > 0f b7 85 08 02 00 00 49 8d b5 12 02 00 00 89 83 c0 00 00 00=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 [ 7670.097204] RIP: create_stream_for_sink+0x2cd/0x650 [amdgpu] RSP: ffffabfbc20e79d0 [ 7670.097208] CR2: 0000000000000208 [ 7670.097214] ---[ end trace bfc39023ec02bc67 ]--- (In reply to Harry Wentland from comment #7) > Did you have a chance to capture a repro dmesg with dc_log=3D1? Doesn't seem to change anything in the output, but I'll attach it. --=20 You are receiving this mail because: You are the assignee for the bug.= --15314046810.A1AA4.21826 Date: Thu, 12 Jul 2018 14:11:21 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 8 on bug 10461= 1 from Vedran Mileti=C4=87
This still occurs on 4.17, despite bug 106194 suggesting otherwise:

[ 7670.095885] BUG: unable to handle kernel NULL pointer dereference at
0000000000000208
[ 7670.095899] PGD 80000003fcee8067 P4D 80000003fcee8067 PUD 3fcee6067 PMD 0
[ 7670.095913] Oops: 0000 [#1] SMP PTI
[ 7670.095917] Modules linked in: fuse rpcsec_gss_krb5 nfsv4 dns_resolver n=
fs
lockd grace fscache vfat fat intel_rapl x86_pkg_temp_thermal intel_powercla=
mp
coretemp kvm eeepc_wmi irqbypass asus_wmi joydev crct10dif_pclmul crc32_pcl=
mul
sparse_keymap ghash_clmulni_intel intel_cstate rfkill iTCO_wdt intel_uncore
wmi_bmof mei_wdt iTCO_vendor_support mxm_wmi mei_me ppdev mei intel_rapl_pe=
rf
wmi snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi video
i2c_i801 snd_hda_intel acpi_pad snd_hda_codec snd_hda_core snd_hwdep parpor=
t_pc
parport shpchp snd_seq snd_seq_device snd_pcm snd_timer snd soundcore
binfmt_misc auth_rpcgss sunrpc amdkfd amd_iommu_v2 amdgpu chash i2c_algo_bit
gpu_sched drm_kms_helper ttm r8169 drm crc32c_intel mii hid_cherry=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20
[ 7670.096014] CPU: 7 PID: 934 Comm: Xorg Not tainted 4.17.4-200.fc28.x86_6=
4 #1
[ 7670.096018] Hardware name: Transtec AG   /B150M-C, BIOS 3601 12/12/2017
[ 7670.096169] RIP: 0010:create_stream_for_sink+0x2cd/0x650 [amdgpu]
[ 7670.096174] RSP: 0018:ffffabfbc20e79d0 EFLAGS: 00010246
[ 7670.096179] RAX: 0000000000000000 RBX: ffff9d9b7ded8000 RCX:
0000000000000000
[ 7670.096184] RDX: 0000000000000013 RSI: ffffffffc0757400 RDI:
ffff9d9b7ded80ac
[ 7670.096188] RBP: ffffabfbc20e7b10 R08: 0000000000000f00 R09:
0000000000000870
[ 7670.096192] R10: ffff9d9b7ded8000 R11: 0000000000000f00 R12:
ffff9d9ba32b1000
[ 7670.096197] R13: 0000000000000000 R14: ffff9d98c0a0c200 R15:
ffff9d99495d8000
[ 7670.096202] FS:  00007fa0d0017ac0(0000) GS:ffff9d9bb5dc0000(0000)
knlGS:0000000000000000
[ 7670.096207] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 7670.096211] CR2: 0000000000000208 CR3: 00000003fcf16003 CR4:
00000000003606e0
[ 7670.096216] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
0000000000000000
[ 7670.096220] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7:
0000000000000400
[ 7670.096223] Call Trace:
[ 7670.096370]  dm_update_crtcs_state+0x26c/0x4d0 [amdgpu]
[ 7670.096510]  amdgpu_dm_atomic_check+0x1b1/0x3b0 [amdgpu]
[ 7670.096552]  drm_atomic_check_only+0x360/0x4f0 [drm]
[ 7670.096587]  drm_atomic_commit+0x13/0x50 [drm]
[ 7670.096619]  drm_atomic_connector_commit_dpms+0xdb/0x100 [drm]
[ 7670.096652]  drm_mode_obj_set_property_ioctl+0x178/0x280 [drm]
[ 7670.096686]  ? drm_mode_connector_set_obj_prop+0x80/0x80 [drm]
[ 7670.096715]  drm_mode_connector_property_set_ioctl+0x39/0x60 [drm]
[ 7670.096744]  drm_ioctl_kernel+0x5b/0xb0 [drm]
[ 7670.096772]  drm_ioctl+0x1b3/0x370 [drm]
[ 7670.096801]  ? drm_mode_connector_set_obj_prop+0x80/0x80 [drm]
[ 7670.096898]  amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
[ 7670.096910]  do_vfs_ioctl+0xa4/0x610
[ 7670.096918]  ksys_ioctl+0x60/0x90
[ 7670.096925]  __x64_sys_ioctl+0x16/0x20
[ 7670.096934]  do_syscall_64+0x5b/0x160
[ 7670.096944]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 7670.096951] RIP: 0033:0x7fa0cd2dbe17
[ 7670.096955] RSP: 002b:00007ffc439d2b38 EFLAGS: 00000246 ORIG_RAX:
0000000000000010
[ 7670.096962] RAX: ffffffffffffffda RBX: 00000000022374b0 RCX:
00007fa0cd2dbe17
[ 7670.096966] RDX: 00007ffc439d2b70 RSI: 00000000c01064ab RDI:
000000000000000c
[ 7670.096970] RBP: 00007ffc439d2b70 R08: 0000000000000000 R09:
0000000002236100
[ 7670.096974] R10: 0000000000000018 R11: 0000000000000246 R12:
00000000c01064ab
[ 7670.096978] R13: 000000000000000c R14: 0000000002237940 R15:
000000000223b001
[ 7670.096983] Code: 49 c7 87 28 60 00 00 00 00 00 00 4c 89 bb 98 01 00 00 =
e8
c7 f9 ff ff 4d 8b ac 24 50 04 00 00 ba 13 00 00 00 48 8d bb ac 00 00 00 <=
;41> 0f
b7 85 08 02 00 00 49 8d b5 12 02 00 00 89 83 c0 00 00 00=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
[ 7670.097204] RIP: create_stream_for_sink+0x2cd/0x650 [amdgpu] RSP:
ffffabfbc20e79d0
[ 7670.097208] CR2: 0000000000000208
[ 7670.097214] ---[ end trace bfc39023ec02bc67 ]---

(In reply to Harry Wentland from co=
mment #7)
> Did you have a chance to capture a repro dmesg w=
ith dc_log=3D1?

Doesn't seem to change anything in the output, but I'll attach it.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15314046810.A1AA4.21826-- --===============1046680764== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1046680764==--