cxl nic not working after reboot

Navdeep Parhar np at FreeBSD.org
Thu Aug 30 17:27:04 UTC 2018


On 8/30/18 4:21 AM, Marius Halden wrote:
> On Wed, Aug 29, 2018, at 12:22, Marius Halden wrote:
>> On Wed, Aug 29, 2018, at 08:28, Navdeep Parhar wrote:
>>>>>> Provide the output of these commands when the link isn't up:
>>>>>> # ifconfig -mvvv <interface>
>>>>>> # sysctl -n dev.t5nex.0.misc.devlog
>>>
>>> Can you provide the output from when the port is working?
>>
>> Sure, the output from when it works follows.
> 
> I tried to downgrade to a the previous bsdrp version we were running based on 11.1-RELEASE-p10, but it did not start working again. ifconfig output and t5nex0 devlog follows (non-working state), but it all looks fine to me (media has always been reported wrong). I did notice though that "hw_mac_init_port[0], …" will always be logged when it works but not when when it doesn't work. I confirmed this on a box still running the old version which functions as intended.
> 
> The ones not working has a newer firmware version than the ones working.
> 
> Non-working:
> # sysctl dev.t5nex.0.firmware_version
> dev.t5nex.0.firmware_version: 1.19.1.0
> 
> 
> Working:
> # sysctl dev.t5nex.0.firmware_version
> dev.t5nex.0.firmware_version: 1.16.45.0
> 
> Any other ideas?
> 

I'm still looking into it.  The current working theory is that the peer
is trying to autonegotiate when it shouldn't (it's 1Gbps optics).  If
you know how to disable AN on the peer this should be easy to test.

Regards,
Navdeep



More information about the freebsd-net mailing list