drm-kmod icon indicating copy to clipboard operation
drm-kmod copied to clipboard

Panic under wayland cause an infinite loop

Open evadot opened this issue 3 years ago • 1 comments

Describe the bug When panicing under wayland we drop to vty0 like we're supposed to but we're seems stuck in a infinite loop. Text scrolled too fast so I couldn't see where the problem is exactly.

FreeBSD version Not relevant.

PCI Info

pciconf -lv

Not relevent

DRM KMOD version Both 5.4-lts and master branch tested.

To Reproduce Run a wayland compositor and sysctl debug.kdb.panic=1

evadot avatar Dec 14 '21 08:12 evadot

I believe the infinite loop is now solved since commit 87ac548ff1bc866e39ba6732dd86123f1100c728.

The panic is not however. For me uing i915 as the driver loaded for the console, the driver panics when it asserts that a lock is effectively held (spoiler alert: it's not). I suppose it comes from our integration between DRM and the console code.

dumbbell avatar Jan 23 '23 15:01 dumbbell