LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   in.tftp pxelinux.0_ fails with TFTP open timeout (http://www.linuxquestions.org/questions/linux-server-73/in-tftp-pxelinux-0_-fails-with-tftp-open-timeout-795591/)

deadeyes 03-15-2010 03:10 PM

in.tftp pxelinux.0_ fails with TFTP open timeout
 
hi all,

I have the following problem and I can't seem to find the solution.

When I try to pxe boot a Sun X4100 (which actually has a RHEL OS on it right now) I get the message TFTP open timeout.

All traffic is allowed for port 69 udp in both directions.
I do get a dhcp address. I see that both on the server and the client it gets an IP.

After that I get this message in the logs:
Code:

Mar 15 19:47:31 [in.tftpd] remap: input: /pxelinux.0
Mar 15 19:47:31 [in.tftpd] remap: done
Mar 15 19:47:31 [in.tftpd] RRQ from 10.10.125.89 filename /pxelinux.0_
Mar 15 19:47:33 [in.tftpd] remap: input: /pxelinux.0
Mar 15 19:47:33 [in.tftpd] remap: done
Mar 15 19:47:33 [in.tftpd] RRQ from 10.10.125.89 filename /pxelinux.0_
Mar 15 19:47:37 [in.tftpd] remap: input: /pxelinux.0
Mar 15 19:47:37 [in.tftpd] remap: done
Mar 15 19:47:37 [in.tftpd] RRQ from 10.10.125.89 filename /pxelinux.0_
Mar 15 19:47:43 [in.tftpd] remap: input: /pxelinux.0
Mar 15 19:47:43 [in.tftpd] remap: done
Mar 15 19:47:43 [in.tftpd] RRQ from 10.10.125.89 filename /pxelinux.0_
Mar 15 19:47:51 [in.tftpd] remap: input: /pxelinux.0
Mar 15 19:47:51 [in.tftpd] remap: done

Code:

[root@host tftpboot]# tcpdump -vv -Xni any port 69
tcpdump: WARNING: Promiscuous mode not supported on the "any" device
tcpdump: listening on any, link-type LINUX_SLL (Linux cooked), capture size 68 bytes
20:27:39.005832 IP (tos 0x0, ttl  18, id 2, offset 0, flags [none], length: 56) x.x.x.x.2070 > x.x.x.x:  28 RRQ "/pxelinux.0" octet tsiz
        0x0000:  4500 0038 0002 0000 1211 b24d 0a0a 7d59  E..8.......M..}Y
        0x0010:  0a0a 64f9 0816 0045 0024 0b49 0001 2f70  ..d....E.$.I../p
        0x0020:  7865 6c69 6e75 782e 3000 6f63 7465 7400  xelinux.0.octet.
        0x0030:  7473 697a                                tsiz
20:27:41.021329 IP (tos 0x0, ttl  18, id 3, offset 0, flags [none], length: 56) x.x.x.x.2071 > x.x.x.x.69:  28 RRQ "/pxelinux.0" octet tsiz
        0x0000:  4500 0038 0003 0000 1211 b24c 0a0a 7d59  E..8.......L..}Y
        0x0010:  0a0a 64f9 0817 0045 0024 0b48 0001 2f70  ..d....E.$.H../p
        0x0020:  7865 6c69 6e75 782e 3000 6f63 7465 7400  xelinux.0.octet.
        0x0030:  7473 697a                                tsiz
20:27:45.030381 IP (tos 0x0, ttl  18, id 4, offset 0, flags [none], length: 56) x.x.x.x.2072 > x.x.x.x.69:  28 RRQ "/pxelinux.0" octet tsiz
        0x0000:  4500 0038 0004 0000 1211 b24b 0a0a 7d59  E..8.......K..}Y
        0x0010:  0a0a 64f9 0818 0045 0024 0b47 0001 2f70  ..d....E.$.G../p
        0x0020:  7865 6c69 6e75 782e 3000 6f63 7465 7400  xelinux.0.octet.
        0x0030:  7473 697a                                tsiz
20:27:51.016352 IP (tos 0x0, ttl  18, id 5, offset 0, flags [none], length: 56) x.x.x.x.2073 > x.x.x.x.69:  28 RRQ "/pxelinux.0" octet tsiz
        0x0000:  4500 0038 0005 0000 1211 b24a 0a0a 7d59  E..8.......J..}Y
        0x0010:  0a0a 64f9 0819 0045 0024 0b46 0001 2f70  ..d....E.$.F../p
        0x0020:  7865 6c69 6e75 782e 3000 6f63 7465 7400  xelinux.0.octet.
        0x0030:  7473 697a                                tsiz
20:27:58.979494 IP (tos 0x0, ttl  18, id 6, offset 0, flags [none], length: 56) x.x.x.x.2074 > x.x.x.x.69:  28 RRQ "/pxelinux.0" octet tsiz
        0x0000:  4500 0038 0006 0000 1211 b249 0a0a 7d59  E..8.......I..}Y
        0x0010:  0a0a 64f9 081a 0045 0024 0b45 0001 2f70  ..d....E.$.E../p
        0x0020:  7865 6c69 6e75 782e 3000 6f63 7465 7400  xelinux.0.octet.
        0x0030:  7473 697a                                tsiz

5 packets captured
6 packets received by filter
0 packets dropped by kernel

The setup uses tftp-hpa.

What I find particularly strange is the _ (underscore).
I cannot find any other occurances of this on google.
I also try to change an tftp.remap file and put:
rg _
in it to get rid of it.
Still it seems this is not the issue as it does not gives an error that this file does not exist.

Anyone has more experience with this?

Thanks in advance.

deadeyes 05-28-2010 10:07 AM

ALthough this has been a long time ago I revisited this issue.

We found out that it is getting the correct IP, netmask, gw, ...

When I try an tftp get from the OS that is installed on the server, then everything works fine. (it actually gets the same IP than the PXE client).

So networking-wise it all seems fine.

However when it is started from PXE then the RRQ is received by the server and then we do not get the correct amount of bytes copied (it seems to be alot less.).

The hardware itself is a Sun x4100 machine with RHEL installed on disk.
We should get pxe boot to work to do future installs.


All times are GMT -5. The time now is 03:20 PM.