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

Matt Fleming matt.fleming at linux.intel.com
Sun Apr 3 13:16:40 PDT 2011


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'.




More information about the Syslinux mailing list