Hi there,
I’m working to get calico-based kubernetes networking running on the Jetson Orin Nano, and Agx Orin 64gb devkits.
We’d previously had this working on the Jetson Nano and Xavier NX, although we had to build the ipip.ko kernel module out of tree, then load it in.
However, it seems that the Orin images are built without IPv4 policy support, and I can’t fix that by loading modules.
On the Orin types below, we see:
jetson-orin-nano-devkit-nvme/balenaOS 6.12.2jetson-agx-orin-devkit-64gb/balenaOS 6.12.2
$ uname -r
5.15.148-l4t-r36.4-1012.12
$ ip -4 rule list
RTNETLINK answers: Address family not supported by protocol
$ zcat /proc/config.gz 2>/dev/null | grep -E 'CONFIG_NET_IPIP|CONFIG_IP_NF_RAW|CONFIG_IP_ADVANCED_ROUTER|CONFIG_IP_MULTIPLE_TABLES'
# CONFIG_IP_ADVANCED_ROUTER is not set
# CONFIG_NET_IPIP is not set
# CONFIG_IP_NF_RAW is not set
On the working Jetson Nano:
jetson-nano / balenaOS 4.0.9+rev2
$ uname -r
4.9.299-l4t-r32.7.3
$ ip -4 rule list
0: from all lookup local
32766: from all lookup main
32767: from all lookup default
$ zcat /proc/config.gz 2>/dev/null | grep -E 'CONFIG_NET_IPIP|CONFIG_IP_NF_RAW|CONFIG_IP_ADVANCED_ROUTER|CONFIG_IP_MULTIPLE_TABLES'
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_IP_MULTIPLE_TABLES=y
# CONFIG_NET_IPIP is not set
CONFIG_IP_NF_RAW=m
Would it be possible to update the Orin kernel build to enable the following?:
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_IP_MULTIPLE_TABLES=y
CONFIG_IP_NF_RAW=m
CONFIG_NET_IPIP=m
Technically I can keep building and loading nf_raw and ipip modules, but it would be ideal not to have to do that.
Thank you!
-Mike
Edit: I can confirm that my PR here “works”, and loads the needed modules.