PDA

View Full Version : anybody know how to fix "i40e unsupported sfp+"



kustomjs
March 12th, 2022, 09:20 PM
Hello Guys
I am just wondering if anybody came up with good fix for issue i40e unsupported sfp+ on intel network adapters for ubuntu 21.10? because I tried this: https://www.serveradminz.com/blog/unsupported-sfp-linux/ and it didnt come up with the interface at all.
but when I run: tim@libreqos:~$ rmmod ixgbe
rmmod: ERROR: Module ixgbe is not currently loaded <--- I get that error
tim@libreqos:~$ modprobe ixgbe
modprobe: ERROR: could not insert 'ixgbe': Operation not permitted <--- error



Tim

#&thj^%
March 12th, 2022, 09:32 PM
Hello Guys
I am just wondering if anybody came up with good fix for issue i40e unsupported sfp+ on intel network adapters for ubuntu 21.10? because I tried this: https://www.serveradminz.com/blog/unsupported-sfp-linux/ and it didnt come up with the interface at all.
but when I run: tim@libreqos:~$ rmmod ixgbe
rmmod: ERROR: Module ixgbe is not currently loaded <--- I get that error
tim@libreqos:~$ modprobe ixgbe
modprobe: ERROR: could not insert 'ixgbe': Operation not permitted <--- error



Tim
Permissions I'm betting, run again as root or sudo.

kustomjs
March 12th, 2022, 09:36 PM
I tried that and I get this:
root@libreqos:/home/tim# cd
root@libreqos:~# rmmod ixgbe
rmmod: ERROR: Module ixgbe is not currently loaded
root@libreqos:~# modprobe ixgbe <---- noting loads

#&thj^%
March 12th, 2022, 09:40 PM
I think you missed a few steps, to confirm show this:

cat /etc/modprobe.d/ixgbe.conf

kustomjs
March 12th, 2022, 09:46 PM
root@libreqos:~# cat /etc/modprobe.d/ixgbe.conf
cat: /etc/modprobe.d/ixgbe.conf: No such file or directory
root@libreqos:~#

#&thj^%
March 12th, 2022, 09:55 PM
Missed this or something else happened.
We will now add a parameter “options ixgbe allow_unsupported_sfp=1” to the ixgbe modue whoes path is :
All this should be run as root
“/etc/modprobe.d/ixgbe.conf”.
The commands is as follows:


# nano /etc/modprobe.d/ixgbe.conf [ which now opens a blank text editor ]


options ixgbe allow_unsupported_sfp=1
####[add this parameter ]

# rmmod ixgbe; modprobe ixgbe
we then remove the module and reload it again with these commands.


# ip a
to check whether the missing interface with the uplink is showing.

If the above steps are successful and the missing interface is showing, then we can confirm that the issue is unsupported SFP+. However, the above test is not permanent and will be flushed out once rebooted.
Lets see how this works first.

kustomjs
March 12th, 2022, 09:59 PM
tim@libreqos:~$ rmmod ixgbe; modprobe ixgbe
rmmod: ERROR: ../libkmod/libkmod-module.c:799 kmod_module_remove_module() could not remove 'ixgbe': Operation not permitted
rmmod: ERROR: could not remove module ixgbe: Operation not permitted

#&thj^%
March 12th, 2022, 10:05 PM
I plainly said as Root This is not root "$ " this is root "#"

kustomjs
March 12th, 2022, 10:07 PM
its not going make a difference if its in regular user or root still same issue and error:
root@libreqos:~# rmmod ixgbe; modprobe ixgbe
libkmod: ERROR ../libkmod/libkmod-config.c:657 kmod_config_parse: /etc/modprobe.d/ixgbe.conf line 2: ignoring bad line starting with 'rmmod'
root@libreqos:~#

#&thj^%
March 12th, 2022, 10:12 PM
Yes it dose mater,
one more time

cat /etc/modprobe.d/ixgbe.conf

kustomjs
March 12th, 2022, 10:14 PM
here you go root@libreqos:~# cat /etc/modprobe.d/ixgbe.conf
options ixgbe allow_unsupported_sfp=1
rmmod ixgbe; modprobe ixgbe
when I do ip a the sfp module doesnt even show up

#&thj^%
March 12th, 2022, 10:18 PM
here you go root@libreqos:~# cat /etc/modprobe.d/ixgbe.conf
options ixgbe allow_unsupported_sfp=1
rmmod ixgbe; modprobe ixgbe
root@libreqos:~#
Begs the question Why is this added? "rmmod ixgbe; modprobe ixgbe"
It should only show this:

options ixgbe allow_unsupported_sfp=1
Fix it first and try again as Root.

kustomjs
March 12th, 2022, 10:22 PM
root@libreqos:~# cat /etc/modprobe.d/ixgbe.conf
options ixgbe allow_unsupported_sfp=1

root@libreqos:~# rmmod ixgbe; modprobe ixgbe
rmmod: ERROR: Module ixgbe is not currently loaded
root@libreqos:~#

#&thj^%
March 12th, 2022, 10:29 PM
Try first:

#modprobe ixgbe
Show any out put please.
Or right after that command show this:

lsmod | grep ixgbe

kustomjs
March 12th, 2022, 10:38 PM
root@libreqos:~# modprobe ixgbe ---> shows noting
root@libreqos:~# lsmod | grep ixgbe
ixgbe 348160 0
xfrm_algo 16384 1 ixgbe
mdio 16384 1 ixgbe
dca 16384 3 igb,ioatdma,ixgbe

#&thj^%
March 12th, 2022, 10:40 PM
Whats shows in:

ip a
Any sign of the missing link?

kustomjs
March 12th, 2022, 10:44 PM
SFP port doesnt even show up

#&thj^%
March 12th, 2022, 10:50 PM
Lets see if it's simmered down now,

# rmmod ixgbe
any output shown
If all is well try

# modprobe ixgbe
to reload, and take a peek at "ip a" again.

kustomjs
March 12th, 2022, 11:15 PM
shows noting:
root@libreqos:~# rmmod ixgbe
root@libreqos:~# modprobe ixgbe

noting in ip a link setup

#&thj^%
March 12th, 2022, 11:24 PM
If you want to force this mod add:

ixgbe.allow_unsupported_sfp=1
to the line GRUB_CMDLINE_LINUX=”ixgbe.allow_unsupported_sfp=1”

sudoedit /etc/default/grub
update grub:

sudo update-grub
reboot>>> The Reboot flush's what we done thus far.
And starts with mod loaded, so if nothing still. IJDK
and now check with "ip a"
Now you know how to also remove it if this is futile.

kustomjs
March 12th, 2022, 11:36 PM
I gave up on it I dont know if its going to work

#&thj^%
March 12th, 2022, 11:53 PM
Worth a try, we had a couple of misfires that would be a sure way to check if it will work. (or not :))