LINUX.ORG.RU

Не могу поднять Silicom карточку(SFP+) на чипе интелла

 82599es, , , silicom


0

1

Вот и пришлось вернуться к сетям . Пишет что No_carrier и ethtool -m тоже дает laser bias нулевой

*-network:0
       description: Ethernet interface
       product: 82599ES 10-Gigabit SFI/SFP+ Network Connection
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:93:00.0
       logical name: enp199s0f0
       version: 01
       serial: 00:e0
       capacity: 10Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi msix pciexpress vpd bus_master cap_list ethernet physical fibre 10000bt-fd
       configuration: autonegotiation=off broadcast=yes driver=ixgbe driverversion=7.0.12-1-pve firmware=0x80000208 latency=0 link=no multicast=yes port=fibre
       resources: irq:668 memory:94100000-9411ffff memory:94140000-94143fff

ethtool -m enp199s0f0

        Identifier                                : 0x03 (SFP)
        Extended identifier                       : 0x04 (GBIC/SFP defined by 2-wire interface ID)
        Connector                                 : 0x07 (LC)
        Transceiver codes                         : 0x20 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
        Transceiver type                          : 10G Ethernet: 10G Base-LR
        Encoding                                  : 0x03 (NRZ)
        BR Nominal                                : 10300MBd
        Rate identifier                           : 0x00 (unspecified)
        Length (SMF)                              : 10km
        Length (OM2)                              : 0m
        Length (OM1)                              : 0m
        Length (Copper or Active cable)           : 0m
        Length (OM3)                              : 0m
        Laser wavelength                          : 1310nm
        Vendor name                               : SOURCEPHOTONICS
        Vendor OUI                                : 00:1f:22
        Vendor PN                                 : SPP10ELRCDFF
        Vendor rev                                : 10
        Option values                             : 0x00 0x1a
        Option                                    : TX_DISABLE implemented
        BR margin max                             : 0%
        BR margin min                             : 0%
        Vendor SN                                 : L8H2
        Date code                                 : 210716
        Optical diagnostics support               : Yes
        Laser bias current                        : 0.000 mA
        Laser output power                        : 0.0000 mW / -inf dBm
        Receiver signal average optical power     : 0.0000 mW / -inf dBm
        Module temperature                        : 27.18 degrees C / 80.92 degrees F
        Module voltage                            : 3.3774 V
        Alarm/warning flags implemented           : Yes
        Laser bias current high alarm             : Off
        Laser bias current low alarm              : On
        Laser bias current high warning           : Off
        Laser bias current low warning            : On
        Laser output power high alarm             : Off
        Laser output power low alarm              : On
        Laser output power high warning           : Off
        Laser output power low warning            : On
        Module temperature high alarm             : Off
        Module temperature low alarm              : Off
        Module temperature high warning           : Off
        Module temperature low warning            : Off
        Module voltage high alarm                 : Off
        Module voltage low alarm                  : Off
        Module voltage high warning               : Off
        Module voltage low warning                : Off
        Laser rx power high alarm                 : Off
        Laser rx power low alarm                  : On
        Laser rx power high warning               : Off
        Laser rx power low warning                : On
        Laser bias current high alarm threshold   : 95.000 mA
        Laser bias current low alarm threshold    : 3.000 mA
        Laser bias current high warning threshold : 90.000 mA
        Laser bias current low warning threshold  : 5.000 mA
        Laser output power high alarm threshold   : 2.2387 mW / 3.50 dBm
        Laser output power low alarm threshold    : 0.0759 mW / -11.20 dBm
        Laser output power high warning threshold : 1.7783 mW / 2.50 dBm
        Laser output power low warning threshold  : 0.0955 mW / -10.20 dBm
        Module temperature high alarm threshold   : 80.00 degrees C / 176.00 degrees F
        Module temperature low alarm threshold    : -15.00 degrees C / 5.00 degrees F
        Module temperature high warning threshold : 75.00 degrees C / 167.00 degrees F
        Module temperature low warning threshold  : -10.00 degrees C / 14.00 degrees F
        Module voltage high alarm threshold       : 3.6000 V
        Module voltage low alarm threshold        : 3.0000 V
        Module voltage high warning threshold     : 3.5500 V
        Module voltage low warning threshold      : 3.0500 V
        Laser rx power high alarm threshold       : 2.2387 mW / 3.50 dBm
        Laser rx power low alarm threshold        : 0.0182 mW / -17.40 dBm
        Laser rx power high warning threshold     : 1.7783 mW / 2.50 dBm
        Laser rx power low warning threshold      : 0.0229 mW / -16.40 dBm

P.S. ip link up и down делал, в dmesg ничего связанного с bias или power или sfp нету (

★★★★★

у меня древнючее ядро 4.12.0-1.el6.elrepo.x86_64, но суть я думаю та же

модуль ядра для карточки что при загрузке пишет в dmesg? он точно грузиться?

insmod ixgbe после dmesg
modprobe ixgbe после dmesg

lspci -v -s 05:00.0 - свой адрес pci карты подставь

SFP+ модуль в нее вставлен?

cat /etc/modprobe.d/ixgbe.conf options ixgbe allow_unsupported_sfp=1

allow_unsupported_sfp - это чтобы драйвер на не родные SFP+ модули не ругался

Vlad-76 ★★★★
()
Последнее исправление: Vlad-76 (всего исправлений: 5)
Ответ на: комментарий от Vlad-76

Да модуль на месте карту видит , sfp родные

там карта Silicom ( ее через bpctl как то шаманишь, чтобы режим менять (: )

pinachet ★★★★★
() автор топика

Вообще оказывается , карты Silicom по умолчанию работают в режиме bypass ( вопрос накуа, оставим на потом ;) )

и надо собрать модуль для ядра https://github.com/redBorder/bpctl

Грузануть его и перевести карты в нормальный режим

pinachet ★★★★★
() автор топика
Ответ на: комментарий от Enthusiast

Не я выбирал, это было до меня.И это требования такое было со стороны заказчика , Single Mode и аналог Intel Cards

pinachet ★★★★★
() автор топика
  • Markdown
Пустая строка (два раза Enter) начинает новый абзац. Знак '>' в начале абзаца выделяет абзац курсивом цитирования.
Внимание: прочитайте описание разметки Markdown.
Используйте Ctrl-Enter для размещения комментария