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

kernel: disable CMDLINE_EXTEND #1473

Merged
merged 1 commit into from
Apr 9, 2021

Conversation

tjkirch
Copy link
Contributor

@tjkirch tjkirch commented Apr 9, 2021

Description of changes:

kernel: disable CMDLINE_EXTEND

This can be used to extend the kernel command line with default options.
Bottlerocket has fairly specific needs for the kernel command line, so we want
to use what we set in grub (via rpm2img) and nothing else.

In particular, the upstream aarch64 kernel config has CONFIG_CMDLINE="console=ttyAMA0", which isn't compatible with EC2 arm64 instances the way we use them - you see kernel startup messages, but nothing from systemd/journald. This only started to impact us with the kernel update in #1460 which enabled CMDLINE_EXTEND.

The x86 kernel config has no CONFIG_CMDLINE and so isn't impacted.

Testing done:

With this, on an aarch64 instance, I now see systemd/journald output in the EC2 console. Also confirmed that an x86 instance is unimpacted, and that basic functionality and health were still OK.

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

This can be used to extend the kernel command line with default options.
Bottlerocket has fairly specific needs for the kernel command line, so we want
to use what we set in grub (via rpm2img) and nothing else.
@tjkirch tjkirch added this to the 1.0.8 milestone Apr 9, 2021
@tjkirch tjkirch merged commit fee7e75 into bottlerocket-os:develop Apr 9, 2021
@tjkirch tjkirch deleted the cmdline-extend-nyet branch April 9, 2021 01:10
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

Successfully merging this pull request may close these issues.

4 participants