Ok I figured my mistake, this card has a switch-port chip/adapter which enables the two NICs to be used - a Linux lspci says:
06:00.0 PCI bridge: ASMedia Technology Inc. ASM1182e 2-Port PCIe x1 Gen2 Packet Switch 07:03.0 PCI bridge: ASMedia Technology Inc. ASM1182e 2-Port PCIe x1 Gen2 Packet Switch 07:07.0 PCI bridge: ASMedia Technology Inc. ASM1182e 2-Port PCIe x1 Gen2 Packet Switch 08:00.0 Ethernet controller: Intel Corporation Ethernet Controller I225-V (rev 03) 09:00.0 Ethernet controller: Intel Corporation Ethernet Controller I225-V (rev 03) And I bet we don’t support this. :-( > Am 03.08.2024 um 20:05 schrieb Jo MacMahon <jmacma...@fastmail.com>: > > Have you tried the NIC with another operating system? I have heard that the > RockPro64's PCIe support is somewhat hit-and-miss, so it may be that the > hardware is incompatible. > > On Sat, 3 Aug 2024, at 18:17, Georg Bege wrote: >> Hi, >> >> Sorry but I want to add some more information. >> >> I have another PCI-E card which is an SATA extension card (6x sata port) >> I think it’s an PCI-E x4 card. >> >> This one does get detected, I know for sure that it was working on >> FreeBSD though with this card. >> >> ——————————————— snip ——————————————— >> # pcidump >> >> Domain /dev/pci0: >> >> 0:0:0: Rockchip RK3399 >> >> 1:0:0: ASMedia unknown >> >> >> >> rkpcie0 at mainbus0 >> >> pci0 at rkpcie0 >> >> ppb0 at pci0 dev 0 function 0 "Rockchip RK3399" rev 0x00: msi >> >> pci1 at ppb0 bus 1 >> >> ahci0 at pci1 dev 0 function 0 vendor "ASMedia", unknown product 0x1166 >> rev 0x02: msi, AHCI 1.3.1 >> >> ——————————————— snip ——————————————— >> >> >> >> >> >> I think ASMedia is correct here, the interesting thing is now - if I >> use the Intel NIC I225V, it’s get detected as ASMedia card too (which >> should be wrong?): >> >> >> >> ——————————————— snip ——————————————— >> >> gateway# pcidump >> >> >> Domain /dev/pci0: >> >> 0:0:0: Rockchip RK3399 >> >> 1:0:0: ASMedia ASM1182e >> >> >> >> gateway# dmesg|grep pci >> >> "pcie-phy" at syscon27 not configured >> >> rkpcie0 at mainbus0 >> >> pci0 at rkpcie0 >> >> ppb0 at pci0 dev 0 function 0 "Rockchip RK3399" rev 0x00: msi >> >> pci1 at ppb0 bus 1 >> >> ppb1 at pci1 dev 0 function 0 "ASMedia ASM1182e" rev 0x00 >> >> pci2 at ppb1 bus 2 >> >> ——————————————— snip ——————————————— >> >> >> >> I don’t understand why this happens, does this mean that the igc driver >> doesn’t detect the card on. The RockPro64 PCI-E bus? >> >> Is this a mistake in the driver? >> >> >> >> Regards, >> >> Georg >> >> >> >> >>> Am 03.08.2024 um 18:53 schrieb Georg Bege <georg@bege.email>: >>> >>> Hi OpenBSD folks, >>> >>> Im having issue with an Intel I225-V dual port NIC and Rockpro64, >>> the card isn’t being detected despite the kernel detects pci0,1,2 devices. >>> >>> Since the card itself is supported according to igc(4) I guess its a >>> problem on the Rockpro64 board? >>> I only need a single or dual-port card, any idea what other card I could >>> use? >>> >>> Or is there a solution? >>> >>> Below I copy a dimesg output. >>> >>> Regards, >>> >>> Georg >>> >>> ————————————————— snip ————————————————— >>> OpenBSD 7.5 (GENERIC.MP) #138: Wed Mar 20 19:42:15 MDT 2024 >>> dera...@arm64.openbsd.org:/usr/src/sys/arch/arm64/compile/GENERIC.MP >>> real mem = 4123770880 (3932MB) >>> avail mem = 3912286208 (3731MB) >>> random: good seed from bootblocks >>> mainbus0 at root: Pine64 RockPro64 v2.1 >>> psci0 at mainbus0: PSCI 1.1, SMCCC 1.2, SYSTEM_SUSPEND >>> efi0 at mainbus0: UEFI 2.10 >>> efi0: Das U-Boot rev 0x20240700 >>> smbios0 at efi0: SMBIOS 3.7.0 >>> smbios0: vendor U-Boot version "2024.07" date 07/01/2024 >>> smbios0: Pine64 RockPro64 >>> cpu0 at mainbus0 mpidr 0: ARM Cortex-A53 r0p4 >>> cpu0: 32KB 64b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache >>> cpu0: 512KB 64b/line 16-way L2 cache >>> cpu0: CRC32,SHA2,SHA1,AES+PMULL,ASID16 >>> cpu1 at mainbus0 mpidr 1: ARM Cortex-A53 r0p4 >>> cpu1: 32KB 64b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache >>> cpu1: 512KB 64b/line 16-way L2 cache >>> cpu2 at mainbus0 mpidr 2: ARM Cortex-A53 r0p4 >>> cpu2: 32KB 64b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache >>> cpu2: 512KB 64b/line 16-way L2 cache >>> cpu3 at mainbus0 mpidr 3: ARM Cortex-A53 r0p4 >>> cpu3: 32KB 64b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache >>> cpu3: 512KB 64b/line 16-way L2 cache >>> cpu4 at mainbus0 mpidr 100: ARM Cortex-A72 r0p2 >>> cpu4: 48KB 64b/line 3-way L1 PIPT I-cache, 32KB 64b/line 2-way L1 D-cache >>> cpu4: 1024KB 64b/line 16-way L2 cache >>> cpu4: CRC32,SHA2,SHA1,AES+PMULL,ASID16 >>> cpu5 at mainbus0 mpidr 101: ARM Cortex-A72 r0p2 >>> cpu5: 48KB 64b/line 3-way L1 PIPT I-cache, 32KB 64b/line 2-way L1 D-cache >>> cpu5: 1024KB 64b/line 16-way L2 cache >>> apm0 at mainbus0 >>> agintc0 at mainbus0 sec shift 3:3 nirq 288 nredist 6 ipi: 0, 1, 2: >>> "interrupt-controller" >>> agintcmsi0 at agintc0 >>> syscon0 at mainbus0: "qos" >>> syscon1 at mainbus0: "qos" >>> syscon2 at mainbus0: "qos" >>> syscon3 at mainbus0: "qos" >>> syscon4 at mainbus0: "qos" >>> syscon5 at mainbus0: "qos" >>> syscon6 at mainbus0: "qos" >>> syscon7 at mainbus0: "qos" >>> syscon8 at mainbus0: "qos" >>> syscon9 at mainbus0: "qos" >>> syscon10 at mainbus0: "qos" >>> syscon11 at mainbus0: "qos" >>> syscon12 at mainbus0: "qos" >>> syscon13 at mainbus0: "qos" >>> syscon14 at mainbus0: "qos" >>> syscon15 at mainbus0: "qos" >>> syscon16 at mainbus0: "qos" >>> syscon17 at mainbus0: "qos" >>> syscon18 at mainbus0: "qos" >>> syscon19 at mainbus0: "qos" >>> syscon20 at mainbus0: "qos" >>> syscon21 at mainbus0: "qos" >>> syscon22 at mainbus0: "qos" >>> syscon23 at mainbus0: "qos" >>> syscon24 at mainbus0: "qos" >>> syscon25 at mainbus0: "power-management" >>> "power-controller" at syscon25 not configured >>> syscon26 at mainbus0: "syscon" >>> "io-domains" at syscon26 not configured >>> rkclock0 at mainbus0 >>> rkclock1 at mainbus0 >>> rkclock_set_frequency(rkclock1, 237, 400000000) >>> syscon27 at mainbus0: "syscon" >>> "io-domains" at syscon27 not configured >>> "usb2phy" at syscon27 not configured >>> "usb2phy" at syscon27 not configured >>> rkemmcphy0 at syscon27 >>> "pcie-phy" at syscon27 not configured >>> rktcphy0 at mainbus0 >>> rktcphy1 at mainbus0 >>> rkpinctrl0 at mainbus0: "pinctrl" >>> rkgpio0 at rkpinctrl0 >>> rkgpio1 at rkpinctrl0 >>> rkgpio2 at rkpinctrl0 >>> rkgpio3 at rkpinctrl0 >>> rkgpio4 at rkpinctrl0 >>> pwmreg0 at mainbus0 >>> syscon28 at mainbus0: "syscon" >>> syscon29 at mainbus0: "syscon" >>> "fit-images" at mainbus0 not configured >>> rkdrm0 at mainbus0 >>> drm0 at rkdrm0 >>> "memory-controller" at mainbus0 not configured >>> "pmu_a53" at mainbus0 not configured >>> "pmu_a72" at mainbus0 not configured >>> agtimer0 at mainbus0: 24000 kHz >>> "xin24m" at mainbus0 not configured >>> rkpcie0 at mainbus0 >>> pci0 at rkpcie0 >>> ppb0 at pci0 dev 0 function 0 "Rockchip RK3399" rev 0x00: msi >>> pci1 at ppb0 bus 1 >>> ppb1 at pci1 dev 0 function 0 "ASMedia ASM1182e" rev 0x00 >>> pci2 at ppb1 bus 2 >>> dwge0 at mainbus0: rev 0x35, address ba:70:1f:33:87:d9 >>> rgephy0 at dwge0 phy 0: RTL8169S/8110S/8211 PHY, rev. 6 >>> dwmmc0 at mainbus0: 50 MHz base clock >>> sdmmc0 at dwmmc0: 4-bit, sd high-speed, dma >>> dwmmc1 at mainbus0: 50 MHz base clock >>> sdmmc1 at dwmmc1: 4-bit, sd high-speed, dma >>> sdhc0 at mainbus0 >>> sdhc0: SDHC 3.00, 200 MHz base clock >>> sdmmc2 at sdhc0: 8-bit, sd high-speed, mmc high-speed, dma >>> ehci0 at mainbus0 >>> usb0 at ehci0: USB revision 2.0 >>> uhub0 at usb0 configuration 1 interface 0 "Generic EHCI root hub" rev >>> 2.00/1.00 addr 1 >>> ohci0 at mainbus0: version 1.0 >>> ehci1 at mainbus0 >>> usb1 at ehci1: USB revision 2.0 >>> uhub1 at usb1 configuration 1 interface 0 "Generic EHCI root hub" rev >>> 2.00/1.00 addr 1 >>> ohci1 at mainbus0: version 1.0 >>> "debug" at mainbus0 not configured >>> "debug" at mainbus0 not configured >>> "debug" at mainbus0 not configured >>> "debug" at mainbus0 not configured >>> "debug" at mainbus0 not configured >>> "debug" at mainbus0 not configured >>> rkdwusb0 at mainbus0: "usb" >>> xhci0 at rkdwusb0, xHCI 1.10 >>> usb2 at xhci0: USB revision 3.0 >>> uhub2 at usb2 configuration 1 interface 0 "Generic xHCI root hub" rev >>> 3.00/1.00 addr 1 >>> rkdwusb1 at mainbus0: "usb" >>> xhci1 at rkdwusb1, xHCI 1.10 >>> usb3 at xhci1: USB revision 3.0 >>> uhub3 at usb3 configuration 1 interface 0 "Generic xHCI root hub" rev >>> 3.00/1.00 addr 1 >>> "saradc" at mainbus0 not configured >>> rkrng0 at mainbus0: ver 1 >>> rkrng1 at mainbus0: ver 1 >>> rkiic0 at mainbus0 >>> iic0 at rkiic0 >>> escodec0 at iic0 addr 0x11 >>> rkiic1 at mainbus0 >>> iic1 at rkiic1 >>> com0 at mainbus0: dw16550, 64 byte fifo >>> com1 at mainbus0: dw16550, 64 byte fifo >>> com1: console >>> rkspi0 at mainbus0 >>> rktemp0 at mainbus0 >>> rkiic2 at mainbus0 >>> iic2 at rkiic2 >>> rkpmic0 at iic2 addr 0x1b: RK808 >>> fanpwr0 at iic2 addr 0x40: SYR827, 1.00 VDC >>> fanpwr1 at iic2 addr 0x41: SYR828, 1.00 VDC >>> rkiic3 at mainbus0 >>> iic3 at rkiic3 >>> fusbtc0 at iic3 addr 0x22 >>> rkpwm0 at mainbus0 >>> rkpwm1 at mainbus0 >>> rkpwm2 at mainbus0 >>> "dfi" at mainbus0 not configured >>> "video-codec" at mainbus0 not configured >>> "iommu" at mainbus0 not configured >>> "video-codec" at mainbus0 not configured >>> "iommu" at mainbus0 not configured >>> "rga" at mainbus0 not configured >>> "efuse" at mainbus0 not configured >>> "dma-controller" at mainbus0 not configured >>> "dma-controller" at mainbus0 not configured >>> "watchdog" at mainbus0 not configured >>> "rktimer" at mainbus0 not configured >>> rkiis0 at mainbus0 >>> rkiis1 at mainbus0 >>> rkiis2 at mainbus0 >>> rkvop0 at mainbus0: RK3399 VOPL >>> "iommu" at mainbus0 not configured >>> rkvop1 at mainbus0: RK3399 VOPB >>> "iommu" at mainbus0 not configured >>> "iommu" at mainbus0 not configured >>> "iommu" at mainbus0 not configured >>> simpleaudio0 at mainbus0 >>> rkdwhdmi0 at mainbus0: HDMI TX >>> rkdwhdmi0: version 2.11a, phytype 0xf3 >>> "gpu" at mainbus0 not configured >>> "opp-table-0" at mainbus0 not configured >>> "opp-table-1" at mainbus0 not configured >>> "opp-table-2" at mainbus0 not configured >>> "external-gmac-clock" at mainbus0 not configured >>> gpiokeys0 at mainbus0: "GPIO Key Power" >>> "ir-receiver" at mainbus0 not configured >>> gpioleds0 at mainbus0: "work", "diy" >>> pwmfan0 at mainbus0 >>> "sdio-pwrseq" at mainbus0 not configured >>> graphaudio0 at mainbus0 >>> graphaudio1 at mainbus0 >>> "spdif-dit" at mainbus0 not configured >>> "avdd-regulator" at mainbus0 not configured >>> "vcc12v-dcin" at mainbus0 not configured >>> "vcc1v8-s3" at mainbus0 not configured >>> "vcc3v0-sd" at mainbus0 not configured >>> "vcc3v3-pcie-regulator" at mainbus0 not configured >>> "vcc3v3-sys" at mainbus0 not configured >>> "vcc5v0-host-regulator" at mainbus0 not configured >>> "vcc5v0-typec-regulator" at mainbus0 not configured >>> "vcc5v0-sys" at mainbus0 not configured >>> "vcc5v0-usb" at mainbus0 not configured >>> "binman" at mainbus0 not configured >>> "smbios" at mainbus0 not configured >>> usb4 at ohci0: USB revision 1.0 >>> uhub4 at usb4 configuration 1 interface 0 "Generic OHCI root hub" rev >>> 1.00/1.00 addr 1 >>> usb5 at ohci1: USB revision 1.0 >>> uhub5 at usb5 configuration 1 interface 0 "Generic OHCI root hub" rev >>> 1.00/1.00 addr 1 >>> audio0 at graphaudio0 >>> sdmmc0: can't enable card >>> scsibus0 at sdmmc2: 2 targets, initiator 0 >>> sd0 at scsibus0 targ 1 lun 0: <Sandisk, DA4032, 0000> removable >>> sd0: 29820MB, 512 bytes/sector, 61071360 sectors >>> vscsi0 at root >>> scsibus1 at vscsi0: 256 targets >>> softraid0 at root >>> scsibus2 at softraid0: 256 targets >>> root on sd0a (20b03047b1ce77e8.a) swap on sd0b dump on sd0b >>> WARNING: bad clock chip time >>> WARNING: CHECK AND RESET THE DATE! >>> rkvop0: using CRTC 0 for RK3399 VOPL >>> rkvop1: using CRTC 1 for RK3399 VOPB >>> drm:pid0:drm_fb_helper_find_format *WARNING* [drm] bpp/depth value of 32/24 >>> not supported >>> drm:pid0:drm_fb_helper_find_format *WARNING* [drm] bpp/depth value of 32/24 >>> not supported >>> drm:pid0:__drm_fb_helper_find_sizes *WARNING* [drm] No compatible format >>> found >>> rkdrm0: 1024x768, 32bpp >>> wsdisplay0 at rkdrm0 mux 1 >>> wsdisplay0: screen 0-5 added (std, vt100 emulation) >>> ————————————————— snip ————————————————— >>> >>> >>> >