Bug#609145: triggering bug under kernel 2.6.37-rc5

Michel Dänzer daenzer at debian.org
Fri Jan 14 07:59:38 PST 2011


On Sam, 2011-01-15 at 02:07 +1030, Arthur Marsh wrote: 
> 
> Michel Dänzer wrote, on 15/01/11 01:50:
> > On Sam, 2011-01-15 at 01:01 +1030, Arthur Marsh wrote:
> >> After triggering the image turning black under kernel 2.6.37-rc5, dmesg showed:
> >>
> >> [   83.055882] [drm:radeon_cs_ioctl] *ERROR* Failed to parse relocation -12!
> >> [   87.277727] [TTM] Failed to find memory space for buffer 0xffff8800bfee9048 eviction.
> >> [   87.277731] [TTM] No space for ffff8800bfee9048 (56448 pages, 225792K, 220M)
> >> [   87.277733] [TTM]   placement[0]=0x00070002 (1)
> >> [   87.277735] [TTM]     has_type: 1
> >> [   87.277736] [TTM]     use_type: 1
> >> [   87.277737] [TTM]     flags: 0x0000000A
> >> [   87.277738] [TTM]     gpu_offset: 0x20000000
> >> [   87.277740] [TTM]     size: 131072
> >> [   87.277741] [TTM]     available_caching: 0x00070000
> >> [   87.277742] [TTM]     default_caching: 0x00010000
> >> [   87.277745] [TTM]  0x00000000-0x00000001:        1: used
> >> [   87.277747] [TTM]  0x00000001-0x00000011:       16: used
> >> [   87.277749] [TTM]  0x00000011-0x00000111:      256: used
> >> [   87.277750] [TTM]  0x00000111-0x00000211:      256: used
> >> [   87.277752] [TTM]  0x00000211-0x00000229:       24: free
> >> [   87.277754] [TTM]  0x00000229-0x0000022d:        4: used
> >> [   87.277756] [TTM]  0x0000022d-0x00000b1c:     2287: free
> >> [   87.277757] [TTM]  0x00000b1c-0x00000b1e:        2: used
> >> [   87.277759] [TTM]  0x00000b1e-0x000010f8:     1498: free
> >> [   87.277761] [TTM]  0x000010f8-0x0000ed78:    56448: used
> >> [   87.277763] [TTM]  0x0000ed78-0x00020000:    70280: free
> >> [   87.277764] [TTM]  total: 131072, used 56983 free 74089
> >> [  186.881288] [drm:radeon_cs_ioctl] *ERROR* Failed to parse relocation -12!
> >
> > I'm afraid this might be a different problem which should be fixed by
> > commit 93225b0d7bc030f4a93165347a65893685822d70 ('drm/radeon/kms: forbid
> > big bo allocation (fdo 31708) v3'). Might be worth making sure that
> > commit is applied for all your tests.
> >
> > Though I guess the bus error might still be related, even if the buffer
> > eviction succeeds...
> >
> > Is there any known good kernel at this time? 2.6.36?
> >
> >
> I just tried some already-installed kernels, and did trigger a "Failed 
> to parse relocation" bug with 2.6.36.
> 
> What is the most straightforward way to apply commit 
> 93225b0d7bc030f4a93165347a65893685822d70 and continue with git-bisections?

Something like

git cherry-pick 93225b0d7bc030f4a93165347a65893685822d70

if you want a commit, or

git show 93225b0d7bc030f4a93165347a65893685822d70 | patch -p1

otherwise.


-- 
Earthling Michel Dänzer           |                http://www.vmware.com
Libre software enthusiast         |          Debian, X and DRI developer





More information about the xorg-driver-ati mailing list