with Raspbian Stretch the server for RPi3 network booting is broken.
with Raspbian Jessie the server for RPi3 network booting is working well.
the tutorial Network Boot Your Raspberry Pi is not working anymore, when you use Raspbian Stretch.
i tried to only use /etc/dhcpcd.conf instead of /etc/network/interfaces, but same issue.
i tried to change the network adapter naming back to old style, but still same issue.
the issue is, the booting RPi3 is not able to mount the nfsroot.
on the booting RPi3 stucks and runs into kernel panic.
Code: Select all
IP-Config: Got DHCP answer from 192.168.0.1, my address is 192.168.0.210
IP-Config: Complete:
device=eth0, hwaddr=xx:xx:xx:xx:xx:xx, ipaddr=192.168.0.210, mask=255.255.255.0, gw=192.168.0.1
host=192.168.0.210, domain=, nis-domain=(none)
bootserver=192.168.0.1, rootserver=192.168.0.1, rootpath= nameserver0=192.168.0.1
CPU1: stopping ...
CPU2: stopping ...
CPU3: stopping ...
CPU4: stopping ...
---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
Code: Select all
dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/nfs nfsroot=192.168.0.1:/srv/nfs/rpi-12345678-root rw rootwait ip=dhcp elevator=deadline
Code: Select all
dnsmasq-dhcp[500]: 653460281 available DHCP range: 192.168.0.200 -- 192.168.0.249
dnsmasq-dhcp[500]: 653460281 vendor class: PXEClient:Arch:00000:UNDI:002001
dnsmasq-dhcp[500]: 653460281 DHCPDISCOVER(eth0) xx:xx:xx:xx:xx:xx
dnsmasq-dhcp[500]: 653460281 tags: ARM_RPI3, UUID_RPI3, ARCH_0, eth0
dnsmasq-dhcp[500]: 653460281 DHCPOFFER(eth0) 192.168.0.210 xx:xx:xx:xx:xx:xx
dnsmasq-dhcp[500]: 653460281 requested options: 43:vendor-encap, 60:vendor-class, 67:bootfile-name,
dnsmasq-dhcp[500]: 653460281 requested options: 128, 129, 130, 131, 132, 133, 134, 135, 66:tftp-server
dnsmasq-dhcp[500]: 653460281 next server: 192.168.0.1
dnsmasq-dhcp[500]: 653460281 sent size: 1 option: 53 message-type 2
dnsmasq-dhcp[500]: 653460281 sent size: 4 option: 54 server-identifier 192.168.0.1
dnsmasq-dhcp[500]: 653460281 sent size: 4 option: 51 lease-time 1d
dnsmasq-dhcp[500]: 653460281 sent size: 13 option: 67 bootfile-name bootcode.bin
dnsmasq-dhcp[500]: 653460281 sent size: 4 option: 58 T1 12h
dnsmasq-dhcp[500]: 653460281 sent size: 4 option: 59 T2 21h
dnsmasq-dhcp[500]: 653460281 sent size: 4 option: 1 netmask 255.255.255.0
dnsmasq-dhcp[500]: 653460281 sent size: 4 option: 28 broadcast 192.168.0.255
dnsmasq-dhcp[500]: 653460281 sent size: 9 option: 60 vendor-class 50:58:45:43:6c:69:65:6e:74
dnsmasq-dhcp[500]: 653460281 sent size: 17 option: 97 client-machine-id 00:44:44:44:44:44:44:44:44:44:44:44:44:44...
dnsmasq-dhcp[500]: 653460281 sent size: 44 option: 43 vendor-encap 06:01:03:0a:04:00:50:58:45:08:07:80:00:01...
dnsmasq-tftp[500]: file /srv/tftp/bootsig.bin not found
dnsmasq-tftp[500]: sent /srv/tftp/bootcode.bin to 192.168.0.210
dnsmasq-tftp[500]: file /srv/tftp/12345678/autoboot.txt not found
dnsmasq-tftp[500]: error 0 Early terminate received from 192.168.0.210
dnsmasq-tftp[500]: failed sending /srv/tftp/12345678/start.elf to 192.168.0.210
dnsmasq-tftp[500]: sent /srv/tftp/12345678/config.txt to 192.168.0.210
dnsmasq-tftp[500]: file /srv/tftp/12345678/recovery.elf not found
dnsmasq-tftp[500]: sent /srv/tftp/12345678/start.elf to 192.168.0.210
dnsmasq-tftp[500]: sent /srv/tftp/12345678/fixup.dat to 192.168.0.210
dnsmasq-tftp[500]: file /srv/tftp/12345678/recovery.elf not found
dnsmasq-tftp[500]: sent /srv/tftp/12345678/config.txt to 192.168.0.210
dnsmasq-tftp[500]: file /srv/tftp/12345678/dt-blob.bin not found
dnsmasq-tftp[500]: file /srv/tftp/12345678/recovery.elf not found
dnsmasq-tftp[500]: sent /srv/tftp/12345678/config.txt to 192.168.0.210
dnsmasq-tftp[500]: file /srv/tftp/12345678/bootcfg.txt not found
dnsmasq-tftp[500]: sent /srv/tftp/12345678/cmdline.txt to 192.168.0.210
dnsmasq-tftp[500]: file /srv/tftp/12345678/recovery8.img not found
dnsmasq-tftp[500]: file /srv/tftp/12345678/recovery8-32.img not found
dnsmasq-tftp[500]: file /srv/tftp/12345678/recovery7.img not found
dnsmasq-tftp[500]: file /srv/tftp/12345678/recovery.img not found
dnsmasq-tftp[500]: file /srv/tftp/12345678/kernel8.img not found
dnsmasq-tftp[500]: file /srv/tftp/12345678/kernel8-32.img not found
dnsmasq-tftp[500]: file /srv/tftp/12345678/armstub8.bin not found
dnsmasq-tftp[500]: error 0 Early terminate received from 192.168.0.210
dnsmasq-tftp[500]: failed sending /srv/tftp/12345678/kernel7.img to 192.168.0.210
dnsmasq-tftp[500]: file /srv/tftp/12345678/armstub8-32.bin not found
dnsmasq-tftp[500]: file /srv/tftp/12345678/armstub7.bin not found
dnsmasq-tftp[500]: file /srv/tftp/12345678/armstub.bin not found
dnsmasq-tftp[500]: sent /srv/tftp/12345678/kernel7.img to 192.168.0.210
dnsmasq-tftp[500]: sent /srv/tftp/12345678/bcm2710-rpi-3-b.dtb to 192.168.0.210
dnsmasq-tftp[500]: sent /srv/tftp/12345678/config.txt to 192.168.0.210
dnsmasq-dhcp[500]: 398005002 available DHCP range: 192.168.0.200 -- 192.168.0.249
dnsmasq-dhcp[500]: 398005002 DHCPDISCOVER(eth0) xx:xx:xx:xx:xx:xx
dnsmasq-dhcp[500]: 398005002 tags: eth0
dnsmasq-dhcp[500]: 398005002 DHCPOFFER(eth0) 192.168.0.210 xx:xx:xx:xx:xx:xx
dnsmasq-dhcp[500]: 398005002 requested options: 1:netmask, 3:router, 6:dns-server, 12:hostname,
dnsmasq-dhcp[500]: 398005002 requested options: 15:domain-name, 17:root-path, 26:mtu, 40:nis-domain
dnsmasq-dhcp[500]: 398005002 next server: 192.168.0.1
dnsmasq-dhcp[500]: 398005002 sent size: 1 option: 53 message-type 2
dnsmasq-dhcp[500]: 398005002 sent size: 4 option: 54 server-identifier 192.168.0.1
dnsmasq-dhcp[500]: 398005002 sent size: 4 option: 51 lease-time 1d
dnsmasq-dhcp[500]: 398005002 sent size: 4 option: 58 T1 12h
dnsmasq-dhcp[500]: 398005002 sent size: 4 option: 59 T2 21h
dnsmasq-dhcp[500]: 398005002 sent size: 4 option: 1 netmask 255.255.255.0
dnsmasq-dhcp[500]: 398005002 sent size: 4 option: 28 broadcast 192.168.0.255
dnsmasq-dhcp[500]: 398005002 sent size: 4 option: 3 router 192.168.0.1
dnsmasq-dhcp[500]: 398005002 sent size: 4 option: 6 dns-server 192.168.0.1
dnsmasq-dhcp[500]: 398005002 available DHCP range: 192.168.0.200 -- 192.168.0.249
dnsmasq-dhcp[500]: 398005002 DHCPREQUEST(eth0) 192.168.0.210 xx:xx:xx:xx:xx:xx
dnsmasq-dhcp[500]: 398005002 tags: eth0
dnsmasq-dhcp[500]: 398005002 DHCPACK(eth0) 192.168.0.210 xx:xx:xx:xx:xx:xx
dnsmasq-dhcp[500]: 398005002 requested options: 1:netmask, 3:router, 6:dns-server, 12:hostname,
dnsmasq-dhcp[500]: 398005002 requested options: 15:domain-name, 17:root-path, 26:mtu, 40:nis-domain
dnsmasq-dhcp[500]: 398005002 next server: 192.168.0.1
dnsmasq-dhcp[500]: 398005002 sent size: 1 option: 53 message-type 5
dnsmasq-dhcp[500]: 398005002 sent size: 4 option: 54 server-identifier 192.168.0.1
dnsmasq-dhcp[500]: 398005002 sent size: 4 option: 51 lease-time 1d
dnsmasq-dhcp[500]: 398005002 sent size: 4 option: 58 T1 12h
dnsmasq-dhcp[500]: 398005002 sent size: 4 option: 59 T2 21h
dnsmasq-dhcp[500]: 398005002 sent size: 4 option: 1 netmask 255.255.255.0
dnsmasq-dhcp[500]: 398005002 sent size: 4 option: 28 broadcast 192.168.0.255
dnsmasq-dhcp[500]: 398005002 sent size: 4 option: 3 router 192.168.0.1
dnsmasq-dhcp[500]: 398005002 sent size: 4 option: 6 dns-server 192.168.0.1
rpc.mountd[437]: authenticated mount request from 192.168.0.210:812 for /srv/nfs/rpi-12345678-root (/srv/nfs/rpi-12345678-root)
rpc.mountd[437]: authenticated mount request from 192.168.0.210:678 for /srv/nfs/rpi-12345678-root (/srv/nfs/rpi-12345678-root)
rpc.mountd[437]: authenticated mount request from 192.168.0.210:735 for /srv/nfs/rpi-12345678-root (/srv/nfs/rpi-12345678-root)
rpc.mountd[437]: authenticated mount request from 192.168.0.210:862 for /srv/nfs/rpi-12345678-root (/srv/nfs/rpi-12345678-root)
rpc.mountd[437]: authenticated mount request from 192.168.0.210:756 for /srv/nfs/rpi-12345678-root (/srv/nfs/rpi-12345678-root)
rpc.mountd[437]: authenticated mount request from 192.168.0.210:1004 for /srv/nfs/rpi-12345678-root (/srv/nfs/rpi-12345678-root)
i can sucessfully mount 192.168.0.1:/srv/nfs/rpi-12345678-root of the Raspbian Stretch server by hand, from the RPi3 to the server, when the RPi3 was booted with a local installed OS on the sd card.
i can sucessfully network boot the Rpi3, when the server is running Raspbian Jessie - event, when the RPi3 gets Raspbian Stretch as booting system from the Raspbian Jessie server.