Make undionly issue, http works unsteadily
"Sean Lv" <[email protected]> Fri, 27 Mar 2009 16:45:55 +0800
| Newsgroups | gmane.network.etherboot.user,gmane.network.etherboot.devel |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--===============9151394512182026970==
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_0074_01C9AEFB.7F890400"
This is a multi-part message in MIME format.
------=_NextPart_000_0074_01C9AEFB.7F890400
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Hi all
I use following command in redhat linux to build my boot image.
make bin/undionly.kpxe
then I copy undionly.kpxe to TFTP Server and set DHCP option 67
to point this file. In the DHCP server, there is another Option 67 in
User-class (gPXE) pointing to boot.gpxe (it's gpxe boot script). The
boot.gpxe's content is list below,
#!gpxe
ifstat
dhcp net0
kernel http://10.254.196.6/pxeboot/pxelinux.0
boot pxelinux.0
When I boot PXE client first time, it can boot to pxelinux menu.
However, if I reboot PXE client immediately, it encountered some problem
when executing following command in boot script.
kernel http://10.254.196.6/pxeboot/pxelinux.0
Error information: Could not fetch
http://10.254.196.6/pxeboot/pxelinux.0: Connecting timeout (0x4c0a6035)
I tried to reboot PXE client again and again, and I got the same
error. If I wait about 2 or 3 minutes and reboot, the PXE client could
boot to pxelinux menu normally.
I don not think it is due to the http server problem, I think
there is something wrong when making undionly.kpxe file. Because I tried to
get the boot image from http://rom-o-matic.net/, and this file works fine,
it has no any unstable issue as my described above.
Thanks in advanced.
Thanks
Best Regards
Sean Lv Jie
------=_NextPart_000_0074_01C9AEFB.7F890400
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:x=3D"urn:schemas-microsoft-com:office:excel" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=3DEN-US link=3Dblue vlink=3Dpurple>
<div class=3DSection1>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Hi all<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'> =
I
use following command in redhat linux to build my boot =
image.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'> =
make
bin/undionly.kpxe<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'> =
then
I copy undionly.kpxe to TFTP Server and set DHCP option 67 to point this =
file. In
the DHCP server, there is another Option 67 in User-class (gPXE) =
pointing to
boot.gpxe (it’s gpxe boot script). The boot.gpxe’s content =
is list
below,<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'> &nbs=
p; </span></font><font
size=3D1 face=3D"Courier New"><span lang=3DSV =
style=3D'font-size:9.0pt;font-family:
"Courier New"'>#!gpxe<o:p></o:p></span></font></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D1 =
face=3D"Courier New"><span
lang=3DSV style=3D'font-size:9.0pt;font-family:"Courier =
New"'> =
ifstat<o:p></o:p></span></font></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D1 =
face=3D"Courier New"><span
lang=3DSV style=3D'font-size:9.0pt;font-family:"Courier =
New"'> dhcp
net0<o:p></o:p></span></font></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D1 =
face=3D"Courier New"><span
lang=3DSV style=3D'font-size:9.0pt;font-family:"Courier =
New"'> kernel
http://10.254.196.6/pxeboot/pxelinux.0 <o:p></o:p></span></font></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D1 =
face=3D"Courier New"><span
lang=3DZH-CN style=3D'font-size:9.0pt;font-family:"Courier =
New"'> </span></font><font
size=3D1 face=3D"Courier New"><span =
style=3D'font-size:9.0pt;font-family:"Courier New"'>boot
pxelinux.0<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'> =
When
I boot PXE client first time, it can boot to pxelinux menu. =
However, if I
reboot PXE client immediately, it encountered some problem when =
executing following
command in boot script.<o:p></o:p></span></font></p>
<p class=3DMsoNormal style=3D'text-indent:.5in'><font size=3D1 =
face=3D"Courier New"><span
style=3D'font-size:9.0pt;font-family:"Courier New"'>kernel
http://10.254.196.6/pxeboot/pxelinux.0</span></font><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p=
>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'> =
<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'> =
Error
information: Could not fetch</span></font> <font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>http://10.254.196.6/pxeboot/=
pxelinux.0:
Connecting timeout (0x4c0a6035) <o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'> =
I
tried to reboot PXE client again and again, and I got the same error. =
If
I wait about 2 or 3 minutes and reboot, the PXE client could boot =
to
pxelinux menu normally.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'> =
I
don not think it is due to the http server problem, I think there is =
something
wrong when making undionly.kpxe file. Because I tried to get the =
boot
image from <a =
href=3D"http://rom-o-matic.net/">http://rom-o-matic.net/</a>, and
this file works fine, it has no any unstable issue as my described =
above. <o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'> <o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>  =
; Thanks
in advanced.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>  =
; <o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>  =
; <o:p></o:p></span></font></p>
<div =
style=3D'mso-element:para-border-div;border:none;border-bottom:solid =
windowtext 1.0pt;
padding:0in 0in 1.0pt 0in'>
<p class=3DMsoNormal style=3D'border:none;padding:0in'><font size=3D3
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt'><o:p> </o:p></span></font></p>
</div>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>Thanks</span></font><font face=3D宋体><span =
style=3D'font-family:
SimSun'><o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>Best Regards<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>Sean Lv Jie<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'> </span><o:p></o:p></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>
------=_NextPart_000_0074_01C9AEFB.7F890400--
--===============9151394512182026970==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------------------------------------------------------------------------------
--===============9151394512182026970==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Etherboot-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/etherboot-discuss
--===============9151394512182026970==--