I would like to use the atftp server but am having some issues with
the blksize. For example, when attempting to boot a distro which has a
large size initrd the file is not served. The Cobbler PXE menu returns
the error that the file can not be found, and atftp server logs
"Requested file to big, increase BLKSIZE" (If I use the Red Hat tftp
server rather than atftp it works fine.)
I also tried afttp server_args --no-blksize just to see if turning
this off in atftp altogether might work, but nope.
If I understand correctly, blksize is originated by the tftpclient,
and it appears per tcpdump Cobbler is requesting a blksize of 1408,
but atftp is not responding correctly?
Has anyone had any luck with this issues?
Thank you,
Pete
syslinux-4.02-4.el6.x86_64
cobbler-2.0.11-2.el6.noarch
atftp-server-0.7-6.el6.rf.x86_64
tcpdump -i eth0 -nnaexs 0 -v 'udp port 69'
09:14:48.023330 52:54:00:d5:14:80 > d4:85:64:78:d6:66, ethertype IPv4
(0x0800), length 102: (tos 0x0, ttl 64, id 39224, offset 0, flags
[none], proto UDP (17), length 88)
128.219.x.y.57106 > 128.219.x.y.69: 60 RRQ
"/images/Fedora16-64bit/vmlinuz" octet tsize 0 blksize 1408
0x0000: 4500 0058 9938 0000 4011 95a1 80db a4f4
0x0010: 80db a510 df12 0045 0044 48e5 0001 2f69
0x0020: 6d61 6765 732f 4665 646f 7261 3136 2d36
0x0030: 3462 6974 2f76 6d6c 696e 757a 006f 6374
0x0040: 6574 0074 7369 7a65 0030 0062 6c6b 7369
0x0050: 7a65 0031 3430 3800
09:14:51.511583 52:54:00:d5:14:80 > d4:85:64:78:d6:66, ethertype IPv4
(0x0800), length 105: (tos 0x0, ttl 64, id 5492, offset 0, flags
[none], proto UDP (17), length 91)
128.219.x.y.57107 > 128.219.x.y.69: 63 RRQ
"/images/Fedora16-64bit/initrd.img" octet tsize 0 blksize 1408
0x0000: 4500 005b 1574 0000 4011 1963 80db a4f4
0x0010: 80db a510 df13 0045 0047 3412 0001 2f69
0x0020: 6d61 6765 732f 4665 646f 7261 3136 2d36
0x0030: 3462 6974 2f69 6e69 7472 642e 696d 6700
0x0040: 6f63 7465 7400 7473 697a 6500 3000 626c
0x0050: 6b73 697a 6500 3134 3038 00
tail -f /var/log/atftp.log
Feb 02 09:11:10 atftpd[11906.37144320]: Serving
/images/Fedora16-64bit/vmlinuz to 128.219.x.y:57106
Feb 02 09:11:16 atftpd[11906.37144320]: Serving
/images/Fedora16-64bit/initrd.img to 128.219.x.y:57107
Feb 02 09:11:16 atftpd[11906.37144320]: Requested file to big, increase BLKSIZE