openbmc / phosphor-host-ipmid

dbus-based ipmid for host-endpoint IPMI commands
Apache License 2.0
36 stars 73 forks source link

Unable to enable disable SOL via IPMI #173

Open rahulmah opened 3 years ago

rahulmah commented 3 years ago

Unable to enable/disable SOL via IPMI

bash-4.2$ ipmitool -I lanplus -C 17 -N 3 -p 623 -U root -P 0penBmc -H <BMC_IP> sol info
Info: SOL parameter 'Nonvolatile Bitrate (5)' not supported
Info: SOL parameter 'Volatile Bitrate (6)' not supported
Set in progress                 : set-complete
Enabled                         : true
Force Encryption                : true
Force Authentication            : true
Privilege Level                 : USER
Character Accumulate Level (ms) : 100
Character Send Threshold        : 1
Retry Count                     : 7
Retry Interval (ms)             : 100
Volatile Bit Rate (kbps)        : IPMI-Over-Serial-Setting
Non-Volatile Bit Rate (kbps)    : IPMI-Over-Serial-Setting
Payload Channel                 : 1 (0x01)
Payload Port                    : 623

bash-4.2$ ipmitool -I lanplus -C 17 -N 3 -p 623 -U root -P 0penBmc -H <BMC_IP> sol set enabled false
Error setting SOL parameter 'set-in-progress' to 'set-in-progress': Invalid command
Error: set of parameter "enabled" failed
bash-4.2$ ipmitool -I lanplus -C 17 -N 3 -p 623 -U root -P 0penBmc -H <BMC_IP> sol info
Info: SOL parameter 'Nonvolatile Bitrate (5)' not supported
Info: SOL parameter 'Volatile Bitrate (6)' not supported
Set in progress                 : set-complete
Enabled                         : true
Force Encryption                : true
Force Authentication            : true
Privilege Level                 : USER
Character Accumulate Level (ms) : 100
Character Send Threshold        : 1
Retry Count                     : 7
Retry Interval (ms)             : 100
Volatile Bit Rate (kbps)        : IPMI-Over-Serial-Setting
Non-Volatile Bit Rate (kbps)    : IPMI-Over-Serial-Setting
Payload Channel                 : 1 (0x01)
Payload Port                    : 623

bash-4.2$ ipmitool -I lanplus -C 17 -N 3 -p 623 -U root -P 0penBmc -H <BMC_IP> sol set enabled true
Error setting SOL parameter 'set-in-progress' to 'set-in-progress': Invalid command
Error: set of parameter "enabled" failed
bash-4.2$

BMC FW:

root@witherspoon:~# cat /etc/os-release
ID=openbmc-openpower
NAME="Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro)"
VERSION="2.10.0-rc1"
VERSION_ID=2.10.0-rc1-dirty
PRETTY_NAME="Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro) 2.10.0-rc1"
BUILD_ID="2.10.0-rc1"
OPENBMC_TARGET_MACHINE="witherspoon"
rahulmah commented 3 years ago

The same problem is also seen with other SOL parameters like privilege-level and entry-count

bash-4.2$ ipmitool -I lanplus -C 17 -N 3 -p 623 -U root -P 0penBmc -H <BMC_IP> sol set privilege-level user
Info: SOL parameter 'Nonvolatile Bitrate (5)' not supported
Info: SOL parameter 'Volatile Bitrate (6)' not supported
Error setting SOL parameter 'set-in-progress' to 'set-in-progress': Invalid command
Error: set of parameter "privilege-level" failed

bash-4.2$ ipmitool -I lanplus -C 17 -N 3 -p 623 -U root -P 0penBmc -H <BMC_IP> sol set retry-count 7
Info: SOL parameter 'Nonvolatile Bitrate (5)' not supported
Info: SOL parameter 'Volatile Bitrate (6)' not supported
Error setting SOL parameter 'set-in-progress' to 'set-in-progress': Invalid command
Error: set of parameter "retry-count" failed
bash-4.2$