From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 106258] AMD Xorg start failes with non-4K page sizes Date: Wed, 20 Jun 2018 22:57:11 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1462903297==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id B5F416E81F for ; Wed, 20 Jun 2018 22:57:11 +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 --===============1462903297== Content-Type: multipart/alternative; boundary="15295354313.c0BeA93.17216" Content-Transfer-Encoding: 7bit --15295354313.c0BeA93.17216 Date: Wed, 20 Jun 2018 22:57:11 +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=3D106258 --- Comment #34 from Ben Crocker --- Things start to go haywire at 246.305790, which appears to be the first time the do-loop in amdgpu_vm_bo_update_mapping executes more than once. The value of max_entries is obviously absurd; a little later, the value of start (0x104000) is consistent with the first trip through the loop, but the value of last (0xe5fff) looks wrong, starting with the fact that it is LESS than start. [ 246.305139] [drm] amdgpu_vm_bo_split_mapping nodes->size=3D512 pfn=3D0 max_entries=3D8192 [ 246.305230] [drm] amdgpu_vm_bo_split_mapping: addr=3D0x1e2000000 vram_base_offset=3D0x0 [ 246.305322] [drm] amdgpu_vm_bo_split_mapping: start=3D0x102000 last=3D0x= 103fff [ 246.305400] [drm] amdgpu_vm_bo_update_mapping l.1304: ndw=3D64 ncmds=3D9 fragment_size=3D9 [ 246.305474] [drm] amdgpu_vm_bo_update_mapping l.1310: resulting ndw=3D334 [ 246.305533] [drm] amdgpu_vm_bo_update_mapping calls amdgpu_job_alloc_with_ib(..., ndw*4 =3D 1336 (00000538)) [ 246.305630] [drm] amdgpu_job_alloc_with_ib calls amdgpu_ib_get(..., size=3D1336 (00000538)) [ 246.305704] [drm] amdgpu_ib_get calls amdgpu_sa_bo_new(..., size=3D1336 (00000538), align=3D256 Things go haywire: [ 246.305790] [drm] amdgpu_vm_bo_split_mapping nodes->size=3D512 pfn=3D8192 max_entries=3D18446744073709428736 [ 246.305878] [drm] amdgpu_vm_bo_split_mapping: addr=3D0x1e2000000 vram_base_offset=3D0x0 [ 246.305970] [drm] amdgpu_vm_bo_split_mapping: start=3D0x104000 last=3D0x= e5fff [ 246.306029] [drm] amdgpu_vm_bo_update_mapping l.1304: ndw=3D64 ncmds=3D4= 194185 fragment_size=3D9 [ 246.306111] [drm] amdgpu_vm_bo_update_mapping l.1310: resulting ndw=3D41= 942094 [ 246.306197] [drm] amdgpu_vm_bo_update_mapping calls amdgpu_job_alloc_with_ib(..., ndw*4 =3D 167768376 (09FFF138)) [ 246.306322] [drm] amdgpu_job_alloc_with_ib calls amdgpu_ib_get(..., size=3D167768376 (09fff138)) [ 246.306429] [drm] amdgpu_ib_get calls amdgpu_sa_bo_new(..., size=3D16776= 8376 (09fff138), align=3D256 [ 246.306571] WARNING: CPU: 67 PID: 21839 at amdgpu_sa_bo_new+0x628/0x6b0 [amdgpu] [ 246.306645] Modules linked in: binfmt_misc ext4 crc16 mbcache jbd2 fscry= pto evdev snd_usb_audio amdgpu snd_usbmidi_lib snd_rawmidi snd_seq_device ghash_generic gf128mul ecb xts ctr snd_hda_codec_hdmi chash ast gpu_sched c= bc ttm snd_hda_intel vmx_crypto snd_hda_codec drm_kms_helper snd_hda_core drm snd_hwdep snd_pcm snd_timer ofpart drm_panel_orientation_quirks syscopyarea= snd sysfillrect ipmi_powernv sysimgblt fb_sys_fops ipmi_devintf i2c_algo_bit sg powernv_flash soundcore mtd ipmi_msghandler opal_prd at24 sunrpc ecryptfs ip_tables x_tables autofs4 zfs(PO) zunicode(PO) zavl(PO) icp(PO) zcommon(PO) znvpair(PO) spl(O) raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx hid_generic usbhid hid xor raid6_pq libcrc32c crc32c_gen= eric raid1 raid0 multipath linear sd_mod md_mod ses --=20 You are receiving this mail because: You are the assignee for the bug.= --15295354313.c0BeA93.17216 Date: Wed, 20 Jun 2018 22:57:11 +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

Comme= nt # 34 on bug 10625= 8 from Ben Crocker
Things start to go haywire at 246.305790, which appears to be =
the first time
the do-loop in amdgpu_vm_bo_update_mapping executes more than once.
The value of max_entries is obviously absurd; a little later, the value of
start (0x104000) is consistent with the first trip through the loop, but
the value of last (0xe5fff) looks wrong, starting with the fact that it
is LESS than start.

[  246.305139] [drm] amdgpu_vm_bo_split_mapping nodes->size=3D512 pfn=3D0
max_entries=3D8192
[  246.305230] [drm] amdgpu_vm_bo_split_mapping: addr=3D0x1e2000000
vram_base_offset=3D0x0
[  246.305322] [drm] amdgpu_vm_bo_split_mapping: start=3D0x102000 last=3D0x=
103fff
[  246.305400] [drm] amdgpu_vm_bo_update_mapping l.1304: ndw=3D64 ncmds=3D9
fragment_size=3D9
[  246.305474] [drm] amdgpu_vm_bo_update_mapping l.1310: resulting ndw=3D334
[  246.305533] [drm] amdgpu_vm_bo_update_mapping calls
amdgpu_job_alloc_with_ib(..., ndw*4 =3D 1336 (00000538))
[  246.305630] [drm] amdgpu_job_alloc_with_ib calls amdgpu_ib_get(...,
size=3D1336 (00000538))
[  246.305704] [drm] amdgpu_ib_get calls amdgpu_sa_bo_new(..., size=3D1336
(00000538), align=3D256
Things go haywire:
[  246.305790] [drm] amdgpu_vm_bo_split_mapping nodes->size=3D512 pfn=3D=
8192
max_entries=3D18446744073709428736
[  246.305878] [drm] amdgpu_vm_bo_split_mapping: addr=3D0x1e2000000
vram_base_offset=3D0x0
[  246.305970] [drm] amdgpu_vm_bo_split_mapping: start=3D0x104000 last=3D0x=
e5fff
[  246.306029] [drm] amdgpu_vm_bo_update_mapping l.1304: ndw=3D64 ncmds=3D4=
194185
fragment_size=3D9
[  246.306111] [drm] amdgpu_vm_bo_update_mapping l.1310: resulting ndw=3D41=
942094
[  246.306197] [drm] amdgpu_vm_bo_update_mapping calls
amdgpu_job_alloc_with_ib(..., ndw*4 =3D 167768376 (09FFF138))
[  246.306322] [drm] amdgpu_job_alloc_with_ib calls amdgpu_ib_get(...,
size=3D167768376 (09fff138))
[  246.306429] [drm] amdgpu_ib_get calls amdgpu_sa_bo_new(..., size=3D16776=
8376
(09fff138), align=3D256
[  246.306571] WARNING: CPU: 67 PID: 21839 at amdgpu_sa_bo_new+0x628/0x6b0
[amdgpu]
[  246.306645] Modules linked in: binfmt_misc ext4 crc16 mbcache jbd2 fscry=
pto
evdev snd_usb_audio amdgpu snd_usbmidi_lib snd_rawmidi snd_seq_device
ghash_generic gf128mul ecb xts ctr snd_hda_codec_hdmi chash ast gpu_sched c=
bc
ttm snd_hda_intel vmx_crypto snd_hda_codec drm_kms_helper snd_hda_core drm
snd_hwdep snd_pcm snd_timer ofpart drm_panel_orientation_quirks syscopyarea=
 snd
sysfillrect ipmi_powernv sysimgblt fb_sys_fops ipmi_devintf i2c_algo_bit sg
powernv_flash soundcore mtd ipmi_msghandler opal_prd at24 sunrpc ecryptfs
ip_tables x_tables autofs4 zfs(PO) zunicode(PO) zavl(PO) icp(PO) zcommon(PO)
znvpair(PO) spl(O) raid10 raid456 async_raid6_recov async_memcpy async_pq
async_xor async_tx hid_generic usbhid hid xor raid6_pq libcrc32c crc32c_gen=
eric
raid1 raid0 multipath linear sd_mod md_mod ses


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