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

Add ipmitool support to kernel-64k #12154

Merged
merged 4 commits into from
Jan 31, 2025
Merged

Conversation

rlmenge
Copy link
Contributor

@rlmenge rlmenge commented Jan 30, 2025

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

  • The toolchain has been rebuilt successfully (or no changes were made to it)
  • The toolchain/worker package manifests are up-to-date
  • Any updated packages successfully build (or no packages were changed)
  • Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
  • Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
  • All package sources are available
  • cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
  • LICENSE-MAP files are up-to-date (./LICENSES-AND-NOTICES/SPECS/data/licenses.json, ./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md, ./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)
  • All source files have up-to-date hashes in the *.signatures.json files
  • sudo make go-tidy-all and sudo make go-test-coverage pass
  • Documentation has been updated to match any changes to the build system
  • Ready to merge

Summary

New feature.

Enable support for ipmitool. ipmitool is available through the ipmitool package on AzureLinux. The config changes in this PR ensure the devices created are visible in /dev/. From the ipmitool project: "ipmitool is a utility for managing and configuring devices that support the Intelligent Platform Management Interface. IPMI is an open standard for monitoring, logging, recovery, inventory, and control of hardware that is implemented independent of the main CPU, BIOS, and OS."

Co-authored-by: Thomas Ballasi <[email protected]>

Change Log
  • Enable ipmitool
Does this affect the toolchain?

YES

Associated issues
Test Methodology
admin@azurelinux-HIvCi9iAZHMo [ ~ ]$ uname -a
Linux azurelinux-HIvCi9iAZHMo 6.6.64.2-5.azl3 #1 SMP Thu Jan 30 20:03:49 UTC 2025 aarch64 aarch64 aarch64 GNU/Linux
admin@azurelinux-HIvCi9iAZHMo [ ~ ]$ ls /dev/ipmi0 ^C
admin@azurelinux-HIvCi9iAZHMo [ ~ ]$ ipmitool
Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory
admin@azurelinux-HIvCi9iAZHMo [ ~ ]$ sudo ipmitool
[sudo] password for admin: 
No command provided!
Commands:
        raw           Send a RAW IPMI request and print response
        i2c           Send an I2C Master Write-Read command and print response
...
 
admin@azurelinux-HIvCi9iAZHMo [ ~ ]$ sudo ipmitool fru
FRU Device Description : 
 ...
admin@azurelinux-HIvCi9iAZHMo [ ~ ]$ sudo -s
root [ /home/admin ]# cat /boot/config-6.6.64.2-5.azl3 | grep MCTP
# CONFIG_MCTP is not set
root [ /home/admin ]# 

@rlmenge rlmenge requested a review from a team as a code owner January 30, 2025 19:34
@rlmenge rlmenge changed the base branch from 3.0 to 3.0-dev January 30, 2025 19:38
@microsoft-github-policy-service microsoft-github-policy-service bot added the 3.0-dev PRs Destined for AzureLinux 3.0 label Jan 30, 2025
@rlmenge rlmenge merged commit 03217d7 into 3.0-dev Jan 31, 2025
13 checks passed
@rlmenge rlmenge deleted the rlmenge/3.0/kernel-64k/ipmitool branch January 31, 2025 16:56
binujp pushed a commit that referenced this pull request Jan 31, 2025
Enable support for ipmitool. ipmitool is available through the ipmitool package on AzureLinux. The config changes in this PR ensure the devices created are visible in /dev/. From the ipmitool project: "ipmitool is a utility for managing and configuring devices that support the Intelligent Platform Management Interface. IPMI is an open standard for monitoring, logging, recovery, inventory, and control of hardware that is implemented independent of the main CPU, BIOS, and OS."

Co-authored-by: Thomas Ballasi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.0-dev PRs Destined for AzureLinux 3.0 3.0 PRs Destined for 3.0 Packaging
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants