[syslinux] "EDD Load error" on btrfs, how to debug?

Anatol Pomozov anatol.pomozov at gmail.com
Tue May 20 09:52:21 PDT 2014


Hi

On Tue, May 20, 2014 at 9:30 AM, Gene Cumm <gene.cumm at gmail.com> wrote:
> On Tue, May 20, 2014 at 12:20 PM, Anatol Pomozov
> <anatol.pomozov at gmail.com> wrote:
>> Hi
>>
>> On Tue, May 20, 2014 at 9:18 AM, Anatol Pomozov
>> <anatol.pomozov at gmail.com> wrote:
>>> Hi
>>>
>>> On Tue, May 20, 2014 at 3:12 AM, Gene Cumm <gene.cumm at gmail.com> wrote:
>>>> On May 20, 2014 12:33 AM, "Anatol Pomozov" <anatol.pomozov at gmail.com> wrote:
>>>>>
>>>>> Hi
>>>>>
>>>>> On Mon, May 19, 2014 at 6:58 PM, Gene Cumm <gene.cumm at gmail.com> wrote:
>>>>> > On May 19, 2014 5:17 PM, "Anatol Pomozov" <anatol.pomozov at gmail.com>
>>>>> > wrote:
>>>>> >
>>>>> >> Besides syslinux itself other things has changed e.g. gcc (but I
>>>>> >> really hope my problem not because of compiler).
>>>>> >
>>>>> > This alone can be the trigger.This might be a starting point: build 6.02
>>>>> > with your current toolchain.
>>>>>
>>>>> I built 6.02 with the current toolchain in a clean chroot environment
>>>>> (i.e. no local modifications) and it works fine. Then I built
>>>>> 6.03-pre1 6.03-pre9 6.03-pre11 and all 6.03 fail with "EDD Load
>>>>> error".
>>>>>
>>>>> > Size problem again?
>>>>> Where I can read more about this problem? How to check that my
>>>>> binary/system is affected by the problem?
>>>>
>>>> I believe he means the size of ldlinux.sys/ldlinux.bin.  Could you check the
>>>> size of both in your builds?
>>>
>>> Files from
>>> http://mirrors.kernel.org/archlinux/testing/os/x86_64/syslinux-6.03pre11-2-x86_64.pkg.tar.xz
>
>>> The most interesting files are here
>>> [anatol at archie ~]$ ls -l /boot/syslinux/ldlinux.*
>>> -rw-r--r-- 1 root root 122044 May 15 08:07 /boot/syslinux/ldlinux.c32
>>> -r--r--r-- 1 root root  67072 May 15 08:07 /boot/syslinux/ldlinux.sys
>>>
>>> ldlibyx.sys is slightly bigger than 64k, does it indicate the problem
>>> in the newer syslinux?
>>
>>
>> And this is the syslinux from previous version (6.02)
>>
>> [anatol at archie ~]$ ls -l /boot/syslinux/ldlinux.*
>> -rw-r--r-- 1 root root 116860 May 20 09:18 /boot/syslinux/ldlinux.c32
>> -r--r--r-- 1 root root  60416 May 20 09:18 /boot/syslinux/ldlinux.sys
>>
>> In this case ldlinux.sys fits 64K.
>
> Yes, as Ady noted, the apparent size of ldlinux.sys after installation
> must be under 64k for it to work with btrfs.

Ok, we've figured out potential cause of the problem. The next
question how to minimize the size of ldlinux.sys?

BTW looking at official (?) binary
https://www.kernel.org/pub/linux/utils/boot/syslinux/Testing/6.03/syslinux-6.03-pre11.tar.xz
I see that their size is also more than 64K

$ ls -l ./bios/core/ldlinux.sys
-rw-r----- 1 anatol users 66308 Apr 20 11:47 ./bios/core/ldlinux.sys


More information about the Syslinux mailing list