<div dir="ltr"><div><div><div>Hi,<br><br></div>@ping,<br><br></div><div>Please advise further pointers if any. <br></div><div>similar thread for this issue & more details @ <a href="https://lists.yoctoproject.org/pipermail/meta-freescale/2016-September/019237.html">https://lists.yoctoproject.org/pipermail/meta-freescale/2016-September/019237.html</a><br></div><div><br></div>Thanks<br></div>Shrikant<br><div><div><br><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 22, 2016 at 2:41 PM, Shrikant Bobade <span dir="ltr"><<a target="_blank" href="mailto:bobadeshrikant@gmail.com">bobadeshrikant@gmail.com</a>></span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div dir="ltr"><div><div><div><div>Hi,<br><br></div>@Ping<br><br></div>Please advise further pointers if any. <br><br><br></div>Thanks<br></div>Shrikant<br><div><div><div><div><div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="gmail-h5">On Thu, Aug 25, 2016 at 8:13 PM, srikanth krishnakar <span dir="ltr"><<a target="_blank" href="mailto:skrishnakar@gmail.com">skrishnakar@gmail.com</a>></span> wrote:<br></div></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div><div class="gmail-h5"><div dir="ltr"><div><div><div><div><div><div><font face="monospace,monospace">Hello All, <br><br></font></div><font face="monospace,monospace">I am building latest yocto with core-image-sato and noticed that matchbox session or its relative apps are using kernel context and eventually these are shown when the window manager is terminated or the target is rebooted. Please see the logs below:<br><br></font></div><div><font face="monospace,monospace">Target: i.MX6Q ARM<br></font></div><div><font face="monospace,monospace">Kernel: Linux-4.1<br></font></div><div><font face="monospace,monospace">Yocto: master (7b9f59)<br></font><table summary="commit info" height="24" width="369"><tbody><tr><th><br></th><td colspan="2"><br></td></tr></tbody></table></div><div><font face="monospace,monospace">------------------------------<wbr>--------<br>root@mx6q:~# ps | grep match<br> 558 root 7080 S matchbox-window-manager -theme Sato -use_cursor yes<br> 612 root 174m S matchbox-desktop<br> 614 root 174m S matchbox-panel --start-applets showdesktop,windowselector --end-applets clock,battery,,systray,startup<wbr>-notify,notify<br> 677 root 2752 S grep match<br>root@mx6q:~# <br>root@mx6q:~# <br>root@mx6q:~# opkg list | grep -i xserver-xorg<br>xserver-xorg - 2:1.18.4-r0.3<br>xserver-xorg-extension-glx - 2:1.18.4-r0.3<br>xserver-xorg-extension-viv-aut<wbr>ohdmi - 3:5.0.11.p8.4-r0.3<br>xserver-xorg-module-exa - 2:1.18.4-r0.3<br>root@mx6q:~# opkg list | grep -i matchbox <br>matchbox-config-gtk - 0.2-r0.2<br>matchbox-desktop - 2.1-r0.2<br>matchbox-keyboard - 0.1.1-r0.2<br>matchbox-keyboard-applet - 0.1.1-r0.2<br>matchbox-keyboard-im - 0.1.1-r0.2<br>matchbox-panel-2 - 2.11-r0.2<br>matchbox-session - 0.1-r4.0<br>matchbox-session-sato - 0.1-r30.0<br>matchbox-terminal - 0.1-r0.2<br>matchbox-theme-sato - 0.2-r0.0<br>matchbox-wm - 1.2.1-r0.1<br>root@mx6q:~# <br>root@mx6q:~# kill 558<br>root@mx6q:~# [ 404.937507] [drm:drm_legacy_unlock] *ERROR* Process 614 using kernel context 0<br>[ 404.947643] [drm:drm_lock_take] *ERROR* 1 holds heavyweight lock<br>[ 404.953752] [drm:drm_legacy_unlock] *ERROR* Process 612 using kernel context 0<br>[ 405.132658] [drm:drm_legacy_unlock] *ERROR* Process 612 using kernel context 0<br>[ 405.140370] [drm:drm_legacy_unlock] *ERROR* Process 614 using kernel context 0<br>------------------------------<wbr>--------<br><br></font></div><font face="monospace,monospace">Reboot scenario:<br>------------------------------<wbr>---------<br>root@mx6q:~# <br>root@mx6q:~# ps | grep -i match<br> 569 root 7080 S matchbox-window-manager -theme Sato -use_cursor yes<br> 621 root 174m S matchbox-desktop<br> 622 root 174m S matchbox-panel --start-applets showdesktop,windowselector --end-applets clock,battery,,systray,startup<wbr>-notify,notify<br> 652 root 2752 S grep -i match<br>root@mx6q:~# <br>root@mx6q:~# reboot<br>[ 26.234069] [drm:drm_legacy_unlock] *ERROR* Process 622 using kernel context 0<br>[ 26.247957] [drm:drm_legacy_unlock] *ERROR* Process 622 using kernel context 0<br>[ 26.261257] [drm:drm_legacy_unlock] *ERROR* Process 621 using kernel context 0<br>[ 26.268810] [drm:drm_lock_take] *ERROR* 1 holds heavyweight lock<br>------------------------------<wbr>---------<br><br></font></div><font face="monospace,monospace">Killing Xorg directly does not have any issue related to DRM lockup, but termination of matchbox session is showing up these errors. The target has DRM support and runs on accelerated graphics. <br><br></font></div><div><font face="monospace,monospace">This is not seen on "krogoth yocto-2.1" builds. <br><br></font></div><font face="monospace,monospace">Did anyone notice this on most recent core-image-sato running on DRM enabled target ?<br><br></font></div><font face="monospace,monospace">Any pointers will be much appreciated. <br><br></font></div><font face="monospace,monospace">TIA!<br></font></div>
<br></div></div><span class="gmail-HOEnZb"><font color="#888888">--<br>
______________________________<wbr>_________________<br>
Openembedded-core mailing list<br>
<a target="_blank" href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.openem<wbr>bedded.org</a><br>
<a target="_blank" rel="noreferrer" href="http://lists.openembedded.org/mailman/listinfo/openembedded-core">http://lists.openembedded.org/<wbr>mailman/listinfo/openembedded-<wbr>core</a><br>
<br></font></span></blockquote></div><br></div></div></div></div></div></div></div>
</blockquote></div><br></div></div></div></div>