-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"sfputil" command can't show the information of 25G AOC properly #678
Comments
could you hexdump the raw data of the eeprom file here? |
This is cause by this issue here. Ethernet1: SFP detected Ethernet2: SFP detected Ethernet3: SFP detected Ethernet4: SFP not detected Ethernet5: SFP not detected Ethernet6: SFP not detected Ethernet7: SFP not detected Ethernet8: SFP not detected Ethernet9: SFP not detected |
thanks. then i think it is a easier issue to address. we will track the issue. |
it is probably more than that. it looks like the sff_8436_eeprom driver needs to be updated to support sfp. |
what about now?do you fix this bug now? |
@lguohan sonic-net/sonic-linux-kernel#20 related to this? |
I tested it in 1.0.3, this problem still exists. Haven't you fixed it yet? |
@lguohan @stcheng Azure/sonic-linux-kernel#20 can fix this bug? Or need platform developer to fix it? |
@wadelnn The SFP EEPROM information is still empty in platform ingrasys_s8900_64xc. Could you help to check the cause? root@sonic:/home/admin# show platform summary root@sonic:/home/admin# sfputil show eeprom -p Ethernet1 |
Hello, I faced the same issue, the reason was i have not specified the qsfp ports start and end correctly in Reference the below bugfix: |
Code snippet involved: @Property sfputilbase.py uses the same as below: def get_eeprom_dict(self, port_num): |
@wadelnn All the SFP EEPROM information has been filled now. Thanks! :) |
@liuqu: Good to hear! Can this issue be closed now? |
@roooockwell: Is this issue resolved for you? Can it be closed? |
sairedis * 248a095 2018-11-07 | Add best candidate search for acl table (sonic-net#371) [Kamil Cudnik] * d1e26c3 2018-11-07 | Ignore order when compare QOS MAP list entries (sonic-net#372) [Kamil Cudnik] * e8df347 2018-11-05 | Add best candidate search for router interface using tunnel term tabl… (sonic-net#370) [Kamil Cudnik] * 8ae173b 2018-11-01 | Refactor saidump graph generator (sonic-net#367) [Kamil Cudnik] common * 2a37c5c 2018-11-07 | Add system warm-reboot check in WarmRestart class (sonic-net#246) (HEAD, origin/master, origin/HEAD) [zhenggen-xu] * fb082b5 2018-11-06 | Fix ProducerStateTable::clear() to clear StateHash properly (sonic-net#244) [Taoyu Li] * 0ee636b 2018-11-05 | Remove local googletest submodule and link with system gtest (sonic-net#245) [Qi Luo] * b56ffba 2018-10-31 | Add NEIGH_RESTORE_TABLE in stateDB (sonic-net#243) [zhenggen-xu] * b58c69d 2018-10-28 | swss-common: add op 'create' case to avoid flush immediately (sonic-net#219) [Dong Zhang] swss * afdcf34 2018-11-12 | Support neighsyncd system warmreboot. (sonic-net#661) (HEAD, origin/master, origin/HEAD) [zhenggen-xu] * f380685 2018-11-09 | Routing-stack warm-reboot feature. (sonic-net#602) [Rodny Molina] * 9fbcb60 2018-11-09 | Add warm-reboot mode for teammgrd (sonic-net#678) [pavel-shirshov] * 8c60787 2018-11-09 | Don't add loopback ip2me route again if already configured (sonic-net#656) [Jipan Yang] * 6eb1613 2018-11-08 | [test]: Add interface IPv6 add/remove test case (sonic-net#677) [Shuotian Cheng] * 5de5054 2018-11-07 | [vrfmgrd]: Support VNET setting (sonic-net#657) [Marian Pritsak] * f666011 2018-11-06 | [teammgrd]: Add retry logic when enslaving member port into team (sonic-net#669) [Shuotian Cheng] * 36e304d 2018-11-05 | [vstest]: print output when runcmd returns error (sonic-net#672) [lguohan] * aede5d4 2018-11-05 | [test]: Fix clean up wrong interface IP (sonic-net#673) [Shuotian Cheng] * aeceaca 2018-11-02 | [portmgrd]: portmgrd shall be responsible for all ports update (sonic-net#668) [Shuotian Cheng] * 5796e54 2018-11-02 | Orchagent warm restart data restore requires three iterations (sonic-net#670) [Jipan Yang] * 15a2299 2018-11-01 | [vlanmgrd]: Do not bring up VLAN members by default (sonic-net#667) [Shuotian Cheng] * 44a4460 2018-11-01 | [test]: Clean up LAGs after finishing the test (sonic-net#666) [Shuotian Cheng] Signed-off-by: Guohan Lu <[email protected]>
sairedis * 248a095 2018-11-07 | Add best candidate search for acl table (#371) [Kamil Cudnik] * d1e26c3 2018-11-07 | Ignore order when compare QOS MAP list entries (#372) [Kamil Cudnik] * e8df347 2018-11-05 | Add best candidate search for router interface using tunnel term tabl… (#370) [Kamil Cudnik] * 8ae173b 2018-11-01 | Refactor saidump graph generator (#367) [Kamil Cudnik] common * 2a37c5c 2018-11-07 | Add system warm-reboot check in WarmRestart class (#246) (HEAD, origin/master, origin/HEAD) [zhenggen-xu] * fb082b5 2018-11-06 | Fix ProducerStateTable::clear() to clear StateHash properly (#244) [Taoyu Li] * 0ee636b 2018-11-05 | Remove local googletest submodule and link with system gtest (#245) [Qi Luo] * b56ffba 2018-10-31 | Add NEIGH_RESTORE_TABLE in stateDB (#243) [zhenggen-xu] * b58c69d 2018-10-28 | swss-common: add op 'create' case to avoid flush immediately (#219) [Dong Zhang] swss * afdcf34 2018-11-12 | Support neighsyncd system warmreboot. (#661) (HEAD, origin/master, origin/HEAD) [zhenggen-xu] * f380685 2018-11-09 | Routing-stack warm-reboot feature. (#602) [Rodny Molina] * 9fbcb60 2018-11-09 | Add warm-reboot mode for teammgrd (#678) [pavel-shirshov] * 8c60787 2018-11-09 | Don't add loopback ip2me route again if already configured (#656) [Jipan Yang] * 6eb1613 2018-11-08 | [test]: Add interface IPv6 add/remove test case (#677) [Shuotian Cheng] * 5de5054 2018-11-07 | [vrfmgrd]: Support VNET setting (#657) [Marian Pritsak] * f666011 2018-11-06 | [teammgrd]: Add retry logic when enslaving member port into team (#669) [Shuotian Cheng] * 36e304d 2018-11-05 | [vstest]: print output when runcmd returns error (#672) [lguohan] * aede5d4 2018-11-05 | [test]: Fix clean up wrong interface IP (#673) [Shuotian Cheng] * aeceaca 2018-11-02 | [portmgrd]: portmgrd shall be responsible for all ports update (#668) [Shuotian Cheng] * 5796e54 2018-11-02 | Orchagent warm restart data restore requires three iterations (#670) [Jipan Yang] * 15a2299 2018-11-01 | [vlanmgrd]: Do not bring up VLAN members by default (#667) [Shuotian Cheng] * 44a4460 2018-11-01 | [test]: Clean up LAGs after finishing the test (#666) [Shuotian Cheng] Signed-off-by: Guohan Lu <[email protected]>
* Add Warm-reboot mode for teammgrd
Advance sonic-swss-common submodule by adding the following commits 3ec30ef Deprecate RedisClient and remove unused header file (#399) 165a679 Schema update for BGP internal neighbor table (#389) 262e330 Fix SonicV2Connector interfaces (#396) Advance sonic-sairedis submodule by adding the following commits bc3e044 [Sai]: Change Sai::set log to level INFO (#680) b16bc8b Clean code: remove unused header file (#678) 40439b4 [syncd] Remove depreacated dependency on swss::RedisClient (#681) 1b6fc2e [syncd] Add supports of bulk api in syncd (#656) a9f69c1 [syncd] Add to handle FDB MOVE notification (#670) c7ef5e9 [gbsyncd] exit with zero when platform has no gearbox (#676) 57228fd [gbsyncd]: add missing python dependency (#675) 02a57a6 [vs] Add CRM SAI attributes to virtual switch interface (#673) 609445a fix boot type for fast boot (#674) 1325cdf Add support for saiplayer bulk API and add performance timers (#666) 1d84b90 Add ZeroMQ communication channel between sairedis and syncd (#659) 017056a Support System ports config (#657) 0f3668f Enable fabric counter for syncd's FlexCounter (#669)
…ic-net#5703) Advance sonic-swss-common submodule by adding the following commits 3ec30ef Deprecate RedisClient and remove unused header file (sonic-net#399) 165a679 Schema update for BGP internal neighbor table (sonic-net#389) 262e330 Fix SonicV2Connector interfaces (sonic-net#396) Advance sonic-sairedis submodule by adding the following commits bc3e044 [Sai]: Change Sai::set log to level INFO (sonic-net#680) b16bc8b Clean code: remove unused header file (sonic-net#678) 40439b4 [syncd] Remove depreacated dependency on swss::RedisClient (sonic-net#681) 1b6fc2e [syncd] Add supports of bulk api in syncd (sonic-net#656) a9f69c1 [syncd] Add to handle FDB MOVE notification (sonic-net#670) c7ef5e9 [gbsyncd] exit with zero when platform has no gearbox (sonic-net#676) 57228fd [gbsyncd]: add missing python dependency (sonic-net#675) 02a57a6 [vs] Add CRM SAI attributes to virtual switch interface (sonic-net#673) 609445a fix boot type for fast boot (sonic-net#674) 1325cdf Add support for saiplayer bulk API and add performance timers (sonic-net#666) 1d84b90 Add ZeroMQ communication channel between sairedis and syncd (sonic-net#659) 017056a Support System ports config (sonic-net#657) 0f3668f Enable fabric counter for syncd's FlexCounter (sonic-net#669)
Hi ,
I'm testing sonic on x86_64-ingrasys_s8900_54xc-r0.
There is something wrong about the display of 25G AOC using "sfputil" command. the display of 100G is ok.
root@sonic:/home/admin# sfputil
Ethernet0: SFP detected
Connector : Unknown
Encoding : Unknown
Extended Identifier : Unknown
Extended RateSelect Compliance : Unknown
Identifier : Unknown
Length Cable Assembly(m) : 255
Length OM1(m) : 255
Length OM2(m) : 255
Length OM3(2m) : 255
Length(km) : 255
Nominal Bit Rate(100Mbs) : 255
Specification compliance :
10/40G Ethernet Compliance Code : 10GBase-LR
Fibre Channel Speed : 100 Mbytes/Sec
Fibre Channel link length/Transmitter Technology : Electrical inter-enclosure (EL)
Fibre Channel transmission media : Miniature Coax (MI)
Gigabit Ethernet Compliant codes : 1000BASE-CX
SAS/SATA compliance codes : SAS 3.0G
SONET Compliance codes : 40G OTN (OTU3B/OTU3C)
Vendor Date Code(YYYY-MM-DD Lot) : 20ÿÿ-ÿÿ-ÿÿ ÿÿ
Vendor Name : ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
Vendor OUI : ff-ff-ff
Vendor PN : ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
Vendor Rev : ÿÿ
Vendor SN : ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
Ethernet1: SFP detected
Connector : Unknown
Encoding : Unknown
Extended Identifier : Unknown
Extended RateSelect Compliance : Unknown
Identifier : Unknown
Length Cable Assembly(m) : 255
Length OM1(m) : 255
Length OM2(m) : 255
Length OM3(2m) : 255
Length(km) : 255
Nominal Bit Rate(100Mbs) : 255
Specification compliance :
10/40G Ethernet Compliance Code : 10GBase-LR
Fibre Channel Speed : 100 Mbytes/Sec
Fibre Channel link length/Transmitter Technology : Electrical inter-enclosure (EL)
Fibre Channel transmission media : Miniature Coax (MI)
Gigabit Ethernet Compliant codes : 1000BASE-CX
SAS/SATA compliance codes : SAS 3.0G
SONET Compliance codes : 40G OTN (OTU3B/OTU3C)
Vendor Date Code(YYYY-MM-DD Lot) : 20ÿÿ-ÿÿ-ÿÿ ÿÿ
Vendor Name : ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
Vendor OUI : ff-ff-ff
Vendor PN : ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
Vendor Rev : ÿÿ
Vendor SN : ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
Ethernet2: SFP detected
Connector : Unknown
Encoding : Unknown
Extended Identifier : Unknown
Extended RateSelect Compliance : Unknown
Identifier : Unknown
Length Cable Assembly(m) : 255
Length OM1(m) : 255
Length OM2(m) : 255
Length OM3(2m) : 255
Length(km) : 255
Nominal Bit Rate(100Mbs) : 255
Specification compliance :
10/40G Ethernet Compliance Code : 10GBase-LR
Fibre Channel Speed : 100 Mbytes/Sec
Fibre Channel link length/Transmitter Technology : Electrical inter-enclosure (EL)
Fibre Channel transmission media : Miniature Coax (MI)
Gigabit Ethernet Compliant codes : 1000BASE-CX
SAS/SATA compliance codes : SAS 3.0G
SONET Compliance codes : 40G OTN (OTU3B/OTU3C)
Vendor Date Code(YYYY-MM-DD Lot) : 20ÿÿ-ÿÿ-ÿÿ ÿÿ
Vendor Name : ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
Vendor OUI : ff-ff-ff
Vendor PN : ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
Vendor Rev : ÿÿ
Vendor SN : ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
Ethernet3: SFP detected
Connector : Unknown
Encoding : Unknown
Extended Identifier : Unknown
Extended RateSelect Compliance : Unknown
Identifier : Unknown
Length Cable Assembly(m) : 255
Length OM1(m) : 255
Length OM2(m) : 255
Length OM3(2m) : 255
Length(km) : 255
Nominal Bit Rate(100Mbs) : 255
Specification compliance :
10/40G Ethernet Compliance Code : 10GBase-LR
Fibre Channel Speed : 100 Mbytes/Sec
Fibre Channel link length/Transmitter Technology : Electrical inter-enclosure (EL)
Fibre Channel transmission media : Miniature Coax (MI)
Gigabit Ethernet Compliant codes : 1000BASE-CX
SAS/SATA compliance codes : SAS 3.0G
SONET Compliance codes : 40G OTN (OTU3B/OTU3C)
Vendor Date Code(YYYY-MM-DD Lot) : 20ÿÿ-ÿÿ-ÿÿ ÿÿ
Vendor Name : ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
Vendor OUI : ff-ff-ff
Vendor PN : ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
Vendor Rev : ÿÿ
Vendor SN : ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
Ethernet4: SFP detected
Connector : Unknown or unspecified
Encoding : Unspecified
Extended Identifier : Unknown
Extended RateSelect Compliance : QSFP+ Rate Select Version 1
Identifier : Unknown or unspecified
Specification compliance :
Vendor Date Code(YYYY-MM-DD Lot) : 20--
Vendor Name :
Vendor OUI : 00-00-00
Vendor PN :
Vendor Rev :
Vendor SN :
Ethernet5: SFP detected
Connector : Unknown or unspecified
Encoding : Unspecified
Extended Identifier : Unknown
Extended RateSelect Compliance : QSFP+ Rate Select Version 1
Identifier : Unknown or unspecified
Specification compliance :
Vendor Date Code(YYYY-MM-DD Lot) : 20--
Vendor Name :
Vendor OUI : 00-00-00
Vendor PN :
Vendor Rev :
Vendor SN :
Ethernet6: SFP detected
Connector : Unknown or unspecified
Encoding : Unspecified
Extended Identifier : Unknown
Extended RateSelect Compliance : QSFP+ Rate Select Version 1
Identifier : Unknown or unspecified
Specification compliance :
Vendor Date Code(YYYY-MM-DD Lot) : 20--
Vendor Name :
Vendor OUI : 00-00-00
Vendor PN :
Vendor Rev :
Vendor SN :
Ethernet7: SFP detected
Connector : Unknown or unspecified
Encoding : Unspecified
Extended Identifier : Unknown
Extended RateSelect Compliance : QSFP+ Rate Select Version 1
Identifier : Unknown or unspecified
Specification compliance :
Vendor Date Code(YYYY-MM-DD Lot) : 20--
Vendor Name :
Vendor OUI : 00-00-00
Vendor PN :
Vendor Rev :
Vendor SN :
The text was updated successfully, but these errors were encountered: