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

Feature Request: dracut integration #29

Open
emansom opened this issue Oct 18, 2023 · 1 comment
Open

Feature Request: dracut integration #29

emansom opened this issue Oct 18, 2023 · 1 comment

Comments

@emansom
Copy link
Contributor

emansom commented Oct 18, 2023

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.

@petersulyok
Copy link
Owner

petersulyok commented Oct 18, 2023

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.

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

No branches or pull requests

2 participants