[syslinux] Could not find kernel image : vmlinuz
Sandeep Agarwal
sandeepagarwal.1980 at gmail.com
Thu Aug 6 01:36:08 PDT 2009
On Thu, Aug 6, 2009 at 2:31 AM, Geert Stappers<stappers at stappers.nl> wrote:
> Op 20090805 om 12:53 schreef H. Peter Anvin:
>> On 08/05/2009 12:21 PM, Geert Stappers wrote:
>> >> Aug 5 17:41:14 server17 in.tftpd[2480]: RRQ from 192.168.1.240 filename /vmlinuz
>> >
>> > To me it seems that the only file on the tfp server was pxelinux.0
>> >
>>
>> No, in that case he would get a NAK response (which he does for some
>> other files.)
>
> From the first post in this thread:
>
> Aug 5 13:10:26 server17 in.tftpd[5220]: RRQ from 192.168.1.240 filename /pxelinux.0
> Aug 5 13:10:26 server17 in.tftpd[5220]: tftp: client does not accept options
> Aug 5 13:10:26 server17 in.tftpd[5221]: RRQ from 192.168.1.240 filename /pxelinux.0
> Aug 5 13:10:26 server17 in.tftpd[5222]: RRQ from 192.168.1.240 filename /pxelinux.cfg/01-00-30-48-d3-d8-59
> Aug 5 13:10:26 server17 in.tftpd[5222]: sending NAK (1, File not found) to 192.168.1.240
> Aug 5 13:10:26 server17 in.tftpd[5223]: RRQ from 192.168.1.240 filename /pxelinux.cfg/C0A801F0
> Aug 5 13:10:26 server17 in.tftpd[5223]: sending NAK (1, File not found) to 192.168.1.240
> Aug 5 13:10:26 server17 in.tftpd[5224]: RRQ from 192.168.1.240 filename /pxelinux.cfg/C0A801F
> Aug 5 13:10:26 server17 in.tftpd[5225]: RRQ from 192.168.1.240 filename /pxelinux.cfg/C0A801
> Aug 5 13:10:26 server17 in.tftpd[5226]: RRQ from 192.168.1.240 filename /pxelinux.cfg/C0A80
> Aug 5 13:10:26 server17 in.tftpd[5227]: RRQ from 192.168.1.240 filename /pxelinux.cfg/C0A8
> Aug 5 13:10:26 server17 in.tftpd[5228]: RRQ from 192.168.1.240 filename /pxelinux.cfg/C0A
> Aug 5 13:10:26 server17 in.tftpd[5229]: RRQ from 192.168.1.240 filename /pxelinux.cfg/C0
> Aug 5 13:10:26 server17 in.tftpd[5230]: RRQ from 192.168.1.240 filename /pxelinux.cfg/C
> Aug 5 13:10:26 server17 in.tftpd[5231]: RRQ from 192.168.1.240 filename /pxelinux.cfg/default
> Aug 5 13:10:44 server17 in.tftpd[5234]: RRQ from 192.168.1.240 filename /vmlinuz
> Aug 5 13:10:47 server17 in.tftpd[5235]: RRQ from 192.168.1.240 filename /vmlinuz
> Aug 5 13:10:54 server17 in.tftpd[5236]: RRQ from 192.168.1.240 filename /vmlinuz
>
> Only two NAK packets
>
> Much lines like
> Aug 5 13:10:26 server17 in.tftpd[52??]: sending NAK (1, File not found) to 192.168.1.240
> are missing.
I truncated those lines as it was a very long list. Here is the dump
for the NAK messages:
Aug 5 13:10:54 server17 in.tftpd[5236]: RRQ from 192.168.1.240
filename /vmlinuz
Aug 5 13:11:07 server17 in.tftpd[5238]: RRQ from 192.168.1.240
filename /vmlinuz
Aug 5 13:11:33 server17 in.tftpd[5242]: RRQ from 192.168.1.240
filename /vmlinuz
Aug 5 13:12:26 server17 in.tftpd[5247]: RRQ from 192.168.1.240
filename /vmlinuz
Aug 5 13:14:11 server17 in.tftpd[5256]: RRQ from 192.168.1.240
filename /vmlinuz.cbt
Aug 5 13:14:11 server17 in.tftpd[5256]: sending NAK (1, File not
found) to 192.168.1.240
Aug 5 13:14:15 server17 in.tftpd[5257]: RRQ from 192.168.1.240
filename /vmlinuz.cbt
[similar lines removed]
Aug 5 13:15:54 server17 in.tftpd[5268]: RRQ from 192.168.1.240
filename /vmlinuz.cbt
Aug 5 13:15:54 server17 in.tftpd[5268]: sending NAK (1, File not
found) to 192.168.1.240
Aug 5 13:17:39 server17 in.tftpd[5276]: RRQ from 192.168.1.240
filename /vmlinuz.0
Aug 5 13:17:39 server17 in.tftpd[5276]: sending NAK (1, File not
found) to 192.168.1.240
[similar lines removed]
Aug 5 13:19:21 server17 in.tftpd[5288]: RRQ from 192.168.1.240
filename /vmlinuz.0
Aug 5 13:19:21 server17 in.tftpd[5288]: sending NAK (1, File not
found) to 192.168.1.240
Aug 5 13:21:07 server17 in.tftpd[5296]: RRQ from 192.168.1.240
filename /vmlinuz.com
Aug 5 13:21:07 server17 in.tftpd[5296]: sending NAK (1, File not
found) to 192.168.1.240
[similar lines removed]
Aug 5 13:22:49 server17 in.tftpd[5308]: RRQ from 192.168.1.240
filename /vmlinuz.com
Aug 5 13:22:49 server17 in.tftpd[5308]: sending NAK (1, File not
found) to 192.168.1.240
Aug 5 13:24:34 server17 in.tftpd[5316]: RRQ from 192.168.1.240
filename /vmlinuz.c32
[similar lines removed]
Aug 5 13:26:16 server17 in.tftpd[5330]: RRQ from 192.168.1.240
filename /vmlinuz.c32
Aug 5 13:26:16 server17 in.tftpd[5330]: sending NAK (1, File not
found) to 192.168.1.240
>
>> There is something a lot more insiduous going on. What's really weird
>> is that it transfers the config file but not the kernel.
>>
>> A Wireshark trace would be a good starting point, combined with hardware
>> information.
>
>
> Yep, a Wireshark trace would reveal if actual the file
> pxelinux.cfg/default is transmitted.
>
> Right now is my assumption that pxelinux.0 wants a vmlinuz when there
> was no pxelinux.cfg/default.
>
pxelinux.cfg/default file :
prompt 1
default linux
timeout 100
serial 0 9600n8
label linux
kernel vmlinuz
append initrd=initrd.img ramdisk_size=9216 console=tty0
console=ttyS1,19200n8 ip=192.168.1.20 noipv6 netmask=255.255.255.0
gateway=192.168.1.1 dns=192.168.100.13 hostname=server20 lang=en_US
keymap=us ksdevice=eth0 ks=http://192.168.1.1/linux/ks.cfg
I do not have graphics access to the the server and thus using tshark
instead of wireshark to get the network traffic. Below is the dump of
the packet analysis:
1 0.000000 0.0.0.0 -> 255.255.255.255 DHCP DHCP Discover -
Transaction ID 0x49d3d859
2 0.000546 192.168.1.1 -> 255.255.255.255 DHCP DHCP Offer -
Transaction ID 0x49d3d859
3 2.019461 0.0.0.0 -> 255.255.255.255 DHCP DHCP Request -
Transaction ID 0x49d3d859
4 2.019846 192.168.1.1 -> 255.255.255.255 DHCP DHCP ACK -
Transaction ID 0x49d3d859
5 2.020576 192.168.1.240 -> 192.168.1.1 TFTP Read Request, File:
/pxelinux.0, Transfer type: octet
6 2.030214 192.168.1.1 -> 192.168.1.240 TFTP Option Acknowledgement
7 2.030344 192.168.1.240 -> 192.168.1.1 TFTP Error Code, Code:
Not defined, Message: TFTP Aborted
8 2.030573 192.168.1.240 -> 192.168.1.1 TFTP Read Request, File:
/pxelinux.0, Transfer type: octet
9 2.037942 192.168.1.1 -> 192.168.1.240 TFTP Option Acknowledgement
10 2.038087 192.168.1.240 -> 192.168.1.1 TFTP Acknowledgement, Block: 0
11 2.038284 192.168.1.1 -> 192.168.1.240 TFTP Data Packet, Block: 1
12 2.038441 192.168.1.240 -> 192.168.1.1 TFTP Acknowledgement, Block: 1
13 2.038509 192.168.1.1 -> 192.168.1.240 TFTP Data Packet, Block: 2
14 2.044186 192.168.1.240 -> 192.168.1.1 TFTP Acknowledgement, Block: 2
15 2.044376 192.168.1.1 -> 192.168.1.240 TFTP Data Packet, Block: 3
16 2.049934 192.168.1.240 -> 192.168.1.1 TFTP Acknowledgement, Block: 3
17 2.050089 192.168.1.1 -> 192.168.1.240 TFTP Data Packet, Block: 4
18 2.055675 192.168.1.240 -> 192.168.1.1 TFTP Acknowledgement, Block: 4
19 2.055765 192.168.1.1 -> 192.168.1.240 TFTP Data Packet, Block: 5
20 2.061420 192.168.1.240 -> 192.168.1.1 TFTP Acknowledgement, Block: 5
21 2.061489 192.168.1.1 -> 192.168.1.240 TFTP Data Packet, Block: 6
22 2.067166 192.168.1.240 -> 192.168.1.1 TFTP Acknowledgement, Block: 6
23 2.067235 192.168.1.1 -> 192.168.1.240 TFTP Data Packet, Block: 7
24 2.072911 192.168.1.240 -> 192.168.1.1 TFTP Acknowledgement, Block: 7
25 2.072981 192.168.1.1 -> 192.168.1.240 TFTP Data Packet, Block: 8
26 2.078657 192.168.1.240 -> 192.168.1.1 TFTP Acknowledgement, Block: 8
27 2.078729 192.168.1.1 -> 192.168.1.240 TFTP Data Packet, Block: 9
28 2.084402 192.168.1.240 -> 192.168.1.1 TFTP Acknowledgement, Block: 9
29 2.084479 192.168.1.1 -> 192.168.1.240 TFTP Data Packet, Block: 10
30 2.090149 192.168.1.240 -> 192.168.1.1 TFTP Acknowledgement, Block: 10
31 2.090218 192.168.1.1 -> 192.168.1.240 TFTP Data Packet, Block: 11
32 2.095894 192.168.1.240 -> 192.168.1.1 TFTP Acknowledgement, Block: 11
33 2.095961 192.168.1.1 -> 192.168.1.240 TFTP Data Packet, Block: 12 (last)
34 2.101641 192.168.1.240 -> 192.168.1.1 TFTP Acknowledgement, Block: 12
35 2.158354 192.168.1.240 -> 192.168.1.1 TFTP Read Request, File:
/pxelinux.cfg/53d19f64-d663-a017-8922-003048d3d858, Transfer type:
octet
36 2.165699 192.168.1.1 -> 192.168.1.240 TFTP Error Code, Code:
File not found, Message: File not found
37 2.165973 192.168.1.240 -> 192.168.1.1 TFTP Read Request, File:
/pxelinux.cfg/01-00-30-48-d3-d8-59, Transfer type: octet
38 2.172856 192.168.1.1 -> 192.168.1.240 TFTP Option Acknowledgement
39 2.173087 192.168.1.240 -> 192.168.1.1 TFTP Read Request, File:
/pxelinux.cfg/C0A801F0, Transfer type: octet
40 2.181369 192.168.1.1 -> 192.168.1.240 TFTP Error Code, Code:
File not found, Message: File not found
41 2.181589 192.168.1.240 -> 192.168.1.1 TFTP Read Request, File:
/pxelinux.cfg/C0A801F, Transfer type: octet
42 2.189507 192.168.1.1 -> 192.168.1.240 TFTP Option Acknowledgement
43 2.189709 192.168.1.240 -> 192.168.1.1 TFTP Read Request, File:
/pxelinux.cfg/C0A801, Transfer type: octet
44 2.197275 192.168.1.1 -> 192.168.1.240 TFTP Option Acknowledgement
45 2.197454 192.168.1.240 -> 192.168.1.1 TFTP Read Request, File:
/pxelinux.cfg/C0A80, Transfer type: octet
46 2.204374 192.168.1.1 -> 192.168.1.240 TFTP Option Acknowledgement
47 2.204568 192.168.1.240 -> 192.168.1.1 TFTP Read Request, File:
/pxelinux.cfg/C0A8, Transfer type: octet
48 2.212112 192.168.1.1 -> 192.168.1.240 TFTP Option Acknowledgement
49 2.212315 192.168.1.240 -> 192.168.1.1 TFTP Read Request, File:
/pxelinux.cfg/C0A, Transfer type: octet
50 2.219726 192.168.1.1 -> 192.168.1.240 TFTP Option Acknowledgement
51 2.223174 192.168.1.240 -> 192.168.1.1 TFTP Read Request, File:
/pxelinux.cfg/C0, Transfer type: octet
52 2.230393 192.168.1.1 -> 192.168.1.240 TFTP Option Acknowledgement
53 2.233918 192.168.1.240 -> 192.168.1.1 TFTP Read Request, File:
/pxelinux.cfg/C, Transfer type: octet
54 2.240970 192.168.1.1 -> 192.168.1.240 TFTP Option Acknowledgement
55 2.244533 192.168.1.240 -> 192.168.1.1 TFTP Read Request, File:
/pxelinux.cfg/default, Transfer type: octet
56 2.251542 192.168.1.1 -> 192.168.1.240 TFTP Option Acknowledgement
57 2.251683 192.168.1.240 -> 192.168.1.1 TFTP Acknowledgement, Block: 0
58 2.251883 192.168.1.1 -> 192.168.1.240 TFTP Data Packet, Block: 1 (last)
59 2.252030 192.168.1.240 -> 192.168.1.1 TFTP Acknowledgement, Block: 1
60 3.173123 192.168.1.1 -> 192.168.1.240 TFTP Option Acknowledgement
61 3.189111 192.168.1.1 -> 192.168.1.240 TFTP Option Acknowledgement
62 3.198117 192.168.1.1 -> 192.168.1.240 TFTP Option Acknowledgement
63 3.205108 192.168.1.1 -> 192.168.1.240 TFTP Option Acknowledgement
64 3.213107 192.168.1.1 -> 192.168.1.240 TFTP Option Acknowledgement
65 3.217108 192.168.1.1 -> 192.168.1.240 TFTP Option Acknowledgement
66 3.229110 192.168.1.1 -> 192.168.1.240 TFTP Option Acknowledgement
67 3.241110 192.168.1.1 -> 192.168.1.240 TFTP Option Acknowledgement
68 5.173232 192.168.1.1 -> 192.168.1.240 TFTP Option Acknowledgement
69 5.190122 192.168.1.1 -> 192.168.1.240 TFTP Option Acknowledgement
70 5.197227 192.168.1.1 -> 192.168.1.240 TFTP Option Acknowledgement
71 5.205227 192.168.1.1 -> 192.168.1.240 TFTP Option Acknowledgement
72 5.213283 192.168.1.1 -> 192.168.1.240 TFTP Option Acknowledgement
73 5.217228 192.168.1.1 -> 192.168.1.240 TFTP Option Acknowledgement
74 5.229227 192.168.1.1 -> 192.168.1.240 TFTP Option Acknowledgement
75 5.241227 192.168.1.1 -> 192.168.1.240 TFTP Option Acknowledgement
76 9.173484 192.168.1.1 -> 192.168.1.240 TFTP Option Acknowledgement
77 9.189476 192.168.1.1 -> 192.168.1.240 TFTP Option Acknowledgement
78 9.198460 192.168.1.1 -> 192.168.1.240 TFTP Option Acknowledgement
79 9.205478 192.168.1.1 -> 192.168.1.240 TFTP Option Acknowledgement
80 9.213477 192.168.1.1 -> 192.168.1.240 TFTP Option Acknowledgement
81 9.217477 192.168.1.1 -> 192.168.1.240 TFTP Option Acknowledgement
82 9.229481 192.168.1.1 -> 192.168.1.240 TFTP Option Acknowledgement
83 9.241481 192.168.1.1 -> 192.168.1.240 TFTP Option Acknowledgement
84 12.294066 192.168.1.240 -> 192.168.1.1 TFTP Read Request, File:
/vmlinuz, Transfer type: octet
85 12.838913 192.168.1.240 -> 192.168.1.1 TFTP Read Request, File:
/vmlinuz, Transfer type: octet
86 13.388124 192.168.1.240 -> 192.168.1.1 TFTP Read Request, File:
/vmlinuz, Transfer type: octet
87 14.212017 192.168.1.240 -> 192.168.1.1 TFTP Read Request, File:
/vmlinuz, Transfer type: octet
88 15.035777 192.168.1.240 -> 192.168.1.1 TFTP Read Request, File:
/vmlinuz, Transfer type: octet
89 16.134213 192.168.1.240 -> 192.168.1.1 TFTP Read Request, File:
/vmlinuz, Transfer type: octet
90 17.507195 192.168.1.240 -> 192.168.1.1 TFTP Read Request, File:
/vmlinuz, Transfer type: octet
91 19.154831 192.168.1.240 -> 192.168.1.1 TFTP Read Request, File:
/vmlinuz, Transfer type: octet
92 21.077154 192.168.1.240 -> 192.168.1.1 TFTP Read Request, File:
/vmlinuz, Transfer type: octet
93 23.548571 192.168.1.240 -> 192.168.1.1 TFTP Read Request, File:
/vmlinuz, Transfer type: octet
94 26.294642 192.168.1.240 -> 192.168.1.1 TFTP Read Request, File:
/vmlinuz, Transfer type: octet
95 29.589951 192.168.1.240 -> 192.168.1.1 TFTP Read Request, File:
/vmlinuz, Transfer type: octet
96 33.709006 192.168.1.240 -> 192.168.1.1 TFTP Read Request, File:
/vmlinuz, Transfer type: octet
97 38.651831 192.168.1.240 -> 192.168.1.1 TFTP Read Request, File:
/vmlinuz, Transfer type: octet
98 44.418540 192.168.1.240 -> 192.168.1.1 TFTP Read Request, File:
/vmlinuz, Transfer type: octet
99 51.558359 192.168.1.240 -> 192.168.1.1 TFTP Read Request, File:
/vmlinuz, Transfer type: octet
100 60.071139 192.168.1.240 -> 192.168.1.1 TFTP Read Request, File:
/vmlinuz, Transfer type: octet
101 70.231465 192.168.1.240 -> 192.168.1.1 TFTP Read Request, File:
/vmlinuz, Transfer type: octet
102 82.314105 192.168.1.240 -> 192.168.1.1 TFTP Read Request, File:
/vmlinuz, Transfer type: octet
103 96.868274 192.168.1.240 -> 192.168.1.1 TFTP Read Request, File:
/vmlinuz, Transfer type: octet
104 114.442952 192.168.1.240 -> 192.168.1.1 TFTP Read Request, File:
/vmlinuz, Transfer type: octet
105 135.587598 192.168.1.240 -> 192.168.1.1 TFTP Read Request, File:
/vmlinuz, Transfer type: octet
106 160.851305 192.168.1.240 -> 192.168.1.1 TFTP Read Request, File:
/vmlinuz, Transfer type: octet
107 191.057958 192.168.1.240 -> 192.168.1.1 TFTP Read Request, File:
/vmlinuz, Transfer type: octet
Let me know if this data suffice the wireshark report.
H/W details:
Server :
BIOS : Phoenix Technologies, LTD, Version: 6.00 PG, Release Date: 10/03/2003
Processor : Intel Pentium 4
Ethernet controller #1: Intel Corporation 82540EM Gigabit Ethernet
Controller (rev 02)
Ethernet controller #2: Intel Corporation 82540EM Gigabit Ethernet
Controller (rev 02)
Memory : 2 GB
Client:
BIOS : Phoenix Technologies LTD, Version: 2.1, Release Date: 06/23/2008
Processor : Dual Intel Xeon Processor
Ethernet controller #1: Intel Corporation 80003ES2LAN Gigabit Ethernet
Controller (Copper) (rev 01)
Ethernet controller #2: Intel Corporation 80003ES2LAN Gigabit Ethernet
Controller (Copper) (rev 01)
Memory : 8 GB
Let me know if more information is required.
Thanks
Sandeep
More information about the Syslinux
mailing list