All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 104556] WARNING: CPU: 1 PID: 7288 at mm/slab_common.c:971 kmalloc_slab+0x5e/0x70
Date: Tue, 09 Jan 2018 12:50:44 +0000	[thread overview]
Message-ID: <bug-104556-502@http.bugs.freedesktop.org/> (raw)


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

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.freedesktop@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.

[-- Attachment #1.2: Type: text/html, Size: 5475 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-01-09 12:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-09 12:50 bugzilla-daemon [this message]
2018-01-09 12:53 ` [Bug 104556] WARNING: CPU: 1 PID: 7288 at mm/slab_common.c:971 kmalloc_slab+0x5e/0x70 bugzilla-daemon
2018-01-09 12:57 ` bugzilla-daemon
2018-01-09 13:47 ` bugzilla-daemon
2018-01-09 13:57 ` bugzilla-daemon
2018-01-09 15:01 ` bugzilla-daemon
2019-11-19  8:28 ` 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-104556-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.