[ipxe-devel] iPXE 1.0.0+ fails to load linux kernel, sends ARP requests

Jussi Peltonen peltoju at gmail.com
Thu Jan 24 12:55:18 UTC 2013


Hello!

My name is mr Jussi Peltonen. I have been using successfully PXE for
several years with different kinds of hardware.

Now I have run into a problem with iPXE on Intel 82571EB. For some unknown
reason loading of Linux kernel fails. I think that 7 boots out of 10 fail.
I have captured network traffic with Netshark. Captures show, that when
kernel load fails, network adapter starts to send ARP requests to find the
server.

Interesting frames are included at the end of this message.

Capture files can be downloaded from my personal web page:

http://personal.inet.fi/koti/juho69/boot_ok.pcap
http://personal.inet.fi/koti/juho69/boot_failed.pcap

Can you find reason for this kind of behaviour?

Please, help.

Best Regards,
Jussi Peltonen


Successful boot looks like this:
========================

No.     Time        Source                Destination           Protocol
Info
  13588 25.128978   172.30.12.37          224.0.171.101         TFTP
Read Request, File: pxelinux.cfg/AC1E0C25\000, Transfer type: octet\000,
tsize\000=0\000, dna_hw\000=st_metsoACN:C5C1\000, \000=\000, \000=\000,
\000=\000, dna_mac\000=0090FB41A3F6\000

Frame 13588: 131 bytes on wire (1048 bits), 131 bytes captured (1048 bits)
Ethernet II, Src: Portwell_41:a3:f6 (00:90:fb:41:a3:f6), Dst:
IPv4mcast_00:ab:65 (01:00:5e:00:ab:65)
Internet Protocol, Src: 172.30.12.37 (172.30.12.37), Dst: 224.0.171.101
(224.0.171.101)
User Datagram Protocol, Src Port: 57217 (57217), Dst Port: tftp (69)
Trivial File Transfer Protocol


No.     Time        Source                Destination           Protocol
Info
  13652 25.235795   172.30.12.1           172.30.12.37          UDP
Source port: 53021  Destination port: 57217

Frame 13652: 60 bytes on wire (480 bits), 60 bytes captured (480 bits)
Ethernet II, Src: NexcomIn_1f:15:f2 (00:10:f3:1f:15:f2), Dst:
Portwell_41:a3:f6 (00:90:fb:41:a3:f6)
Internet Protocol, Src: 172.30.12.1 (172.30.12.1), Dst: 172.30.12.37
(172.30.12.37)
User Datagram Protocol, Src Port: 53021 (53021), Dst Port: 57217 (57217)
Data (12 bytes)

0000  00 06 74 73 69 7a 65 00 31 38 31 00               ..tsize.181.

No.     Time        Source                Destination           Protocol
Info
  13653 25.236035   172.30.12.37          172.30.12.1           UDP
Source port: 57217  Destination port: 53021

Frame 13653: 60 bytes on wire (480 bits), 60 bytes captured (480 bits)
Ethernet II, Src: Portwell_41:a3:f6 (00:90:fb:41:a3:f6), Dst:
NexcomIn_1f:15:f2 (00:10:f3:1f:15:f2)
Internet Protocol, Src: 172.30.12.37 (172.30.12.37), Dst: 172.30.12.1
(172.30.12.1)
User Datagram Protocol, Src Port: 57217 (57217), Dst Port: 53021 (53021)
Data (4 bytes)

0000  00 04 00 00                                       ....


No.     Time        Source                Destination           Protocol
Info
  13655 25.237977   172.30.12.1           172.30.12.37          UDP
Source port: 53021  Destination port: 57217

Frame 13655: 227 bytes on wire (1816 bits), 227 bytes captured (1816 bits)
Ethernet II, Src: NexcomIn_1f:15:f2 (00:10:f3:1f:15:f2), Dst:
Portwell_41:a3:f6 (00:90:fb:41:a3:f6)
Internet Protocol, Src: 172.30.12.1 (172.30.12.1), Dst: 172.30.12.37
(172.30.12.37)
User Datagram Protocol, Src Port: 53021 (53021), Dst Port: 57217 (57217)
Data (185 bytes)

0000  00 03 00 01 44 45 46 41 55 4c 54 20 20 6c 69 6e   ....DEFAULT  lin
0010  75 78 0d 0a 4c 41 42 45 4c 20 20 20 20 6c 69 6e   ux..LABEL    lin
0020  75 78 0d 0a 4b 45 52 4e 45 4c 20 20 20 6c 69 6e   ux..KERNEL   lin
0030  75 78 2d 32 2e 36 2e 33 32 2e 33 30 2d 37 0d 0a   ux-2.6.32.30-7..
0040  41 50 50 45 4e 44 20 20 20 61 75 74 6f 20 72 6f   APPEND   auto ro
0050  6f 74 3d 2f 64 65 76 2f 72 61 6d 20 72 77 20 69   ot=/dev/ram rw i
0060  6e 69 74 72 64 3d 69 6e 69 74 2d 32 2e 36 2e 33   nitrd=init-2.6.3
0070  32 2e 33 30 2d 31 35 74 20 72 65 62 6f 6f 74 3d   2.30-15t reboot=
0080  62 20 69 6e 69 74 3d 2f 61 70 70 20 72 61 6d 64   b init=/app ramd
0090  69 73 6b 5f 73 69 7a 65 3d 34 30 30 30 30 20 62   isk_size=40000 b
00a0  6f 6f 74 65 74 68 3d 65 74 68 31 0d 0a 49 50 41   ooteth=eth1..IPA
00b0  50 50 45 4e 44 20 31 0d 0a                        PPEND 1..

No.     Time        Source                Destination           Protocol
Info
  13656 25.238145   172.30.12.37          172.30.12.1           UDP
Source port: 57217  Destination port: 53021

Frame 13656: 60 bytes on wire (480 bits), 60 bytes captured (480 bits)
Ethernet II, Src: Portwell_41:a3:f6 (00:90:fb:41:a3:f6), Dst:
NexcomIn_1f:15:f2 (00:10:f3:1f:15:f2)
Internet Protocol, Src: 172.30.12.37 (172.30.12.37), Dst: 172.30.12.1
(172.30.12.1)
User Datagram Protocol, Src Port: 57217 (57217), Dst Port: 53021 (53021)
Data (4 bytes)

0000  00 04 00 01                                       ....

No.     Time        Source                Destination           Protocol
Info
  13657 25.238390   172.30.12.37          172.30.12.1           TFTP
Read Request, File: linux-2.6.32.30-7\000, Transfer type: octet\000,
tsize\000=0\000, dna_hw\000=st_metsoACN:C5C1\000, \000=\000, \000=\000,
\000=\000, dna_mac\000=0090FB41A3F6\000

Frame 13657: 127 bytes on wire (1016 bits), 127 bytes captured (1016 bits)
Ethernet II, Src: Portwell_41:a3:f6 (00:90:fb:41:a3:f6), Dst:
NexcomIn_1f:15:f2 (00:10:f3:1f:15:f2)
Internet Protocol, Src: 172.30.12.37 (172.30.12.37), Dst: 172.30.12.1
(172.30.12.1)
User Datagram Protocol, Src Port: 57218 (57218), Dst Port: tftp (69)
Trivial File Transfer Protocol


No.     Time        Source                Destination           Protocol
Info
  13667 25.248956   172.30.12.1           172.30.12.37          TFTP
Option Acknowledgement, tsize\000=2625936\000

Frame 13667: 60 bytes on wire (480 bits), 60 bytes captured (480 bits)
Ethernet II, Src: NexcomIn_1f:15:f2 (00:10:f3:1f:15:f2), Dst:
Portwell_41:a3:f6 (00:90:fb:41:a3:f6)
Internet Protocol, Src: 172.30.12.1 (172.30.12.1), Dst: 172.30.12.37
(172.30.12.37)
User Datagram Protocol, Src Port: 53022 (53022), Dst Port: 57218 (57218)
Trivial File Transfer Protocol

No.     Time        Source                Destination           Protocol
Info
  13668 25.249259   172.30.12.37          172.30.12.1           TFTP
Acknowledgement, Block: 0

Frame 13668: 60 bytes on wire (480 bits), 60 bytes captured (480 bits)
Ethernet II, Src: Portwell_41:a3:f6 (00:90:fb:41:a3:f6), Dst:
NexcomIn_1f:15:f2 (00:10:f3:1f:15:f2)
Internet Protocol, Src: 172.30.12.37 (172.30.12.37), Dst: 172.30.12.1
(172.30.12.1)
User Datagram Protocol, Src Port: 57218 (57218), Dst Port: 53022 (53022)
Trivial File Transfer Protocol


Failed boot looks like this:
===================


No.     Time        Source                Destination           Protocol
Info
   4588 8.918326    172.30.12.37          224.0.171.101         TFTP
Read Request, File: pxelinux.cfg/AC1E0C25\000, Transfer type: octet\000,
tsize\000=0\000, dna_hw\000=st_metsoACN:C5C1\000, \000=\000, \000=\000,
\000=\000, dna_mac\000=0090FB41A3F6\000

Frame 4588: 131 bytes on wire (1048 bits), 131 bytes captured (1048 bits)
Ethernet II, Src: Portwell_41:a3:f6 (00:90:fb:41:a3:f6), Dst:
IPv4mcast_00:ab:65 (01:00:5e:00:ab:65)
Internet Protocol, Src: 172.30.12.37 (172.30.12.37), Dst: 224.0.171.101
(224.0.171.101)
User Datagram Protocol, Src Port: 57217 (57217), Dst Port: tftp (69)
Trivial File Transfer Protocol


No.     Time        Source                Destination           Protocol
Info
   4593 8.923812    172.30.12.1           172.30.12.37          UDP
Source port: 53019  Destination port: 57217

Frame 4593: 60 bytes on wire (480 bits), 60 bytes captured (480 bits)
Ethernet II, Src: NexcomIn_1f:15:f2 (00:10:f3:1f:15:f2), Dst:
Portwell_41:a3:f6 (00:90:fb:41:a3:f6)
Internet Protocol, Src: 172.30.12.1 (172.30.12.1), Dst: 172.30.12.37
(172.30.12.37)
User Datagram Protocol, Src Port: 53019 (53019), Dst Port: 57217 (57217)
Data (12 bytes)

0000  00 06 74 73 69 7a 65 00 31 38 31 00               ..tsize.181.


No.     Time        Source                Destination           Protocol
Info
   4793 9.300164    Portwell_41:a3:f6     Broadcast             ARP
Who has 172.30.12.1?  Tell 172.30.12.37

Frame 4793: 60 bytes on wire (480 bits), 60 bytes captured (480 bits)
Ethernet II, Src: Portwell_41:a3:f6 (00:90:fb:41:a3:f6), Dst: Broadcast
(ff:ff:ff:ff:ff:ff)
Address Resolution Protocol (request)


No.     Time        Source                Destination           Protocol
Info
   4797 9.301735    NexcomIn_1f:15:f2     Portwell_41:a3:f6     ARP
172.30.12.1 is at 00:10:f3:1f:15:f2

Frame 4797: 60 bytes on wire (480 bits), 60 bytes captured (480 bits)
Ethernet II, Src: NexcomIn_1f:15:f2 (00:10:f3:1f:15:f2), Dst:
Portwell_41:a3:f6 (00:90:fb:41:a3:f6)
Address Resolution Protocol (reply)


No.     Time        Source                Destination           Protocol
Info
   5079 9.906370    Portwell_41:a3:f6     Broadcast             ARP
Who has 172.30.12.1?  Tell 172.30.12.37

Frame 5079: 60 bytes on wire (480 bits), 60 bytes captured (480 bits)
Ethernet II, Src: Portwell_41:a3:f6 (00:90:fb:41:a3:f6), Dst: Broadcast
(ff:ff:ff:ff:ff:ff)
Address Resolution Protocol (request)

No.     Time        Source                Destination           Protocol
Info
   5080 9.907197    NexcomIn_1f:15:f2     Portwell_41:a3:f6     ARP
172.30.12.1 is at 00:10:f3:1f:15:f2

Frame 5080: 60 bytes on wire (480 bits), 60 bytes captured (480 bits)
Ethernet II, Src: NexcomIn_1f:15:f2 (00:10:f3:1f:15:f2), Dst:
Portwell_41:a3:f6 (00:90:fb:41:a3:f6)
Address Resolution Protocol (reply)


No.     Time        Source                Destination           Protocol
Info
   5745 11.224618   Portwell_41:a3:f6     Broadcast             ARP
Who has 172.30.12.1?  Tell 172.30.12.37

Frame 5745: 60 bytes on wire (480 bits), 60 bytes captured (480 bits)
Ethernet II, Src: Portwell_41:a3:f6 (00:90:fb:41:a3:f6), Dst: Broadcast
(ff:ff:ff:ff:ff:ff)
Address Resolution Protocol (request)

No.     Time        Source                Destination           Protocol
Info
   5746 11.225281   NexcomIn_1f:15:f2     Portwell_41:a3:f6     ARP
172.30.12.1 is at 00:10:f3:1f:15:f2

Frame 5746: 60 bytes on wire (480 bits), 60 bytes captured (480 bits)
Ethernet II, Src: NexcomIn_1f:15:f2 (00:10:f3:1f:15:f2), Dst:
Portwell_41:a3:f6 (00:90:fb:41:a3:f6)
Address Resolution Protocol (reply)


No.     Time        Source                Destination           Protocol
Info
   7115 13.861024   Portwell_41:a3:f6     Broadcast             ARP
Who has 172.30.12.1?  Tell 172.30.12.37

Frame 7115: 60 bytes on wire (480 bits), 60 bytes captured (480 bits)
Ethernet II, Src: Portwell_41:a3:f6 (00:90:fb:41:a3:f6), Dst: Broadcast
(ff:ff:ff:ff:ff:ff)
Address Resolution Protocol (request)

No.     Time        Source                Destination           Protocol
Info
   7116 13.861656   NexcomIn_1f:15:f2     Portwell_41:a3:f6     ARP
172.30.12.1 is at 00:10:f3:1f:15:f2

Frame 7116: 60 bytes on wire (480 bits), 60 bytes captured (480 bits)
Ethernet II, Src: NexcomIn_1f:15:f2 (00:10:f3:1f:15:f2), Dst:
Portwell_41:a3:f6 (00:90:fb:41:a3:f6)
Address Resolution Protocol (reply)


No.     Time        Source                Destination           Protocol
Info
   7153 13.923866   172.30.12.1           172.30.12.37          UDP
Source port: 53019  Destination port: 57217

Frame 7153: 227 bytes on wire (1816 bits), 227 bytes captured (1816 bits)
Ethernet II, Src: NexcomIn_1f:15:f2 (00:10:f3:1f:15:f2), Dst:
Portwell_41:a3:f6 (00:90:fb:41:a3:f6)
Internet Protocol, Src: 172.30.12.1 (172.30.12.1), Dst: 172.30.12.37
(172.30.12.37)
User Datagram Protocol, Src Port: 53019 (53019), Dst Port: 57217 (57217)
Data (185 bytes)

0000  00 03 00 01 44 45 46 41 55 4c 54 20 20 6c 69 6e   ....DEFAULT  lin
0010  75 78 0d 0a 4c 41 42 45 4c 20 20 20 20 6c 69 6e   ux..LABEL    lin
0020  75 78 0d 0a 4b 45 52 4e 45 4c 20 20 20 6c 69 6e   ux..KERNEL   lin
0030  75 78 2d 32 2e 36 2e 33 32 2e 33 30 2d 37 0d 0a   ux-2.6.32.30-7..
0040  41 50 50 45 4e 44 20 20 20 61 75 74 6f 20 72 6f   APPEND   auto ro
0050  6f 74 3d 2f 64 65 76 2f 72 61 6d 20 72 77 20 69   ot=/dev/ram rw i
0060  6e 69 74 72 64 3d 69 6e 69 74 2d 32 2e 36 2e 33   nitrd=init-2.6.3
0070  32 2e 33 30 2d 31 35 74 20 72 65 62 6f 6f 74 3d   2.30-15t reboot=
0080  62 20 69 6e 69 74 3d 2f 61 70 70 20 72 61 6d 64   b init=/app ramd
0090  69 73 6b 5f 73 69 7a 65 3d 34 30 30 30 30 20 62   isk_size=40000 b
00a0  6f 6f 74 65 74 68 3d 65 74 68 31 0d 0a 49 50 41   ooteth=eth1..IPA
00b0  50 50 45 4e 44 20 31 0d 0a                        PPEND 1..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20130124/d594d0ea/attachment.htm>


More information about the ipxe-devel mailing list