[Openchrome-users] "Reclaim buffers locked deadlock"

Paul Bender pebender
Wed Nov 15 17:09:03 PST 2006


Thomas Hellstr?m wrote:
> Benno Schulenberg wrote:
> 
>> Hi,
>>
>> Today I've upgraded from kernel 2.6.17 to 2.6.18, plus the latest drm from git,
>> and the latest libdrm.  When X is starting up there is now a pause of several
>> seconds before the cursor first appears, and in the kernel log there's this:
>>
>> Nov 11 23:48:31 ordesa kernel: [drm:drm_release] *ERROR* Reclaim buffers locked deadlock.
>> Nov 11 23:48:31 ordesa kernel: [drm:drm_release] *ERROR* This is probably a single thread having multiple
>> Nov 11 23:48:31 ordesa kernel: [drm:drm_release] *ERROR* DRM file descriptors open either dying or closing file descriptors
>> Nov 11 23:48:31 ordesa kernel: [drm:drm_release] *ERROR* while having the lock. I will not reclaim buffers.
>> Nov 11 23:48:31 ordesa kernel: [drm:drm_release] *ERROR* Locking context is 0x00000001
>> Nov 11 23:48:34 ordesa kernel: [drm:drm_release] *ERROR* Reclaim buffers locked deadlock.
>> Nov 11 23:48:34 ordesa kernel: [drm:drm_release] *ERROR* This is probably a single thread having multiple
>> Nov 11 23:48:34 ordesa kernel: [drm:drm_release] *ERROR* DRM file descriptors open either dying or closing file descriptors
>> Nov 11 23:48:34 ordesa kernel: [drm:drm_release] *ERROR* while having the lock. I will not reclaim buffers.
>> Nov 11 23:48:34 ordesa kernel: [drm:drm_release] *ERROR* Locking context is 0x00000001
>>
>> Anyone else seeing this?  Should I maybe be using the in-kernel drm instead?
>>
>> Benno
>>
> Hi,
> 
> This should be happening with AIGLX. Either someone has to fix up AIGLX 
> or we have to move away all drm drivers from using reclaim_buffers_locked.
> 
> It might be that the latest xserver git with Dave Airlies fix to load 
> the system libdrm instead of the xserver built-in libdrm fixes this.
> 
> The reason it doesn't hang with the old drm is a pure coincidence.
> 
> /Thomas

Unfortunately, this does not appear to be the case. I grabbed libdrm 
2.3.0 (as well as the drm from git corresponding to the 2.3.0 tag) and 
the patches from Dave Airlies' bug report. I applied the patches to the 
xorg-xserver from Xorg 7.2RC2 and built MiniMyth with this patched Xorg 
7.2RC2. The error still occurs.

In addition, disabling AIGLX and Composite at either compilation or run 
time does not appear to help.




More information about the Openchrome-users mailing list