Download tftp stalled [solved]

Questions related to network booting via PXE
charlouff
Posts: 3
Joined: 24 Feb 2014, 14:47

Download tftp stalled [solved]

Postby charlouff » 24 Feb 2014, 15:05

hello,

sorry for my bad english :)
i have a server multi boot pxe on a CentOs 6.5, with Gparted, clonezilla and Systemrescuecd 4
everything it s ok, but i have a little problem with the boot pxe of systemrescue :(
when i boot on a client, and i choice "systemrescue", the download of "sysrcd.dat" start and restart at 10%
after first restart, i can see on right bottom of the screen "stalled" for the stat of download.
it s restart more time, during 10mn, and after this long time the boot was ok.

my /tftpboot/pxelinux.cfg/default

LABEL Systemrescuecd x86 4
MENU LABEL Sysrescuecd x86 4
KERNEL utilitaires/systemrescue/rescue32
APPEND setkmap=fr initrd=utilitaires/systemrescue/initram.igz dodhcp boottftp=tftp://192.168.69.254/utilitaires/systemrescue/sysrcd.dat
TEXT HELP
boot sur SystemRescueCD 32bits
ENDTEXT

in my /tftpboot/utilitaires/systemrescue/ i have 4 files:
initram.igz rescue32 sysrcd.dat sysrcd.md5

when i change "APPEND setkmap=fr initrd=utilitaires/systemrescue/initram.igz dodhcp boottftp=tftp://192.168.69.254/utilitaires/systemrescue/sysrcd.dat" with "APPEND setkmap=fr initrd=utilitaires/systemrescue/initram.igz dodhcp boothttp=http://192.168.69.254/utilitaires/systemrescue/sysrcd.dat" the download of sysrcd.dat was during 2 or 3 min, but for this solution, i have a service who run more (before i have copied sysrcd.dat and sysrcd.md5 in my /var/www/html/ ;))

please someone could help me :(
thanks before

gernot
Posts: 1127
Joined: 07 Apr 2010, 16:19

Re: Download tftp stalled

Postby gernot » 24 Feb 2014, 18:01

trace the network traffic to see who stop the communication.
Use you a firewall with limits?

Gernot

charlouff
Posts: 3
Joined: 24 Feb 2014, 14:47

Re: Download tftp stalled

Postby charlouff » 24 Feb 2014, 19:14

thanks for your answere
no firewall on my server centos --> services iptable off
and my network is free, it s just a network closed, no internet connexion
another idea ?

gernot
Posts: 1127
Joined: 07 Apr 2010, 16:19

Re: Download tftp stalled

Postby gernot » 24 Feb 2014, 19:43

Nothing in /var/log/messages?
run tcpdump to see which PC is not responding.

Gernot

charlouff
Posts: 3
Joined: 24 Feb 2014, 14:47

Re: Download tftp stalled

Postby charlouff » 25 Feb 2014, 08:29

the problem is that the tftp is responding,
because for Gparted and clonezilla, i use fetch=tftp://....../filesystem.squashfs
and it s work good
i tried for my problem with systemrecue with fetch=tftp://....../sysrcd.dat
it doesnt work :( same problem :(
is it possible that the problem comes from that made ​​the file to be transferred is large ? (sysrcd.dat more than 300Mb, filesystem.squashfs 100Mb)
is there a parametrage tftp transfer ?

gernot
Posts: 1127
Joined: 07 Apr 2010, 16:19

Re: Download tftp stalled

Postby gernot » 25 Feb 2014, 15:47

The filesizelimit for tftp is 32M or4G
I think this ist not the problem.

You can start the pxe-bootserver from sysrcd and boot from it. So you see how the hardware and sysrcd work.

tcpdump show which PC break the communication.

Gernot

gernot
Posts: 1127
Joined: 07 Apr 2010, 16:19

Re: Download tftp stalled

Postby gernot » 25 Feb 2014, 20:04

Just tested sysrcd4.0.1 as Server.
Tftp worked, but the busybox tftp client displayed a 32M wraparound.

Gernot

CbooT
Posts: 1
Joined: 06 Apr 2016, 11:18

Re: Download tftp stalled

Postby CbooT » 06 Apr 2016, 11:23

I know this is an old post but we've been struggling with this issue for couple weeks @ work.

As you know tftp initial RFC only allows up to 32MB limit, second standard allowed somewhat 90MB and then the blocksize and rollover options where added. The solution we came with was to edit initram.igz (decompress, edit, recompress) and edit the init file inside it (its a bash file). We found the line where it calls TFTP and added at the end of it -b 10000, this would allow up to 900MB. Im not sure if busyboxs tftp has rollover option since we managed to workaround the issue with the -b 10000.

That said, after repackaging the initram we were able to boot sysrcd from a mikrotik router + usb stick :D


Regards!
Carlos Albaladejo
University of Murcia, Spain


Return to “Network Boot via PXE”

Who is online

Users browsing this forum: No registered users and 3 guests