<?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>654</bug_id>
          
          <creation_ts>2011-01-16 18:19:27 +0000</creation_ts>
          <short_desc>[qemuarm]kernel panic when booting qemuarm images of nightly build 20110114-1</short_desc>
          <delta_ts>2011-02-20 21:13:02 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Kernel</product>
          <component>kernel-tooling</component>
          <version>1.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>arm</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>1.0 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yi Zhao">yi.zhao</reporter>
          <assigned_to name="Bruce Ashfield">bruce.ashfield</assigned_to>
          <cc>edwin.zhai</cc>
    
    <cc>jiajun.xu</cc>
    
    <cc>ke.yu</cc>
    
    <cc>kevin.tian</cc>
    
    <cc>liang.li2</cc>
    
    <cc>liangliang.wang</cc>
    
    <cc>sgw</cc>
    
    <cc>yi.zhao</cc>
    
    <cc>yp.kernel.watcher</cc>
    
    <cc>yp.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          <cf_verified>Program Management</cf_verified>
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>11491</commentid>
    <comment_count>0</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2011-01-16 18:19:27 +0000</bug_when>
    <thetext>Testing Env:    
Host: Ubuntu 10.10 x86_64
Kernel: 2.6.35-23-generic


When booting the qemuarm images(minimal &amp; sato &amp; sdk) from autobuilder,
http://autobuilder.pokylinux.org/nightly/20110114-1/qemu/qemuarm/, a kernel panic happened. 

The command used to start qemuarm:
###########
poky-qemu qemuarm zImage-2.6.37+git0+7102097a25c7658e0f4d4dc71844e0ff6c446b25_0+4f86b5a0cb23faa4134cc004730d673f6640614b-r15-qemuarm-20110115101905.bin poky-image-sato-qemuarm-20110115130348.rootfs.ext3 ext3
###########

kernel panic info:
###########
....

EXT3-fs (sda): warning: feature flags set on rev 0 fs, running e2fsck is recommended
EXT3-fs: barriers not enabled
EXT3-fs (sda): mounted filesystem with ordered data mode
VFS: Mounted root (ext3 filesystem) readonly on device 8:0.
Freeing init memory: 204K
kjournald starting.  Commit interval 5 seconds
Kernel panic - not syncing: Attempted to kill init!
Backtrace: 
[&lt;c0045410&gt;] (dump_backtrace+0x0/0x114) from [&lt;c0405dd8&gt;] (dump_stack+0x20/0x24)
 r6:c7858000 r5:c05311fc r4:c0550168
[&lt;c0405db8&gt;] (dump_stack+0x0/0x24) from [&lt;c0405e4c&gt;] (panic+0x70/0x1a0)
[&lt;c0405ddc&gt;] (panic+0x0/0x1a0) from [&lt;c005e404&gt;] (do_exit+0x73c/0x774)
 r3:c05311fc r2:c005e2c4 r1:c7858000 r0:c04b4340
 r7:c7850000
[&lt;c005dcc8&gt;] (do_exit+0x0/0x774) from [&lt;c005e744&gt;] (do_group_exit+0x50/0xec)
 r7:00078000
[&lt;c005e6f4&gt;] (do_group_exit+0x0/0xec) from [&lt;c006e518&gt;] (get_signal_to_deliver+0x204/0x4b4)
 r6:c785a000 r5:c7858000 r4:0830009f
[&lt;c006e314&gt;] (get_signal_to_deliver+0x0/0x4b4) from [&lt;c0044118&gt;] (do_signal+0x60/0x620)
[&lt;c00440b8&gt;] (do_signal+0x0/0x620) from [&lt;c0044d84&gt;] (do_notify_resume+0x70/0x7c)
[&lt;c0044d14&gt;] (do_notify_resume+0x0/0x7c) from [&lt;c0041774&gt;] (work_pending+0x24/0x28)
 r4:4d34d000

###############</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11492</commentid>
    <comment_count>1</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2011-01-16 18:38:41 +0000</bug_when>
    <thetext>We&apos;ve made no changes to the kernel for ARM, so I&apos;m betting that this
isn&apos;t a kernel issue, but instead is related to changes to qemu or userspace.

When&apos;s the last time this booted. If you change the most recent kernel for
an older one, do things boot ? What about the new kernel and an older qemu/userspace ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11493</commentid>
    <comment_count>2</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2011-01-16 23:21:39 +0000</bug_when>
    <thetext>I tried both the pre and post systemtap kernel update and both fail, so it maybe qemu or userspace</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11494</commentid>
    <comment_count>3</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2011-01-17 00:43:18 +0000</bug_when>
    <thetext>I tested the recent build images from the autobuilder.

The build images from both 20110111-1 and 20110112-1 can not boot with this issue. 
With the build images from 20110110-1, it can boot. 

After changing the kernel, the 20110110-1 kernel can boot with the 20110114-1 filesystem image. 
However, the 20110114-1 kernel can not boot with the 20110110-1 filesystem image.

I also try to change qemu from toolchain 20110110-1. After that, it has same problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11534</commentid>
    <comment_count>4</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2011-01-19 18:56:12 +0000</bug_when>
    <thetext>This is out for review, when the SRCREVs merge to master .. this problem goes away.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11783</commentid>
    <comment_count>5</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2011-02-15 06:12:35 +0000</bug_when>
    <thetext>Confirmed to boot, we had lost EABI configuration values hence
userspace was having issues.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11848</commentid>
    <comment_count>6</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2011-02-17 18:34:37 +0000</bug_when>
    <thetext>Verified with build 20110212-1, the bug is fixed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>