Summary: | mlx4en(4) Mellanox ConnectX-3 10g eth not working in 13.1: mlx4_core0: Unable to determine PCI device chain minimum BW | ||
---|---|---|---|
Product: | Base System | Reporter: | crb <crb> |
Component: | kern | Assignee: | Hans Petter Selasky <hselasky> |
Status: | Closed Not A Bug | ||
Severity: | Affects Some People | CC: | hselasky, michael, net |
Priority: | --- | Keywords: | regression |
Version: | 13.1-RELEASE | Flags: | koobs:
mfc-stable13?
koobs: mfc-stable12- |
Hardware: | amd64 | ||
OS: | Any | ||
Bug Depends on: | |||
Bug Blocks: | 264030 |
Description
crb
2022-05-18 03:34:01 UTC
ASUS TUF GAMING X570-PRO motherboard AMD 5950 processor *** Bug 264058 has been marked as a duplicate of this bug. *** Hi, Did you try to set the port-type to ethernet, "eth" ? There is a SYSCTL somewhere, try to grep for it: sysctl -a | grep mlx4_port --HPS seems to be already set: crb@eclipse:88> sysctl -a | grep mlx4_port sys.device.mlx4_core0.mlx4_port1_mtu: 4096 sys.device.mlx4_core0.mlx4_port1: eth Is mlx4en loaded? --HPS trimed: crb@eclipse:89> kldstat Id Refs Address Size Name 1 92 0xffffffff80200000 1f30590 kernel 14 1 0xffffffff82bbe000 3ef50 mlx4.ko I think you need to load mlx4en aswell, try: kldload mlx4en --HPS This error message is expected and not harmful. mlx4_core0: Unable to determine PCI device chain minimum BW --HPS Ping --HPS Sorry, I thought I left a message and closed this. I was, indeed, missing the module you suggested. When I loaded that the machine started working. Thank you! Thank you! Then I'll close this issue. --HPS ^Triage: Assign to committer that resolved and correct resolution I would not say this issue is "fixed and closed". Today I installed a new fbsd box with a 13.1 memstick, installation was not able to configure and use the network, because the mellanox module was missing. it does not make sense to build in a kernel driver that can detect the card, but to forget to load the dependency module too. So I would like to reopen this bug report and have somebody really think about how to prevent it in the future. Maybe something can be done by devd and the device driver loading framework. Currently the mlx4en driver is old and not actively maintained. (In reply to Hans Petter Selasky from comment #14) if old and not maintained does not really matter as long as it works. I doubt it would do any harm to be automatically be included as the main mlx4 driver is now. (I dont know why they are split) The cards are good and can be bought cheap as used ones. This allows low budget entries into the 10Gbe area, so I bet, they will stay on for another 10yrs or so. |