Hello, This is my first post to this list. After searching through the archives and google searches I could not find a solution for my memtest problem. In previous versions of pxelinux/gpxelinux (4.04 and 4.06) I could successfully start the memtest utility. But using pxelinux/gpxelinux versions 5.01 and 5.02 the memtest utility does not boot and I get an error message: boot: Loading memtest420... ok Booting kernel failed: Bad file number (The same error message for memtest versions 1.55 and 4.00) I am wondering if somebody else is having the same problem or do I make some obvious mistake? I currently have a workaround, but that won't work with hdt.c32 LABEL Memtest MENU LABEL Mem^test86 MENU INDENT 2 KERNEL memdisk INITRD utils/memtest86+-4.20.iso APPEND raw iso TEXT HELP Memtest86 v4.20 ENDTEXT Below a stripped down version of our setup just to load memtest. Thanks, Wim. From our dhcp configuration: --- group { # TFTP next-server tftp.domain; filename "/syslinux-4.06/pxelinux.0"; #filename "/syslinux-5.01/pxelinux.0"; # Always include the following lines for all PXELINUX clients vendor-option-space pxelinux; option pxelinux.magic f1:00:74:7e; option pxelinux.reboottime 120; option pxelinux.pathprefix "/syslinux-4.06/"; #option pxelinux.pathprefix "/syslinux-5.01/"; option pxelinux.configfile "/default.cfg"; host machine { hardware ethernet 00:ab:cd:ef:12:34; fixed-address machine.domain; } } --- root at wielewaal:/var/lib/tftpboot# ls -la /var/lib/tftpboot/syslinux-* /var/lib/tftpboot/syslinux-4.06: total 548 drwxr-xr-x 2 root root 4096 2013-02-12 08:52 . drwxr-xr-x 14 root root 4096 2013-02-11 16:32 .. -rw-r--r-- 1 root root 155 2013-02-12 08:51 default.cfg -rw-r--r-- 1 root root 89432 2012-10-23 12:28 gpxelinux.0 -rw-r--r-- 1 root root 94600 2005-06-07 02:39 memtest155 -rw-r--r-- 1 root root 160280 2010-03-23 10:40 memtest400 -rw-r--r-- 1 root root 164504 2011-01-23 20:09 memtest420 -rw-r--r-- 1 root root 26579 2012-10-23 12:27 pxelinux.0 /var/lib/tftpboot/syslinux-5.01: total 688 drwxr-xr-x 2 root root 4096 2013-02-12 08:58 . drwxr-xr-x 14 root root 4096 2013-02-11 16:32 .. -rw-r--r-- 1 root root 155 2013-02-12 08:51 default.cfg -rw-r--r-- 1 root root 101916 2013-01-28 17:57 gpxelinux.0 -rw-r--r-- 1 root root 115784 2013-01-28 17:55 ldlinux.c32 -rw-r--r-- 1 root root 94600 2005-06-07 02:39 memtest155 -rw-r--r-- 1 root root 160280 2010-03-23 10:40 memtest400 -rw-r--r-- 1 root root 164504 2011-01-23 20:09 memtest420 -rw-r--r-- 1 root root 37664 2013-01-28 17:55 pxelinux.0 root at wielewaal:/var/lib/tftpboot# more /var/lib/tftpboot/syslinux-5.01/default.cfg DEFAULT memtest420 prompt 10 timeout 100 LABEL memtest155 KERNEL memtest155 LABEL memtest400 KERNEL memtest400 LABEL memtest420 KERNEL memtest420 -- Wim Janssen Email: WPJ.Janssen at science.ru.nl Radboud University Nijmegen Faculty of Science, room: HG03.055 C&CZ tel: +31243652744
On Tue, 12 Feb, at 10:21:32AM, Wim Janssen wrote:> Hello, > > This is my first post to this list. > After searching through the archives and google searches I could not find a solution > for my memtest problem. > > In previous versions of pxelinux/gpxelinux (4.04 and 4.06) I could successfully > start the memtest utility. But using pxelinux/gpxelinux versions 5.01 and 5.02 the > memtest utility does not boot and I get an error message: > boot: > Loading memtest420... ok > Booting kernel failed: Bad file number > (The same error message for memtest versions 1.55 and 4.00)Peter, I think this is the bug that appears with the shuffler code that we were trying to diagnose before (though I'm not suggesting the bug is *in* the shuffler code). Wim, are you able to build Syslinux from source? If you've got your machines hooked up to a serial console the best chance we have of debugging this is for you to uncomment the following line in mk/devel.mk, # GCCWARN += -DDEBUG_PORT=0x3f8 -DDEBUG=1 and send us the console output. -- Matt Fleming, Intel Open Source Technology Center
Maximilian Pasternak
2013-Feb-27 16:32 UTC
[syslinux] Problem with pxelinux 5.0 and memtest
2013/2/20 Wim Janssen <WPJ.Janssen at science.ru.nl> wrote:> In previous versions of pxelinux/gpxelinux (4.04 and 4.06) I could successfully > start the memtest utility. But using pxelinux/gpxelinux versions 5.01 and 5.02 the > memtest utility does not boot and I get an error message:> I am wondering if somebody else is having the same problem or do I make some obvious mistake?No Problem here with 5.01.> I currently have a workaround, but that won't work with hdt.c32 > > LABEL Memtest > MENU LABEL Mem^test86 > MENU INDENT 2 > KERNEL memdisk > INITRD utils/memtest86+-4.20.iso > APPEND raw isoWhy do you use the ISO instead of the Bootable Binary? http://www.memtest.org/download/4.20/memtest86+-4.20.bin.gz LABEL memtest MENU LABEL Memtest x86+ KERNEL memtest Works also with hdt - but you have to use the Version wich comes with Syslinux, the Version from http://hdt-project.org/ is the old binary format and did not work. Also be sure to use the memtest binary from http://www.memtest.org/ since there are several broken binaries out there! Best regards Maximilian
On 04/01/2013 09:28 AM, H. Peter Anvin wrote:> On 03/31/2013 05:26 PM, Koudai Aono wrote: >> I ran the test on a x86 emulator is called Oracle VirtualBox. >> I think it might not be standard trouble ,because the machine is not >> real machine. >> but, same memtest binary can boot on pxelinux 4.0.6. >> >> Should i do to get a log on real computer ? >> There are few machine on my office which have intel chip-set and serial >> port. >> >> AONO Koudai > First, could you please try 5.02-pre3 or 5.10-pre2 as opposed to 5.01? > > -hpa >I'm sorry, I made mistake sending the post. I sent the post to only H.Peter Anvin. I re-sent the post to show on mailing list. i just got the logs, 5.10-pre2 and 5.01. 5.10-pre2 https://gist.github.com/koxudaxi/5283305 5.01 https://gist.github.com/koxudaxi/5283302 i tried booting two versions of pxelinux on NEC 5800/GT110[Corei7 860]. pxelinux returned to the bootmenu when i selected memtest4.2 on the bootmenu. also other machines can't boot memtest4.2 on 5.10-pre3 + 5.01. but, i checked pxelinux 4.0.6 + memtest4.2 can boot on same environments. AONO Koudai