動かんと思ってたけどip link set enp11s0f1 up
したら動いた。パソコン初心者です。
機材
- x520-SR2
- DAC Twinax cable (fs.comのIntel互換品)
ドライバ
Intel x520-SR2のドライバが公式からダウロード出来る。Linuxにも入っているが古いのか動かなかった。わからん。
そのままだとビルド出来ないのでsrc/ixgbe_main.c
にパッチを当てる。
7531c7531
< rx_ring->queue_index) < 0)
---
> rx_ring->queue_index, rx_ring->q_vector->napi.napi_id) < 0)
ethtools
Settings for enp11s0f0:
Supported ports: [ FIBRE ]
Supported link modes: 10000baseT/Full
Supported pause frame use: Symmetric
Supports auto-negotiation: No
Supported FEC modes: Not reported
Advertised link modes: 10000baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: No
Advertised FEC modes: Not reported
Speed: Unknown!
Duplex: Unknown! (255)
Auto-negotiation: off
Port: Other
PHYAD: 0
Transceiver: internal
netlink error: Operation not permitted
Current message level: 0x00000007 (7)
drv probe link
Link detected: no
Settings for enp11s0f1:
Supported ports: [ FIBRE ]
Supported link modes: 10000baseT/Full
Supported pause frame use: Symmetric
Supports auto-negotiation: No
Supported FEC modes: Not reported
Advertised link modes: 10000baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: No
Advertised FEC modes: Not reported
Speed: Unknown!
Duplex: Unknown! (255)
Auto-negotiation: off
Port: Direct Attach Copper
PHYAD: 0
Transceiver: internal
netlink error: Operation not permitted
Current message level: 0x00000007 (7)
drv probe link
Link detected: no
dmesg
[ 3.133764] ixgbe: loading out-of-tree module taints kernel.
[ 3.133907] ixgbe: module verification failed: signature and/or required key missing - tainting kernel
[ 3.138141] ixgbe 0000:0b:00.0: enabling device (0000 -> 0002)
[ 3.138287] ixgbe 0000:0b:00.0 0000:0b:00.0 (uninitialized): ixgbe_check_options: FCoE Offload feature enabled
[ 4.422761] ixgbe 0000:0b:00.0: Multiqueue Enabled: Rx Queue count = 16, Tx Queue count = 16 XDP Queue count = 0
[ 4.424758] ixgbe 0000:0b:00.0: 32.000 Gb/s available PCIe bandwidth (5.0 GT/s PCIe x8 link)
[ 4.424857] ixgbe 0000:0b:00.0 eth0: MAC: 2, PHY: 1, PBA No: E68785-002
[ 4.424862] ixgbe 0000:0b:00.0: 00:1b:21:57:f0:14
[ 4.424866] ixgbe 0000:0b:00.0 eth0: Enabled Features: RxQ: 16 TxQ: 16 FdirHash
[ 4.424966] ixgbe 0000:0b:00.0 eth0: Intel(R) 10 Gigabit Network Connection
[ 4.425057] ixgbe 0000:0b:00.1: enabling device (0000 -> 0002)
[ 4.425199] ixgbe 0000:0b:00.1 0000:0b:00.1 (uninitialized): ixgbe_check_options: FCoE Offload feature enabled
[ 4.596421] ixgbe 0000:0b:00.1: Multiqueue Enabled: Rx Queue count = 16, Tx Queue count = 16 XDP Queue count = 0
[ 4.598532] ixgbe 0000:0b:00.1: 32.000 Gb/s available PCIe bandwidth (5.0 GT/s PCIe x8 link)
[ 4.598621] ixgbe 0000:0b:00.1 eth1: MAC: 2, PHY: 14, SFP+: 4, PBA No: E68785-002
[ 4.598624] ixgbe 0000:0b:00.1: 00:1b:21:57:f0:15
[ 4.598628] ixgbe 0000:0b:00.1 eth1: Enabled Features: RxQ: 16 TxQ: 16 FdirHash
[ 4.598698] ixgbe 0000:0b:00.1 eth1: Intel(R) 10 Gigabit Network Connection
[ 4.600490] ixgbe 0000:0b:00.0 enp11s0f0: renamed from eth0
[ 4.624710] ixgbe 0000:0b:00.1 enp11s0f1: renamed from eth1
systemd-networkd
enp9s11f1
にSFPが繋がっているので/etc/systemd/network/enp11s0f1.network
を以下の内容で作る
[Match]
Name=enp11s0f1
[Network]
DHCP=yes