[syslinux] Syslinux 5.00 - Doesn't boot my system / Not passing the kernel options to the kernel?

Igor Sverkos igor.sverkos at googlemail.com
Fri Jan 4 14:32:49 PST 2013


Hi,

Matt Fleming wrote:
> The problem seems to be that your initramfs isn't being loaded. I
> suspect that you're running into the buffer overflow bug in
> new_linux_kernel(). I've pushed a fix to git, are you able to build it
> and see whether things now work for you?

I tried to build, but it will fail:

>>> Compiling source in
/var/tmp/portage/sys-boot/syslinux-99999999/work/syslinux-99999999 ...
make -j5 -l3.95 CC=x86_64-pc-linux-gnu-gcc installer
perl version.pl version version.mk '< := @'
make -r installer-local
make[1]: Entering directory
`/var/tmp/portage/sys-boot/syslinux-99999999/work/syslinux-99999999'
make[1]: Nothing to be done for `installer-local'.
make[1]: Leaving directory
`/var/tmp/portage/sys-boot/syslinux-99999999/work/syslinux-99999999'
set -e ; for i in libinstaller mtools linux extlinux utils; do make -r
-C $i all ; done
make[1]: Entering directory
`/var/tmp/portage/sys-boot/syslinux-99999999/work/syslinux-99999999/libinstaller'
make[1]: *** No rule to make target `../core/ldlinux.bss', needed by
`bootsect_bin.c'.  Stop.
make[1]: Leaving directory
`/var/tmp/portage/sys-boot/syslinux-99999999/work/syslinux-99999999/libinstaller'
make: *** [installer] Error 2


When I do it by hand (clone, switch, make), the make call will fail with
this error:

python menugen.py --input=test2.menu --output=test2.c
--template=adv_menu.tpl
  File "menugen.py", line 103
    print "Error before line %d" % self.lineno
                               ^
SyntaxError: invalid syntax
make[2]: *** [test2.c] Error 1
make[2]: Leaving directory
`/var/tmp/portage/sys-boot/syslinux-99999999/work/syslinux-99999999/com32/cmenu'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/var/tmp/portage/sys-boot/syslinux-99999999/work/syslinux-99999999/com32'
make: *** [all] Error 2


I hope I am using the right branch. I am cloning from
<git://git.kernel.org/pub/scm/boot/syslinux/syslinux.git> and branch
into "elflink".

Not sure if it requires special steps, when building from git. Maybe you
can provide a source tarball, like you did with the release source tarballs?


>> BTW: Syslinux 5.00 still cannot boot from mdraid metadata 1.2.
> 
> Is this a regression? Has Syslinux ever supported mdraid metadata 1.2?

No, afaik. But I found a discussion from June 2010
<http://www.syslinux.org/archives/2010-June/014813.html> that you were
working on this. Not sure how it ended.


-- 
Regards,
Igor




More information about the Syslinux mailing list