From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 104611] [fiji] BUG: unable to handle kernel NULL pointer dereference when waking up displays with amdgpu.dc=1 Date: Wed, 17 Jan 2018 15:27:24 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0391298002==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 4BABE6E49B for ; Wed, 17 Jan 2018 15:27:24 +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 --===============0391298002== Content-Type: multipart/alternative; boundary="15162028440.32BCEbA27.6757" Content-Transfer-Encoding: 7bit --15162028440.32BCEbA27.6757 Date: Wed, 17 Jan 2018 15:27:24 +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 #3 from Vedran Mileti=C4=87 --- (In reply to Harry Wentland from comment #1) > Does this reproduce consistently or intermittently? No, but I just got it on RX 580:=20 [ 3582.972912] BUG: unable to handle kernel NULL pointer dereference at 0000000000000208 [ 3582.972982] IP: create_stream_for_sink+0x1cc/0x3c0 [amdgpu] [ 3582.972985] PGD 80000003b3e7b067 P4D 80000003b3e7b067 PUD 3d0c0a067 PMD = 0=20 [ 3582.972992] Oops: 0000 [#1] SMP PTI [ 3582.972995] Modules linked in: fuse rpcsec_gss_krb5 nfsv4 dns_resolver n= fs lockd grace fscache intel_rapl x86_pkg_temp_thermal intel_powerclamp corete= mp snd_hda_codec_realtek snd_hda_codec_generic kvm snd_hda_codec_hdmi irqbypass joydev snd_hda_intel snd_hda_codec crct10dif_pclmul crc32_pclmul snd_hda_co= re eeepc_wmi ghash_clmulni_intel intel_cstate snd_hwdep intel_uncore snd_seq snd_seq_device asus_wmi sparse_keymap snd_pcm mei_wdt intel_rapl_perf rfkill iTCO_wdt iTCO_vendor_support snd_timer snd wmi_bmof ppdev soundcore mei_me = wmi lpc_ich mei i2c_i801 parport_pc parport video shpchp binfmt_misc auth_rpcgss sunrpc amdkfd amd_iommu_v2 amdgpu chash i2c_algo_bit drm_kms_helper ttm crc32c_intel drm r8169 mii hid_cherry [ 3582.973075] CPU: 3 PID: 4419 Comm: Xorg Not tainted 4.15.0-0.rc7.git4.1.fc28.x86_64 #1 [ 3582.973077] Hardware name: Transtec AG /B85M-E, BIOS 3507 07/21/2017 [ 3582.973130] RIP: 0010:create_stream_for_sink+0x1cc/0x3c0 [amdgpu] [ 3582.973132] RSP: 0018:ffffaa8402503900 EFLAGS: 00010286 [ 3582.973136] RAX: 0000000000000870 RBX: ffff8d4f472aa000 RCX: 0000000000000000 [ 3582.973138] RDX: 0000000000000013 RSI: 0000000000000002 RDI: ffff8d4f0373f48c [ 3582.973140] RBP: ffffaa8402503a40 R08: 0000000000000000 R09: 0000000000000f00 [ 3582.973142] R10: ffff8d4f0373f400 R11: 0000000000000870 R12: ffff8d4f0373f400 [ 3582.973143] R13: 0000000000000000 R14: ffff8d4f0c16fe80 R15: ffff8d4f03739800 [ 3582.973146] FS: 00007efef37f6a80(0000) GS:ffff8d4f4cc00000(0000) knlGS:0000000000000000 [ 3582.973148] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 3582.973150] CR2: 0000000000000208 CR3: 00000003cc198001 CR4: 00000000001606e0 [ 3582.973152] Call Trace: [ 3582.973159] ? __lock_is_held+0x65/0xb0 [ 3582.973215] dm_update_crtcs_state+0xef/0x3a0 [amdgpu] [ 3582.973262] ? dm_update_crtcs_state+0xef/0x3a0 [amdgpu] [ 3582.973310] ? dc_resource_state_copy_construct+0xcc/0x110 [amdgpu] [ 3582.973356] amdgpu_dm_atomic_check+0x210/0x480 [amdgpu] [ 3582.973377] drm_atomic_check_only+0x387/0x560 [drm] [ 3582.973389] ? drm_connector_list_iter_end+0x5a/0x70 [drm] [ 3582.973402] drm_atomic_commit+0x18/0x50 [drm] [ 3582.973413] drm_atomic_connector_commit_dpms+0xef/0x100 [drm] [ 3582.973425] set_property_atomic+0xce/0x150 [drm] [ 3582.973440] drm_mode_obj_set_property_ioctl+0xf9/0x1b0 [drm] [ 3582.973451] ? drm_mode_connector_set_obj_prop+0x80/0x80 [drm] [ 3582.973461] drm_mode_connector_property_set_ioctl+0x3f/0x60 [drm] [ 3582.973472] drm_ioctl_kernel+0x5d/0xb0 [drm] [ 3582.973483] drm_ioctl+0x31b/0x3d0 [drm] [ 3582.973492] ? drm_mode_connector_set_obj_prop+0x80/0x80 [drm] [ 3582.973499] ? trace_hardirqs_on_caller+0xf4/0x190 [ 3582.973502] ? trace_hardirqs_on+0xd/0x10 [ 3582.973533] amdgpu_drm_ioctl+0x4f/0x90 [amdgpu] [ 3582.973538] do_vfs_ioctl+0xa6/0x6c0 [ 3582.973544] ? __fget+0x124/0x210 [ 3582.973548] SyS_ioctl+0x79/0x90 [ 3582.973554] entry_SYSCALL_64_fastpath+0x25/0x9c [ 3582.973557] RIP: 0033:0x7efef0af1877 [ 3582.973559] RSP: 002b:00007ffd548f2768 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 3582.973562] RAX: ffffffffffffffda RBX: 0000000001763a10 RCX: 00007efef0af1877 [ 3582.973564] RDX: 00007ffd548f27a0 RSI: 00000000c01064ab RDI: 000000000000000c [ 3582.973566] RBP: 0000000001a07140 R08: 00000000021a4bd0 R09: 0000000000000020 [ 3582.973568] R10: 0000000000000005 R11: 0000000000000246 R12: 0000000000847360 [ 3582.973570] R13: 0000000000000001 R14: 0000000000000004 R15: 00007ffd548f31c0 [ 3582.973576] Code: da 4c 89 e7 e8 56 fc ff ff 4c 89 f6 4c 89 ef 4c 89 e2 = e8 28 f0 ff ff 4c 8b ab c0 04 00 00 49 8d bc 24 8c 00 00 00 ba 13 00 00 00 <41= > 0f b7 85 08 02 00 00 49 8d b5 12 02 00 00 41 89 84 24 a0 00=20 [ 3582.973687] RIP: create_stream_for_sink+0x1cc/0x3c0 [amdgpu] RSP: ffffaa8402503900 [ 3582.973689] CR2: 0000000000000208 [ 3582.973711] ---[ end trace db6ecfa1f0babe6e ]--- (In reply to Roman Li from comment #2) > I cannot reproduce it on v4.15-rc7 (git#1545dec46db3) > Vedran, can you provide more info on your setup: > - display and connector types > - window manager > - dmesg with amdgpu.dc_log=3D1 2xDell P2715Q hooked over DP. GNOME 3 on Fedora 27. I will provide dmesg. --=20 You are receiving this mail because: You are the assignee for the bug.= --15162028440.32BCEbA27.6757 Date: Wed, 17 Jan 2018 15:27:24 +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 # 3 on bug 10461= 1 from Vedran Mileti=C4=87
(In reply to Harry Wentland from comment #1)
> Does this reproduce consistently or intermittent=
ly?

No, but I just got it on RX 580:=20

[ 3582.972912] BUG: unable to handle kernel NULL pointer dereference at
0000000000000208
[ 3582.972982] IP: create_stream_for_sink+0x1cc/0x3c0 [amdgpu]
[ 3582.972985] PGD 80000003b3e7b067 P4D 80000003b3e7b067 PUD 3d0c0a067 PMD =
0=20
[ 3582.972992] Oops: 0000 [#1] SMP PTI
[ 3582.972995] Modules linked in: fuse rpcsec_gss_krb5 nfsv4 dns_resolver n=
fs
lockd grace fscache intel_rapl x86_pkg_temp_thermal intel_powerclamp corete=
mp
snd_hda_codec_realtek snd_hda_codec_generic kvm snd_hda_codec_hdmi irqbypass
joydev snd_hda_intel snd_hda_codec crct10dif_pclmul crc32_pclmul snd_hda_co=
re
eeepc_wmi ghash_clmulni_intel intel_cstate snd_hwdep intel_uncore snd_seq
snd_seq_device asus_wmi sparse_keymap snd_pcm mei_wdt intel_rapl_perf rfkill
iTCO_wdt iTCO_vendor_support snd_timer snd wmi_bmof ppdev soundcore mei_me =
wmi
lpc_ich mei i2c_i801 parport_pc parport video shpchp binfmt_misc auth_rpcgss
sunrpc amdkfd amd_iommu_v2 amdgpu chash i2c_algo_bit drm_kms_helper ttm
crc32c_intel drm r8169 mii hid_cherry
[ 3582.973075] CPU: 3 PID: 4419 Comm: Xorg Not tainted
4.15.0-0.rc7.git4.1.fc28.x86_64 #1
[ 3582.973077] Hardware name: Transtec AG    /B85M-E, BIOS 3507 07/21/2017
[ 3582.973130] RIP: 0010:create_stream_for_sink+0x1cc/0x3c0 [amdgpu]
[ 3582.973132] RSP: 0018:ffffaa8402503900 EFLAGS: 00010286
[ 3582.973136] RAX: 0000000000000870 RBX: ffff8d4f472aa000 RCX:
0000000000000000
[ 3582.973138] RDX: 0000000000000013 RSI: 0000000000000002 RDI:
ffff8d4f0373f48c
[ 3582.973140] RBP: ffffaa8402503a40 R08: 0000000000000000 R09:
0000000000000f00
[ 3582.973142] R10: ffff8d4f0373f400 R11: 0000000000000870 R12:
ffff8d4f0373f400
[ 3582.973143] R13: 0000000000000000 R14: ffff8d4f0c16fe80 R15:
ffff8d4f03739800
[ 3582.973146] FS:  00007efef37f6a80(0000) GS:ffff8d4f4cc00000(0000)
knlGS:0000000000000000
[ 3582.973148] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 3582.973150] CR2: 0000000000000208 CR3: 00000003cc198001 CR4:
00000000001606e0
[ 3582.973152] Call Trace:
[ 3582.973159]  ? __lock_is_held+0x65/0xb0
[ 3582.973215]  dm_update_crtcs_state+0xef/0x3a0 [amdgpu]
[ 3582.973262]  ? dm_update_crtcs_state+0xef/0x3a0 [amdgpu]
[ 3582.973310]  ? dc_resource_state_copy_construct+0xcc/0x110 [amdgpu]
[ 3582.973356]  amdgpu_dm_atomic_check+0x210/0x480 [amdgpu]
[ 3582.973377]  drm_atomic_check_only+0x387/0x560 [drm]
[ 3582.973389]  ? drm_connector_list_iter_end+0x5a/0x70 [drm]
[ 3582.973402]  drm_atomic_commit+0x18/0x50 [drm]
[ 3582.973413]  drm_atomic_connector_commit_dpms+0xef/0x100 [drm]
[ 3582.973425]  set_property_atomic+0xce/0x150 [drm]
[ 3582.973440]  drm_mode_obj_set_property_ioctl+0xf9/0x1b0 [drm]
[ 3582.973451]  ? drm_mode_connector_set_obj_prop+0x80/0x80 [drm]
[ 3582.973461]  drm_mode_connector_property_set_ioctl+0x3f/0x60 [drm]
[ 3582.973472]  drm_ioctl_kernel+0x5d/0xb0 [drm]
[ 3582.973483]  drm_ioctl+0x31b/0x3d0 [drm]
[ 3582.973492]  ? drm_mode_connector_set_obj_prop+0x80/0x80 [drm]
[ 3582.973499]  ? trace_hardirqs_on_caller+0xf4/0x190
[ 3582.973502]  ? trace_hardirqs_on+0xd/0x10
[ 3582.973533]  amdgpu_drm_ioctl+0x4f/0x90 [amdgpu]
[ 3582.973538]  do_vfs_ioctl+0xa6/0x6c0
[ 3582.973544]  ? __fget+0x124/0x210
[ 3582.973548]  SyS_ioctl+0x79/0x90
[ 3582.973554]  entry_SYSCALL_64_fastpath+0x25/0x9c
[ 3582.973557] RIP: 0033:0x7efef0af1877
[ 3582.973559] RSP: 002b:00007ffd548f2768 EFLAGS: 00000246 ORIG_RAX:
0000000000000010
[ 3582.973562] RAX: ffffffffffffffda RBX: 0000000001763a10 RCX:
00007efef0af1877
[ 3582.973564] RDX: 00007ffd548f27a0 RSI: 00000000c01064ab RDI:
000000000000000c
[ 3582.973566] RBP: 0000000001a07140 R08: 00000000021a4bd0 R09:
0000000000000020
[ 3582.973568] R10: 0000000000000005 R11: 0000000000000246 R12:
0000000000847360
[ 3582.973570] R13: 0000000000000001 R14: 0000000000000004 R15:
00007ffd548f31c0
[ 3582.973576] Code: da 4c 89 e7 e8 56 fc ff ff 4c 89 f6 4c 89 ef 4c 89 e2 =
e8
28 f0 ff ff 4c 8b ab c0 04 00 00 49 8d bc 24 8c 00 00 00 ba 13 00 00 00 <=
;41> 0f
b7 85 08 02 00 00 49 8d b5 12 02 00 00 41 89 84 24 a0 00=20
[ 3582.973687] RIP: create_stream_for_sink+0x1cc/0x3c0 [amdgpu] RSP:
ffffaa8402503900
[ 3582.973689] CR2: 0000000000000208
[ 3582.973711] ---[ end trace db6ecfa1f0babe6e ]---

(In reply to Roman Li from comment =
#2)
> I cannot reproduce it on v4.15-rc7 (git#1545dec4=
6db3)
> Vedran, can you  provide more info on your setup:
> - display and connector types
> - window manager
> - dmesg with amdgpu.dc_log=3D1

2xDell P2715Q hooked over DP.
GNOME 3 on Fedora 27.
I will provide dmesg.


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