Open arcivanov opened 2 years ago
Duplicate of #991, which was declared "unfixable" - presumably because the DHCP handling is in the ROM.
There is no failure to boot in my case.
@pelwell ah, I think you meant this: https://github.com/raspberrypi/firmware/issues/986 ?
No - I meant #911 because of the discussion between maxnet and ghollingworth, ending in the "unfixable" comment.
No - I meant #911
You mean #991 :smile: Thing is, there are a lot of issues in that single bug. Not sure which one referred to as "unfixable" plus it was 4 years since, you could always send a DHCPREQUEST from bootcode.bin
before TFTP kicks in even if ROM ends its DHCP stack at receiving an OFFER.
That is TFTP code was for sure entirely replaced by bootcode.bin
(ROM TFTP doesn't use options at all, while bootcode.bin one does RRQ with tsize option). In that case even if DHCP is entirely in ROM, the continuation of the REQUEST/ACK combo could be added prior to TFTP and if NACK is received you simply reboot and try again from ROM in hopes that you get another IP and that one sticks.
Describe the bug Netbootcode in bootcode.bin is not behaving in an RFC 2131-compliant manner when booting BOOTP/PXE.
To reproduce
Expected behaviour RFC2131 Section 3.1.3 and 3.1.4 clearly mandate what should happen next:
Actual behaviour Without confirming with the DHCP that offered it the requested configuration, RPi netbootcode uses the IP offered. Problem is, in a busy environment this may result in conflicts, offer thrashing and mess on the network where offered IPs are reused and doubly allocated.
System
cat /etc/rpi-issue
)? bootcode.bin https://github.com/raspberrypi/firmware/blob/a6496ae5cd5e9b4cd5b38f7274fa94dce315fa7a/boot/bootcode.binvcgencmd version
)? N/Auname -a
)? N/ALogs Attached.
Additional context None.