Modprobe: FATAL: Module openvswitch not found in directory /lib/modules/5.15.148-tegra

I’m writing this in order to solve an issue with Open vSwitch with DPDK. I can’t install OVS in my Nvidia JETSON ARX ORIN. I’ve tried to install OVS following the steps in Open vSwitch with DPDK — Open vSwitch 3.5.90 documentation

that are:

· sudo wget https://fast.dpdk.org/rel/dpdk-23.11.3.tar.xz

· sudo tar xf dpdk-23.11.3.tar.xz

· export DPDK_DIR=/usr/src/dpdk-stable-23.11.3

· sudo meson build

· sudo ninja -C build

· sudo ninja -C build install

· sudo ldconfig

· ./configure --with-dpdk=static

· export PATH=$PATH:/usr/local/share/openvswitch/scripts

· sudo ovsdb-tool create /usr/local/etc/openvswitch/conf.db /usr/local/share/openvswitch/vswitch.ovsschema

· sudo mkdir -p /usr/local/var/run/openvswitch

· sudo mkdir -p /usr/local/etc/openvswitch

export PATH=$PATH:/usr/local/share/openvswitch/scripts $ export DB_SOCK=/usr/local/var/run/openvswitch/db.sock $ ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-init=true

Finally, when I run “ovs-ctl --no-ovsdb-server --db-sock=”$DB_SOCK" start", where export DB_SOCK=/usr/local/var/run/openvswitch/db.sock, the output is: modprobe: FATAL: Module openvswitch not found in directory /lib/modules/5.15.148-tegra

  • Inserting openvswitch module

  • not removing bridge module because bridges exist (docker0 l4tbr0 virbr0)

My question is, how can I solve this? OVS can’t run on Nvidia Jetson well?

Hi,
If the device cannot be flashed/booted, please refer to the page to get uart log from the device:
Jetson/General debug - eLinux.org
And get logs of host PC and Jetson device for reference. If you are using custom board, you can compare uart log of developer kit and custom board to get more information.
Also please check FAQs:
Jetson AGX Orin FAQ
If possible, we would suggest follow quick start in developer guide to re-flash the system:
Quick Start — NVIDIA Jetson Linux Developer Guide 1 documentation
And see if the issue still persists on a clean-flashed system.
Thanks!

Hi,
We don’t have experience about OVS and it would need other users to share experience. May check and confirm whether OVS is supported on aarch64 first.

Hi, I’ve found the solution by removing the line “insert_mod_if_required || return 1” which is in ovs-ctl script.

Without this line, the userspace datapath works fine.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.