Invalid destination MAC address in TFTP RRQ
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- raspberry-pi
- Domain
- embedded-iot, networking
Research direction
Start by reproducing network boot on an RPi 3 and capture the ARP and TFTP traffic described in the report. Compare the RRQs for bootcode.bin and later files, focusing on when the destination MAC becomes zero. Done means subsequent RRQ packets use the resolved TFTP server MAC and are received by the server.
Written by the indexing model from the issue text.
Description
When booting from network, RPi 3 successfully loads bootcode.bin from TFTP server, then bootcode is attempting to load other files, but with zero destination mac address, and RRQ packets have not been received by TFTP server.
I've tried last master version of bootcode.bin, last "next" and some older versions with no luck.
There is a dump:
11:59:07.446234 b8:27:eb:f9:92:f7 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 10.23.16.13 tell 10.23.16.10, length 46
11:59:07.446251 38:d5:47:1c:aa:34 > b8:27:eb:f9:92:f7, ethertype ARP (0x0806), length 42: Reply 10.23.16.13 is-at 38:d5:47:1c:aa:34, length 28
11:59:07.446375 b8:27:eb:f9:92:f7 > 38:d5:47:1c:aa:34, ethertype IPv4 (0x0800), length 63: 10.23.16.10.49152 > 10.23.16.13.69: 21 RRQ "bootcode.bin" octet
11:59:07.469377 b8:27:eb:f9:92:f7 > 38:d5:47:1c:aa:34, ethertype IPv4 (0x0800), length 62: 10.23.16.10.49152 > 10.23.16.13.69: 20 RRQ "bootsig.bin" octet
11:59:09.589113 b8:27:eb:f9:92:f7 > 00:00:00:00:00:00, ethertype IPv4 (0x0800), length 71: 10.23.16.10.49154 > 10.23.16.13.69: 29 RRQ "autoboot.txt" octet tsize 0
11:59:11.155156 b8:27:eb:f9:92:f7 > 00:00:00:00:00:00, ethertype IPv4 (0x0800), length 69: 10.23.16.10.49155 > 10.23.16.13.69: 27 RRQ "config.txt" octet tsize 0
11:59:12.155515 b8:27:eb:f9:92:f7 > 00:00:00:00:00:00, ethertype IPv4 (0x0800), length 71: 10.23.16.10.49156 > 10.23.16.13.69: 29 RRQ "recovery.elf" octet tsize 0
11:59:12.451694 38:d5:47:1c:aa:34 > b8:27:eb:f9:92:f7, ethertype ARP (0x0806), length 42: Request who-has 10.23.16.10 tell 10.23.16.13, length 28
11:59:12.451806 b8:27:eb:f9:92:f7 > 38:d5:47:1c:aa:34, ethertype ARP (0x0806), length 60: Reply 10.23.16.10 is-at b8:27:eb:f9:92:f7, length 46
11:59:13.451956 b8:27:eb:f9:92:f7 > 00:00:00:00:00:00, ethertype IPv4 (0x0800), length 68: 10.23.16.10.49157 > 10.23.16.13.69: 26 RRQ "start.elf" octet tsize 0
11:59:15.158692 b8:27:eb:f9:92:f7 > 00:00:00:00:00:00, ethertype IPv4 (0x0800), length 68: 10.23.16.10.49158 > 10.23.16.13.69: 26 RRQ "fixup.dat" octet tsize 0
- Dominant language
- No language data
- Stars
- 5.6k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from raspberrypi/firmware
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
raspberrypi/firmware#2042 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
raspberrypi/firmware#2040 · 2 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
raspberrypi/firmware#2039 · 6 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
raspberrypi/firmware#2038 · 4 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
raspberrypi/firmware#2037 · 4 comments ·
All issues in raspberrypi/firmware
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
[adam] AdamNet network read doesn't cap to MAX_ADAM_PACKET_LEN, overflows client receive buffers Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
FujiNetWIFI/fujinet-firmware#1649 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
espressif/esp-iot-solution#786 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100