Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
soc:2009:pravin:journal:probsbkoromomatic [2009/06/10 11:58] less1 |
soc:2009:pravin:journal:probsbkoromomatic [2009/06/10 13:44] (current) less1 |
||
|---|---|---|---|
| Line 78: | Line 78: | ||
| $ make bin/rtl8139.dsk | $ make bin/rtl8139.dsk | ||
| $ qemu -fda bin/rtl8139.dsk -net nic,model=rtl8139 -net user -bootp http://etherboot.org/share/pravin/pxeDHCP.gpxe | $ qemu -fda bin/rtl8139.dsk -net nic,model=rtl8139 -net user -bootp http://etherboot.org/share/pravin/pxeDHCP.gpxe | ||
| + | </code> | ||
| + | |||
| + | |||
| + | ===== Going one more level deeper ===== | ||
| + | Testing if generic network booting over http works or not by using __-bootp [[http://etherboot.org/gtest/gtest.gpxe]]__ | ||
| + | |||
| + | <code> | ||
| + | qemu -fda bin/rtl8139.dsk -net nic,model=rtl8139 -net user -bootp http://etherboot.org/gtest/gtest.gpxe | ||
| + | </code> | ||
| + | |||
| + | |||
| + | **This works for both problematic and good gpxe** | ||
| + | |||
| + | So, the problem lies in transition from | ||
| + | |||
| + | <code> | ||
| + | qemu -fda bin/rtl8139.dsk -net nic,model=rtl8139 -net user -bootp http://etherboot.org/gtest/gtest.gpxe | ||
| + | </code> | ||
| + | |||
| + | to | ||
| + | |||
| + | <code> | ||
| + | qemu -fda bin/rtl8139.dsk -net nic,model=rtl8139 -net user -bootp http://etherboot.org/share/pravin/pxeDHCP.gpxe | ||
| + | </code> | ||
| + | |||
| + | |||
| + | ===== The commit causing problem ===== | ||
| + | used git bisect to find the problematic commit. | ||
| + | the test used to check if commit is correct or not is | ||
| + | <code> | ||
| + | make clean | ||
| + | make bin/rtl8139.dsk | ||
| + | qemu -fda bin/rtl8139.dsk -net nic,model=rtl8139 -net user -bootp http://etherboot.org/share/pravin/pxeDHCP.gpxe | ||
| + | </code> | ||
| + | |||
| + | |||
| + | Commit used as last known good commit is | ||
| + | <code> | ||
| + | git bisect good f4bf4e6 | ||
| + | </code> | ||
| + | |||
| + | Following is the problematic commit. | ||
| + | <code> | ||
| + | $ git bisect bad | ||
| + | 3c06277bbb6ea135e6a1daf22463a347fc7898c7 is first bad commit | ||
| + | commit 3c06277bbb6ea135e6a1daf22463a347fc7898c7 | ||
| + | Author: Michael Brown <mcb30@etherboot.org> | ||
| + | Date: Tue May 26 11:05:58 2009 +0100 | ||
| + | |||
| + | [settings] Allow for arbitrarily-named settings | ||
| + | | ||
| + | This provides a mechanism for using arbitrarily-named variables within | ||
| + | gPXE, using the existing syntax for settings. | ||
| + | |||
| + | :040000 040000 59221f26fc6a070c21fad5ca53329202425336ba 5aebb5cbcfe8c1aafa4679fd5938e12eb182c07b M src | ||
| </code> | </code> | ||