dentproject / dentOS

dentOS SwitchDev based NOS
Other
209 stars 60 forks source link

GBIC module Intel FTLX8571D3BCV-IT does not work #264

Open paulmenzel opened 1 year ago

paulmenzel commented 1 year ago

On the Edgecore AS5114-48X using DentOS (DENT OS DENTOS-HEAD, 2023-06-22.21:43-d97c46b), the GBIC below is recognized but does not work otherwise. The link stays down:

[3878928.624898] sfp sfp-18: module Intel Corp       FTLX8571D3BCV-IT rev A    sn ASS1D2Z          dc 141230  
[3878928.634759] Aldrin2 0000:01:00.0 swp18: switched to inband/10gbase-r link mode

Excerpt from onlpdump:

# onlpdump
   System Information: = {
       Product Name: AS5114-48X-O-AC-F-EC
       Part Number: FP1EC5114001Z
       Serial Number: 511448X2042091
       MAC: 34:ef:b6:ec:30:e6
       MAC Range: 65
       Manufacturer: Accton
       Manufacture Date: 11/04/2020 11:21:24
       Vendor: Edgecore
       Platform Name: arm64-accton_as5114_48x-r0
       Label Revision: R01A
       Country Code: TW
       Diag Version: 00.0b.01.01
       ONIE Version: 2020.02.00.10
   }
[…]
Port 18: Present, Status = 0x00000004 [ RX_LOS ]
eeprom:
  0000: 03 04 07 10 00 00 01 00 00 00 00 06 67 02 00 00 
  0010: 08 03 00 1e 49 6e 74 65 6c 20 43 6f 72 70 20 20 
  0020: 20 20 20 20 00 00 1b 21 46 54 4c 58 38 35 37 31 
  0030: 44 33 42 43 56 2d 49 54 41 20 20 20 03 52 00 88 
  0040: 00 3a 00 00 41 53 53 31 44 32 5a 20 20 20 20 20 
  0050: 20 20 20 20 31 34 31 32 33 30 20 20 68 fa 03 12 
  0060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
  0070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
  0080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
  0090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
  00a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
  00b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
  00c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
  00d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
  00e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
  00f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[…]
KanjiMonster commented 1 year ago

I just checked and we actually have this exact module (well no idea if rev A) in our testing lab in a different switch (non DentOS), so I can check tomorrow how it behaves in a Delta TN48M-DN.

KanjiMonster commented 1 year ago

Checked the module and it works. That being said it identifies as intel

[   28.631707] sfp sfp-49: module Intel Corp       FTLX8571D3BCV-IT rev A    sn INSSRI30016      dc 100913  
...
[   98.535468] AC3x B2B 98DX3265 0000:01:00.0 swp49: configuring for inband/10gbase-r link mode
[   99.300983] AC3x B2B 98DX3265 0000:01:00.0 swp49: Link is Up - 10Gbps/Full - flow control off

but labeling on the module is 10Gtek, so it only pretends to be one.

At least it does care about TX_DISABLE:

root@localhost:/sys/module/arm64_delta_tn48m_dn_cpld/drivers/i2c:arm64_delta_tn48m_dn_cpld/0-0041# echo 1 > module_tx_dis_1
[  372.460675] AC3x B2B 98DX3265 0000:01:00.0 swp49: Link is Down
root@localhost:/sys/module/arm64_delta_tn48m_dn_cpld/drivers/i2c:arm64_delta_tn48m_dn_cpld/0-0041# echo 0 > module_tx_dis_1
root@localhost:/sys/module/arm64_delta_tn48m_dn_[  386.464835] AC3x B2B 98DX3265 0000:01:00.0 swp49: Link is Up - 10Gbps/Full - flow control off

though probably not that helpful, since this isn't a genuine intel module.

As you can see, this is a AC3X, not a Aldrin2 though.

paulmenzel commented 1 month ago

It also work on the TN48M-P-DN for us.