[syslinux] Illegal Opcode,the 2.
artreader at gmx.net
artreader at gmx.net
Mon Dec 3 10:20:09 PST 2012
Hi Shao,
thank you for the detailed questions.
> > To make sure there is no "foreing" code in partition table and MBR,
> > MBR was nulled with mbr-sys and partition table produced new with fdisk.
>
> Meaning the Syslinux MBR code is destroyed, right?
>
Meaning the "old" MBR code had been destroyed before the new MBR code was created by syslinux
> > Cause it is a machine with HP Raid, the old-fashioned cciss driver aund
> the new one hpsa were tested. The FAT Partition created with parted and
> than syslinux install.
> >
>
> But did your "syslinux install" command re-install the Syslinux MBR code
> again, or not? What was your command, please?
>
syslinux -f -U /dev/sda1 (with hpsa driver)
syslinux -f -U /dev/cciss/cod0p1 (with cciss driver)
> >
> > So, from the logical part, it should be syslinux, that makes the
> problem.
> >
>
> What I was asking about was whether or not we could determine which of
> the following items might be responsible:
>
> 1. The Syslinux convenience MBR code that can be installed with the
> Syslinux installer
>
> 2. The Syslinux volume boot record code that can be installed with the
> Syslinux installer
>
To complete the description the whole script sequence for hpsa driver:
fdisk /dev/sda < "w\no\n"
mbr-sys -z /dev/sda
parted -s /dev/sda mklabel msdos
parted -s /dev/sda mkpart primary fat16 0 700
parted -s /dev/sda mkfs 1 fat16
parted -s /dev/sda set 1 boot on
partprobe
syslinux -f -U /dev/sda1
For cciss:
fdisk /dev/cciss/c0d0 < "w\no\n"
mbr-sys -z /dev/cciss/c0d0
parted -s /dev/cciss/c0d0 mklabel msdos
parted -s /dev/cciss/c0d0 mkpart primary fat16 0 700
parted -s /dev/cciss/c0d0 mkfs 1 fat16
parted -s /dev/cciss/c0d0 set 1 boot on
partprobe
syslinux -f -U /dev/cciss/c0d0p1
> > For the 4.06 release a tarball syslinux-4.06.tar.bz2 from
> http://www.kernel.org/pub/linux/utils/boot/syslinux/ was downloaded.
>
> Thank you for this information. -^ This specifies the binary code that
> was used.
>
> > Before I tried 4.03, 3.86 etc from the same source.
> > For 5.00 pre 12 a snapshot from
> http://git.kernel.org/?p=boot/syslinux/syslinux.git was obtained.
>
> Because the same source code can build very different binary code on
> different systems, specifying the source code is not very useful for
> troubleshooting a dump that is binary-specific; the binary code is
> needed.
ldlinux.elf und syslinux binaries are attached. 4.06 is built statically, 5.00 - dynamically
>
> Could you possibly clarify about your MBR test? It might be nice to
> avoid digging into the the red screen dump by getting the simple stuff
> out of the way, first.
>
Regards,
Fred Feuerstein
More information about the Syslinux
mailing list