Never mind, bad firewall .conf. On Mon, May 9, 2022 at 3:35 AM Carl Karsten <c...@nextdayvideo.com> wrote: > > short version: I am trying to fix netboot but I don't see dnsmasq-tftp > lines in syslog like ths: > > May 1 20:22:28 rpi-cb-1f-f7 dnsmasq-tftp[804]: file > /srv/tftp/613a4524/start.elf not found > > I have 3 servers built with ansible: > https://salsa.debian.org/debconf-video-team/ansible/-/tree/master/roles/pxe/tftp-server/files > And then this one extra .conf gets dropped in etc: > https://github.com/CarlFK/pici/blob/main/files/pxe/rpi.conf > > I'm pretty sure the relevant lines are: > pxe-service=0,"Raspberry Pi Boot" > enable-tftp > tftp-root=/srv/tftp > > x86 machines give me: > PXE-E77: Bad or missing discovery server list. > > Raspberry Pi V4: > BMD "e897e1d3/start4.elf" not found > and yet that file does exist under tftp-root > > /srv/tftp/e897e1d3/start4.elf: ELF 32-bit LSB executable, Broadcom > VideoCore III, version 1 (SYSV), statically linked, stripped > > and none of this activity is showing up in syslog, which is my point > of this post > > I hooked a serial terminal up to the pi and got a nicely formatted dump: > > [tio 02:37:05] Connected > > RPi: BOOTLOADER release VERSION:507b2360 DATE: 2022/04/26 TIME: > 11:24:28 BOOTMODE: 0x00000006 part: 0 BUILD_TIMESTAMP=1650968668 > 0xe897e1d3 0x00c03114 0x0005c986 > PM_RSTS: 0x00001000 > part 00000000 reset_info 00000000 > uSD voltage 3.3V > Initialising SDRAM 'Samsung' 16Gb x2 total-size: 32 Gbit 3200 > DDR 3200 1 0 32 152 > > XHCI-STOP > xHC ver: 256 HCS: 05000420 fc000031 00e70004 HCC: 002841eb > USBSTS 11 > xHC ver: 256 HCS: 05000420 fc000031 00e70004 HCC: 002841eb > xHC ports 5 slots 32 intrs 4 > Boot mode: NETWORK (02) order f > HDMI0 edid block 0 offset 0 > 00ffffffffffff0005e37020e80c0000 > 101d0103802b18782ad205a555539c26 > 115054bfee00a9c081c0010101010101 > 010101010101302a40c8608464301850 > 1300b2ec1000001e000000fd00324c1e > 530e000a202020202020000000fc0032 > 303730570a20202020202020000000ff > 004151504b343141303033333034011e > HDMI0 edid block 1 offset 128 > 02031ef14b901f051404130312021101 > 230907078301000065030c0010008c0a > d08a20e02d10103e9600b2ec10000018 > 011d007251d01e206e285500b2ec1000 > 001e8c0ad08a20e02d10103e9600b2ec > 100000188c0ad090204031200c405500 > b2ec1000001800000000000000000000 > 000000000000000000000000000000f5 > HDMI0: best-mode 1 (limit 1) 1280x720 60 Hz CEA modes > 3e001f80000000000000000000000000 > USB2[1] 400202e1 connected > USB2 root HUB port 1 init > DEV [01:00] 2.16 000000:01 class 9 VID 2109 PID 3431 > HUB init [01:00] 2.16 000000:01 > GENET: RESET_PHY 0 > CTL 1140 PHY ID 600d 84a2 > MII_CONTROL 1140 > MII APD 0001 SCTL3 0001 > > NET_BOOT: e4:5f:01:64:76:05 wait for link TFTP: 0.0.0.0 > LINK STATUS: speed: 100 full duplex > Link ready > GENET START: 64 16 32 > GENET: UMAC_START 0xe45f0164 0x76050000 > RX: 0 IP: 0 IPV4: 0 MAC: 0 UDP: 0 UDP RECV: 0 IP_CSUM_ERR: 0 UDP_CSUM_ERR: 0 > DHCP src: 00:25:90:22:c4:91 192.168.3.1 > YI_ADDR 192.168.3.236 > SI_ADDR 192.168.3.1 > OPTIONS:- > op: 53 len: 1 DHCP recv OFFER (2) expect OFFER > op: 54 len: 4 192.168.3.1 > op: 51 len: 4 > op: 67 len: 19 > op: 58 len: 4 > op: 59 len: 4 > op: 1 len: 4 255.255.255.0 > op: 28 len: 4 192.168.3.255 > op: 209 len: 58 > op: 3 len: 4 192.168.3.1 > op: 60 len: 9 > op: 97 len: 17 > op: 43 len: 32 > PXE op: 6 len: 1 > PXE op: 10 len: 4 > PXE op: 9 len: 20 > 00000000 52 61 73 70 62 65 72 72 79 20 50 69 20 42 6f 6f |Raspberry Pi Boo| > 00000010 74 ff ff 00 |t... | > > > > NET 192.168.3.236 255.255.255.0 gw 0.0.0.0 tftp 192.168.3.1 > ARP 192.168.3.1 00:25:90:22:c4:91 > NET 192.168.3.236 255.255.255.0 gw 0.0.0.0 tftp 192.168.3.1 > RX: 3 IP: 0 IPV4: 1 MAC: 1 UDP: 1 UDP RECV: 1 IP_CSUM_ERR: 0 UDP_CSUM_ERR: 0 > TFTP_GET: 00:25:90:22:c4:91 192.168.3.1 e897e1d3/start4.elf > > RX: 3 IP: 0 IPV4: 1 MAC: 1 UDP: 1 UDP RECV: 1 IP_CSUM_ERR: 0 UDP_CSUM_ERR: 0 > DHCP src: 00:25:90:22:c4:91 192.168.3.1 > YI_ADDR 192.168.3.236 > SI_ADDR 192.168.3.1 > OPTIONS:- > op: 53 len: 1 DHCP recv ACK (5) expect ACK > op: 54 len: 4 192.168.3.1 > op: 51 len: 4 > op: 58 len: 4 > op: 59 len: 4 > op: 1 len: 4 255.255.255.0 > op: 28 len: 4 192.168.3.255 > op: 6 len: 4 192.168.3.1 > op: 15 len: 10 > op: 209 len: 58 > op: 3 len: 4 192.168.3.1 > ARP TX resp: sender: e4:5f:01:64:76:05 192.168.3.236 target: 192.168.3.1 > TFTP: disconnect: timeouts 14 > RX: 6 IP: 0 IPV4: 2 MAC: 2 UDP: 2 UDP RECV: 2 IP_CSUM_ERR: 0 UDP_CSUM_ERR: 0 > BMD "e897e1d3/start4.elf" not found > TFTP_GET: 00:25:90:22:c4:91 192.168.3.1 e897e1d3/start.elf > > RX: 6 IP: 0 IPV4: 2 MAC: 2 UDP: 2 UDP RECV: 2 IP_CSUM_ERR: 0 UDP_CSUM_ERR: 0 > > [tio 02:38:01] Disconnected > > > > -- > Carl K
-- Carl K _______________________________________________ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss