Skip to content
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 missing on Wedge 100BF-65X #173

Open
sandypav opened this issue Apr 18, 2018 · 8 comments
Open

sfputil missing on Wedge 100BF-65X #173

sandypav opened this issue Apr 18, 2018 · 8 comments

Comments

@sandypav
Copy link

Could you please clarify if this is a known issue and if it is planned to be fixed:

admin@switch:~$ sudo sfputil show eeprom
Failed to load platform module 'sfputil': [Errno 2] No such file or directory

@arkadiyshapiro
Copy link

I believe we have not upstreamed that part yet. yes we plan to fix it or can offer private SONiC image before fix is upstreamed.

@lguohan
Copy link
Contributor

lguohan commented Aug 4, 2018

@arkadiyshapiro , is it supported now?

@puck
Copy link

puck commented Nov 27, 2018

Any progress? I see it's missing from Wedge100 C32...

@roylee123
Copy link

Hi,
I'm trying to check this issue.
With the sonic-barefoot.bin downloaded from sonic-jenkins #14, I failed to run bf_switchd or bfshell.
It reported "Error: Connection refused" all the time.
Can you run bfshell on you Wedge100bf-32x?
If yes, how do you run it?

@rvdpdotorg
Copy link

I can run bfshell on a -32X in the docker-syncd-bfn container. It shows port info, EEPROM, etc. But I am using the 201807 branch.

@mkbalani
Copy link

mkbalani commented Dec 5, 2018

Can you try restarting syncd separately as /usr/bin/syncd_start.sh within syncd container. This shall give you more verbose output. We don't see this issue on 201807 branch of SONiC.

@mkbalani
Copy link

mkbalani commented Dec 5, 2018

For missing sfputil, as mentioned by Arkadiy, we do have a fix in a private SONiC branch/image. I'll check to see when and to what branch can we get it upstreamed to.

@roylee123
Copy link

mkbalani, I can run bfshell on image built from 201807.

For Wedge100BF-32X, I saw sfputil working well,
root@switch:/home/admin# sfputil
Usage: sfputil.py
function: sfp_dump_port
sfp_dump_all
sfp_reset
sfp_get_presence
get_low_power_mode
set_low_power_mode <lp_mode: 0/1>

I will put 65X to the test later.

By the way, I sent a PR for syseeprom and psuutil, sonic-net/sonic-buildimage#2359.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants