Bug 237981

Summary: cxgb(4): Driver doesn't work with latest (7.12) Chelsio firmware: found newer FW version(7.12), driver compiled for version 7.11
Product: Base System Reporter: gnoma <gnoma_86>
Component: kernAssignee: Navdeep Parhar <np>
Status: Closed Unable to Reproduce    
Severity: Affects Some People CC: mmacy, np
Priority: --- Keywords: needs-qa
Version: 12.0-RELEASEFlags: koobs: mfc-stable12?
koobs: mfc-stable11?
Hardware: amd64   
OS: Any   
Attachments:
Description Flags
Patched the file with the latest 7.12 firmware none

Description gnoma 2019-05-19 12:21:17 UTC
if_cxgb.ko driver doesn't work wit latest chelsio firmware - 7.12. 

I got this message:

found newer FW version(7.12), driver compiled for version 7.11

NICs are being loaded as interfaces. However when I plug the cable it's shown as no carrier.
Comment 1 gnoma 2019-05-19 14:07:10 UTC
Created attachment 204468 [details]
Patched the file with the latest 7.12 firmware

Patched the file with the latest firmware 7.12. 
Link is now changing to up, haven't tasted it further.
Comment 2 Navdeep Parhar freebsd_committer freebsd_triage 2021-06-19 17:26:44 UTC
Can this be closed based on comment 1?

It is not clear what the original problem was.  The "found newer FW ..."
message is purely informational and the driver carries on normally with
attach after logging that message.  Changing the firmware bundled with
the driver to match the card should not have made a difference.
Comment 3 gnoma 2021-06-20 08:53:44 UTC
(In reply to Navdeep Parhar from comment #2)
Yes but please check the last line of the initial description:

"NICs are being loaded as interfaces. However when I plug the cable it's shown as no carrier."

And the last sentence: 

"when I plug the cable it's shown as no carrier."

This is the original problem.
Comment 4 Navdeep Parhar freebsd_committer freebsd_triage 2021-06-21 00:49:17 UTC
(In reply to gnoma from comment #3)
I get that the link did not come up originally.  My point is that adding
the 7.12 firmware to the driver should not have made any difference.  It
just suppressed the informational message about there being a new firmware
on the card.  The rest of driver attach should be identical in both cases.
And yet the link came up the second time but not the first?  That's hard
to explain.
Comment 5 Navdeep Parhar freebsd_committer freebsd_triage 2021-07-05 06:57:43 UTC
I think this can be closed as "unable to reproduce" given that the driver
was using the same firmware in both the scenarios but link didn't come up
the first time, for reasons unknown.