[syslinux] boot... round 2

poma pomidorabelisima at gmail.com
Mon Jun 29 21:55:54 PDT 2015


On 30.06.2015 04:27, Gene Cumm wrote:
> On Mon, Jun 29, 2015 at 6:20 PM, poma via Syslinux <syslinux at zytor.com> wrote:
>> On 29.06.2015 17:06, Matthew Miller via Syslinux wrote:
>>
>>>
>>> It actuallly looks from Adam's investigation that this isn't different
>>> for this package. So, less than certainly. It looks like maybe more a
>>> gcc 5 difference.
>>>
>>>
>>>
>>
>> Regardless of whatever is actually causing this,
>> here is the isolinux-debug.bin output:
>>
>> Booting from DVD/CD...
>>
>> ISOLINUX 6.03   Copyright (C) 1994-2014 H. Peter Anvin et al
>> isolinux: Starting up, DL = E0
>> isolinux: Loaded spec packet OK, drive = E0
>> isolinux: Main image LBA = 00000A12
>> isolinux: Image read, jumping to main code...
>> _
>>
>>
>> Booting from DVD/CD...
>>
>> ISOLINUX 6.04   Copyright (C) 1994-2015 H. Peter Anvin et al
>> isolinux: Starting up, DL = E0
>> isolinux: Loaded spec packet OK, drive = E0
>> isolinux: Main image LBA = 00000A12
>> isolinux: Image read, jumping to main code...
>> _
>>
> 
> So most of the nasm code should be OK.
> 
>> If anyone has an idea how to debug this further,
>> do not hesitate.
>> Sooner or later all distros gonna hit this.
> 
> A real serial port that can reliably operate at 115200 8n1 may be
> necessary.  Build logs help sometimes for new warnings.  Has anyone
> attempted builds outside the .src.rpm files?
> 

I hear you, but what about lib/virt/ualized serial port?

What about rpm build logs?


>> syslinux-6.04-1.fc23.x86_64
> 
> I didn't expect to see that.  I incremented version solely to indicate
> it's past 6.03.  6.04 hasn't even seen a pre-release yet (officially).
> What commit ID is this?
> 
>> nasm-2.11.08-2.fc23.x86_64
> 
> Hopefully this is past the issues with 2.11.06 (and no other regressions).
> 

If I remember correctly, with nasm-2.11.06 construction is impossible,
at least on Rawhide, therefore.


>> mtools-4.0.18-9.fc23.x86_64
>> mingw64-gcc-5.1.0-3.fc23.x86_64
>> libuuid-2.26.2-1.fc23.x86_64
>> glibc-2.21.90-17.fc23.x86_64
>> gcc-5.1.1-4.fc23.x86_64
> 
> What gcc is Fedora 21 on?  Fedora 22?  Why aren't we comparing Fedora
> 23's builds to Fedora 22 where there should be fewer differences?
> 

gcc-4.9.2-6.fc21.x86_64.rpm

22 <-> 23 - the same version:
gcc-5.1.1-4.fc22.x86_64

The problem appeared with gcc-5.0.0-0.7.fc22.x86_64.rpm
https://bugzilla.redhat.com/show_bug.cgi?id=1234653#c9


> The boot loader itself can't really be hardened in the same way as
> typical runtime code under a kernel (such as Linux).  Remember, we
> typically start in 16-bit real mode at address CS:IP 0x0000:0x7C00,
> prepare an environment then switch to something more like protected
> mode.  The boot loader _installers_ should be safe with the hardening.
> 

Very good, one item less, thank you.
FTR - the "hardening":
http://pkgs.fedoraproject.org/cgit/redhat-rpm-config.git/tree/macros#n136
http://pkgs.fedoraproject.org/cgit/redhat-rpm-config.git/tree/redhat-hardened-cc1
http://pkgs.fedoraproject.org/cgit/redhat-rpm-config.git/tree/redhat-hardened-ld

...

To conclude with the testing:
ISOLINUX v4 and v5 work OK
ISOLINUX v6 contemplates

boot:
ISOLINUX 4.07 2013-07-25 ETCD Copyright (C) 1994-2013 H. Peter Anvin et al

boot:
ISOLINUX 5.11 5.11-pre9 ETCD Copyright (C) 1994-2013 H. Peter Anvin et al


Booting from DVD/CD...

ISOLINUX 6.00 Copyright (C) 1994-2013 H. Peter Anvin et al
isolinux: Starting up, DL = E0
isolinux: Loaded spec packet OK, drive = E0
isolinux: Main image LBA = 00000A12
isolinux: Image read, jumping to main code...
_


Tested with:
syslinux-4.05-7.fc23.x86_64.rpm
syslinux-4.07-1.fc23.x86_64.rpm
syslinux-5.10-1.fc23.x86_64.rpm
syslinux-5.11-pre9.1.fc23.x86_64.rpm
syslinux-6.00-1.fc23.x86_64.rpm
syslinux-6.02-7.fc23.x86_64.rpm


The problematic combination:
ISOLINUX >= 6.00 & GCC >= 5.0.0





-------------- next part --------------
A non-text attachment was scrubbed...
Name: isolinux-4.07.png
Type: image/png
Size: 1303 bytes
Desc: not available
URL: <http://www.zytor.com/pipermail/syslinux/attachments/20150630/9fd2b286/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: isolinux-5.11.png
Type: image/png
Size: 1267 bytes
Desc: not available
URL: <http://www.zytor.com/pipermail/syslinux/attachments/20150630/9fd2b286/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: isolinux-6.00.png
Type: image/png
Size: 3048 bytes
Desc: not available
URL: <http://www.zytor.com/pipermail/syslinux/attachments/20150630/9fd2b286/attachment-0002.png>


More information about the Syslinux mailing list