I have a chelsio T520-SO on a pfsense box that is running freeBSD 11.2 Release on version 2.4.4 of pfsense. On teh previous release, the network cards were recognized as a 10GB card, now they are only seen as a 1GB card. Not sure what is going on here, I have tried everything I could to try and get it working, but it appears to be capped at 1GB only. Need help
What exactly do you mean when you say the NIC is recognized as a 1GB card?
There's not even an ifconfig output in this bug and it's hard to tell what's
being reported here.
Created attachment 198097 [details]
ifconfig of 10GB Nic
This is an ifconfig printout of our pfsense firewall running pfsense version 2.4.4 that is running on freeBSD 11.2p3
I uploaded a screenshot, I apologize I forgot to do that. These are 10GB cards, the Chelsio T-520-SO cards, but they are not recognized as a 10GB NIC, just 1GB. Not sure what is causing this to happen, however, this was not an issue until the system was upgraded to the latest version of pfsense based on FreeBSD 11.2
This looks like it could an interoperability issue with a new firmware and an old driver, we ran into this at Limelight. They moved over from outputting speeds in mb to kb I believe it was, so the old driver gets confused if running a newer firmware.
What's the sysctll output of dev.t5nex.0.firmware_version ? If you are hitting this bug you have 2 options:
- Upgrade to a newer driver. It looks like you are running the newer version of pfsense w FreeBSD 11.2, so it'd take you pulling the new driver into the 11.2 tree, and likely reverting a bunch of the tie in the driver has with the rest of the kernel, like the epoch and TLS changes. This could get rough, but we did test this and it's doable.
- Downgrade the firmware to one that's compatible with the driver. The binary firmware blob is actually included in the driver, but by default it will only upgrade the firmware on the card if it's newer. If you set hw.cxgbe.fw_install="1" in loader.conf, that tells the driver it's allowed to downgrade the firmware also. Give this a try if you'd like.
Created attachment 198159 [details]
Attached is the printout from sysctl dev.t5nex.0.firmware_version
I appreciate you getting back to me on the issue. I attached the screenshot for what you were asking.
I have also added the line in loader.conf and it did not produce anything different. I am not sure what else to do.
Thanks for your time so far
My mistake, 1 is the default. Try setting hw.cxgbe.fw_install="2" in loader.conf to allow the driver to downgrade the firmware.
Created attachment 198195 [details]
I ended up doing what you suggested, but I still have the same issue of only 1GB versus 10GB. I appreciate your help thus far. I am uploading the screenshots. Thanks
Created attachment 198196 [details]
ifconfig of cxl card
Attached 2nd Screen Shot
Do you still see the problem with a recent 11-STABLE or 12.0? There have been
some ifmedia related fixes in the driver since 11.2 and they have likely fixed
this. Please close this bug as resolved if that's the case.
(In reply to Navdeep Parhar from comment #10)
I have not been able to update yet. At the mercy of pfsense and if they updated to bsd 12. We are going to update the firewalls and provide feedback. Issues still open
(In reply to cyba from comment #11)
I see. Are you able to temporarily boot this system from a recent 11.2-STABLE
or 12.0-RELEASE boot media, load the driver, and verify that it displays
correct media/link information?
If this bug is fixed in FreeBSD we should close it here.
I am going to be out of town until the 25th. We will update the firewall and see if it works. If it doesn’t I will let you know then I can try what you suggested to see if that works as well. I apologize. Thanks for the patience
Updated pfsense, they are still using FreeBSD 11.2 so I have no way to tell other than booting from a live usb. Thanks
A number of link/ifmedia bugs have been fixed since 11.2 and the problem that
was reported here should not occur with any recent FreeBSD release. I'm closing
this. Please reopen if the problem still occurs on a recent 11-STABLE,
12-STABLE, or 13-CURRENT.