From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 106258] AMD Xorg start failes with non-4K page sizes
Date: Wed, 06 Jun 2018 20:39:04 +0000 [thread overview]
Message-ID: <bug-106258-502-FAjh7mLsvv@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-106258-502@http.bugs.freedesktop.org/>
[-- Attachment #1.1: Type: text/plain, Size: 4916 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=106258
--- Comment #25 from foxbat@ruin.net ---
(In reply to Michel Dänzer from comment #24)
> Created attachment 140046 [details] [review]
> Add some debugging output to amdgpu_sa_bo_new
>
> This patch should tell us which of the WARN_ON_ONCE in amdgpu_sa_bo_new is
> hit, and what the values are.
Hello,
I have reproduced the error with the provided patch. Here is the output:
[ 175.501689] WARNING: CPU: 24 PID: 3212 at
drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c:288 amdgpu_sa_bo_new+0x648/0x6d0
[amdgpu]
[ 175.501692] Modules linked in: binfmt_misc snd_usb_audio snd_usbmidi_lib
snd_rawmidi snd_seq_device amdgpu evdev snd_hda_codec_hdmi chash ast gpu_sched
snd_hda_intel ttm snd_hda_codec ghash_generic drm_kms_helper gf128mul ecb
snd_hda_core drm xts snd_hwdep snd_pcm drm_panel_orientation_quirks syscopyarea
ctr sysfillrect sysimgblt snd_timer fb_sys_fops cbc vmx_crypto snd i2c_algo_bit
sg soundcore ofpart ipmi_powernv powernv_flash ipmi_devintf opal_prd mtd
ipmi_msghandler at24 ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2
fscrypto raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor
async_tx hid_generic usbhid hid xor raid6_pq libcrc32c crc32c_generic raid1
raid0 multipath linear sd_mod md_mod ses enclosure xhci_pci xhci_hcd mpt3sas
raid_class usbcore scsi_transport_sas nvme tg3 nvme_core
[ 175.501731] aacraid libphy
[ 175.501735] CPU: 24 PID: 3212 Comm: spectacle Not tainted 4.17.0-foxbat-64k
#2
[ 175.501736] NIP: c00800001885cd10 LR: c008000018865944 CTR:
0000000000000000
[ 175.501738] REGS: c000001f618b71f0 TRAP: 0700 Not tainted
(4.17.0-foxbat-64k)
[ 175.501738] MSR: 9000000000029033 <SF,HV,EE,ME,IR,DR,RI,LE> CR: 24828848
XER: 20040000
[ 175.501744] CFAR: c00800001885c724 SOFTE: 0
GPR00: c008000018865944 c000001f618b7470 c008000018ab6400
c000001fdbea3418
GPR04: c000201ca9246260 0000000000100000 0000000000000100
00000000000017c1
GPR08: 3817b594461fff5f c000201ca9246000 0000000000000000
c008000018a19dd0
GPR12: 0000000000008000 c000001ffffe4000 c000001fdbea0000
c000001feab786a0
GPR16: 00000000027ffc4e c000201ca9246260 00000000fffe2000
ffffffffffffffef
GPR20: 0000000009fff138 0000000000000100 c000001fdbea6980
0000000000000000
GPR24: 00000000027ffc4e 00000000000e5fff c000001fdbea3418
00000001fe000000
GPR28: c000001fdbea0000 0000000000000000 c000201ca9246260
0000000009fff138
[ 175.501780] NIP [c00800001885cd10] amdgpu_sa_bo_new+0x648/0x6d0 [amdgpu]
[ 175.501798] LR [c008000018865944] amdgpu_ib_get+0x8c/0x120 [amdgpu]
[ 175.501799] Call Trace:
[ 175.501820] [c000001f618b7470] [c00800001885c7f8]
amdgpu_sa_bo_new+0x130/0x6d0 [amdgpu] (unreliable)
[ 175.501840] [c000001f618b7710] [c008000018865944] amdgpu_ib_get+0x8c/0x120
[amdgpu]
[ 175.501861] [c000001f618b7790] [c008000018942558]
amdgpu_job_alloc_with_ib+0x90/0x110 [amdgpu]
[ 175.501880] [c000001f618b77d0] [c008000018862124]
amdgpu_vm_bo_update_mapping+0x35c/0x480 [amdgpu]
[ 175.501899] [c000001f618b78c0] [c0080000188625c8]
amdgpu_vm_bo_update+0x380/0x740 [amdgpu]
[ 175.501916] [c000001f618b79d0] [c008000018846d10]
amdgpu_gem_va_ioctl+0x5f8/0x620 [amdgpu]
[ 175.501923] [c000001f618b7b20] [c008000017748ce8]
drm_ioctl_kernel+0xa0/0x140 [drm]
[ 175.501928] [c000001f618b7b70] [c0080000177491b4] drm_ioctl+0x1ac/0x4d0
[drm]
[ 175.501943] [c000001f618b7cb0] [c008000018820078] amdgpu_drm_ioctl+0x70/0xd0
[amdgpu]
[ 175.501946] [c000001f618b7d00] [c0000000003e216c] do_vfs_ioctl+0xdc/0x8a0
[ 175.501948] [c000001f618b7da0] [c0000000003e2a34] ksys_ioctl+0x104/0x120
[ 175.501950] [c000001f618b7df0] [c0000000003e2a90] sys_ioctl+0x40/0xa0
[ 175.501953] [c000001f618b7e30] [c00000000000b9e0] system_call+0x58/0x6c
[ 175.501954] Instruction dump:
[ 175.501956] 892a0000 2f890000 409efd4c 3c620000 e8639aa0 39200001 7ea4ab78
992a0000
[ 175.501959] 481bee31 e8410018 4bfffd2c 60000000 <0fe00000> 3d420000 e94a9a98
3bc0ffea
[ 175.501963] ---[ end trace b955b8bff21188f9 ]---
[ 175.501965] [drm] size=167768376 > sa_manager->size=1048576
[ 175.501968] amdgpu 0000:01:00.0: failed to get a new IB (-22)
[ 175.502036] [drm:amdgpu_gem_va_ioctl [amdgpu]] *ERROR* Couldn't update BO_VA
(-22)
[ 175.502153] amdgpu 0000:01:00.0: failed to get a new IB (-22)
[ 175.535050] amdgpu 0000:01:00.0: failed to get a new IB (-22)
[ 175.539783] amdgpu 0000:01:00.0: failed to get a new IB (-22)
[ 175.539870] [drm:amdgpu_gem_va_ioctl [amdgpu]] *ERROR* Couldn't update BO_VA
(-22)
[ 175.540410] amdgpu 0000:01:00.0: failed to get a new IB (-22)
[ 175.540489] [drm:amdgpu_gem_va_ioctl [amdgpu]] *ERROR* Couldn't update BO_VA
(-22)
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 6115 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2018-06-06 20:39 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-26 21:12 [Bug 106258] AMD Xorg start failes with non-4K page sizes bugzilla-daemon
2018-04-26 21:14 ` bugzilla-daemon
2018-04-26 21:17 ` bugzilla-daemon
2018-04-26 21:19 ` bugzilla-daemon
2018-04-26 21:22 ` bugzilla-daemon
2018-04-27 20:25 ` bugzilla-daemon
2018-05-01 10:08 ` bugzilla-daemon
2018-05-01 13:02 ` bugzilla-daemon
2018-05-01 13:06 ` bugzilla-daemon
2018-05-01 16:05 ` bugzilla-daemon
2018-05-02 9:22 ` bugzilla-daemon
2018-05-02 19:54 ` bugzilla-daemon
2018-05-02 20:38 ` bugzilla-daemon
2018-05-02 20:38 ` bugzilla-daemon
2018-05-02 22:12 ` bugzilla-daemon
2018-05-06 3:09 ` bugzilla-daemon
2018-05-15 11:54 ` bugzilla-daemon
2018-05-25 18:04 ` bugzilla-daemon
2018-05-25 19:07 ` bugzilla-daemon
2018-05-25 19:09 ` bugzilla-daemon
2018-05-30 17:16 ` bugzilla-daemon
2018-06-05 15:52 ` bugzilla-daemon
2018-06-05 16:10 ` bugzilla-daemon
2018-06-05 17:17 ` bugzilla-daemon
2018-06-06 7:18 ` bugzilla-daemon
2018-06-06 20:39 ` bugzilla-daemon [this message]
2018-06-06 21:10 ` bugzilla-daemon
2018-06-07 7:14 ` bugzilla-daemon
2018-06-18 17:37 ` bugzilla-daemon
2018-06-18 22:24 ` bugzilla-daemon
2018-06-19 9:07 ` bugzilla-daemon
2018-06-20 1:14 ` bugzilla-daemon
2018-06-20 21:50 ` bugzilla-daemon
2018-06-20 22:39 ` bugzilla-daemon
2018-06-20 22:57 ` bugzilla-daemon
2018-06-21 9:29 ` bugzilla-daemon
2018-06-21 10:22 ` bugzilla-daemon
2018-06-21 10:34 ` bugzilla-daemon
2018-06-21 11:17 ` bugzilla-daemon
2018-06-21 22:32 ` bugzilla-daemon
2018-06-24 9:15 ` bugzilla-daemon
2018-06-28 9:12 ` bugzilla-daemon
2018-07-12 11:51 ` bugzilla-daemon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-106258-502-FAjh7mLsvv@http.bugs.freedesktop.org/ \
--to=bugzilla-daemon@freedesktop.org \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox