August 28, 20241 yr Hello, I don't know if the title is correct but I wouldn't know where my issue is to describe it. I added an Ethernet card that is detected in System Devices (Ethernet controller: Cavium, Inc. CN23XX [LiquidIO II] Intelligent Adapter (rev 03)) But it's not showing in network settings. What am I missing? Added diagnostics Thanks! *edit: running the following command, it became clear that I am missing drivers. I am still not sure how to proceed lspci -nnk | grep -A2 Ethernet tower-diagnostics-20240829-0109.zip Edited August 29, 20241 yr by thedoc
August 29, 20241 yr There's no driver for this NIC, this appears to be an older model, is this gigabit or 100Mbit?
August 29, 20241 yr Author Just now, JorgeB said: There's no driver for this NIC, this appears to be an older model, is this gigabit or 100Mbit? its 25Gbit
August 29, 20241 yr Author Thanks I will, but is there an alternative? I mean there isn't a general interest in these drivers probably. Can I install them on my own some way?
September 7, 20241 yr Author I don't know if I have to open another thread, but I tried to passthrough the device to a VM and I got the following error Quote internal error: qemu unexpectedly closed the monitor: qxl_send_events: spice-server bug: guest stopped, ignoring 2024-09-07T13:18:43.389954Z qemu-system-x86_64: -device {"driver":"vfio-pci","host":"0000:01:00.0","id":"hostdev0","bus":"pci.0","addr":"0x8"}: vfio 0000:01:00.0: hardware reports invalid configuration, MSIX PBA outside of specified BAR On bios, I changed the PCI Gen from auto to Gen5 to no avail (it's placed in Gen5 X16 slot, tried X16 slot running x4 too). I read that drivers are not required in the host device to passthrough a device lspci -vv returns the following about this device Quote 01:00.1 Ethernet controller: Cavium, Inc. CN23XX [LiquidIO II] Intelligent Adapter (rev 03) Subsystem: Cavium, Inc. CN2360 [LiquidIO II] 2-port 25GbE Intelligent 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 255 IOMMU group: 12 Expansion ROM at 70d10000 [virtual] [disabled] 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: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+ Address: 0000000000000000 Data: 0000 Masking: 00000000 Pending: 00000000 Capabilities: [70] Express (v2) Endpoint, MSI 00 DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s <1us, L1 <8us ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset+ SlotPowerLimit 75W 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 #0, Speed 8GT/s, Width x8, ASPM L0s L1, Exit Latency L0s <2us, L1 <64us 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- DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR- 10BitTagReq- OBFF Disabled, AtomicOpsCtl: ReqEn- LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete- EqualizationPhase1- EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest- Retimer- 2Retimers- CrosslinkRes: unsupported Capabilities: [b0] MSI-X: Enable- Count=65 Masked- Vector table: BAR=0 offset=00000000 PBA: BAR=0 offset=00001000 Capabilities: [100 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: [148 v1] Alternative Routing-ID Interpretation (ARI) ARICap: MFVC- ACS-, Next Function: 2 ARICtl: MFVC- ACS-, Function Group: 0 Capabilities: [178 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: 64, Total VFs: 64, Number of VFs: 0, Function Dependency Link: 01 VF offset: 66, stride: 1, Device ID: 9712 Supported Page Size: 00000553, System Page Size: 00000001 Region 0: Memory at 0000000000000000 (64-bit, prefetchable) VF Migration: offset: 00000000, BIR: 0 Capabilities: [1b8 v1] Physical Resizable BAR BAR 4: current size: 512GB, supported: 1MB 2MB 4MB 8MB 16MB 32MB 64MB 128MB 256MB 512MB 1GB 2GB 4GB 8GB 16GB 32GB 64GB 128GB 256GB 512GB Kernel driver in use: vfio-pci Edited September 7, 20241 yr by thedoc
September 8, 20241 yr 8 hours ago, JorgeB said: @SimonFany idea about the QEMU issue? On 9/7/2024 at 2:22 PM, thedoc said: Capabilities: [1b8 v1] Physical Resizable BAR BAR 4: current size: 512GB, supported: 1MB 2MB 4MB 8MB 16MB 32MB 64MB 128MB 256MB 512MB 1GB 2GB 4GB 8GB 16GB 32GB 64GB 128GB 256GB 512GB Not at present. Done some seraching not found an answer as yet, but the above section says BAR it 512GB so not sure if that is the reason.
September 8, 20241 yr On 9/7/2024 at 2:22 PM, thedoc said: I don't know if I have to open another thread, but I tried to passthrough the device to a VM and I got the following error On bios, I changed the PCI Gen from auto to Gen5 to no avail (it's placed in Gen5 X16 slot, tried X16 slot running x4 too). I read that drivers are not required in the host device to passthrough a device lspci -vv returns the following about this device What settings do you have in the bios for sriov, rebar and above 4g?
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.