[DragonFlyBSD - Bug #2866] kernel dumps core after upgrade dri to 11.0.7

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Sat Dec 26 15:45:42 PST 2015


Issue #2866 has been updated by dillon.

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

----------------------------------------
Bug #2866: kernel dumps core after upgrade dri to 11.0.7
http://bugs.dragonflybsd.org/issues/2866#change-12809

* Author: arcade at b1t.name
* Status: New
* Priority: Normal
* Assignee: dillon
* Category: Driver
* Target version: 
----------------------------------------
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



-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



More information about the Bugs mailing list