Bug #2866
closedkernel dumps core after upgrade dri to 11.0.7
0%
Description
Well, previously my system generally worked with X, drm and stuff. But after upgrade when I try to start Xfce I get this:
panic: lockmgr: LK_RELEASE: no lock held
cpuid = 2
Trace beginning at frame 0xffffffe0f5e20558
panic() at panic+0x238 0xffffffff8027ba64
panic() at panic+0x238 0xffffffff8027ba64
lockmgr() at lockmgr+0x685 0xffffffff8026e132
drm_wait_vblank() at drm_wait_vblank+0x444 0xffffffff829e7c31
drm_ioctl() at drm_ioctl+0x37a 0xffffffff829e58bc
dev_dioctl() at dev_dioctl+0x76 0xffffffff8025b753
boot() called on cpu#2
Uptime: 36m18s
Physical memory: 7337 MB
Updated by arcade@b1t.name about 9 years ago
Well, after recent drm update with introduction of permissions for /dev/dri this looks like:
1. Everything kindda work without permissions (except for OpenGL).
2. Kernel panics when something tries to use OpenGL (e.g. with permissions).
Updated by dillon about 9 years ago
- Assignee set to dillon
Looks like the DRM_WAIT_ON() macro is assuming that the DRM device is locked and goes through an unlock/relock sequence on it. But the DRM device is not locked by either of the two callers of that routine from what I can tell.
I will reproduce the bug and test and commit a fix (which will probably end up being removing the unlock/relock sequence from the DRM_WAIT_ON() macro).
-Matt
Updated by dillon about 9 years ago
Fix pushed, please retest with master.
-Matt