Hi I bought a "Hewlett-Packard Company Ethernet 10G 2-port 546SFP+ Adapter" and expected to use it for 10Gbe.
The card is visible in `lspci` but the interfaces are not there.
During startup the card seems to work, since the uplink lights on the switch light up.
But then the message `mlx4_en 0000:02:00.0: removed PHC` appears on the screen, and the link is down.
I already found this post, but the suggested fixes did not work: https://forum.proxmox.com/threads/mellanox-connectx-3-pro-mt27520-not-showing-under-pve-8.133505/
What I tried so far:
Is there anything more I can try?
The card is visible in `lspci` but the interfaces are not there.
During startup the card seems to work, since the uplink lights on the switch light up.
But then the message `mlx4_en 0000:02:00.0: removed PHC` appears on the screen, and the link is down.
I already found this post, but the suggested fixes did not work: https://forum.proxmox.com/threads/mellanox-connectx-3-pro-mt27520-not-showing-under-pve-8.133505/
What I tried so far:
- adding `pci=realloc=off` to `GRUB_CMDLINE_LINUX_DEFAULT` in `/etc/default/grub`
- Finding `SR-IOV` in the Bios, but is is not there
Is there anything more I can try?
Bash:
02:00.0 Ethernet controller: Mellanox Technologies MT27520 Family [ConnectX-3 Pro]
Subsystem: Hewlett-Packard Company Ethernet 10G 2-port 546SFP+ Adapter
Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin A routed to IRQ 17
IOMMU group: 1
Region 0: Memory at dfa00000 (64-bit, non-prefetchable) [size=1M]
Region 2: Memory at 90000000 (64-bit, prefetchable) [size=32M]
Expansion ROM at df900000 [disabled] [size=1M]
Capabilities: [40] Power Management version 3
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D3 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [48] Vital Product Data
Product Name: HP Ethernet 10G 2-port 546SFP+ Adapter
Read-only fields:
[PN] Part number: 779793-B21
[EC] Engineering changes: B-5710
[SN] Serial number: IL270901PM
[V0] Vendor specific: PCIe 10GbE x8 6W
[V2] Vendor specific: 5710
[V4] Vendor specific: 9CDC71516680
[V5] Vendor specific: 0B
[VA] Vendor specific: HP:V2=MFG:V3=FW_VER:V4=MAC:V5=PCAR
[VB] Vendor specific: HP ConnectX-3Pro SFP+
[RV] Reserved: checksum good, 0 byte(s) reserved
Read/write fields:
[V1] Vendor specific:
[YA] Asset tag: N/A
[V3] Vendor specific:
[RW] Read-write area: 241 byte(s) free
[RW] Read-write area: 255 byte(s) free
[RW] Read-write area: 255 byte(s) free
[RW] Read-write area: 255 byte(s) free
[RW] Read-write area: 255 byte(s) free
[RW] Read-write area: 255 byte(s) free
[RW] Read-write area: 255 byte(s) free
[RW] Read-write area: 255 byte(s) free
[RW] Read-write area: 253 byte(s) free
[RW] Read-write area: 253 byte(s) free
[RW] Read-write area: 253 byte(s) free
[RW] Read-write area: 253 byte(s) free
[RW] Read-write area: 253 byte(s) free
[RW] Read-write area: 253 byte(s) free
[RW] Read-write area: 252 byte(s) free
End
Capabilities: [9c] MSI-X: Enable- Count=128 Masked-
Vector table: BAR=0 offset=0007c000
PBA: BAR=0 offset=0007d000
Capabilities: [60] Express (v2) Endpoint, MSI 00
DevCap: MaxPayload 512 bytes, PhantFunc 0, Latency L0s <64ns, L1 unlimited
ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset+ SlotPowerLimit 116W
DevCtl: CorrErr+ NonFatalErr+ FatalErr+ UnsupReq-
RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop- FLReset-
MaxPayload 256 bytes, MaxReadReq 512 bytes
DevSta: CorrErr+ NonFatalErr- FatalErr- UnsupReq+ AuxPwr- TransPend-
LnkCap: Port #8, Speed 8GT/s, Width x8, ASPM L0s, Exit Latency L0s unlimited
ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp+
LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk+
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 8GT/s, Width x8
TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
DevCap2: Completion Timeout: Range ABCD, TimeoutDis+ NROPrPrP- LTR-
10BitTagComp- 10BitTagReq- OBFF Not Supported, ExtFmt- EETLPPrefix-
EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
FRS- TPHComp- ExtTPHComp-
AtomicOpsCap: 32bit- 64bit- 128bitCAS-
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR- 10BitTagReq- OBFF Disabled,
AtomicOpsCtl: ReqEn-
LnkCap2: Supported Link Speeds: 2.5-8GT/s, Crosslink- Retimer- 2Retimers- DRS-
LnkCtl2: Target Link Speed: 8GT/s, EnterCompliance- SpeedDis-
Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
Compliance Preset/De-emphasis: -6dB de-emphasis, 0dB preshoot
LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete+ EqualizationPhase1+
EqualizationPhase2+ EqualizationPhase3+ LinkEqualizationRequest-
Retimer- 2Retimers- CrosslinkRes: unsupported
Capabilities: [c0] Vendor Specific Information: Len=18 <?>
Capabilities: [100 v1] Alternative Routing-ID Interpretation (ARI)
ARICap: MFVC- ACS-, Next Function: 0
ARICtl: MFVC- ACS-, Function Group: 0
Capabilities: [148 v1] Device Serial Number 9c-dc-71-03-00-51-66-80
Capabilities: [108 v1] Single Root I/O Virtualization (SR-IOV)
IOVCap: Migration- 10BitTagReq- Interrupt Message Number: 000
IOVCtl: Enable- Migration- Interrupt- MSE- ARIHierarchy- 10BitTagReq-
IOVSta: Migration-
Initial VFs: 16, Total VFs: 16, Number of VFs: 0, Function Dependency Link: 00
VF offset: 1, stride: 1, Device ID: 1004
Supported Page Size: 000007ff, System Page Size: 00000001
Region 2: Memory at 0000000092000000 (64-bit, prefetchable)
VF Migration: offset: 00000000, BIR: 0
Capabilities: [154 v2] Advanced Error Reporting
UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq+ ACSViol-
UESvrt: DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
AERCap: First Error Pointer: 00, ECRCGenCap+ ECRCGenEn- ECRCChkCap+ ECRCChkEn-
MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap-
HeaderLog: 00000000 00000000 00000000 00000000
Capabilities: [18c v1] Secondary PCI Express
LnkCtl3: LnkEquIntrruptEn- PerformEqu-
LaneErrStat: 0
Kernel driver in use: vfio-pci
Kernel modules: mlx4_core
Bash:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master vmbr0 state UP mode DEFAULT group default qlen 1000
link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
altname enp4s0
3: eno2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
altname enp5s0
6: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
7: tap92111i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master fwbr92111i0 state UNKNOWN mode DEFAULT group default qlen 1000
link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
8: fwbr92111i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
link/ether xx:xx:xx:xx:xx:xxc brd ff:ff:ff:ff:ff:ff
9: fwpr92111p0@fwln92111i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master vmbr0 state UP mode DEFAULT group default qlen 1000
link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
10: fwln92111i0@fwpr92111p0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr92111i0 state UP mode DEFAULT group default qlen 1000
link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
Bash:
[ 1.069435] mlx4_core: Mellanox ConnectX core driver v4.0-0
[ 1.070077] mlx4_core: Initializing 0000:02:00.0
[ 1.070726] mlx4_core 0000:02:00.0: enabling device (0140 -> 0142)
[ 7.286052] mlx4_core 0000:02:00.0: DMFS high rate steer mode is: disabled performance optimized steering
[ 7.287190] mlx4_core 0000:02:00.0: 63.008 Gb/s available PCIe bandwidth (8.0 GT/s PCIe x8 link)
[ 7.358428] mlx4_en: Mellanox ConnectX HCA Ethernet driver v4.0-0
[ 7.360123] mlx4_en 0000:02:00.0: Activating port:1
[ 7.362979] mlx4_en: 0000:02:00.0: Port 1: Using 8 TX rings
[ 7.363702] mlx4_en: 0000:02:00.0: Port 1: Using 8 RX rings
[ 7.364698] mlx4_en: 0000:02:00.0: Port 1: Initializing port
[ 7.366853] mlx4_en 0000:02:00.0: registered PHC clock
[ 7.367791] mlx4_en 0000:02:00.0: Activating port:2
[ 7.368994] mlx4_en: 0000:02:00.0: Port 2: Using 8 TX rings
[ 7.369591] mlx4_en: 0000:02:00.0: Port 2: Using 8 RX rings
[ 7.386320] <mlx4_ib> mlx4_ib_probe: mlx4_ib: Mellanox ConnectX InfiniBand driver v4.0-0
[ 7.391173] mlx4_en: 0000:02:00.0: Port 2: Initializing port
[ 7.391996] <mlx4_ib> mlx4_ib_probe: counter index 2 for port 1 allocated 1
[ 7.392447] <mlx4_ib> mlx4_ib_probe: counter index 3 for port 2 allocated 1
[ 7.412872] mlx4_core 0000:02:00.0 enp2s0d1: renamed from eth1
[ 7.424802] mlx4_core 0000:02:00.0 enp2s0: renamed from eth0
[ 9.386278] mlx4_en: enp2s0: Link Up
[ 10.125613] mlx4_en: enp2s0: Link Up
[ 26.616736] mlx4_en 0000:02:00.0: removed PHC
Last edited: