[syslinux] [PATCH 4/4] 4k_sector: Support sectors >512

Frediano Ziglio frediano.ziglio at citrix.com
Mon Feb 11 08:44:48 PST 2013


The testing Dell machine use always 512 for "traditional".

I think that safer things is that if EDD is detected and sector size is
bigger than 512 never fallback to CHS.

I'm going to update other (extX) patches.

Thanks,
  Frediano

On Mon, 2013-02-11 at 07:45 -0800, H. Peter Anvin wrote:
> One thing with this series is that dynamically probing the sector size is kind of pointless in that the meaning of the partition table depends on the sector size.  I am also concerned about how teal BIOSes will implement the CHS functions.... forcing them to 512 is NOT traditional behavior.
> 
> Either way it is probably not critical for now.
> 
> Matt Fleming <matt at console-pimps.org> wrote:
> 
> >On Fri, 08 Feb, at 12:58:36PM, Frediano Ziglio wrote:
> >> If EBIOS is detected for this drive it tries to read sector size and
> >> use it. If error or no EBIOS 512 is assumed.
> >> Buffer to read sector size is always allocated into the stack.
> >> CHS informations are not readed as not needed and save space not
> >> restoring %dl for drive number.
> >> 
> >> Signed-off-by: Frediano Ziglio <frediano.ziglio at citrix.com>
> >> ---
> >>  mbr/gptmbr.S |   41 +++++++++++++++++++++++++++--------------
> >>  1 file changed, 27 insertions(+), 14 deletions(-)
> >
> >Applied for the elflink branch, thanks.
> >
> >I've put this patch series into the queue for the 5.02 release.
> 




More information about the Syslinux mailing list