<?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>1984</bug_id>
          
          <creation_ts>2012-02-14 07:33:24 +0000</creation_ts>
          <short_desc>syslinux freezes on Acer Aspire One netbook</short_desc>
          <delta_ts>2012-04-03 08:45:46 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>11</classification_id>
          <classification>Runtime</classification>
          <product>System Startup</product>
          <component>system-startup</component>
          <version>unspecified</version>
          <rep_platform>Netbook</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>1.2 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Darren Hart">dvhart</assigned_to>
          <cc>kevin.tian</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>18616</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-02-14 07:33:24 +0000</bug_when>
    <thetext>I built a core-image-sato live image from recent master which when written to a USB stick boots perfectly fine on an EeePC 901, however with the same USB stick plugged into an Acer Aspire One ZG5 netbook, syslinux displays its version banner, the led on the USB stick flashes for a few seconds, but no &quot;boot:&quot; prompt appears.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18630</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2012-02-16 12:27:14 +0000</bug_when>
    <thetext>Darren recommends usb-zip format</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18865</commentid>
    <comment_count>2</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-03-06 03:10:51 +0000</bug_when>
    <thetext>Yes, see the USBZIP format instructions in README.hardware.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18866</commentid>
    <comment_count>3</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-03-06 03:11:34 +0000</bug_when>
    <thetext>Marking as needinfo until the USBZIP format is attempted. Another thing to try is forcing the BIOS to treat the USB key as an HDD and not as a FLOPPY - but that option isn&apos;t always available.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19642</commentid>
    <comment_count>4</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-03-29 23:14:56 +0000</bug_when>
    <thetext>Paul, Have you had a chance to try the USBZIP format on this device?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19643</commentid>
    <comment_count>5</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-03-29 23:15:39 +0000</bug_when>
    <thetext>Moving this to normal as this single platform should not hold up the release.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19644</commentid>
    <comment_count>6</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-03-29 23:16:07 +0000</bug_when>
    <thetext>I haven&apos;t, but I plan to do so tomorrow.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19708</commentid>
    <comment_count>7</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-03-30 13:31:01 +0000</bug_when>
    <thetext>I don&apos;t seem to have an option as far as I can tell to use HDD mode; so I went ahead and tried to set up the device for USB-ZIP.

I couldn&apos;t seem to install mkdiskimage (provided by syslinux-perl) on my slightly outdated Fedora machine, so instead I used the one from the native sysroot (fairly easily found by doing a &quot;cat pseudodone&quot;, for reference). Our instructions imply that you should just use the head and sector counts from fdisk and 0 for the cylinders; this just got me &quot;mkdiskimage: /dev/sdc: don&apos;t know how to determine the size of this device&quot;. Using the real cylinder number reported by fdisk worked. Is there any harm in just telling people to do this in the instructions rather than trying with 0 for the number of cylinders first?

One more issue I noticed with the instructions - we need to tell the user to unmount the USB disk at the end, or they might not realise they need to do it or forget.

(I can prepare a patch to README.hardware for these if desired.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19709</commentid>
    <comment_count>8</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-03-30 13:35:29 +0000</bug_when>
    <thetext>Heh, forgot to mention. Once I finished with the instructions the USB disk did indeed boot properly, so I guess this bug is invalid.

It may be worth pointing out explicitly in README.hardware that the symptoms may not be &quot;boot error&quot; but a freeze just after the syslinux banner is printed, or just after &quot;loading initrd&quot; (which interestingly is what I now get with the latest images without using USB-ZIP on this netbook).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19714</commentid>
    <comment_count>9</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-03-30 15:14:12 +0000</bug_when>
    <thetext>Hrm, as for the 0 for automatically determining cylinders, I just lifted the instructions from the syslinux usbkey.txt. I haven&apos;t had any trouble with it myself. However, there are apparently sticks that fail here. For reference, from usbkey.txt:

&quot;&quot;&quot;
The script &quot;mkdiskimage&quot; which is supplied with the syslinux
distribution can be used to initialize USB keys in a Zip-like fashion.
To do that, calculate the correct number of cylinders (31 in the
example above), and, if your USB key is /dev/sda (CHECK THE KERNEL
MESSAGES CAREFULLY - IF YOU ENTER THE WRONG DISK DRIVE IT CANNOT BE
RECOVERED), run:

	mkdiskimage -4 /dev/sda 0 64 32

(The 0 means automatically determine the size of the device, and -4
means mimic a zipdisk by using partition 4.)

Then you should be able to run

	syslinux /dev/sda4
&quot;&quot;&quot;

I have no objection to adding additional symptoms (I only reported the ones I had seen myself) and making a note to use the cylinder count from fdisk.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19715</commentid>
    <comment_count>10</comment_count>
      <attachid>421</attachid>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-03-30 15:18:37 +0000</bug_when>
    <thetext>Created attachment 421
mkzipimage.sh

Perhaps rather than re-documenting this rather painful process, we should instead clean up and add my attached script to contrib/scripts and point to that from the README.hardware?

This should probably be augmented with my disk blacklist and device info from ddimage. And this would result in some duplication.... so perhaps ddimage should ultimately accept a -z option which uses the mkdiskimage script?

Then again, I believe our bugs opened against the image format in general may result in disk formats that most BIOS will use correctly and this may no longer be necessary. It&apos;s just too early to tell. If we want a solution for 1.2, I suggest we just update the README.hardware per Paul&apos;s recommendation - but I&apos;ve attached the script as reference in case anyone reading this benefits from it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19809</commentid>
    <comment_count>11</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-04-03 08:45:46 +0000</bug_when>
    <thetext>So since this wasn&apos;t a bug per se I am marking this NOTABUG. We now have the relevant updated instructions in README.hardware as of revision 6a11c787571230e104699ea83aa50484ec1d8a86, and I have attached mkzipimage.sh to bug #1763 (&quot;more universally bootable live images&quot;) so that it doesn&apos;t get lost.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>421</attachid>
            <date>2012-03-30 15:18:37 +0000</date>
            <delta_ts>2012-03-30 15:18:37 +0000</delta_ts>
            <desc>mkzipimage.sh</desc>
            <filename>mkzipimage.sh</filename>
            <type>application/x-sh</type>
            <size>1416</size>
            <attacher name="Darren Hart">dvhart</attacher>
            
              <data encoding="base64">IyEvYmluL2Jhc2gKCmZ1bmN0aW9uIHVzYWdlIHsKCWVjaG8gIlVzYWdlOiAkKGJhc2VuYW1lICQw
KSBJTUFHRSBERVZJQ0UiCn0KCmZ1bmN0aW9uIGNoZWNrX2RldmljZSB7CglpZiB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