https://bugs.freedesktop.org/show_bug.cgi?id=104556
Bug ID: 104556
Summary: WARNING: CPU: 1 PID: 7288 at mm/slab_common.c:971
kmalloc_slab+0x5e/0x70
Product: DRI
Version: XOrg git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: DRM/AMDgpu
Assignee: dri-devel@lists.freedesktop.org
Reporter: pmenzel+bugs.freedesk...@molgen.mpg.de
With Linux 4.14.12 and libdrm 2.4.89, running `sudo tests/amdgpu/amdgpu_test
l`, it hangs at *gfx ring block test*, and the Linux messages below can be seen
running `dmesg`.
```
[ 175.540929] ------------[ cut here ]------------
[ 175.540933] WARNING: CPU: 1 PID: 7288 at mm/slab_common.c:971
kmalloc_slab+0x5e/0x70
[ 175.540934] Modules linked in: nfsv4 nfs 8021q garp mrp stp llc amdgpu ttm
drm_kms_helper cfbfillrect syscopyarea cfbimgblt sysfillrect sysimgblt hci_uart
fb_sys_fops cfbcopyarea fb font fbdev drm btqca btintel bluetooth wmi_bmof
video ecdh_generic wmi nfsd auth_rpcgss oid_registry nfs_acl lockd grace sunrpc
ipv6 autofs4 unix
[ 175.540960] CPU: 1 PID: 7288 Comm: lt-amdgpu_test Not tainted
4.14.12.mx64.200 #1
[ 175.540961] Hardware name: Dell Inc. OptiPlex 5040/0R790T, BIOS 1.2.7
01/15/2016
[ 175.540961] task: ffff8802389b90c0 task.stack: ffffc9000b724000
[ 175.540963] RIP: 0010:kmalloc_slab+0x5e/0x70
[ 175.540963] RSP: 0018:ffffc9000b727928 EFLAGS: 00010246
[ 175.540964] RAX: 0000000000000000 RBX: ffff880250789008 RCX:
ffffc9000b727a90
[ 175.540965] RDX: 00000000048c27c0 RSI: 0000000000000000 RDI:
00000000048c27c0
[ 175.540965] RBP: ffffc9000b727a90 R08: ffff880250789008 R09:
ffff880250789038
[ 175.540965] R10: ffff8802427426c8 R11: 00000000ffffffff R12:
00000000014080c0
[ 175.540966] R13: 00000000048c27c0 R14: ffffffffa0338314 R15:
ffff8802427426c8
[ 175.540966] FS: 00007f56b969c700(0000) GS:ffff88025c480000(0000)
knlGS:0000000000000000
[ 175.540967] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 175.540967] CR2: 00007f56b96d1000 CR3: 000000024a95e004 CR4:
00000000003606e0
[ 175.540968] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
0000000000000000
[ 175.540968] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7:
0000000000000400
[ 175.540968] Call Trace:
[ 175.540971] __kmalloc+0x23/0x240
[ 175.541001] amdgpu_vram_mgr_new+0xc4/0x2b0 [amdgpu]
[ 175.541004] ttm_bo_mem_space+0x111/0x4e0 [ttm]
[ 175.541009] ? add_hole+0xcc/0xf0 [drm]
[ 175.541010] ttm_bo_validate+0xab/0x120 [ttm]
[ 175.541014] ? drm_prime_handle_to_fd_ioctl+0x3e/0x50 [drm]
[ 175.541016] ttm_bo_init_reserved+0x343/0x400 [ttm]
[ 175.541022] amdgpu_bo_create_restricted+0x1db/0x460 [amdgpu]
[ 175.541029] ? amdgpu_fill_buffer+0x2e0/0x2e0 [amdgpu]
[ 175.541036] amdgpu_bo_create+0xbd/0x1b0 [amdgpu]
[ 175.541043] amdgpu_gem_object_create+0x76/0xe0 [amdgpu]
[ 175.541050] ? amdgpu_gem_object_close+0x1b0/0x1b0 [amdgpu]
[ 175.541056] amdgpu_gem_create_ioctl+0x84/0x100 [amdgpu]
[ 175.541059] drm_ioctl_kernel+0x65/0xb0 [drm]
[ 175.541062] drm_ioctl+0x28b/0x330 [drm]
[ 175.541069] ? amdgpu_gem_object_close+0x1b0/0x1b0 [amdgpu]
[ 175.541070] ? tty_write+0x1e6/0x2c0
[ 175.541071] ? n_tty_open+0xd0/0xd0
[ 175.541076] amdgpu_drm_ioctl+0x46/0x80 [amdgpu]
[ 175.541078] do_vfs_ioctl+0x8f/0x5b0
[ 175.541079] ? vfs_write+0x194/0x1b0
[ 175.541080] SyS_ioctl+0x3b/0x70
[ 175.541081] entry_SYSCALL_64_fastpath+0x13/0x6c
[ 175.541082] RIP: 0033:0x7f56b86993e7
[ 175.541083] RSP: 002b:00007ffe44526408 EFLAGS: 00000246
[ 175.541083] Code: 82 f3 c3 48 85 ff b8 10 00 00 00 74 f4 48 83 ef 01 48 c1
ef 03 48 63 ff 0f be 87 c0 f6 46 82 eb d1 31 c0 81 e6 00 02 00 00 75 d6 <0f> ff
c3 48 8b 04 c5 c0 74 b3 82 c3 66 0f 1f 44 00 00 0f 1f 44
[ 175.541097] ---[ end trace bd4b3546ebd3d3ae ]---
[ 175.541108] [drm:amdgpu_gem_object_create [amdgpu]] *ERROR* Failed to
allocate GEM object (1000000000000, 6, 4096, -12)
```
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel