Dear all,
I have problem with MOX booted over TFTP. Here is my network design:
Omnia .6 - MOX .14 booted over TFTP
- MOX .15 booted over TFTP
- MOX .16 booted from SD card
Omnia .6 is running Turris OS 3.11.12 and I can see that 3.11.13 is pending there for approval, uptime 17 days
- MOX .14 is running
root@turris:~# uptime
20:45:29 up 1 day, 20:30, load average: 0.23, 0.14, 0.10
root@turris:~# uname -a
Linux turris 4.14.158 #0 SMP Fri Dec 20 00:10:25 2019 aarch64 GNU/Linux
root@turris:~# ls -al /lib/modules
drwxr-xr-x 3 root root 60 Jan 21 00:15 .
drwxr-xr-x 11 root root 560 Jan 21 00:15 …
drwxr-xr-x 2 root root 2980 Jan 21 00:15 4.14.162
root@turris:~# cat /etc/turris-version
4.0.5
root@turris:~#
I can see on Omnia, that “something” has downloaded new MOX image, new kernel, but did not sign new kernel
root@turris:/srv/tftp/turris-netboot# ls -al
drwxr-xr-x 1 turris-n root 138 Jan 21 01:14 .
drwxr-xr-x 1 root root 52 Apr 23 2019 …
drwxr-xr-x 1 root root 174 Dec 28 20:03 backup
-rw-r–r-- 1 turris-n turris-n 16080820 Jan 21 01:14 mox
-rw-r–r-- 1 turris-n turris-n 16080848 Dec 28 20:04 mox_0000000D3000xxxx
-rw-r–r-- 1 turris-n turris-n 16080848 Dec 28 20:04 mox_0000000D3000xxxx
-rw-r–r-- 1 turris-n turris-n 16080848 Dec 28 20:14 mox_0000000D3000xxxx
The result is, that signed kernel is not compatible with the modules folder and my WiFi card does not start.
So probably something is doing netboot-manager update_rootfs without netboot-manager regen. However when I have “Aktualizace bude třeba schvalovat” approval enabled, I would expect the update_rootfs also to happen only after approval.
root@turris:/srv/tftp/turris-netboot# netboot-manager regen
Regenerating configuration…
Signing kernels…
root@turris:/srv/tftp/turris-netboot# ls -al
drwxr-xr-x 1 turris-n root 138 Jan 21 01:14 .
drwxr-xr-x 1 root root 52 Apr 23 2019 …
drwxr-xr-x 1 root root 174 Dec 28 20:03 backup
-rw-r–r-- 1 turris-n turris-n 16080820 Jan 21 01:14 mox
-rw-r–r-- 1 turris-n turris-n 16080848 Jan 22 22:08 mox_0000000D3000xxxx
-rw-r–r-- 1 turris-n turris-n 16080848 Jan 22 22:08 mox_0000000D3000xxxx
-rw-r–r-- 1 turris-n turris-n 16080848 Jan 22 22:08 mox_0000000D3000xxxx