i am using tftp-hpa 0.32 to transfer boot image files of an aix 5.2 system. packets begin to go across the network and then they stop at about 4200 packets. when i boot from aix bootp server 15227 packets are transfered. i have tried with both xinetd and standalone modes with many different options. i am not sure why it is failing to transfer the entire image. are there certain options with in.tftp that i should be using? is it not possible to use a linux tftp server to serve aix boot images to an aix system? here is the output i see on the aix system when it is transfering the files: BOOTP: S=1 R=1 FILE /netboot/aixbootimg1 Load Addr=0x4000 MaxSize=0xbfc000 BOOTP: do-TFTP-read couldnt get block 4197 BOOTP: TFTP transfer failed, re-trying transfer ... FILE /netboot/aixbootimg1 BOOTP read-first-block failed:0 BOOTP read-first-block failed:1 BOOTP read-first-block failed:2 BOOTP read-first-block failed:3
richard turner wrote:> i am using tftp-hpa 0.32 to transfer boot image files of an aix 5.2 > system. packets begin to go across the network and then they stop at > about 4200 packets. when i boot from aix bootp server 15227 packets are > transfered. > > i have tried with both xinetd and standalone modes with many different > options. i am not sure why it is failing to transfer the entire image. > are there certain options with in.tftp that i should be using? is it not > possible to use a linux tftp server to serve aix boot images to an aix > system? > > here is the output i see on the aix system when it is transfering the > files: > > BOOTP: S=1 R=1 > FILE /netboot/aixbootimg1 > Load Addr=0x4000 MaxSize=0xbfc000 > BOOTP: do-TFTP-read couldnt get block 4197 > BOOTP: TFTP transfer failed, re-trying transfer ... > FILE /netboot/aixbootimg1 > BOOTP read-first-block failed:0 > BOOTP read-first-block failed:1 > BOOTP read-first-block failed:2 > BOOTP read-first-block failed:3 >It's impossible to know what's wrong without seeing a timestamped packet trace here. How long is the file? -hpa
On Tue, 2003-04-01 at 17:18, H. Peter Anvin wrote:> richard turner wrote: > > i am not really sure how to do a timestamped packet trace. but i can try > > to figure it out if it is necessary. > > tcpdump -s 2000 -e -w dumpfile host <boot_client>i have the dumpfile. it is pretty big. how would you like me to present it to you?> > ... usually works. > > > the file is 7616k > > Exact number of bytes, please...[root at linuxpc tftpboot]# ls -l --block-size=1 /tftpboot/bootimage1.52.chrp.ent.up -rw-rw-rw- 1 root root 7795869 Apr 1 21:57 /tftpboot/bootimage1.52.chrp.ent.up> > -hpa > > > _______________________________________________ > SYSLINUX mailing list > Submissions to SYSLINUX at zytor.com > Unsubscribe or set options at: > http://www.zytor.com/mailman/listinfo/syslinux > Please do not send private replies to mailing list traffic. >
here is the tcpdump output. the last pair of lines continue to repeat [root at linuxpc root]# tcpdump -r dumpfile |more 11:27:06.946628 arp who-has linuxpc tell linuxppc2 11:27:06.946628 arp reply linuxpc is-at 0:7:95:af:8f:8f 11:27:06.946628 linuxppc2.bootpc > linuxpc.bootps: xid:0x108e8 secs:67 C:linuxppc2vend-#0x69626d63 [tos 0x40] 11:27:06.946628 linuxpc.bootps > linuxppc2.bootpc: xid:0x108e8 secs:67 C:linuxppc2 Y:linuxppc2 S:linuxpc sname "linuxpc" file "/storix/netboot/bootimage1.52.chrp.ent.up"vend-#0x69626d63 (DF) 11:27:06.946628 linuxppc2.4112 > linuxpc.tftp: 50 RRQ "/storix/netboot/bootimage1.52.chrp.ent.up" [tos 0x40] 11:27:06.956628 linuxpc.32939 > linuxppc2.4112: udp 516 (DF) 11:27:06.956628 linuxppc2.4112 > linuxpc.32939: udp 4 [tos 0x40] 11:27:06.956628 linuxpc.32939 > linuxppc2.4112: udp 516 (DF) 11:27:06.956628 linuxppc2.4112 > linuxpc.32939: udp 4 [tos 0x40] 11:27:06.956628 linuxpc.32939 > linuxppc2.4112: udp 516 (DF) 11:27:06.956628 linuxppc2.4112 > linuxpc.32939: udp 4 [tos 0x40] 11:27:06.956628 linuxpc.32939 > linuxppc2.4112: udp 516 (DF) 11:27:06.966628 linuxppc2.4112 > linuxpc.32939: udp 4 [tos 0x40] 11:27:06.966628 linuxpc.32939 > linuxppc2.4112: udp 516 (DF) 11:27:06.966628 linuxppc2.4112 > linuxpc.32939: udp 4 [tos 0x40] 11:27:06.966628 linuxpc.32939 > linuxppc2.4112: udp 516 (DF) 11:27:06.966628 linuxppc2.4112 > linuxpc.32939: udp 4 [tos 0x40] 11:27:06.966628 linuxpc.32939 > linuxppc2.4112: udp 516 (DF) 11:27:06.976628 linuxppc2.4112 > linuxpc.32939: udp 4 [tos 0x40] 11:27:06.976628 linuxpc.32939 > linuxppc2.4112: udp 516 (DF) 11:27:06.976628 linuxppc2.4112 > linuxpc.32939: udp 4 [tos 0x40] 11:27:06.976628 linuxpc.32939 > linuxppc2.4112: udp 516 (DF) On Wed, 2003-04-02 at 11:45, richard turner wrote:> On Tue, 2003-04-01 at 17:18, H. Peter Anvin wrote: > > richard turner wrote: > > > i am not really sure how to do a timestamped packet trace. but i can try > > > to figure it out if it is necessary. > > > > tcpdump -s 2000 -e -w dumpfile host <boot_client> > i have the dumpfile. it is pretty big. how would you like me to present > it to you? > > > > ... usually works. > > > > > the file is 7616k > > > > Exact number of bytes, please... > [root at linuxpc tftpboot]# ls -l --block-size=1 > /tftpboot/bootimage1.52.chrp.ent.up > -rw-rw-rw- 1 root root 7795869 Apr 1 21:57 > /tftpboot/bootimage1.52.chrp.ent.up > > > > -hpa > > > > > > _______________________________________________ > > SYSLINUX mailing list > > Submissions to SYSLINUX at zytor.com > > Unsubscribe or set options at: > > http://www.zytor.com/mailman/listinfo/syslinux > > Please do not send private replies to mailing list traffic. > > >
Hi, richard turner <rturner at san.rr.com> schrieb am 03.04.03 03:33:01:> > arp -s <client ip address> <client mac address> > > seems to have fixed the problem. it appears tftp is very sensitive if > interruption occurs during the transfer. The interruption is caused by > dynamic arp requests.Maybe increasing the arp timeout on the linux machine also would have solved it? How long after beginning the transfer does the client machine start to hang? I recall the tftp boot to be quite long with aix ... Regards, Josef ______________________________________________________________________________ Jetzt 52 verschiedene Briefpapiere fur Ihre E-Mails bei WEB.DE FreeMail - http://freemail.web.de/features/?mc=021140