smfc
smfc copied to clipboard
Feature Request: dracut integration
During boot and reboot cycles the fans will blast at 100% as SMFC isn't running yet.
This can be rather annoying, especially when the server has rebooted itself (e.g. watchdog after kernel panic) and it's waiting on a LUKS key phrase.
Implementing a dracut module would resolve this.
I think the spinning up of the fans made by SMFC itself when it set IPMI to FULL mode (if it was in a different one).
# Create an Ipmi class instances and set required IPMI fan mode.
try:
my_ipmi = Ipmi(my_log, my_config)
old_mode = my_ipmi.get_fan_mode()
except (ValueError, FileNotFoundError) as e:
my_log.msg(my_log.LOG_ERROR, f'{e}.')
sys.exit(7)
my_log.msg(my_log.LOG_DEBUG, f'Old IPMI fan mode = {my_ipmi.get_fan_mode_name(old_mode)}')
if old_mode != my_ipmi.FULL_MODE:
my_ipmi.set_fan_mode(my_ipmi.FULL_MODE)
my_log.msg(my_log.LOG_DEBUG, f'New IPMI fan mode = {my_ipmi.get_fan_mode_name(my_ipmi.FULL_MODE)}')
You can give a try with disabling SMFC and check the booting process.
If SMFC is enabled sometimes I can do a full boot cycle without fans at 100%, sometimes I cannot. It is not consistent.