All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 106258] AMD Xorg start failes with non-4K page sizes
Date: Thu, 26 Apr 2018 21:12:41 +0000	[thread overview]
Message-ID: <bug-106258-502@http.bugs.freedesktop.org/> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 4674 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=106258

            Bug ID: 106258
           Summary: AMD Xorg start failes with non-4K page sizes
           Product: DRI
           Version: unspecified
          Hardware: PowerPC
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/AMDgpu
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: freedesktop@bluematt.me

Have two nearly-identical boxes, both running Debian testing with a 4.16
kernel, only major difference is one is configured with a 4k page size, one
with Debian's default 64K page size (on PPC64LE). This results in a corrupted
output when running X (with a non-corrupt mouse overlayed on top) and the
following WARN in dmesg:

[   33.990146] WARNING: CPU: 8 PID: 1401 at
/build/linux-z743uR/linux-4.16/drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c:326
amdgpu_sa_bo_new+0x630/0x6b0 [amdgpu]
[   33.990148] Modules linked in: ext4 crc16 mbcache jbd2 fscrypto amdgpu chash
evdev ast gpu_sched ttm snd_hda_codec_hdmi drm_kms_helper snd_hda_intel
ghash_generic snd_hda_codec gf128mul drm ctr snd_hda_core snd_hwdep cbc sg
snd_pcm vmx_crypto drm_panel_orientation_quirks syscopyarea ofpart snd_timer
sysfillrect ipmi_powernv sysimgblt snd powernv_flash ipmi_devintf fb_sys_fops
mtd ipmi_msghandler i2c_algo_bit opal_prd soundcore at24 ip_tables x_tables
autofs4 btrfs crc32c_generic xor zstd_decompress zstd_compress xxhash raid6_pq
ecb xts algif_skcipher af_alg hid_generic usbhid hid sd_mod dm_crypt dm_mod
xhci_pci xhci_hcd mpt3sas usbcore tg3 raid_class scsi_transport_sas libphy
usb_common
[   33.990187] CPU: 8 PID: 1401 Comm: gnome-shell Not tainted
4.16.0-trunk-powerpc64le #1 Debian 4.16-1~exp1
[   33.990189] NIP:  c00800000e08bfe8 LR: c00800000e0940d4 CTR:
0000000000000000
[   33.990190] REGS: c000000fac573260 TRAP: 0700   Not tainted 
(4.16.0-trunk-powerpc64le Debian 4.16-1~exp1)
[   33.990191] MSR:  9000000000029033 <SF,HV,EE,ME,IR,DR,RI,LE>  CR: 24828848 
XER: 20040000
[   33.990196] CFAR: c00800000e08ba14 SOFTE: 0 
               GPR00: c00800000e0940d4 c000000fac5734e0 c00800000e2e1c00
c000000ff4673318 
               GPR04: c000000feedc5a58 0000000009fff138 0000000000000100
0000000ffacf0000 
               GPR08: 0000000000000010 0000000000100000 0000000000000000
c00800000e246b98 
               GPR12: 0000000000008000 c00000000fa85800 c000000ff4670000
c000000ff45067e0 
               GPR16: 00000000000e69ff c000000feedc5a58 00000000fffe2000
ffffffffffffffef 
               GPR20: 0000000009fff138 c000000ff4670000 0000000000000100
0000000000000000 
               GPR24: 00000000000e69ff 0000000000104a00 c000000ff4673318
0000000116000000 
               GPR28: c000000ff4670000 0000000000000000 c000000feedc5a58
0000000009fff138 
[   33.990228] NIP [c00800000e08bfe8] amdgpu_sa_bo_new+0x630/0x6b0 [amdgpu]
[   33.990244] LR [c00800000e0940d4] amdgpu_ib_get+0x8c/0x120 [amdgpu]
[   33.990245] Call Trace:
[   33.990261] [c000000fac5734e0] [c00800000e08bae4]
amdgpu_sa_bo_new+0x12c/0x6b0 [amdgpu] (unreliable)
[   33.990278] [c000000fac573740] [c00800000e0940d4] amdgpu_ib_get+0x8c/0x120
[amdgpu]
[   33.990298] [c000000fac5737c0] [c00800000e176db8]
amdgpu_job_alloc_with_ib+0x90/0x110 [amdgpu]
[   33.990316] [c000000fac573800] [c00800000e090be8]
amdgpu_vm_bo_update_mapping+0x360/0x4b0 [amdgpu]
[   33.990332] [c000000fac5738f0] [c00800000e091084]
amdgpu_vm_bo_update+0x34c/0x710 [amdgpu]
[   33.990350] [c000000fac573a00] [c00800000e0768b0]
amdgpu_gem_va_ioctl+0x5f8/0x620 [amdgpu]
[   33.990356] [c000000fac573b50] [c00800000cd88f48]
drm_ioctl_kernel+0xa0/0x140 [drm]
[   33.990361] [c000000fac573ba0] [c00800000cd89424] drm_ioctl+0x1bc/0x4f0
[drm]
[   33.990376] [c000000fac573cf0] [c00800000e050078] amdgpu_drm_ioctl+0x70/0xd0
[amdgpu]
[   33.990379] [c000000fac573d40] [c0000000003dd8dc] do_vfs_ioctl+0xdc/0x8a0
[   33.990381] [c000000fac573de0] [c0000000003de164] SyS_ioctl+0xc4/0x130
[   33.990383] [c000000fac573e30] [c00000000000b8e0] system_call+0x58/0x6c
[   33.990384] Instruction dump:
[   33.990386] 7fc3f378 38210260 e8010010 81810008 ea21ff88 ea81ffa0 eac1ffb0
eb41ffd0 
[   33.990389] ebc1fff0 7c0803a6 7d908120 4e800020 <0fe00000> 3bc0ffea 7fc3f378
38210260 
[   33.990393] ---[ end trace 59adbd4db83fa3b4 ]---
[   33.990397] amdgpu 0000:01:00.0: failed to get a new IB (-22)
[   33.990501] amdgpu 0000:01:00.0: failed to get a new IB (-22)
[   34.007673] amdgpu 0000:01:00.0: failed to get a new IB (-22)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 5978 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

             reply	other threads:[~2018-04-26 21:12 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-26 21:12 bugzilla-daemon [this message]
2018-04-26 21:14 ` [Bug 106258] AMD Xorg start failes with non-4K page sizes 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
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@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.