[Openchrome-users] "Reclaim buffers locked deadlock"

Thomas Hellström thomas
Mon Nov 13 05:47:44 PST 2006


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
>
>_______________________________________________
>openchrome-users mailing list
>openchrome-users at openchrome.org
>http://wiki.openchrome.org/mailman/listinfo/openchrome-users
>Main page:
>http://www.openchrome.org
>Wiki:
>http://wiki.openchrome.org
>User Forum:
>http://wiki.openchrome.org/tikiwiki/tiki-view_forum.php?forumId=1
>
>
>  
>
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






More information about the Openchrome-users mailing list