-
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
question about eeprom.py and sfputil.py #1461
Comments
@ForzaTian, we've pulled / tested ##### root@sonic:/home/admin# sudo sfputil version root@sonic:/home/admin# show ver |
@pollyhsu2git thanks for your timely reply. Thanks again for your info. |
@ForzaTian, NO~ We did not do any particular before the |
@ForzaTian , you can also download the latest image from https://sonic-jenkins.westus2.cloudapp.azure.com/job/broadcom/job/buildimage-brcm-all/ Does that work? |
@lguohan Thanks for your reply. May I ask one more question? |
Hi all: |
Updated with following commits: 19d4042 - 2021-03-16 : Add self timeout and crash if exceeded. (#1502) [Renuka Manavalan] aa71231 - 2021-03-16 : [reboot]: Stop mux before reboot on dual ToR (#1500) [Lawrence Lee] fbad274 - 2021-03-16 : Add 'show' and 'clear' command for PG drop (#1461) [Andriy Yurkiv] 0de99c3 - 2021-03-12 : [decode-syseeprom] When reading from DB, display CRC-32 and all Vendor Extensions (#1497) [Joe LeVeque] 569a079 - 2021-03-12 : [decode-syseeprom] When reading from DB, display CRC-32 and all Vendor Extensions (#1497) [Joe LeVeque] 47d1a14 - 2021-03-12 : [generate-dump] Remove Arista specific logic (#1482) [Samuel Angebault] 1260f90 - 2021-03-12 : [warm-reboot]: Check empty key before issuing redis hget (#1496) [Vaibhav Hemant Dixit]
…or 202012 sonic-swss * [nbrmgrd] added function to parse IP address from APP_DB (sonic-net#1672) * [MUX/PFCWD] Use in_ports for acls instead of seperate ACL table (sonic-net#1670) * [mux] VS test for neigh, route and fdb (sonic-net#1656) * [Dynamic buffer calc] Bug fix: Remove PGs from an administratively down port. (sonic-net#1652) * spell check fixes (sonic-net#1630) sonic-utilities * [reboot]: Stop mux before reboot on dual ToR (sonic-net#1500) * [config] Disable/enable container monitoring when stopping/starting services (sonic-net#1499) * Add 'show' and 'clear' command for PG drop (sonic-net#1461) * [CLI][techsupport] Add NOOP option for commands that did not have that option (sonic-net#1445) * [202012][reload] Improve reload by using sonic.target (sonic-net#1509) Signed-off-by: Danny Allen <[email protected]>
…or 202012 (#7105) sonic-swss * [nbrmgrd] added function to parse IP address from APP_DB (#1672) * [MUX/PFCWD] Use in_ports for acls instead of seperate ACL table (#1670) * [mux] VS test for neigh, route and fdb (#1656) * [Dynamic buffer calc] Bug fix: Remove PGs from an administratively down port. (#1652) * spell check fixes (#1630) sonic-utilities * [reboot]: Stop mux before reboot on dual ToR (#1500) * [config] Disable/enable container monitoring when stopping/starting services (#1499) * Add 'show' and 'clear' command for PG drop (#1461) * [CLI][techsupport] Add NOOP option for commands that did not have that option (#1445) * [202012][reload] Improve reload by using sonic.target (#1509) Signed-off-by: Danny Allen <[email protected]>
* What I did Added new CLI commands to view and clear PG dropped packet statistics. Added the new CLI commands to the command reference guide. * How I did it I have added script which can generate table that shows current PG dropped packet statistic and also can clean it Clean and Show is implemented with using serialized stats from previous execution. To calculate current stats we do next step: - take old serialized data (if no 'clear' executed all serialized data is 0) - take current stat - show diff between current and old * How to verify it run show priority-group drop counters - show current stat sonic-clear priority-group drop counters - clear current stat * New command output (if the output of a command-line utility has changed) show priority-group drop counters Ingress PG dropped packets: Port PG0 PG1 PG2 PG3 PG4 PG5 PG6 PG7 --------- ----- ----- ----- ----- ----- ----- ----- ----- Ethernet0 800 801 802 803 804 805 806 807 Ethernet4 400 401 402 403 404 405 406 407 Ethernet8 100 101 102 103 104 105 106 107 ... sonic-clear priority-group drop counters Cleared PG drop counters Co-authored-by: ayurkiv <[email protected]>
Updated with following commits: 19d4042 - 2021-03-16 : Add self timeout and crash if exceeded. (sonic-net#1502) [Renuka Manavalan] aa71231 - 2021-03-16 : [reboot]: Stop mux before reboot on dual ToR (sonic-net#1500) [Lawrence Lee] fbad274 - 2021-03-16 : Add 'show' and 'clear' command for PG drop (sonic-net#1461) [Andriy Yurkiv] 0de99c3 - 2021-03-12 : [decode-syseeprom] When reading from DB, display CRC-32 and all Vendor Extensions (sonic-net#1497) [Joe LeVeque] 569a079 - 2021-03-12 : [decode-syseeprom] When reading from DB, display CRC-32 and all Vendor Extensions (sonic-net#1497) [Joe LeVeque] 47d1a14 - 2021-03-12 : [generate-dump] Remove Arista specific logic (sonic-net#1482) [Samuel Angebault] 1260f90 - 2021-03-12 : [warm-reboot]: Check empty key before issuing redis hget (sonic-net#1496) [Vaibhav Hemant Dixit]
Updated with following commits: 19d4042 - 2021-03-16 : Add self timeout and crash if exceeded. (sonic-net#1502) [Renuka Manavalan] aa71231 - 2021-03-16 : [reboot]: Stop mux before reboot on dual ToR (sonic-net#1500) [Lawrence Lee] fbad274 - 2021-03-16 : Add 'show' and 'clear' command for PG drop (sonic-net#1461) [Andriy Yurkiv] 0de99c3 - 2021-03-12 : [decode-syseeprom] When reading from DB, display CRC-32 and all Vendor Extensions (sonic-net#1497) [Joe LeVeque] 569a079 - 2021-03-12 : [decode-syseeprom] When reading from DB, display CRC-32 and all Vendor Extensions (sonic-net#1497) [Joe LeVeque] 47d1a14 - 2021-03-12 : [generate-dump] Remove Arista specific logic (sonic-net#1482) [Samuel Angebault] 1260f90 - 2021-03-12 : [warm-reboot]: Check empty key before issuing redis hget (sonic-net#1496) [Vaibhav Hemant Dixit]
Description
Can't execute eeprom.py and sfputil.py
Steps to reproduce the issue:
Describe the results you received:
admin@sonic:
$ ls /usr/share/sonic/device/x86_64-delta_dsc100-r0/plugins/$ sudo decode-syseepromeeprom.py sfputil.py
admin@sonic:
/usr/bin/decode-syseeprom : ERROR : cannot load module: /usr/share/sonic/device/"x86_64-delta_dsc100-r0"/plugins/eeprom.py
admin@sonic:~$ sudo sfputil version
Failed to load platform module 'sfputil': [Errno 2] No such file or directory
In fact I see the closed issue #1433 ,
may be it's the same case with me in sfputil.py, and I pull the commit in sonic-utilities, but didn't solve my problem.
So I want to know whether I missed something, any advice?
Thanks for everyone.
Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: