<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>12131</bug_id>
          
          <creation_ts>2017-09-27 08:20:54 +0000</creation_ts>
          <short_desc>Kernel traceback when reboot beaglebone black</short_desc>
          <delta_ts>2018-03-22 23:17:30 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BSPs</product>
          <component>bsps-meta-yocto</component>
          <version>2.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.5 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yi Zhao">yi.zhao</reporter>
          <assigned_to name="Kevin Hao">kexin.hao</assigned_to>
          <cc>libertad.gonzalez.de.la.cruz</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>sgw</cc>
    
    <cc>stephano</cc>
    
    <cc>yi.zhao</cc>
          
          <qa_contact name="Yi Zhao">yi.zhao</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>Regression (Used to work)</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>77161</commentid>
    <comment_count>0</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2017-09-27 08:20:54 +0000</bug_when>
    <thetext>Image location: https://autobuilder.yocto.io/pub/releases/yocto-2.4.rc1/machines/beaglebone/

Git rev: master/592c3449697ce39bf07864fafd7f0a61ca230561

Steps:
1. Download core-image-sato-sdk wic image from the above link.
2. Deploy the wic image to micro SD card and boot the system
3. reboot the system

There are some kernel backtrace messages when reboot the system:
####################################
root@beaglebone:~# reboot
INIT: Sending processes the TERM signal
root@beaglebone:~# Stopping OpenBSD Secure Shell server: sshdstopped /usr/sbin/sshd (pid 536)
.
[ ok ]pping Avahi mDNS/DNS-SD Daemon: avahi-daemon
Stopping atd: OK
Stopping bluetooth: bluetoothd.
Stopping system message bus: dbus.
cpsw 4a100000.ethernet eth0: Link is Down
Stopping syslogd/klogd: stopped syslogd (pid 568)
stopped klogd (pid 571)
Division by zero in kernel.
CPU: 0 PID: 549 Comm: Xorg Not tainted 4.12.12-yocto-standard #1
Hardware name: Generic AM33XX (Flattened Device Tree)
[&lt;c010f544&gt;] (unwind_backtrace) from [&lt;c010c35c&gt;] (show_stack+0x20/0x24)
[&lt;c010c35c&gt;] (show_stack) from [&lt;c04b4554&gt;] (dump_stack+0x20/0x28)
[&lt;c04b4554&gt;] (dump_stack) from [&lt;c010c1e8&gt;] (__div0+0x20/0x28)
[&lt;c010c1e8&gt;] (__div0) from [&lt;c04b326c&gt;] (Ldiv0+0x8/0x10)
[&lt;c04b326c&gt;] (Ldiv0) from [&lt;c05b3014&gt;] (tilcdc_crtc_update_fb+0xb0/0x1c0)
[&lt;c05b3014&gt;] (tilcdc_crtc_update_fb) from [&lt;c05b1eb8&gt;] (tilcdc_plane_atomic_update+0x54/0x5c)
[&lt;c05b1eb8&gt;] (tilcdc_plane_atomic_update) from [&lt;c0566b28&gt;] (drm_atomic_helper_commit_planes+0x170/0x250)
[&lt;c0566b28&gt;] (drm_atomic_helper_commit_planes) from [&lt;c05b5058&gt;] (tilcdc_commit+0x50/0x7c)
[&lt;c05b5058&gt;] (tilcdc_commit) from [&lt;c0583714&gt;] (drm_atomic_commit+0x54/0x68)
[&lt;c0583714&gt;] (drm_atomic_commit) from [&lt;c0567250&gt;] (drm_atomic_helper_set_config+0x68/0x8c)
[&lt;c0567250&gt;] (drm_atomic_helper_set_config) from [&lt;c0577aa0&gt;] (__drm_mode_set_config_internal+0x4c/0xe0)
[&lt;c0577aa0&gt;] (__drm_mode_set_config_internal) from [&lt;c057840c&gt;] (drm_mode_setcrtc+0x3fc/0x494)
[&lt;c057840c&gt;] (drm_mode_setcrtc) from [&lt;c0570e8c&gt;] (drm_ioctl+0x324/0x3ac)
[&lt;c0570e8c&gt;] (drm_ioctl) from [&lt;c027056c&gt;] (vfs_ioctl+0x30/0x44)
[&lt;c027056c&gt;] (vfs_ioctl) from [&lt;c0270750&gt;] (do_vfs_ioctl+0x94/0x874)
[&lt;c0270750&gt;] (do_vfs_ioctl) from [&lt;c0270f90&gt;] (SyS_ioctl+0x60/0x7c)
[&lt;c0270f90&gt;] (SyS_ioctl) from [&lt;c01079a0&gt;] (ret_fast_syscall+0x0/0x3c)
done
Stopping tcf-agent: OK
#############################</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77515</commentid>
    <comment_count>1</comment_count>
    <who name="Kevin Hao">kexin.hao</who>
    <bug_when>2017-10-11 11:04:33 +0000</bug_when>
    <thetext>I have sent a patch to Jyri Sarha (the maintainer of TI LCDC) and the patch is still in review.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78336</commentid>
    <comment_count>2</comment_count>
    <who name="Kevin Hao">kexin.hao</who>
    <bug_when>2017-11-23 01:39:54 +0000</bug_when>
    <thetext>The patch for this issue has been merged in the mainline and should propagate to the stable soon.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79016</commentid>
    <comment_count>3</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2018-01-11 00:57:37 +0000</bug_when>
    <thetext>This issue still exists in 2.5 M1 RC3 build.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79120</commentid>
    <comment_count>4</comment_count>
    <who name="Kevin Hao">kexin.hao</who>
    <bug_when>2018-01-18 10:25:39 +0000</bug_when>
    <thetext>The patch has been merged into mainline three months ago, but the process to propagate to stable kernel is much slow than I expect. So I will submit this patch to the linux-yocto directly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79953</commentid>
    <comment_count>5</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2018-03-22 23:17:30 +0000</bug_when>
    <thetext>Verified with 2.5 M3 RC1.
Git rev: master/f49ee61422c867516db252054e993df29f775136</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>