gPxe - error: Not an executable image
Akshay Rao <[email protected]> Tue, 27 Sep 2011 16:58:25 -0400
| Newsgroups | gmane.network.etherboot.user |
|---|---|
| Message-ID | <DF3E132059C71943892E4A578F7E2B1A4C38C6FAF5@USINDEVS02.corp.hds.com> |
--===============3591810198309783321==
Content-Language: en-US
Content-Type: multipart/alternative;
boundary="_000_DF3E132059C71943892E4A578F7E2B1A4C38C6FAF5USINDEVS02cor_"
--_000_DF3E132059C71943892E4A578F7E2B1A4C38C6FAF5USINDEVS02cor_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hi,
I'm trying to use gPxe in our lab environment and running into some issues.
I was getting a DHCP connection timeout error as discussed in the following=
thread:
http://markmail.org/message/goh7mh4kctkc77dw
After following Thomas's instructions (building gPxe from source and settin=
g a sleep time) I got over that issue.
I'd to make the changes as highlighted on Pxe chainloading (Etherboot) to b=
reak the infinite loop: http://etherboot.org/wiki/pxechaining (Using windo=
ws DHCP server).
Here's my exact setup:
1. Built gPxe from source with a sleep time and HTTPS support.
2. Copied over the undionly.kpxe files to my TFTP server.
3. Set up DHCP server (Windows) with pxe chainloading to avoid the in=
finite loop as discussed on http://etherboot.org/wiki/pxechaining.
4. My DHCP server points to the tramp file which has
#!gpxe
set filename https://<server<https://%3cserver> IP>/vmw/rbd/trampchain http=
s://<server<https://%3cserver> IP>/vmw/rbd/tramp
5. The file at the above url has the following:
#!gpxe
set retry-delay 20
post /vmw/rbd/host-register?bootmac=3D${mac}
6. Now when my server boots up it gets the DHCP IP during gPxe (which=
was failing earlier and was resolved by adding the sleep in gPxe).
Then the server displays: Booting from filename "tramp".
Transfers the file from TFTP server.
Then it tries to execute the post command above and fails with Command not =
found.
Also get an error : Could not fetch https://<server<https://%3cserver> IP>/=
vmw/rbd/tramp: Not an executable image.
I'm pretty sure in trying to get this to work I have made some mistakes in =
my setup. Any help in resolving the above would be really appreciated.
Thanks & regards,
-akshay.
--_000_DF3E132059C71943892E4A578F7E2B1A4C38C6FAF5USINDEVS02cor_
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-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" 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"Micros=
oft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Courier New";}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:110785343;
mso-list-type:hybrid;
mso-list-template-ids:1823871678 67698703 67698713 67698715 67698703 67698=
713 67698715 67698703 67698713 67698715;}
@list l0:level1
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level2
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level3
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level4
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level5
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level6
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level7
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level8
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level9
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue vli=
nk=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal>Hi,<o:p></o:p></=
p><p class=3DMsoNormal>I’m trying to use gPxe in our lab environment =
and running into some issues.<o:p></o:p></p><p class=3DMsoNormal><o:p> =
;</o:p></p><p class=3DMsoNormal>I was getting a DHCP connection timeout err=
or as discussed in the following thread:<o:p></o:p></p><p class=3DMsoNormal=
><a href=3D"http://markmail.org/message/goh7mh4kctkc77dw">http://markmail.o=
rg/message/goh7mh4kctkc77dw</a><o:p></o:p></p><p class=3DMsoNormal><o:p>&nb=
sp;</o:p></p><p class=3DMsoNormal>After following Thomas’s instructio=
ns (building gPxe from source and setting a sleep time) I got over that iss=
ue. <o:p></o:p></p><p class=3DMsoNormal>I’d to make the changes as hi=
ghlighted on Pxe chainloading (Etherboot) to break the infinite loop: <a hr=
ef=3D"http://etherboot.org/wiki/pxechaining">http://etherboot.org/wiki/pxec=
haining</a> (Using windows DHCP server).<o:p></o:p></p><p class=3DMso=
Normal><o:p> </o:p></p><p class=3DMsoNormal>Here’s my exact setu=
p:<o:p></o:p></p><p class=3DMsoListParagraph style=3D'text-indent:-.25in;ms=
o-list:l0 level1 lfo1'><![if !supportLists]><span style=3D'mso-list:Ignore'=
>1.<span style=3D'font:7.0pt "Times New Roman"'> &nb=
sp; </span></span><![endif]>Built gPxe from source with a sleep time =
and HTTPS support.<o:p></o:p></p><p class=3DMsoListParagraph style=3D'text-=
indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span style=3D'=
mso-list:Ignore'>2.<span style=3D'font:7.0pt "Times New Roman"'>  =
; </span></span><![endif]>Copied over the undionly.=
kpxe files to my TFTP server.<o:p></o:p></p><p class=3DMsoListParagraph sty=
le=3D'text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><spa=
n style=3D'mso-list:Ignore'>3.<span style=3D'font:7.0pt "Times New Roman"'>=
</span></span><![endif]>Set up DHCP se=
rver (Windows) with pxe chainloading to avoid the infinite loop as discusse=
d on <a href=3D"http://etherboot.org/wiki/pxechaining">http://etherboot.org=
/wiki/pxechaining</a>.<o:p></o:p></p><p class=3DMsoListParagraph style=3D't=
ext-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span style=
=3D'mso-list:Ignore'>4.<span style=3D'font:7.0pt "Times New Roman"'> &=
nbsp; </span></span><![endif]>My DHCP server points=
to the tramp file which has <o:p></o:p></p><p class=3DMsoListParagraph>#!g=
pxe<o:p></o:p></p><p class=3DMsoListParagraph>set filename <a href=3D"https=
://%3cserver">https://<server</a> IP>/vmw/rbd/trampchain <a href=3D"h=
ttps://%3cserver">https://<server</a> IP>/vmw/rbd/tramp<o:p></o:p></p=
><p class=3DMsoListParagraph style=3D'text-indent:-.25in;mso-list:l0 level1=
lfo1'><![if !supportLists]><span style=3D'mso-list:Ignore'>5.<span style=
=3D'font:7.0pt "Times New Roman"'> </sp=
an></span><![endif]>The file at the above url has the following: <o:p></o:p=
></p><p class=3DMsoListParagraph><span style=3D'font-size:10.0pt;font-famil=
y:"Courier New"'>#!gpxe<o:p></o:p></span></p><p class=3DMsoListParagraph><s=
pan style=3D'font-size:10.0pt;font-family:"Courier New"'>set retry-delay 20=
<o:p></o:p></span></p><p class=3DMsoListParagraph><span style=3D'font-size:=
10.0pt;font-family:"Courier New"'>post /vmw/rbd/host-register?bootmac=3D${m=
ac}</span><o:p></o:p></p><p class=3DMsoListParagraph style=3D'text-indent:-=
.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span style=3D'mso-list=
:Ignore'>6.<span style=3D'font:7.0pt "Times New Roman"'> &=
nbsp; </span></span><![endif]>Now when my server boots up it ge=
ts the DHCP IP during gPxe (which was failing earlier and was resolved by a=
dding the sleep in gPxe).<o:p></o:p></p><p class=3DMsoListParagraph>Then th=
e server displays: Booting from filename “tramp”.<o:p></o:p></p=
><p class=3DMsoListParagraph>Transfers the file from TFTP server.<o:p></o:p=
></p><p class=3DMsoListParagraph>Then it tries to execute the post command =
above and fails with Command not found.<o:p></o:p></p><p class=3DMsoListPar=
agraph>Also get an error : Could not fetch <a href=3D"https://%3cserver">ht=
tps://<server</a> IP>/vmw/rbd/tramp: Not an executable image.<o:p></o=
:p></p><p class=3DMsoListParagraph><o:p> </o:p></p><p class=3DMsoListP=
aragraph>I’m pretty sure in trying to get this to work I have made so=
me mistakes in my setup. Any help in resolving the above would be really ap=
preciated.<o:p></o:p></p><p class=3DMsoNormal><o:p> </o:p></p><p class=
=3DMsoNormal>Thanks & regards,<o:p></o:p></p><p class=3DMsoNormal>-aksh=
ay.<o:p></o:p></p><p class=3DMsoNormal><o:p> </o:p></p></div></body></=
html>=
--_000_DF3E132059C71943892E4A578F7E2B1A4C38C6FAF5USINDEVS02cor_--
--===============3591810198309783321==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
--===============3591810198309783321==
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
--===============3591810198309783321==--