<?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>5942</bug_id>
          
          <creation_ts>2014-03-11 09:23:49 +0000</creation_ts>
          <short_desc>[1.4.3] Kernel panic on qemux86-64 when using runqemu kvm option on Ubuntu 13.10</short_desc>
          <delta_ts>2014-03-20 03:12:31 +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>linux-yocto</component>
          <version>1.4.3</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>1.4.3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yi Zhao">yi.zhao</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>bluelightning</cc>
    
    <cc>ke.zou</cc>
    
    <cc>sgw</cc>
    
    <cc>yi.zhao</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>Regression (Found by QA test)</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>41063</commentid>
    <comment_count>0</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2014-03-11 09:23:49 +0000</bug_when>
    <thetext>Image Location: http://autobuilder.yoctoproject.org/pub/nightly/20140306-3/machines/qemu

Git rev: dylan/7ab82abcad9ede847c42c01d2a4f4c2c18877e6f

This issue is same with bug 3908 which had been fixed in 1.5 and 1.6. But still exists in 1.4.

runqemu qemux86-64 bzImage-qemux86-64.bin core-image-minimal-qemux86-64.ext3 kvm

########################
smpboot: CPU0: Intel(R) Xeon(R) CPU           X3220  @ 2.40GHz (fam: 06, model: 0f, stepping: 0b)
Performance Events: 
general protection fault: 0000 [#1] PREEMPT SMP 
Modules linked in:
CPU 0 
Pid: 1, comm: swapper/0 Not tainted 3.8.11-yocto-standard #1 Bochs Bochs
RIP: 0010:[&lt;ffffffff81ccbce9&gt;]  [&lt;ffffffff81ccbce9&gt;] intel_pmu_init+0x2e5/0x78d
RSP: 0000:ffff88000791dde8  EFLAGS: 00000202
RAX: 0000000000000003 RBX: 0000000000000000 RCX: 0000000000000345
RDX: 0000000000000003 RSI: 000000ffffffffff RDI: ffffffff81ca5f90
RBP: ffff88000791de08 R08: 0000000000000007 R09: ffffffff81ca5e20
R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff81ccb09e
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff880007c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 0000000000000000 CR3: 0000000001c0b000 CR4: 00000000000006f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process swapper/0 (pid: 1, threadinfo ffff88000791c000, task ffff880007920000)
Stack:
 0000050300000100 0000000007280202 0000000000000000 ffffffff81d5c038
 ffff88000791de38 ffffffff81ccb0d0 0000000000000018 000000000000b010
 ffffffff81d5c038 ffffffff81ccb09e ffff88000791de68 ffffffff810002f2
Call Trace:
 [&lt;ffffffff81ccb0d0&gt;] init_hw_perf_events+0x32/0x3ec
 [&lt;ffffffff81ccb09e&gt;] ? check_bugs+0x2d/0x2d
 [&lt;ffffffff810002f2&gt;] do_one_initcall+0x122/0x170
 [&lt;ffffffff81cc3c17&gt;] kernel_init_freeable+0x9e/0x201
 [&lt;ffffffff816a23e7&gt;] ? _raw_spin_unlock_irq+0x17/0x40
 [&lt;ffffffff8106b27b&gt;] ? finish_task_switch+0x5b/0xc0
 [&lt;ffffffff8168bed0&gt;] ? rest_init+0x80/0x80
 [&lt;ffffffff8168bede&gt;] kernel_init+0xe/0xf0
 [&lt;ffffffff816a9ddc&gt;] ret_from_fork+0x7c/0xb0
 [&lt;ffffffff8168bed0&gt;] ? rest_init+0x80/0x80
Code: 00 00 0f 46 c8 ff ca 89 0d 75 a2 fd ff 7e 2e 8a 55 e4 b8 03 00 00 00 b9 45 03 00 00 83 e2 1f 83 fa 02 0f 4f c2 89 05 97 a1 fd ff &lt;0f&gt; 32 48 c1 e2 20 89 c0 48 09 c2 48 89 15 1d a2 fd ff e8 d0 a9 
RIP  [&lt;ffffffff81ccbce9&gt;] intel_pmu_init+0x2e5/0x78d
 RSP &lt;ffff88000791dde8&gt;
---[ end trace c3b90f5575c6e21b ]---
Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
###########################</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41088</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-03-11 15:27:21 +0000</bug_when>
    <thetext>A backport of b8819b02dc4ff29d678cc55887dfe6c2d109a67d should solve this in theory.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41308</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-03-17 10:11:15 +0000</bug_when>
    <thetext>Fix merged to the dylan branch:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=dylan&amp;id=2a07edd04ca9a85273de852e2d10aad6dd08d5a2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41481</commentid>
    <comment_count>3</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2014-03-20 03:12:31 +0000</bug_when>
    <thetext>Verified with 1.4.3 rc4
git rev: dylan/c397b69e681d5f1ffe0a0bfd9d43ee880fc27553</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>