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

how to use ipmitool in linuxkit #3907

Open
sheepcat opened this issue Feb 6, 2023 · 1 comment
Open

how to use ipmitool in linuxkit #3907

sheepcat opened this issue Feb 6, 2023 · 1 comment

Comments

@sheepcat
Copy link

sheepcat commented Feb 6, 2023

Hi guys

i want to use ipmitool to config bmc in the linuxkit ,but it not work
because of the absense of some kernel module
how can i add ipmi_si and ipmi_devintf into the linuxlit
should i re compile the kernel ? or just install some tools by apk add.

image

with great apprecate

@deitch
Copy link
Collaborator

deitch commented Feb 12, 2023

You have two choices. You can recompile the kernel, or you can compile a kernel module separately.

My preference, whenever possible, is not to recompile the kernel, as it is a pain, and means you now need to support your own kernel.

The easier approach is to compile and load in the kernel module. You need to use the exact same version of kernel headers and compiler as was used to compile the kernel. There are detailed directions on how to do so in the docs

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