Can't load ifb module custom build kernel on JetPack 6.0

I’ve compiled the kernel (from Jetson Linux 36.3 public_sources.tbz2) with

CONFIG_IFB=m

System runs well with it, but when I try to load ifb module I see the following error in dmesg:


Is IFB module is supported on Jetson AGX Orin and what can be the issue?

Sorry for the late response.
Is this still an issue to support? Any result can be shared?

Thank you in advance for your assistance. I am attempting to use the Bandwidth plugin with K3s on a Jetson device. During my investigation, I identified that the absence of the IFB module might be causing the issue. Below are the steps I followed and the details of the error message.

Environment:

  • Jetson : AGX Orin Devkit 64GB
  • Ubuntu : 22.04
  • JetPack : 6.0
  • Jetson Linux : 36.3
  • K3s Version : v1.30.5+k3s1

Steps:

  1. Download source code
    I downloaded public_sources.tbz2 from Jetson Linux Archive under the target version (36.3) in “Driver Package (BSP) Sources.”

  2. Extract the source code

     $ mkdir -p ~/nvidia/nvidia_sdk/JetPack
     $ cd ~/nvidia/nvidia_sdk/JetPack
     $ tar -xvjf public_sources.tbz2
     $ cd ~/nvidia/nvidia_sdk/JetPack/Linux_for_Tegra/source
     $ tar xf kernel_src.tbz2
     $ tar xf kernel_oot_modules_src.tbz2
     $ tar xf nvidia_kernel_display_driver_source.tbz2
    
  3. Build the kernel

    • Set environment variables:

      $ export LOCALVERSION=-tegra
      
    • Install OpenSSL:

      $ sudo apt -y install libssl-dev
      
    • Add build target (IFB):

      $ cd ~/nvidia/nvidia_sdk/JetPack/Linux_for_Tegra/source/kernel/kernel-jammy-src
      $ vi arch/arm64/configs/defconfig
      

      ⇒ Added "CONFIG_IFB=m"

    • Build:

      $ cd ~/nvidia/nvidia_sdk/JetPack/Linux_for_Tegra/source
      $ make -C kernel
      
  4. Copy kernel module

    $ sudo cp ~/nvidia/nvidia_sdk/JetPack/Linux_for_Tegra/source/kernel/kernel-jammy-src/drivers/net/ifb.ko /lib/modules/$(uname -r)/kernel/drivers/net/
    $ sudo chown root:root /lib/modules/$(uname -r)/kernel/drivers/net/ifb.ko
    
  5. Insert IFB module

    $ sudo depmod -a
    $ sudo modprobe ifb
    

    Error message:

    modprobe: ERROR: could not insert 'ifb': Invalid argument
    
  6. Check dmesg output

    $ sudo dmesg
    

    dmesg error output:

     [3049.651498] ifb: module verification failed: signature and/or required key missing - tainting kernel
     [3049.651526] ifb: disagrees about version of symbol __rtnl_link_unregister
     [3049.651528] ifb: Unknown symbol __rtnl_link_unregister (err -22)
     [3049.651535] ifb: disagrees about version of symbol dev_queue_xmit
     [3049.651536] ifb: Unknown symbol dev_queue_xmit (err -22)
     [3049.651539] ifb: disagrees about version of symbol consume_skb
     [3049.651540] ifb: Unknown symbol consume_skb (err -22)
     [3049.651546] ifb: disagrees about version of symbol eth_validate_addr
     [3049.651547] ifb: Unknown symbol eth_validate_addr (err -22)
     [3049.651549] ifb: disagrees about version of symbol __rtnl_link_register
     [3049.651550] ifb: Unknown symbol __rtnl_link_register (err -22)
     [3049.651556] ifb: disagrees about version of symbol skb_pull_rcsum
     [3049.651557] ifb: Unknown symbol skb_pull_rcsum (err -22)
     [3049.651559] ifb: disagrees about version of symbol ether_setup
     [3049.651560] ifb: Unknown symbol ether_setup (err -22)
     [3049.651563] ifb: disagrees about version of symbol alloc_netdev_mqs
     [3049.651564] ifb: Unknown symbol alloc_netdev_mqs (err -22)
     [3049.651571] ifb: disagrees about version of symbol rtnl_link_unregister
     [3049.651572] ifb: Unknown symbol rtnl_link_unregister (err -22)
     [3049.651579] ifb: disagrees about version of symbol dev_get_by_index_rcu
     [3049.651580] ifb: Unknown symbol dev_get_by_index_rcu (err -22)
     [3049.651582] ifb: disagrees about version of symbol kfree_skb_reason
     [3049.651583] ifb: Unknown symbol kfree_skb_reason (err -22)
     [3049.651586] ifb: disagrees about version of symbol netif_receive_skb
     [3049.651587] ifb: Unknown symbol netif_receive_skb (err -22)
     [3049.651591] ifb: disagrees about version of symbol free_netdev
     [3049.651592] ifb: Unknown symbol free_netdev (err -22)
     [3049.651595] ifb: disagrees about version of symbol netif_tx_stop_all_queues
     [3049.651596] ifb: Unknown symbol netif_tx_stop_all_queues (err -22)
     [3049.651597] ifb: disagrees about version of symbol netif_tx_wake_queue
     [3049.651598] ifb: Unknown symbol netif_tx_wake_queue (err -22)
     [3049.651614] ifb: disagrees about version of symbol register_netdevice
     [3049.651615] ifb: Unknown symbol register_netdevice (err -22)
    

Question:

I believe that the lack of an IFB module is causing issues with the Bandwidth plugin on K3s. Could you provide advice on what might be causing this error and any potential solutions? Specifically, if there are any recommended troubleshooting steps for building and installing kernel modules, I would appreciate the information.

Thank you for your support.

Are you sure the whole kernel (image/modules/ifb.ko) are using built out as same machine?

I am using Jetson AGX Orin (Jetson Linux: 36.3), so I am building the source code downloaded from https://developer.nvidia.com/downloads/embedded/l4t/r36_release_v3.0/release/jetson_linux_r36.3.0_aarch64.tbz2

You didn’t reply anything related to my questions at all.

If you cannot understand what I meant here, please tell.

I don’t know how to check if the whole kernel is built out as same machine.