Bug 37120 - crash: failure to allocate DMA BO
Summary: crash: failure to allocate DMA BO
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: 7.6 (2010.12)
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
: 40174 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-05-11 16:12 UTC by higuita
Modified: 2013-12-01 19:37 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Xorg log (57.08 KB, application/octet-stream)
2011-05-11 16:12 UTC, higuita
no flags Details
dmesg (152.09 KB, patch)
2011-05-11 16:15 UTC, higuita
no flags Details | Splinter Review
dmesg with agpmode=-1 (60.99 KB, patch)
2011-05-11 17:52 UTC, higuita
no flags Details | Splinter Review

Description higuita 2011-05-11 16:12:49 UTC
Created attachment 46617 [details]
Xorg log

I'm getting some crashes in X11 2D (AFAIK, no 3D/composite used). i usually have tvtime running fullscreen on one head and xterms, firefox and some other light apps.  on this last crash i was just typing on a terminal

here is the log:
[ 83254.256] (II) RADEON(0): Modeline "1152x864"x0.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz)
[ 88068.764] failure to allocate DMA BO
[ 88068.780] 
Backtrace:
[ 88068.846] 0: /usr/bin/X11/X (xorg_backtrace+0x28) [0x4a02d8]
[ 88068.847] 1: /usr/bin/X11/X (0x400000+0x60fc9) [0x460fc9]
[ 88068.847] 2: /lib64/libc.so.6 (0x7f18beb77000+0x340b0) [0x7f18bebab0b0]
[ 88068.847] 3: /usr/lib64/xorg/modules/drivers/radeon_drv.so (0x7f18bd7f2000+0xb4e61) [0x7f18bd8a6e61]
[ 88068.847] 4: /usr/lib64/xorg/modules/libexa.so (0x7f18bd3d4000+0xf3ce) [0x7f18bd3e33ce]
[ 88068.847] 5: /usr/lib64/xorg/modules/libexa.so (0x7f18bd3d4000+0xfd99) [0x7f18bd3e3d99]
[ 88068.847] 6: /usr/lib64/xorg/modules/libexa.so (0x7f18bd3d4000+0xd923) [0x7f18bd3e1923]
[ 88068.847] 7: /usr/bin/X11/X (0x400000+0xd6495) [0x4d6495]
[ 88068.847] 8: /usr/bin/X11/X (0x400000+0xcfdfd) [0x4cfdfd]
[ 88068.847] 9: /usr/bin/X11/X (0x400000+0x2def1) [0x42def1]
[ 88068.847] 10: /usr/bin/X11/X (0x400000+0x21ffe) [0x421ffe]
[ 88068.847] 11: /lib64/libc.so.6 (__libc_start_main+0xfd) [0x7f18beb95e5d]
[ 88068.847] 12: /usr/bin/X11/X (0x400000+0x21bb9) [0x421bb9]
[ 88068.848] Segmentation fault at address (nil)
[ 88068.848] 

and this dmesg output:

[87986.020600] [TTM] AGP Bind memory failed.
[87986.020625] radeon 0000:01:00.0: object_init failed for (65536, 0x00000002)
[87986.020633] [drm:radeon_gem_object_create] *ERROR* Failed to allocate GEM object (65536, 2, 4096, -16)
[88017.000000] [TTM] AGP Bind memory failed.
[88017.000025] radeon 0000:01:00.0: object_init failed for (65536, 0x00000002)
[88017.000033] [drm:radeon_gem_object_create] *ERROR* Failed to allocate GEM object (65536, 2, 4096, -16)
[88068.744695] [TTM] AGP Bind memory failed.
[88068.744718] radeon 0000:01:00.0: object_init failed for (16384, 0x00000002)
[88068.744725] [drm:radeon_gem_object_create] *ERROR* Failed to allocate GEM object (16384, 2, 4096, -16)

i'm using slackware64 13.37 with xserver 1.9.5 and kernel 2.6.38.6, running fluxbox 1.3.1, mesa 7.10.2 and libdrm 2.4.25. CPU is a AMD 64bit with 4GB
Comment 1 higuita 2011-05-11 16:15:40 UTC
Created attachment 46618 [details] [review]
dmesg
Comment 2 higuita 2011-05-11 16:46:28 UTC
ohh i forgot, radeon drive is 6.14.1
Comment 3 Alex Deucher 2011-05-11 16:55:36 UTC
Does booting with:
radeon.agpmode=-1
on your kernel command line in grub help?
Comment 4 higuita 2011-05-11 17:52:53 UTC
Created attachment 46619 [details] [review]
dmesg with agpmode=-1

Thanks for the reply

i just boot with that option and the radeon/drm report disabled acceleration and so no 3D and XVideo...not really one option to keep.
attached the dmesg output.

i also forgot to report that i'm using KMS enabled and that restarting the X eveything works as normal (so no permanent corruption, its just the X11/radeon crash)
Comment 5 higuita 2011-08-17 11:20:20 UTC
*** Bug 40174 has been marked as a duplicate of this bug. ***
Comment 6 higuita 2011-08-17 11:24:33 UTC
sorry about the noise... new logs in the duplicate bug attach

i will try to stress test the agpmode=-1 to see if it crash, but the few times i run with it it got no problems
Comment 7 higuita 2013-12-01 19:37:09 UTC
i been running with apgmode=-1 for many months and no problem... recently i tried to remove it and test and seems that the problem disappeared with new kernels/radeon driver/drm that i updated during this time

So closing.. thanks for the help


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.