Power 6 netboot bug/testing

Manoel mrabran at linux.vnet.ibm.com
Tue Oct 7 07:31:04 EST 2008


I have done a patch (file attached) to solve the bug described in:
https://bugzilla.redhat.com/show_bug.cgi?id=458438. 

In recent OpenFirmware versions the property "bootpreply-packet" was
replaced by the newer "bootp-response". It contains only the bootp
packet, excluding the encapsulating UDP, IP, and link-layer headers and
trailers that were in the earlier structure. This new Extension
introduced some problems to DHCP environments, which does not correctly
build the tftp request when a discrete file is specified. Due to this 
change on the packet sent, the yaboot fails to boot through network. 

This patch basically works by identifying the OpenFirmare version and
constructing the buffer in the format necessary for it. It was tested in
both older P5 and newer P6 machine OpenFirmware versions and was able to
boot correctly.  

I'm assuming that Chandras' Patches has been applied into git HEAD,
because I'm using some structures purposed by him. I'd like your
opinions and suggestions regarding this patch.


Best Regards,

Manoel Abranches <mrabran at linux.vnet.ibm.com>
IBM Linux Technology Center Brasil

[1] http://pastebin.zurich.ibm.com/mef77758
[2] http://pastebin.zurich.ibm.com/m7b7ba2b5

-------------- next part --------------
A non-text attachment was scrubbed...
Name: netboot.diff
Type: text/x-patch
Size: 7429 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/yaboot-devel/attachments/20081006/57b3dc58/attachment.bin>


More information about the Yaboot-devel mailing list