[Bug 111727] [Panfrost] Kernel panic in weston running glmark2
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Sep 18 01:34:39 UTC 2019
https://bugs.freedesktop.org/show_bug.cgi?id=111727
Bug ID: 111727
Summary: [Panfrost] Kernel panic in weston running glmark2
Product: DRI
Version: unspecified
Hardware: ARM
OS: Linux (All)
Status: NEW
Severity: normal
Priority: not set
Component: DRM/other
Assignee: dri-devel at lists.freedesktop.org
Reporter: ixn at disroot.org
The Linux kernel panics for me between the second ([build] use-vbo=true) and
third ([texture] texture-filter=nearest) benches of glmark2{,-es2}-wayland with
Panfrost.
Other programs I've tried such as es2gears and supertuxkart don't trigger this
bug.
Reproducing:
1) Launch weston with the Panfrost driver.
2) Start glmark2-wayland or glmark2-es2-wayland
3) Wait 20 seconds
Actual results:
Kernel panic.
Expected Results:
glmark2 displaying a textured cube.
Build Date & Hardware:
Kernel: 5.3.0
Distro: Arch Linux ARM
Mesa: git master (built 2019-09-16)
Weston: 6.0.1
glmark2: git master
libdrm: 2.4.99
SOC: RK3288
GPU: Mali t760
Kernel log:
8<--- cut here ---
Unable to handle kernel NULL pointer dereference at virtual address 000000b8
pgd = 87de9609
[000000b8] *pgd=00000000
Internal error: Oops: 5 [#1] PREEMPT SMP ARM
Modules linked in: uas hci_uart btqca btbcm btintel serdev cros_ec_lightbar
cros_ec_sysfs cros_ec_debugfs panfrost cros_ec_dev rockchip_rga gpu_sched
v4l2_mem2mem rk_crypto videobuf2_dma_sg dw_hdmi_cec cros_ec_spi
CPU: 1 PID: 2936 Comm: weston Not tainted 5.3.0 #4
Hardware name: Rockchip (Device Tree)
PC is at drm_gem_shmem_create+0x40/0x108
LR is at 0xeb438c00
pc : [<c08b8244>] lr : [<eb438c00>] psr: a00f0013
sp : e1c6ddb8 ip : 00253699 fp : e1c6de7c
r10: ea0393f4 r9 : e1c6de7c r8 : e1c6de7c
r7 : e570e840 r6 : ea039000 r5 : ffffffe4 r4 : 001d5000
r3 : edfc65fc r2 : edfc65f8 r1 : 600f0013 r0 : ffffffe4
Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
Control: 10c5387d Table: 1c84406a DAC: 00000051
Process weston (pid: 2936, stack limit = 0xe176b393)
Stack: (0xe1c6ddb8 to 0xe1c6e000)
dda0: 001d5000 e570e040
ddc0: e570e840 c08b8958 e570e040 e570e040 ea039000 e570e840 e1c6de7c bf0391b4
dde0: e570e040 ebb9f240 ea039000 c08a0034 ebb9f240 ea039000 e52c8c00 e52c8d04
de00: e1c6de7c c08a022c ea039000 e52c8c00 00000000 00000031 c08a0368 e1c6de7c
de20: 0000002e c08924b0 bea7bb00 00000000 c00c642e ebcb1f00 e52c8c00 c00c642e
de40: bea7b6e8 c1097db0 0000000c c0892898 00000000 c12c8c68 bea7bb00 c0c32020
de60: 200f0093 0000000c e1c6de7c 0000000c c08a0368 00000051 00000000 00000000
de80: 00000000 00000031 ea7d0f20 c016e540 00000000 e1c6de9c ed96d700 00000000
dea0: 00000000 00000000 e1c6dea8 e1c6dea8 00000000 ea7d0f00 ea7d0f50 e1c6dee0
dec0: ea7d0f58 00000000 00000000 ea7d0f00 00000000 c0f33794 00000000 c02bb6cc
dee0: e1c6dee0 e1c6dee0 00000020 00000020 ea7d0f20 bea7bc10 00000020 b1e40e00
df00: 00000001 bea7b6e8 ea037c20 00000000 c00c642e ebcb1f00 00000011 00000036
df20: bea7b78c c0285430 e1ea5600 b1e40e00 00000000 bea7bad4 40000040 dd37d400
df40: 00000129 c0101204 e1c6c000 00000129 020a5a30 c0c332d8 00000000 bea7bc10
df60: 00000000 00000070 ebcb1f00 ebcb1f00 00000000 c00c642e bea7b6e8 00000011
df80: 00000036 c0285ca0 b6fbd8c8 bea7b6e8 c00c642e 00000036 c0101204 e1c6c000
dfa0: 00000036 c0101000 b6fbd8c8 bea7b6e8 00000011 c00c642e bea7b6e8 fb4c9400
dfc0: b6fbd8c8 bea7b6e8 c00c642e 00000036 01c68fc0 b6fbd8c8 b61e22c8 bea7b78c
dfe0: b68c2efc bea7b6cc b68a9eac b6db4f4c 800f0010 00000011 00000000 00000000
[<c08b8244>] (drm_gem_shmem_create) from [<c08b8958>]
(drm_gem_shmem_prime_import_sg_table+0x28/0xc8)
[<c08b8958>] (drm_gem_shmem_prime_import_sg_table) from [<bf0391b4>]
(panfrost_gem_prime_import_sg_table+0xc/0x30 [panfrost])
[<bf0391b4>] (panfrost_gem_prime_import_sg_table [panfrost]) from [<c08a0034>]
(drm_gem_prime_import_dev+0xa0/0x104)
[<c08a0034>] (drm_gem_prime_import_dev) from [<c08a022c>]
(drm_gem_prime_fd_to_handle+0x18c/0x1a8)
[<c08a022c>] (drm_gem_prime_fd_to_handle) from [<c08924b0>]
(drm_ioctl_kernel+0x90/0xd0)
[<c08924b0>] (drm_ioctl_kernel) from [<c0892898>] (drm_ioctl+0x208/0x3c8)
[<c0892898>] (drm_ioctl) from [<c0285430>] (do_vfs_ioctl+0x9c/0x8b0)
[<c0285430>] (do_vfs_ioctl) from [<c0285ca0>] (ksys_ioctl+0x5c/0x80)
[<c0285ca0>] (ksys_ioctl) from [<c0101000>] (ret_fast_syscall+0x0/0x54)
Exception stack(0xe1c6dfa8 to 0xe1c6dff0)
dfa0: b6fbd8c8 bea7b6e8 00000011 c00c642e bea7b6e8 fb4c9400
dfc0: b6fbd8c8 bea7b6e8 c00c642e 00000036 01c68fc0 b6fbd8c8 b61e22c8 bea7b78c
dfe0: b68c2efc bea7b6cc b68a9eac b6db4f4c
Code: e1a05000 e3550000 03e0500b 0a00000d (e59530d4)
---[ end trace cfbdeb1d1679c306 ]---
--
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/20190918/11f6b1f4/attachment-0001.html>
More information about the dri-devel
mailing list