[syslinux] can't get write_sectors to work...
H. Peter Anvin
hpa at zytor.com
Mon Sep 20 16:14:29 PDT 2010
On 09/20/2010 03:56 PM, Robert Jordan wrote:
>
> Just in case anyone is searching for a solution to this problem in the
> archives:
>
> I was attempting to write 512 sectors per call, but the limit is actually
> 127. It seems that errno_disk should have been set to 9, but for some
> reason it was reporting success. So, the full solution is to apply the
> patch and write no more than 127 sectors per call.
>
Ah yes... the code in the core applies this cap automatically.
The reason you got "success" is that the BIOS probably truncated it to
an 8-bit number, resulting in 0.
-hpa
More information about the Syslinux
mailing list