jack23912 / grub4dos-chenall

Automatically exported from code.google.com/p/grub4dos-chenall
0 stars 0 forks source link

menu.lst folder not work with iPXE #88

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
0. $TFTPROOT/menu.lst/default
1. from client machine, load iPXE kernel from grub4dos
2. load server side GRLDR
3. system rebooted

What is the expected output? What do you see instead?
from captured screen,the last message before reboot is
"Try block size 1400...
Use block size 1432".

What version of the product are you using? On what operating system?
server/client both 0.4.5c 2012-04-17/both 0.4.6a 2012-04-13 confirmed
iPXE 1.0.0+/gPXE 1.0.1+ confirmed
HW: Quanda TW9, BIOS ver 3I21; HM55 chipset, AR8131 wired, AR9280 wireless.
PXE Server setup: Mac OSX Lion 10.7.3, dnsmasq v2.61rc3( git build ) as 
DHCP/TFTP server.

Please provide any additional information below.
In tests I observe if there's not menu.lst folder, the system will not reboot. 
In another way, if I use the mainboard's built-in PXE ROM instead of iPXE, it 
will never reboot either I use menu.lst file or menu.lst folder. The reason why 
I want to test iPXE is because it support wireless PXE which not supported by 
the build-in PXE ROM, and I want to think about some machine which don't have 
build-in PXE.
In attachment I've post logs for 2 situation, 1 is ROM PXE, with wired network, 
load server side grldr, with menu.lst folder, which finally works; 2 is local 
GRUB4DOS loaded iPXE, with wireless network, load server side grldr with same 
configuration, which finally rebooted.

Original issue reported on code.google.com by pal...@gmail.com on 23 Apr 2012 at 9:55

Attachments:

GoogleCodeExporter commented 8 years ago
I am afraid you have to wait 3 or 4 weeks until chenall will come back and 
handle this issue.

Original comment by tinyb...@gmail.com on 24 Apr 2012 at 2:38

GoogleCodeExporter commented 8 years ago
I did not find any problems,Could you please try more version of grub4dos to 
find which version can works.

Original comment by chenall.cn on 16 May 2012 at 11:45

GoogleCodeExporter commented 8 years ago
Hi, after compare many version in the Downloads section, the last version that 
works with the situation that I described above is grub4dos-0.4.5a-2010-04-20. 
The next version, grub4dos-0.4.5b-2010-06-12 will not work. 

dnsmasq log with grub4dos-0.4.5a-2010-04-20:
dnsmasq-dhcp: PXE(en1) 192.168.1.X AA:BB:CC:DD:EE:FF grldr.0
dnsmasq-tftp: sent TFTPROOT/grldr.0 to 192.168.1.X
dnsmasq-tftp: error 0 TFTP Aborted received from 192.168.1.X
dnsmasq-tftp: failed sending TFTPROOT/grldr.0 to 192.168.1.X
dnsmasq-tftp: file TFTPROOT/menu.lst/01-08-00-27-DC-6B-9E not found
dnsmasq-tftp: file TFTPROOT/menu.lst/C0A80139 not found
dnsmasq-tftp: file TFTPROOT/menu.lst/C0A8013 not found
dnsmasq-tftp: file TFTPROOT/menu.lst/C0A801 not found
dnsmasq-tftp: file TFTPROOT/menu.lst/C0A80 not found
dnsmasq-tftp: file TFTPROOT/menu.lst/C0A8 not found
dnsmasq-tftp: file TFTPROOT/menu.lst/C0A not found
dnsmasq-tftp: file TFTPROOT/menu.lst/C0 not found
dnsmasq-tftp: file TFTPROOT/menu.lst/C not found
dnsmasq-tftp: error 0 TFTP Aborted received from 192.168.1.X
dnsmasq-tftp: failed sending TFTPROOT/menu.lst/default to 192.168.1.X
dnsmasq-tftp: error 0 TFTP Aborted received from 192.168.1.X
dnsmasq-tftp: failed sending TFTPROOT/menu.lst/default to 192.168.1.X
dnsmasq-tftp: sent TFTPROOT/menu.lst/default to 192.168.1.X
dnsmasq-tftp: file TFTPROOT/default not found

dnsmasq log with grub4dos-0.4.5b-2010-06-12:
dnsmasq-dhcp: PXE(en1) 192.168.1.X AA:BB:CC:DD:EE:FF grldr.0
dnsmasq-tftp: sent TFTPROOT/grldr.0 to 192.168.1.X
dnsmasq-tftp: error 0 TFTP Aborted received from 192.168.1.X
dnsmasq-tftp: failed sending TFTPROOT/grldr.0 to 192.168.1.X
dnsmasq-tftp: error 0 TFTP Aborted received from 192.168.1.X
dnsmasq-tftp: failed sending TFTPROOT/menu.lst to 192.168.1.X
dnsmasq-tftp: cannot read TFTPROOT/menu.lst: Is a directory
dnsmasq-tftp: failed sending TFTPROOT/menu.lst to 192.168.1.X
dnsmasq-tftp: error 0 TFTP Aborted received from 192.168.1.X
dnsmasq-tftp: failed sending TFTPROOT/menu.lst to 192.168.1.X
dnsmasq-tftp: cannot read TFTPROOT/menu.lst: Is a directory
dnsmasq-tftp: failed sending TFTPROOT/menu.lst to 192.168.1.X
dnsmasq-tftp: failed sending TFTPROOT/grldr.0 to 192.168.1.X

Original comment by pal...@gmail.com on 29 May 2012 at 3:37

GoogleCodeExporter commented 8 years ago
sorry,I did not find the cause of the problem.
If you does not use MAC/IP menu file(eg.TFTPROOT/menu.lst/01-08-00-27-DC-6B-9E)
you can directly use the menu.lst file.
move menu.lst/default file to tftproot and then rename to menu.lst,that can 
boot quickly

Original comment by chenall.cn on 30 May 2012 at 7:07

GoogleCodeExporter commented 8 years ago
Thanks for you suggestion, I'm not finding a solution, just report the problem 
here. iPXE is a alternation for those whose BIOS don't contains PXE ROM, I 
think it should be worth to fix in future. For myself in fact the ROM PXE 
already works well.

Original comment by pal...@gmail.com on 30 May 2012 at 7:45

GoogleCodeExporter commented 8 years ago

Original comment by tinyb...@gmail.com on 28 Jan 2013 at 3:27

GoogleCodeExporter commented 8 years ago
Is this a dead end about this issue? It's 100% reproduceable here and leads 
either to reboot or to a freeze after "Try block size 1400...Use block size 
1432" lines. And for example, qemu-kvm is using ipxe as default and none of the 
VM's can be netbooted because of this issue..

Original comment by p...@dimer.org.ua on 6 Mar 2013 at 7:38

GoogleCodeExporter commented 8 years ago
what the TFTP server you use?
I'm using WINDOWS,Unable to reproduce this error.

Original comment by chenall.cn on 8 Mar 2013 at 5:28

GoogleCodeExporter commented 8 years ago
tftpd-hpa 5.0-18 running on Debian Squeeze. Gonna test tftpd32 under Windows to 
see what happens...

Original comment by p...@dimer.org.ua on 8 Mar 2013 at 7:01

GoogleCodeExporter commented 8 years ago
couldn't reproduce under windows+tftpd32, so i assume only nix-like affected

Original comment by p...@dimer.org.ua on 9 Mar 2013 at 7:34