Radeon rejecting CS due to memory fragmentation, or what?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

While playing minecraft after not having rebooted in a number of days, it complains that the kernel rejected CS, see dmesg for more info.  dmesg shows:

[389509.644744] [drm:radeon_cs_ioctl] *ERROR* Failed to parse relocation -12!
[389509.645383] [drm:radeon_cs_ioctl] *ERROR* Failed to parse relocation -12!

And sometimes, a whole bunch more that I will include at the end of this message.  At first I thought I had a memory fragmentation issue so I forced a compaction but the errors persist.  At the time, free and /proc/buddyinfo show:

psusi@faldara:~/Videos$ cat /proc/buddyinfo
Node 0, zone      DMA      1      1      1      0      2      1      1      0      1      1      3
Node 0, zone    DMA32   5644  34509  26973    298     54      1      0      0      0      0      0
Node 0, zone   Normal    337    589    164     56     48     25     13     11      4      0      0
psusi@faldara:~/Videos$ free -m
~             total       used       free     shared    buffers     cached
Mem:          3930       3160        770         32         15        577
- -/+ buffers/cache:       2567       1362
Swap:         2047        499       1548

So it looks to me like I have plenty of free memory, and even in some of the higher order chunk sizes ( this was not the case prior to forced compaction ), so why is radeon complaining -ENOMEM?

[389509.027702] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
[389509.027703] 170644 total pagecache pages
[389509.027704] 19205 pages in swap cache
[389509.027705] Swap cache stats: add 1370147, delete 1350942, find 562616/659944
[389509.027706] Free swap  = 1585180kB
[389509.027707] Total swap = 2097148kB
[389509.027707] 1042642 pages RAM
[389509.027708] 0 pages HighMem/MovableOnly
[389509.027709] 16693 pages reserved
[389509.027710] [drm:radeon_cs_ioctl] *ERROR* Failed to parse relocation -12!
[389509.028446] java: page allocation failure: order:4, mode:0x10c0d0
[389509.028448] CPU: 2 PID: 31148 Comm: java Not tainted 3.13.0-24-generic #47-Ubuntu
[389509.028449] Hardware name: System manufacturer System Product Name/P8P67 PRO REV 3.1, BIOS 1904 08/15/2011
[389509.028450]  0000000000000000 ffff880102f0b950 ffffffff81715ac4 000000000010c0d0
[389509.028452]  ffff880102f0b9d8 ffffffff81153aab 000000000000000e 0000000000000002
[389509.028454]  0000000000000001 ffff880102f0b9a8 ffffffff810dbe5a 0000000000000003
[389509.028456] Call Trace:
[389509.028458]  [<ffffffff81715ac4>] dump_stack+0x45/0x56
[389509.028460]  [<ffffffff81153aab>] warn_alloc_failed+0xeb/0x140
[389509.028462]  [<ffffffff810dbe5a>] ? on_each_cpu_mask+0x2a/0x70
[389509.028464]  [<ffffffff81158105>] __alloc_pages_nodemask+0x865/0xa20
[389509.028466]  [<ffffffff81195413>] alloc_pages_current+0xa3/0x160
[389509.028467]  [<ffffffff81152b7e>] __get_free_pages+0xe/0x50
[389509.028470]  [<ffffffff8116f40e>] kmalloc_order_trace+0x2e/0xa0
[389509.028472]  [<ffffffff811a0041>] __kmalloc+0x181/0x190
[389509.028485]  [<ffffffffa031bc1d>] ? radeon_cs_ioctl+0x1dd/0x9e0 [radeon]
[389509.028495]  [<ffffffffa031bc45>] radeon_cs_ioctl+0x205/0x9e0 [radeon]
[389509.028497]  [<ffffffff8101b7d9>] ? sched_clock+0x9/0x10
[389509.028499]  [<ffffffff8109d2d5>] ? sched_clock_cpu+0xb5/0x100
[389509.028505]  [<ffffffffa025ec22>] drm_ioctl+0x502/0x630 [drm]
[389509.028508]  [<ffffffff810d9329>] ? futex_wake+0x1a9/0x1d0
[389509.028514]  [<ffffffffa02cf0fe>] radeon_drm_ioctl+0x4e/0x90 [radeon]
[389509.028516]  [<ffffffff811cc6e0>] do_vfs_ioctl+0x2e0/0x4c0
[389509.028518]  [<ffffffff8109dd84>] ? vtime_account_user+0x54/0x60
[389509.028520]  [<ffffffff811cc941>] SyS_ioctl+0x81/0xa0
[389509.028522]  [<ffffffff817266bf>] tracesys+0xe1/0xe6
[389509.028523] Mem-Info:
[389509.028524] Node 0 DMA per-cpu:
[389509.028525] CPU    0: hi:    0, btch:   1 usd:   0
[389509.028526] CPU    1: hi:    0, btch:   1 usd:   0
[389509.028527] CPU    2: hi:    0, btch:   1 usd:   0
[389509.028528] CPU    3: hi:    0, btch:   1 usd:   0
[389509.028528] Node 0 DMA32 per-cpu:
[389509.028530] CPU    0: hi:  186, btch:  31 usd:   0
[389509.028530] CPU    1: hi:  186, btch:  31 usd:   0
[389509.028531] CPU    2: hi:  186, btch:  31 usd:   0
[389509.028532] CPU    3: hi:  186, btch:  31 usd:   0
[389509.028533] Node 0 Normal per-cpu:
[389509.028534] CPU    0: hi:  186, btch:  31 usd:   0
[389509.028535] CPU    1: hi:  186, btch:  31 usd:   0
[389509.028536] CPU    2: hi:  186, btch:  31 usd:   0
[389509.028537] CPU    3: hi:  186, btch:  31 usd:   0
[389509.028539] active_anon:313512 inactive_anon:185543 isolated_anon:0
[389509.028539]  active_file:64416 inactive_file:78442 isolated_file:0
[389509.028539]  unevictable:4 dirty:62 writeback:0 unstable:0
[389509.028539]  free:190987 slab_reclaimable:9096 slab_unreclaimable:23094
[389509.028539]  mapped:31927 shmem:8445 pagetables:8850 bounce:0
[389509.028539]  free_cma:0
[389509.028541] Node 0 DMA free:15900kB min:264kB low:328kB high:396kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15984kB managed:15900kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? yes
[389509.028544] lowmem_reserve[]: 0 3217 3912 3912
[389509.028546] Node 0 DMA32 free:722636kB min:55360kB low:69200kB high:83040kB active_anon:1031284kB inactive_anon:519164kB active_file:257516kB inactive_file:313656kB unevictable:16kB isolated(anon):0kB isolated(file):0kB present:3376344kB managed:3297424kB mlocked:16kB dirty:44kB writeback:0kB mapped:127512kB shmem:33596kB slab_reclaimable:23956kB slab_unreclaimable:59116kB kernel_stack:3360kB pagetables:27420kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
[389509.028549] lowmem_reserve[]: 0 0 694 694
[389509.028551] Node 0 Normal free:25412kB min:11952kB low:14940kB high:17928kB active_anon:222764kB inactive_anon:223008kB active_file:148kB inactive_file:112kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:778240kB managed:711468kB mlocked:0kB dirty:204kB writeback:0kB mapped:196kB shmem:184kB slab_reclaimable:12428kB slab_unreclaimable:33260kB kernel_stack:1144kB pagetables:7980kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
[389509.028554] lowmem_reserve[]: 0 0 0 0
[389509.028556] Node 0 DMA: 1*4kB (U) 1*8kB (U) 1*16kB (U) 0*32kB 2*64kB (U) 1*128kB (U) 1*256kB (U) 0*512kB 1*1024kB (U) 1*2048kB (R) 3*4096kB (M) = 15900kB
[389509.028564] Node 0 DMA32: 6567*4kB (UEM) 35427*8kB (UEM) 25793*16kB (UM) 11*32kB (UM) 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 722724kB
[389509.028570] Node 0 Normal: 2273*4kB (UEMR) 932*8kB (UEM) 288*16kB (UEM) 126*32kB (UM) 21*64kB (M) 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 26532kB
[389509.028576] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
[389509.028577] 170644 total pagecache pages
[389509.028578] 19204 pages in swap cache
[389509.028579] Swap cache stats: add 1370147, delete 1350943, find 562617/659945
[389509.028580] Free swap  = 1585184kB
[389509.028580] Total swap = 2097148kB
[389509.028581] 1042642 pages RAM
[389509.028582] 0 pages HighMem/MovableOnly
[389509.028583] 16693 pages reserved
[389509.028584] [drm:radeon_cs_ioctl] *ERROR* Failed to parse relocation -12!
[389509.644567] java: page allocation failure: order:4, mode:0x10c0d0
[389509.644571] CPU: 1 PID: 31148 Comm: java Not tainted 3.13.0-24-generic #47-Ubuntu
[389509.644573] Hardware name: System manufacturer System Product Name/P8P67 PRO REV 3.1, BIOS 1904 08/15/2011
[389509.644575]  0000000000000000 ffff880102f0b950 ffffffff81715ac4 000000000010c0d0
[389509.644579]  ffff880102f0b9d8 ffffffff81153aab 000000000000000e 0000000000000286
[389509.644582]  ffff880102f0b988 0000000000000018 0000000000000286 0000000000000003
[389509.644585] Call Trace:
[389509.644592]  [<ffffffff81715ac4>] dump_stack+0x45/0x56
[389509.644596]  [<ffffffff81153aab>] warn_alloc_failed+0xeb/0x140
[389509.644599]  [<ffffffff81158105>] __alloc_pages_nodemask+0x865/0xa20
[389509.644603]  [<ffffffff81195413>] alloc_pages_current+0xa3/0x160
[389509.644606]  [<ffffffff81152b7e>] __get_free_pages+0xe/0x50
[389509.644610]  [<ffffffff8116f40e>] kmalloc_order_trace+0x2e/0xa0
[389509.644612]  [<ffffffff811a0041>] __kmalloc+0x181/0x190
[389509.644635]  [<ffffffffa031bc1d>] ? radeon_cs_ioctl+0x1dd/0x9e0 [radeon]
[389509.644646]  [<ffffffffa031bc45>] radeon_cs_ioctl+0x205/0x9e0 [radeon]
[389509.644649]  [<ffffffff8101b7d9>] ? sched_clock+0x9/0x10
[389509.644651]  [<ffffffff8109d2d5>] ? sched_clock_cpu+0xb5/0x100
[389509.644659]  [<ffffffffa025ec22>] drm_ioctl+0x502/0x630 [drm]
[389509.644662]  [<ffffffff810d9329>] ? futex_wake+0x1a9/0x1d0
[389509.644669]  [<ffffffffa02cf0fe>] radeon_drm_ioctl+0x4e/0x90 [radeon]
[389509.644672]  [<ffffffff811cc6e0>] do_vfs_ioctl+0x2e0/0x4c0
[389509.644673]  [<ffffffff8109dd84>] ? vtime_account_user+0x54/0x60
[389509.644675]  [<ffffffff811cc941>] SyS_ioctl+0x81/0xa0
[389509.644678]  [<ffffffff817266bf>] tracesys+0xe1/0xe6
[389509.644679] Mem-Info:
[389509.644680] Node 0 DMA per-cpu:
[389509.644681] CPU    0: hi:    0, btch:   1 usd:   0
[389509.644682] CPU    1: hi:    0, btch:   1 usd:   0
[389509.644683] CPU    2: hi:    0, btch:   1 usd:   0
[389509.644684] CPU    3: hi:    0, btch:   1 usd:   0
[389509.644685] Node 0 DMA32 per-cpu:
[389509.644686] CPU    0: hi:  186, btch:  31 usd:   0
[389509.644687] CPU    1: hi:  186, btch:  31 usd:   0
[389509.644688] CPU    2: hi:  186, btch:  31 usd:   0
[389509.644689] CPU    3: hi:  186, btch:  31 usd:   0
[389509.644690] Node 0 Normal per-cpu:
[389509.644691] CPU    0: hi:  186, btch:  31 usd:   0
[389509.644692] CPU    1: hi:  186, btch:  31 usd:   0
[389509.644693] CPU    2: hi:  186, btch:  31 usd:   0
[389509.644694] CPU    3: hi:  186, btch:  31 usd:   0
[389509.644696] active_anon:313521 inactive_anon:185505 isolated_anon:0
[389509.644696]  active_file:64449 inactive_file:78462 isolated_file:0
[389509.644696]  unevictable:4 dirty:114 writeback:0 unstable:0
[389509.644696]  free:190830 slab_reclaimable:9096 slab_unreclaimable:23103
[389509.644696]  mapped:31927 shmem:8445 pagetables:8850 bounce:0
[389509.644696]  free_cma:0
[389509.644698] Node 0 DMA free:15900kB min:264kB low:328kB high:396kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15984kB managed:15900kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? yes
[389509.644702] lowmem_reserve[]: 0 3217 3912 3912
[389509.644704] Node 0 DMA32 free:722300kB min:55360kB low:69200kB high:83040kB active_anon:1031452kB inactive_anon:519164kB active_file:257512kB inactive_file:313644kB unevictable:16kB isolated(anon):0kB isolated(file):0kB present:3376344kB managed:3297424kB mlocked:16kB dirty:140kB writeback:0kB mapped:127512kB shmem:33596kB slab_reclaimable:23956kB slab_unreclaimable:59124kB kernel_stack:3360kB pagetables:27420kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
[389509.644707] lowmem_reserve[]: 0 0 694 694
[389509.644709] Node 0 Normal free:25120kB min:11952kB low:14940kB high:17928kB active_anon:222632kB inactive_anon:222856kB active_file:284kB inactive_file:204kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:778240kB managed:711468kB mlocked:0kB dirty:316kB writeback:0kB mapped:196kB shmem:184kB slab_reclaimable:12428kB slab_unreclaimable:33288kB kernel_stack:1144kB pagetables:7980kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:14 all_unreclaimable? no
[389509.644712] lowmem_reserve[]: 0 0 0 0
[389509.644714] Node 0 DMA: 1*4kB (U) 1*8kB (U) 1*16kB (U) 0*32kB 2*64kB (U) 1*128kB (U) 1*256kB (U) 0*512kB 1*1024kB (U) 1*2048kB (R) 3*4096kB (M) = 15900kB
[389509.644722] Node 0 DMA32: 6528*4kB (UEM) 35426*8kB (UEM) 25794*16kB (UM) 11*32kB (UM) 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 722576kB
[389509.644728] Node 0 Normal: 2248*4kB (UEMR) 956*8kB (UEM) 283*16kB (UEM) 122*32kB (UM) 20*64kB (M) 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 26352kB
[389509.644735] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
[389509.644736] 170560 total pagecache pages
[389509.644737] 19119 pages in swap cache
[389509.644738] Swap cache stats: add 1370165, delete 1351046, find 562617/659945
[389509.644739] Free swap  = 1585112kB
[389509.644740] Total swap = 2097148kB
[389509.644741] 1042642 pages RAM
[389509.644741] 0 pages HighMem/MovableOnly
[389509.644742] 16693 pages reserved
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCgAGBQJTi3g1AAoJEI5FoCIzSKrwWVYH/35nF9m500R67tNZg4uF5KzF
6pPHffeY9ysFZwztgEMw+geIbFJlAjIdxFGLzQGlhUukc5VsitCHmXBt9bGaiaFu
CrNAQx/47WMVMJUvAn83mfxxRBru0tWi2G7z6JWm95G5WpCuN7Rg7rRhdgOttwcX
oAFVvVRAF3u8X8V5rTtUIXWIW8ssmS9KX4OUymRefWti6sHgU7lm8NYgPoL3T7GU
MzBxp7A93sDKfCdVGUnZsWAOi/SdbJ/fco/QGGpYE1Z5ipnoWKneDkKO3djUR1Jm
kk/SVsFVaRKRoyiJ9k1y+tsn/JZEq2lTdS4OD6hvSXlffw253FCbZsoyByw4Azc=
=fQ4s
-----END PGP SIGNATURE-----
_______________________________________________
dri-users mailing list
dri-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-users




[Index of Archives]     [Linux DRI Development]     [Linux Intel Graphics]     [Linux AMD Graphics]     [Video for Linux]     [Linux Audio Users]     [Yosemite Waterfalls]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux Media]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux