Red Hat Bugzilla – Bug 1263988
livecd-iso-to-disk and liveusb-creator (copy mode) images not bootable (due to syslinux / GCC 5 issue)
Last modified: 2016-02-13 23:46:52 EST
Description of problem:
USB flash drive created with command:
# livecd-iso-to-disk --format --reset-mbr Fedora-Server-DVD-x86_64-23_Beta.iso /dev/sdb
doesn't boot, it is stuck right after USB selection in boot menu, even grub isn't showed.
USB drive created it with command:
# dd if=Fedora-Server-DVD-x86_64-23_Beta.iso of=/dev/sdb
does boot as expected.
Version-Release number of selected component (if applicable):
iso is Fedora 23 Beta RC1
Steps to Reproduce:
1. install livecd-tools (f23)
2. run command # livecd-iso-to-disk --format --reset-mbr Fedora-Server-DVD-x86_64-23_Beta.iso /dev/sdb
3. try to use the USB flash drive
flash drive doesn't boot
flash drive boots
This also happens when Fedora-Live-Workstation-x86_64-23_Beta-1.iso is used.
Proposed as a Blocker for 23-beta by Fedora user lbrabec using the blocker tracking app because:
Proposing this as blocker bug due to violation of beta criterion:
Initialization requirements: Release-blocking images must boot
Release-blocking live and dedicated installer images must boot when written to optical media of an appropriate size (if applicable) and when written to a USB stick with any of the officially supported methods.
The most significant case for writing USB sticks is the current stable releases. Can you check if the current l-i-t-d in F21 and F22 are affected? Thanks!
I can confirm it works when created from F22.
Discussed at 2015-09-17 Fedora 23 Beta Go/No-Go meeting, acting as a blocker review meeting: https://meetbot-raw.fedoraproject.org/teams/f23_beta_go_no-go_meeting/f23_beta_go_no-go_meeting.2015-09-17-16.00.log.txt . Rejected as a blocker: it's fairly well-established that we consider the current stable releases to be where this really has to work, not the release under test itself (because usually people are going to be writing F-N+1 media from F-N or F-N-1, not from F-N+1).
So as this works in F22, it's not considered a significant violation of the criteria. We will document it.
It hangs at the SYSLINUX version banner. Looks similar to bug 1234653 but the patch for that is present.
(In reply to email@example.com from comment #5)
> So as this works in F22, it's not considered a significant violation of the
> criteria. We will document it.
That sounds reasonable for Beta, but sounds a bit questionable for Final (our Final product should be able to create a bootable media of itself). Reproposing for Final.
# livecd-iso-to-disk --format --reset-mbr --efi Fedora-Live-SoaS-x86_64-23_Beta-1.iso /dev/sdc
boots if EFI in YogaPro2
stops at syslinux 6.03 EDD with or without --efi flag in bios boot of i7 laptop
Tested in 2 different USB's
(In reply to satellitgo from comment #8)
> # livecd-iso-to-disk --format --reset-mbr --efi
> Fedora-Live-SoaS-x86_64-23_Beta-1.iso /dev/sdc
> boots if EFI in YogaPro2
> stops at syslinux 6.03 EDD with or without --efi flag in bios boot of i7
> Tested in 2 different USB's
note: USB's written in EFI boot of f23 Cinnamon desktop fully updated
Discussed at 2015-10-05 blocker review meeting: https://meetbot-raw.fedoraproject.org/fedora-blocker-review/2015-10-05/f23-blocker-review.2015-10-05-16.00.html . We were kinda uncertain on these; on the one hand it's reasonable in a way to expect the final product to be able to write a USB image of itself, on the other hand we have like four different more-or-less 'supported' USB methods so we don't need yet another OS layer on the test chart that much. The criterion as written does not specify exactly what OSes USB writing must 'work' on, in the past we have considered it a much bigger deal if it fails on the previous releases than on the new one.
We're punting for now to investigate if several related issues are all being caused by the same underlying syslinux bug.
Current git syslinux doesn't appear to help with this; I built a syslinux with all patches between 6.03 and current git master (as per https://bugzilla.redhat.com/show_bug.cgi?id=1234653#c14 it's easier doing that than actually building right out of git...) and the bug persists.
However, it's definitely caused by syslinux: downgrading to the last F22 build, syslinux-6.03-2.fc22 , makes it work.
So it's very likely down to the hardening changes that came with F23 builds.
actually perhaps not the hardening stuff, I forgot that I'd done this rodeo before, and none of the hardening changes actually seem to do anything much to the syslinux build - compile and link flags look much the same.
So just as with #1234653, the other obvious candidate is GCC 4.9 vs. 5.1.
Discussed at the 2015-10-12 blocker review meeting :
There is no new information, will attempt to resume discussion at the next blocker review meeting.
# livecd-iso-to-disk --format --reset-mbr Fedora-Live-Workstation-i686-23-TC9.iso /dev/sdb
failed boots to "syslinux 6.03 EDD" and stops
Note: there's a couple of patches on the upstream ML which look a lot like they might be fixes for this:
I will test those out this afternoon.
Discussed at 2015-10-15 blocker review meeting: https://meetbot-raw.fedoraproject.org/fedora-blocker-review/2015-10-15/f23-blocker-review.2015-10-15-20.11.log.txt . We agreed to delay the decision one more time (till Monday) while we test the patches on litd and luc.
Good news: patches seem to work, for me. Can others please confirm? Try writing a stick after updating syslinux from this scratch build:
(the noarch packages are in the i686 build, if you're on x86_64, grab the needed noarch packages from i686).
(In reply to firstname.lastname@example.org from comment #17)
> Good news: patches seem to work, for me. Can others please confirm? Try
> writing a stick after updating syslinux from this scratch build:
Yes, it works now.
git clone -b fix/bios/gcc5 https://github.com/Celelibi/syslinux.git
Built w/ GCC5.2.1 on Rawhide
You who have successfully tested, send a confirmation to email@example.com so upstream devs know it works for you too, to speed up merge w/ http://repo.or.cz/syslinux.git
The credit goes to Sylvain Gault <firstname.lastname@example.org>
syslinux-6.03-6.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-90d432401e
syslinux-6.03-6.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update syslinux'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-90d432401e
USB boots f23 workstation tc-11 i686 in (cp) mode on intel atom 280 EeePC netbook
(In reply to satellitgo from comment #22)
> USB boots f23 workstation tc-11 i686 in (cp) mode on intel atom 280 EeePC
error this is liveusb-creator
*** Bug 1264012 has been marked as a duplicate of this bug. ***
Discussed at 2015-10-19 blocker review meeting: https://meetbot.fedoraproject.org/fedora-blocker-review/2015-10-19/f23-blocker-review.2015-10-19-16.00.html . We decided in the end that this doesn't need to block the compose, but we will grant it a freeze exception on the basis that it's probably a good idea to have a not-completely-broken syslinux in the frozen package set. If it causes problems it can be backed out and issued as an update.
syslinux-6.03-6.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.