[SOLVED] modprobing a kernel module gives error: "could not insert 'iw_cxgb4': Invalid argument"

reckless

Well-Known Member
Feb 5, 2019
79
4
48
Trying to load the Chelsio iWarp module using this command: modprobe iw_cxgb4. I get the following error:

ERROR: could not insert 'iw_cxgb4': Invalid argument

This is the dmesg output:
Code:
[  +0.090486] BPF:[104824] STRUCT ata..percpu
[  +0.000030] BPF:size=24 vlen=5
[  +0.000012] BPF:
[  +0.000009] BPF:Invalid name
[  +0.000011] BPF:

[  +0.000014] failed to validate module [libcxgb] BTF: -22

Modinfo on both modules that I need to load:
https://zerobin.net/?8219412d3d0065f5#rTSGw2EpZWzelLmM6hT1CNfk5NnWp+3g0qLBgZPHX1E=

Any idea how to fix this so I can load the iw_cxgb4 kernel module?
 
Last edited:
is it possible you have booted using the PVE 6.x 5.11.22-4-pve, but are on PVE 7.x?
 
I'm actually not sure - how do I check and make sure?

I'm certainly on Proxmox version 7 and did a full upgrade from Proxmox 6 a week ago. I think it built the kernel during the upgrade.
 
could you upgrade to the -5 kernel and see if the problem persists if you boot into that one?
 
Hi Fabian, can you specify which kernel version you mean exactly? I just rebooted and here's screenshots from the console output:

Screenshot (8).png

Currently I can only select from these kernels:

Screenshot (6).png
 
pve-kernel-5.11.22-5-pve
 
  • Like
Reactions: reckless
Updating to that kernel seemed to fix it, thanks Fabian. Modprobing both cxgb4 and iw_cxgb4 returns without errors.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!