[ipxe-devel] Handling errors in scripts

Matthew Helton mwhelton at gmail.com
Sat Nov 24 19:42:51 UTC 2012


Replied to Forum Thread... I can't see any internal reason why that doesn't
work. Maybe some whitespaces somewhere?



On Sat, Nov 24, 2012 at 12:57 PM, Shao Miller <sha0.miller at gmail.com> wrote:

> Good day, Ty.
>
> 1. What script are you using?
>
> 2. How did you build iPXE with that script?
>
> 3. What version does the iPXE you built report itself to be?
>
> - Shao Miller
>
> -----Original Message-----
> From: ipxe-devel-bounces at lists.ipxe.org
> [mailto:ipxe-devel-bounces at lists.ipxe.org] On Behalf Of Ty Christensen
> Sent: Saturday, November 24, 2012 12:26
> To: Thomas Miletich
> Cc: ipxe-devel at lists.ipxe.org
> Subject: Re: [ipxe-devel] Handling errors in scripts
>
> Does anyone have any idea why such simple functions are broken?  It's easy
> to test...just shut down the DHCP server on your physical network segment
> and watch as a script that is supposed to retry the DHCP request...doesn't.
> It exits the script every time.
>
>
> -----Original Message-----
> From: ipxe-devel-bounces at lists.ipxe.org
> [mailto:ipxe-devel-bounces at lists.ipxe.org] On Behalf Of Ty Christensen
> Sent: Wednesday, November 14, 2012 4:38 PM
> To: Thomas Miletich
> Cc: ipxe-devel at lists.ipxe.org
> Subject: Re: [ipxe-devel] Handling errors in scripts
>
> Did a fresh git sync and compiled undionly.kpxe.  Tried it, but got the
> same
> results.
>
>
> -----Original Message-----
> From: ipxe-devel-bounces at lists.ipxe.org
> [mailto:ipxe-devel-bounces at lists.ipxe.org] On Behalf Of Ty Christensen
> Sent: Wednesday, November 14, 2012 3:25 PM
> To: Thomas Miletich
> Cc: ipxe-devel at lists.ipxe.org
> Subject: Re: [ipxe-devel] Handling errors in scripts
>
> I don't think so, at least it's not ancient.  I did a git checkout only a
> month ago.  I'll do a fresh download and see if that makes a difference,
> though.
>
>
> -----Original Message-----
> From: Thomas Miletich [mailto:thomas.miletich at gmail.com]
> Sent: Wednesday, November 14, 2012 3:19 PM
> To: Ty Christensen
> Cc: ipxe-devel at lists.ipxe.org
> Subject: Re: [ipxe-devel] Handling errors in scripts
>
> How recent is your iPXE version?
>
> Could it be ancient enough to simply not support the new scripting features
> yet? It's always a good idea to try the most recent version anyway.
>
> Thomas
>
> On Thu, Nov 15, 2012 at 12:11 AM, Ty Christensen <tyc at mastermindpro.com>
> wrote:
> > I posted on the forums about a problem with iPXE scripts and error
> handling, but Robin ultimately suggested I try here instead.  To see the
> forum post and problem details, go here:
> > http://forum.ipxe.org/showthread.php?tid=6764
> >
> > The gist of the problem is that simple error handling within iPXE scripts
> isn't working for me.  I've tried examples from the website, which make
> sense to me, but errors in the DHCP or sanboot steps of my script do not
> invoke the goto's or other error handling.  iPXE exits entirely back to the
> BIOS.
> >
> > I can't tell why such simple procedures in the script are not being
> handled correctly.  Does anyone know how to troubleshoot this?
> >
>
> _______________________________________________
> ipxe-devel mailing list
> ipxe-devel at lists.ipxe.org
> https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel
>



-- 
There is never time enough to do it right, but there always seems to be
enough time to do it again.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20121124/17e27e97/attachment.htm>


More information about the ipxe-devel mailing list