-
Notifications
You must be signed in to change notification settings - Fork 62
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
serial console setting does not work with --extra-agent-kernel-args #251
Comments
I will look into overriding defaults |
This allows to override default options (e.g. `console=ttyS0`) with provided values. Make sure that full value is given for each option, as any default values for the option are dropped if specified in `--extra-agent-kernel-args`, e.g. `--extra-agent-kernel-args=console=ttyS1`. Fixes siderolabs#251 Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
with the test image, |
Wrap it in quotes: |
I believe 115200 should be default, so you can skip it. @abckey does it fix the console for you? |
It seems 9600 is the default,it works only with my old HP servers, my newer servers need 115200 to work. |
@abckey I'll do more testing today and I will get back to you |
This allows to override default options (e.g. `console=ttyS0`) with provided values. Make sure that full value is given for each option, as any default values for the option are dropped if specified in `--extra-agent-kernel-args`, e.g. `--extra-agent-kernel-args "console=tty0 console=ttyS1 panic=5"`. See also siderolabs/go-procfs#5 Fixes siderolabs#251 Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
@abckey I have a new image This changes format for
(just use spaces to separate different options) |
@smira it works now as expected.
I got in kernal cmdline:
|
Thanks, we'll get into the next release |
This allows to override default options (e.g. `console=ttyS0`) with provided values. Make sure that full value is given for each option, as any default values for the option are dropped if specified in `--extra-agent-kernel-args`, e.g. `--extra-agent-kernel-args "console=tty0 console=ttyS1 panic=5"`. See also siderolabs/go-procfs#5 Fixes siderolabs#251 Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
This allows to override default options (e.g. `console=ttyS0`) with provided values. Make sure that full value is given for each option, as any default values for the option are dropped if specified in `--extra-agent-kernel-args`, e.g. `--extra-agent-kernel-args "console=tty0 console=ttyS1 panic=5"`. See also siderolabs/go-procfs#5 Fixes siderolabs#251 Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
This allows to override default options (e.g. `console=ttyS0`) with provided values. Make sure that full value is given for each option, as any default values for the option are dropped if specified in `--extra-agent-kernel-args`, e.g. `--extra-agent-kernel-args "console=tty0 console=ttyS1 panic=5"`. See also siderolabs/go-procfs#5 Fixes siderolabs#251 Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
This allows to override default options (e.g. `console=ttyS0`) with provided values. Make sure that full value is given for each option, as any default values for the option are dropped if specified in `--extra-agent-kernel-args`, e.g. `--extra-agent-kernel-args "console=tty0 console=ttyS1 panic=5"`. See also siderolabs/go-procfs#5 Fixes siderolabs#251 Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
This allows to override default options (e.g. `console=ttyS0`) with provided values. Make sure that full value is given for each option, as any default values for the option are dropped if specified in `--extra-agent-kernel-args`, e.g. `--extra-agent-kernel-args "console=tty0 console=ttyS1 panic=5"`. See also siderolabs/go-procfs#5 Fixes siderolabs#251 Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
This allows to override default options (e.g. `console=ttyS0`) with provided values. Make sure that full value is given for each option, as any default values for the option are dropped if specified in `--extra-agent-kernel-args`, e.g. `--extra-agent-kernel-args "console=tty0 console=ttyS1 panic=5"`. See also siderolabs/go-procfs#5 Fixes #251 Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
By default, agent environment kernel parameters has
console=ttyS0
.With newly added
--extra-agent-kernel-args
, enabled the ability to addconsole=ttyS1
. (the config working in my servers)The implemenation ended up with both parameters present, I'm not sure how kernel handles this, but in real test, I still could not get serial console output during agent running.
From from https://www.kernel.org/doc/html/v5.9/admin-guide/serial-console.html, below is mentioned:
The text was updated successfully, but these errors were encountered: