Ubuntu UMPC boot menu is truncated

Bug #309396 reported by Loïc Minier
18
Affects Status Importance Assigned to Milestone
Ubuntu CD Images
Fix Released
Medium
Unassigned
syslinux (Ubuntu)
Fix Released
Undecided
Unassigned
Declined for Intrepid by Steve Kowalik
Hardy
Fix Released
Medium
Emmet Hikory

Bug Description

The menu entry on the Ubuntu UMPC live image from today is cut "Try Ubuntu UMPC without any c" (change).

IMPACT:
    Distributed VFAT images made bootable in a hardy environment continue to expose previously addressed syslinux issues in gfxboot, resulting in malformed menus and reduced functionality. Most significantly, descriptions are truncated and alternate install modes are unavailable.

DEVELOPMENT SOLUTION:
    Two patches were applied to gfxboot: the first to avoid a crash when both gfxboot and com32 were in use. The second to force a gfxboot prompt if gfxboot is configured.

TEST CASE:
  Construct a vfat installation image (This must be done with intrepid or jaunty debian-cd)
  Run syslinux on the vfat binary on a hardy system
  Boot the result, and observe menu truncation

ALTERNATE TEST CASE:
  Download a MID, UMPC, or Netbook Remix image from cdimage.ubuntu.com
  In a hardy environment, run syslinux
  Note that with the patched syslinux, gfxboot works, and with the current syslinux, menus are truncated.

REGRESSION POTENTIAL:
    VFAT images made bootable in a hardy environment that rely on the bug to not use gfxboot despite configuration may suddenly have an alternate menu interface presented, which may not match user expectations.

    The VFAT images currently distributed on cdimage.ubuntu.com (intrepid, jaunty alphas) will no longer match the images that would be constructed afresh in an environment including this bugfix. As none of these images are expected to be reissued, users may be confused by differences between self-constructed images and distributed official images.

Revision history for this message
Steve Kowalik (stevenk) wrote :

Confirmed with the MID image too.

Steve Kowalik (stevenk)
Changed in ubuntu-cdimage:
status: New → Invalid
Revision history for this message
Colin Watson (cjwatson) wrote :

The problem really appears to be that gfxboot isn't being used. When I boot in qemu to slow things down, I can see gfxboot appearing for a split-second and then apparently giving up and dropping back to syslinux's menu. I assume that this is something to do with running from syslinux rather than isolinux.

Revision history for this message
Colin Watson (cjwatson) wrote :

This seems to be a syslinux bug; setting "prompt 1" rather than "prompt 0" fixes it (although that will break genuine fallback from gfxboot to the syslinux menu so isn't a real solution). syslinux 2:3.63+dfsg-2ubuntu2 was supposed to have removed the need for this, so it seems likely to me that there's some weird syslinux bug here.

Revision history for this message
Colin Watson (cjwatson) wrote :

Turns out that this is actually a cdimage bug; it's installing the build system's syslinux on the images, which happens to be hardy. If you install a current syslinux instead, everything works as intended.

Changed in ubuntu-cdimage:
importance: Undecided → Medium
status: Invalid → Triaged
Changed in syslinux:
status: New → Invalid
Emmet Hikory (persia)
Changed in syslinux:
status: Invalid → Fix Released
assignee: nobody → persia
importance: Undecided → Medium
status: New → Triaged
status: Triaged → In Progress
Emmet Hikory (persia)
description: updated
Revision history for this message
Emmet Hikory (persia) wrote :

The attached patch includes a backport of the two specific changes. The relevant sections of gfxboot.inc were unchanged between hardy and intrepid, so no changes were required to the patches for the backport.

Emmet Hikory (persia)
description: updated
Revision history for this message
Martin Pitt (pitti) wrote :

Accepted syslinux into hardy-proposed; please test and give feedback here. Please see https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in syslinux:
status: In Progress → Fix Committed
Revision history for this message
Emmet Hikory (persia) wrote :

I've tested the syslinux in hardy-proposed with the Alternate test case, and it does fix the bug.

Revision history for this message
Steve Kowalik (stevenk) wrote :

I have also tested the syslinux in hardy-proposed and confirms that it fixes the bug.

Revision history for this message
Steve Kowalik (stevenk) wrote :

The CD build system has had the syslinux from hardy-proposed installed, and the generated images no longer have gfxboot crashing.

Changed in ubuntu-cdimage:
status: Triaged → Fix Released
Revision history for this message
Colin Watson (cjwatson) wrote :

OK, copying to hardy-updates. Thanks for the tests!

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package syslinux - 2:3.53-1ubuntu2.1

---------------
syslinux (2:3.53-1ubuntu2.1) hardy-proposed; urgency=low

  * Backport 13-ubuntu_com32_gfxboot.dpatch from intrepid
  * Backport 14-ubuntu_gfxboot_force_prompt.dpatch from intrepid
  * Resulting bugfix and behaviour change addresses LP: #309396

 -- Emmet Hikory <email address hidden> Fri, 06 Mar 2009 14:12:37 +0900

Changed in syslinux:
status: Fix Committed → Fix Released
tags: added: iso-testing
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.