<?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>445</bug_id>
          
          <creation_ts>2010-10-12 22:46:51 +0000</creation_ts>
          <short_desc>[Netbook] directdisk image can not boot from harddisk</short_desc>
          <delta_ts>2010-12-21 06:07:09 +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>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>0.9</version>
          <rep_platform>Netbook</rep_platform>
          <op_sys>x86</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>normal</bug_severity>
          <target_milestone>0.9 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jiajun Xu">jiajun.xu</reporter>
          <assigned_to name="Darren Hart">dvhart</assigned_to>
          <cc>bruce.ashfield</cc>
    
    <cc>dongxiao.xu</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>kevin.tian</cc>
    
    <cc>kunwei.tian</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</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>10416</commentid>
    <comment_count>0</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2010-10-12 22:46:51 +0000</bug_when>
    <thetext>Testing Env:    
Hardware: netbook
Images from milestone build (20100728) on autobuilder,
http://yoctobuild01.jf.intel.com/build-areas/atom-emenlow/build/build/tmp/deploy/images/.
poky commit info: 7b7adcedd68adf2449a45302f2348d2c9f1f19c8 from poky master
tree

If we dd directdisk image into internal hardisk on netbook, and boot system from the harddisk, it can not boot up.

There are two phenomenons with different boot parameters:
a) no boot parameter: It will show kernel panic information.
b) boot parameter: &quot;boot rootwait root=/dev/sda2&quot;. (Though we think for internal harddisk, the &quot;rootwait&quot; is not needed as it is for external USB disk use only), system will hang at the place printing &quot;waiting for root device /dev/sda2...&quot;

BTW, emenlow can boot up with directdisk image burned into internal harddisk.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10447</commentid>
    <comment_count>1</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2010-10-13 12:25:03 +0000</bug_when>
    <thetext>So it isn&apos;t finding the disk. Turns out my netbook BIOS has a SATA Mode option: AHCI or Compatible. SATA_AHCI is not set in the current kernel. By choosing compatible in the BIOS, I was able to boot with the existing directdisk image. I&apos;ll build a kernel with SATA_AHCI enabled and see if that resolves the problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10449</commentid>
    <comment_count>2</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2010-10-13 13:35:07 +0000</bug_when>
    <thetext>Adding CONFIG_SATA_AHCI=y to the kernel config enables the Toshiba NB305 to boot with a directdisk image dd&apos;d to the HDD.

Bruce will be incorporating this change into the common_pc base config. An image with this change is available here:

http://fear.pdx.intel.com/images/poky-image-sdk-directdisk-atom-pc-20101013194716.hdddirect

Please confirm this resolves the bug for the HP mini as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10468</commentid>
    <comment_count>3</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2010-10-13 21:41:57 +0000</bug_when>
    <thetext>http://git.pokylinux.org/cgit.cgi/poky/commit/?id=a2337a34358b017a3e4311a2647165da2d8b54d3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10773</commentid>
    <comment_count>4</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2010-10-21 20:10:52 +0000</bug_when>
    <thetext>I&apos;m waiting for someone in PRC to confirm this is fixed on the HP Mini netbook before marking this as verified.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10790</commentid>
    <comment_count>5</comment_count>
    <who name="Dongxiao Xu">dongxiao.xu</who>
    <bug_when>2010-10-22 16:24:52 +0000</bug_when>
    <thetext>Jiajun and I verified it on HP mini netbook.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>