[syslinux] [elflink] diskstart.inc:420: error: Sector 1 overflow by 5 bytes

H. Peter Anvin hpa at zytor.com
Sun Apr 3 16:07:49 PDT 2011

On 04/03/2011 01:16 PM, Matt Fleming wrote:
> On Thu, 31 Mar 2011 13:57:24 -0700
> "H. Peter Anvin" <hpa at zytor.com> wrote:
>> This isn't Feng's change, but mine; the code changed from having a
>> table of (32-bit) entires to a list of extents, which are 64-bit LBAs
>> plus a 16-bit count.  This speeds up loading significantly, and
>> supports 64-bit LBAs.
>> You need a minimum of 10 bytes for a single extent.
> Ah, OK.
> I encountered this error when merging master into the elflink branch,
> which, considering there's a one line change in diskstart.inc and it's
> not even in the .init section, confused me quite a bit.
> It turns out that DATE_STR is much longer on the elflink branch and
> that is pushing us over the .init section size limit. For example, on
> master DATE_STR is 'pre17' whereas on elflink it's
> '4.04-pre14-224-g6ca80b8'.

Well, it's really an effect of a git tree.  Perhaps the old idea of
putting DATE_STR in sector 1 has outlived its usefulness.


H. Peter Anvin, Intel Open Source Technology Center
I work for Intel.  I don't speak on their behalf.

More information about the Syslinux mailing list