Bug 40174

Summary: failure to allocate DMA BO and AGP errors
Product: xorg Reporter: higuita
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED DUPLICATE QA Contact: Xorg Project Team <xorg-team>
Severity: major    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
xorg.conf
none
dmesg
none
Xorg.0.log none

Description higuita 2011-08-17 11:12:32 UTC
i'm running slackware64, with this packaged installed:
xf86-video-radeonhd-1.3.0-x86_64-2
xorg-server-1.9.5-x86_64-1
mesa-7.10.2-x86_64-1
libdrm-2.4.25-x86_64-1

and using the kernel 3.0.1 (mainline kernel, no patchs)

After i start the X11, all works fine, but past a few days i start o get some errors on dmesg about AGP and GEM errors:

[381894.050008] [TTM] AGP Bind memory failed.
[381894.050055] radeon 0000:01:00.0: object_init failed for (147456, 0x00000002)
[381894.050063] [drm:radeon_gem_object_create] *ERROR* Failed to allocate GEM object (147456, 2, 4096, -16)
[381914.049322] [TTM] AGP Bind memory failed.
[381914.049360] radeon 0000:01:00.0: object_init failed for (147456, 0x00000002)
[381914.049368] [drm:radeon_gem_object_create] *ERROR* Failed to allocate GEM object (147456, 2, 4096, -16)
[381934.049542] [TTM] AGP Bind memory failed.
[381934.049583] radeon 0000:01:00.0: object_init failed for (147456, 0x00000002)

and if i keep using the X11 without rebooting, sooner or later i get this crash:


[382886.034] failure to allocate DMA BO
[382886.066] 
Backtrace:
[382886.117] 0: /usr/bin/X11/X (xorg_backtrace+0x28) [0x4a02d8]
[382886.117] 1: /usr/bin/X11/X (0x400000+0x60fc9) [0x460fc9]
[382886.117] 2: /lib64/libc.so.6 (0x7fcbcf365000+0x34040) [0x7fcbcf399040]
[382886.117] 3: /usr/lib64/xorg/modules/drivers/radeon_drv.so (0x7fcbcdd75000+0xb4b35) [0x7fcbcde29b35]
[382886.117] 4: /usr/lib64/xorg/modules/libexa.so (0x7fcbcd957000+0x9345) [0x7fcbcd960345]
[382886.117] 5: /usr/lib64/xorg/modules/libexa.so (0x7fcbcd957000+0xbf11) [0x7fcbcd962f11]
[382886.118] 6: /usr/bin/X11/X (0x400000+0xd6dc1) [0x4d6dc1]
[382886.118] 7: /usr/lib64/xorg/modules/libexa.so (0x7fcbcd957000+0xd578) [0x7fcbcd964578]
[382886.118] 8: /usr/bin/X11/X (0x400000+0xd6495) [0x4d6495]
[382886.118] 9: /usr/bin/X11/X (0x400000+0xcfdfd) [0x4cfdfd]
[382886.118] 10: /usr/bin/X11/X (0x400000+0x2def1) [0x42def1]
[382886.118] 11: /usr/bin/X11/X (0x400000+0x21ffe) [0x421ffe]
[382886.118] 12: /lib64/libc.so.6 (__libc_start_main+0xfd) [0x7fcbcf383e5d]
[382886.118] 13: /usr/bin/X11/X (0x400000+0x21bb9) [0x421bb9]
[382886.118] Segmentation fault at address (nil)
[382886.118] 
Fatal server error:
[382886.118] Caught signal 11 (Segmentation fault). Server aborting
[382886.118] 

i will add the dmesg, Xorg.0.log and xorg.conf next
Comment 1 higuita 2011-08-17 11:14:10 UTC
Created attachment 50320 [details]
xorg.conf
Comment 2 higuita 2011-08-17 11:15:53 UTC
Created attachment 50321 [details]
dmesg

i forgot to report that the machine have 4GB of ram and even in previous kernels i got this error (at least for the 2.6.2[8-9].*)
Comment 3 higuita 2011-08-17 11:16:17 UTC
Created attachment 50322 [details]
Xorg.0.log
Comment 4 higuita 2011-08-17 11:20:20 UTC
i'm a fish without any memory!! i forgot that i already reported this problem earlier!! :)

*** This bug has been marked as a duplicate of bug 37120 ***

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.