Mikrotik RB2004 PCI card show no interfaces in Proxmox

Happy

Active Member
Jun 21, 2018
7
0
41
58
Hello!

First to say: I am no linux expert. I have a setup with the Mikrotik RB2004 PCI card in an MSI mother board with an AMD CPU. I can see the interfaces of the card with "lspci" but they not shown in proxmox. I did anything I found in the net: Without success. What can I do?

05:00.0 Ethernet controller: Qualcomm Atheros AR8151 v2.0 Gigabit Ethernet
05:00.1 Ethernet controller: Qualcomm Atheros AR8151 v2.0 Gigabit Ethernet
05:00.2 Ethernet controller: Qualcomm Atheros AR8151 v2.0 Gigabit Ethernet
05:00.3 Ethernet controller: Qualcomm Atheros AR8151 v2.0 Gigabit Ethernet

5:00.0 Ethernet controller [0200]: Qualcomm Atheros AR8151 v2.0 Gigabit Ethernet [1969:1083]
Kernel modules: atl1c
05:00.1 Ethernet controller [0200]: Qualcomm Atheros AR8151 v2.0 Gigabit Ethernet [1969:1083]
Kernel modules: atl1c
05:00.2 Ethernet controller [0200]: Qualcomm Atheros AR8151 v2.0 Gigabit Ethernet [1969:1083]
Kernel modules: atl1c
05:00.3 Ethernet controller [0200]: Qualcomm Atheros AR8151 v2.0 Gigabit Ethernet [1969:1083]
Kernel modules: atl1c

root@pve:~# lsmod | grep atl
atl1c 69632 0

???
 
Last edited:
it is not proxmox related. try to boot the new xubuntu to see if it's detected. card is nice,but not much support.
or simply install a vm win-server and passthrough the card to it.
 
this card has been around forever, it should have native linux kernel driver in 3.17 +, its confirmed working in debian 12 and ubuntu 20.04, not sure why its not showing as a network device.

can you provide the output of:
ip link show
lshw -class network

if it shows up there, you might just need to manually make the config file.
 
Maybe because this


263.946900] pci 0000:04:00.0: [1969:1083] type 00 class 0x020000 PCIe Endpoint
[ 263.946926] pci 0000:04:00.0: BAR 0 [mem 0x00000000-0x0000ffff 64bit]
[ 263.946997] pci 0000:04:00.0: [Firmware Bug]: disabling VPD access (can't determine size of non-standard VPD format)
[ 263.947065] pci 0000:04:00.0: PME# supported from D0
[ 263.947123] pci 0000:04:00.0: 7.876 Gb/s available PCIe bandwidth, limited by 8.0 GT/s PCIe x1 link at 0000:03:00.0 (capable of 63.008 Gb/s with 8.0 GT/s PCIe x8 link)
[ 263.947257] pci 0000:04:00.1: [1969:1083] type 00 class 0x020000 PCIe Endpoint
[ 263.947277] pci 0000:04:00.1: BAR 0 [mem 0x00000000-0x0000ffff 64bit]
[ 263.947329] pci 0000:04:00.1: [Firmware Bug]: disabling VPD access (can't determine size of non-standard VPD format)
[ 263.947392] pci 0000:04:00.1: PME# supported from D0
[ 263.947507] pci 0000:04:00.2: [1969:1083] type 00 class 0x020000 PCIe Endpoint
[ 263.947527] pci 0000:04:00.2: BAR 0 [mem 0x00000000-0x0000ffff 64bit]
[ 263.947577] pci 0000:04:00.2: [Firmware Bug]: disabling VPD access (can't determine size of non-standard VPD format)
[ 263.947631] pci 0000:04:00.2: PME# supported from D0
[ 263.947752] pci 0000:04:00.3: [1969:1083] type 00 class 0x020000 PCIe Endpoint
[ 263.947772] pci 0000:04:00.3: BAR 0 [mem 0x00000000-0x0000ffff 64bit]
[ 263.947822] pci 0000:04:00.3: [Firmware Bug]: disabling VPD access (can't determine size of non-standard VPD format)
[ 263.947876] pci 0000:04:00.3: PME# supported from D0
[ 264.008967] pcieport 0000:03:00.0: bridge window [mem size 0x00100000]: can't assign; no space
[ 264.008970] pcieport 0000:03:00.0: bridge window [mem size 0x00100000]: failed to assign
[ 264.008972] pci 0000:04:00.0: BAR 0 [mem size 0x00010000 64bit]: can't assign; no space
[ 264.008973] pci 0000:04:00.0: BAR 0 [mem size 0x00010000 64bit]: failed to assign
[ 264.008975] pci 0000:04:00.1: BAR 0 [mem size 0x00010000 64bit]: can't assign; no space
[ 264.008976] pci 0000:04:00.1: BAR 0 [mem size 0x00010000 64bit]: failed to assign
[ 264.008977] pci 0000:04:00.2: BAR 0 [mem size 0x00010000 64bit]: can't assign; no space
[ 264.008978] pci 0000:04:00.2: BAR 0 [mem size 0x00010000 64bit]: failed to assign
[ 264.008979] pci 0000:04:00.3: BAR 0 [mem size 0x00010000 64bit]: can't assign; no space


root@pve:~# ip link show


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: enp7s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UP mode DEFAULT group default qlen 1000
link/ether 74:56:3c:c7:64:95 brd ff:ff:ff:ff:ff:ff
3: wlp6s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether bc:c7:46:9b:0f:14 brd ff:ff:ff:ff:ff:ff
4: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000 link/ether 74:56:3c:c7:64:95 brd ff:ff:ff:ff:ff:ff
5: tap100i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master fwbr100i0 state UNKNOWN mode DEFAULT group default qlen 1000 link/ether 3e:aa:f3:7d:d3:d6 brd ff:ff:ff:ff:ff:ff
6: fwbr100i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
link/ether de:37:b6:c8:59:78 brd ff:ff:ff:ff:ff:ff
7: fwpr100p0@fwln100i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master vmbr0 state UP mode DEFAULT group default qlen 1000 link/ether de:12:e9:31:fb:5a brd ff:ff:ff:ff:ff:ff
8: fwln100i0@fwpr100p0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr100i0 state UP mode DEFAULT group default qlen 1000 link/ether de:37:b6:c8:59:78 brd ff:ff:ff:ff:ff:ff
9: tap102i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master fwbr102i0 state UNKNOWN mode DEFAULT group default qlen 1000 link/ether fa:53:ac:ea:49:ff brd ff:ff:ff:ff:ff:ff
10: fwbr102i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000 link/ether 0e:92:2b:e6:c5:5b brd ff:ff:ff:ff:ff:ff
11: fwpr102p0@fwln102i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master vmbr0 state UP mode DEFAULT group default qlen 1000 link/ether 7e:f6:80:0e:19:82 brd ff:ff:ff:ff:ff:ff
12: fwln102i0@fwpr102p0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr102i0 state UP mode DEFAULT group default qlen 1000 link/ether 0e:92:2b:e6:c5:5b brd ff:ff:ff:ff:ff:ff
13: tap103i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN mode DEFAULT group default qlen 1000 link/ether 1e:3f:d3:59:a7:45 brd ff:ff:ff:ff:ff:ff
14: tap106i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN mode DEFAULT group default qlen 1000 link/ether 8a:2b:54:4b:fa:78 brd ff:ff:ff:ff:ff:f

[ 264.008980] pci 0000:04:00.3: BAR 0 [mem size 0x00010000 64bit]: failed to assign

[ 264.009048] atl1c 0000:04:00.0: can't ioremap BAR 0: [??? 0x00000000 flags 0x0]

[ 264.009050] atl1c 0000:04:00.0: cannot map device registers

[ 264.009073] atl1c: probe of 0000:04:00.0 failed with error -5

[ 264.009118] atl1c 0000:04:00.1: can't ioremap BAR 0: [??? 0x00000000 flags 0x0]

[ 264.009119] atl1c 0000:04:00.1: cannot map device registers

[ 264.009141] atl1c: probe of 0000:04:00.1 failed with error -5

[ 264.009182] atl1c 0000:04:00.2: can't ioremap BAR 0: [??? 0x00000000 flags 0x0]

[ 264.009183] atl1c 0000:04:00.2: cannot map device registers

[ 264.009204] atl1c: probe of 0000:04:00.2 failed with error -5

[ 264.009238] atl1c 0000:04:00.3: can't ioremap BAR 0: [??? 0x00000000 flags 0x0]

[ 264.009240] atl1c 0000:04:00.3: cannot map device registers

[ 264.009261] atl1c: probe of 0000:04:00.3 failed with error -5


[ 451.280286] atl1c 0000:04:00.0: can't ioremap BAR 0: [??? 0x00000000 flags 0x0]


[ 451.280291] atl1c 0000:04:00.0: cannot map device registers


[ 451.280314] atl1c: probe of 0000:04:00.0 failed with error -5


[ 451.280354] atl1c 0000:04:00.1: can't ioremap BAR 0: [??? 0x00000000 flags 0x0]


[ 451.280355] atl1c 0000:04:00.1: cannot map device registers


[ 451.280376] atl1c: probe of 0000:04:00.1 failed with error -5


[ 451.280406] atl1c 0000:04:00.2: can't ioremap BAR 0: [??? 0x00000000 flags 0x0]


[ 451.280407] atl1c 0000:04:00.2: cannot map device registers


[ 451.280428] atl1c: probe of 0000:04:00.2 failed with error -5


[ 451.280457] atl1c 0000:04:00.3: can't ioremap BAR 0: [??? 0x00000000 flags 0x0]


[ 451.280459] atl1c 0000:04:00.3: cannot map device registers


[ 451.280479] atl1c: probe of 0000:04:00.3 failed with error -5


[ 1342.774935] r8169 0000:07:00.0: invalid VPD tag 0x00 (size 0) at offset 0; assume missing optional EEPROM
 
ohhhh, yeah that would do it.

with the invalid VPD tag this reads to me as a firmware failure. i would check if the PCIe card has a firmware update, but i dont think this is on proxmox, but to rule it out, booting to ubuntu desktop and seeing if you get the same results would be a valid troubleshooting step.
 
I made a support ticket at mikrotik. The card has the latest firmware. I spent a lot of time to make this card run... :-(
 
Problem is solved. It is an Level 8 problem :) It was the mainboard GIGABYTE. System is now working