2010-04-19 19:16:01 +00:00
|
|
|
Error Code Lookup for iPXE
|
2008-05-10 14:06:21 +00:00
|
|
|
==========================
|
2010-04-19 19:16:01 +00:00
|
|
|
This program looks up iPXE error codes so you can locate the line of source
|
2008-05-10 14:06:21 +00:00
|
|
|
code which produced the error.
|
|
|
|
|
|
|
|
Setup
|
|
|
|
-----
|
|
|
|
You must run:
|
|
|
|
./build_errcodedb.py >errcodedb.py
|
|
|
|
|
2010-04-19 19:16:01 +00:00
|
|
|
This extracts error code definitions from the iPXE source code and produces a
|
2008-05-10 14:06:21 +00:00
|
|
|
"database" which is used by the main program.
|
|
|
|
|
|
|
|
Once you have done this errcode.py and errcodedb.py are the only files you
|
2010-04-19 19:16:01 +00:00
|
|
|
need. They are now independent of the iPXE source code and can be moved
|
2008-05-10 14:06:21 +00:00
|
|
|
anywhere.
|
|
|
|
|
|
|
|
[OPTIONAL]
|
|
|
|
A PHP script is provided as a web interface. First edit errcode.php to point
|
|
|
|
$ERRCODE_PATH to the errcode.py script. Then move errcode.php to a location
|
|
|
|
visible from your web server.
|
|
|
|
|
2008-05-10 17:42:29 +00:00
|
|
|
[OPTIONAL]
|
2010-04-19 19:16:01 +00:00
|
|
|
A simple IRC bot is provided. Edit ipxebot.py to fill in the IRC details.
|
2008-05-10 17:42:29 +00:00
|
|
|
|
2008-05-10 14:06:21 +00:00
|
|
|
Usage
|
|
|
|
-----
|
|
|
|
Looking up error codes on the command-line:
|
|
|
|
./errcode.py 0x12345678
|
|
|
|
|
|
|
|
Further information
|
|
|
|
-------------------
|
|
|
|
See http://etherboot.org/.
|
|
|
|
|
|
|
|
Released under the GPL and written by Stefan Hajnoczi <stefanha@gmail.com>.
|