[Bug 106258] AMD Xorg start failes with non-4K page sizes
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Apr 26 21:12:41 UTC 2018
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 at lists.freedesktop.org
Reporter: freedesktop at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180426/eba8a8f6/attachment.html>
More information about the dri-devel
mailing list