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

mellanox 2700 platform sensor does not have PSU information. #67

Closed
lguohan opened this issue Apr 15, 2017 · 2 comments
Closed

mellanox 2700 platform sensor does not have PSU information. #67

lguohan opened this issue Apr 15, 2017 · 2 comments

Comments

@lguohan
Copy link
Contributor

lguohan commented Apr 15, 2017

PSU information is gone in new version.

Below is the output from

ii hw-management 1.mlnx.15.11.15 amd64 Hardware Management kernel drivers

dps460-i2c-10-59
Adapter: i2c-1-mux (chan_id 0)
vin:         +209.25 V  (crit min =  +0.00 V, min =  +0.00 V)
                       (max =  +0.00 V, crit max =  +0.00 V)
vcap:         +0.00 V  
vout1:       +12.01 V  (crit min = +10.50 V, min =  +0.00 V)
                       (max =  +0.00 V, crit max =  +0.00 V)
fan1:        1830 RPM
temp1:        +41.0 C  (low  =  +0.0 C, high = +100.0 C)
                       (crit low =  +0.0 C, crit =  +0.0 C)
temp2:        +43.5 C  (low  =  +0.0 C, high = +100.0 C)
                       (crit low =  +0.0 C, crit =  +0.0 C)
temp3:         +0.0 C  (low  =  +0.0 C, high = +100.0 C)
                       (crit low =  +0.0 C, crit =  +0.0 C)
pin:          46.25 W  (max = 675.00 W)
pout1:        34.50 W  (max = 564.00 W, crit =   0.00 W)
                       (cap =   0.00 W)
iin:          +0.23 A  (max =  +3.75 A, crit max =  +4.00 A)
iout1:        +2.88 A  (crit min =  +0.00 A, max = +47.00 A)
                       (crit max = +50.00 A)

dps460-i2c-10-58
Adapter: i2c-1-mux (chan_id 0)
vin:         +209.25 V  (crit min =  +0.00 V, min =  +0.00 V)
                       (max =  +0.00 V, crit max =  +0.00 V)
vcap:         +0.00 V  
vout1:       +12.00 V  (crit min = +10.50 V, min =  +0.00 V)
                       (max =  +0.00 V, crit max =  +0.00 V)
fan1:        1800 RPM
temp1:        +42.0 C  (low  =  +0.0 C, high = +100.0 C)
                       (crit low =  +0.0 C, crit =  +0.0 C)
temp2:        +45.0 C  (low  =  +0.0 C, high = +100.0 C)
                       (crit low =  +0.0 C, crit =  +0.0 C)
temp3:         +0.0 C  (low  =  +0.0 C, high = +100.0 C)
                       (crit low =  +0.0 C, crit =  +0.0 C)
pin:          52.00 W  (max = 675.00 W)
pout1:        40.44 W  (max = 564.00 W, crit =   0.00 W)
                       (cap =   0.00 W)
iin:          +0.26 A  (max =  +3.75 A, crit max =  +4.00 A)
iout1:        +3.38 A  (crit min =  +0.00 A, max = +47.00 A)
                       (crit max = +50.00 A)

admin@str-msn2700-05:/bsp/power$ ls /sys/bus/i2c/devices/10-0059/hwmon
ls: cannot access /sys/bus/i2c/devices/10-0059/hwmon: No such file or directory

@lguohan
Copy link
Contributor Author

lguohan commented Apr 15, 2017

it looks like there is a bug in msn2700 start script. we need add this psu_control_driver=dps460, currently it is not there.

        if is_module mlnx_cpld_drv; then
                log_warning_msg "mlnx_cpld_drv module has already been loaded"
        else
                if modprobe mlnx_cpld_drv psu_control_driver=dps460 2>/dev/null; then
                        log_success_msg "mlnx_cpld_drv module load passed"
                else
                        log_failure_msg "mlnx_cpld_drv module load failed"
                fi
        fi

@stcheng stcheng added the bug label Apr 15, 2017
@oleksandrivantsiv oleksandrivantsiv self-assigned this Apr 25, 2017
@liatgrozovik
Copy link

fixed by sonic-net/sonic-buildimage#541

@lguohan lguohan closed this as completed Aug 21, 2018
michaelli10 pushed a commit to michaelli10/SONiC that referenced this issue May 23, 2020
* Update gNMI sections
* Address comments
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

4 participants