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

Activate serial console #1629

Open
philippebi opened this issue Oct 18, 2024 · 3 comments
Open

Activate serial console #1629

philippebi opened this issue Oct 18, 2024 · 3 comments

Comments

@philippebi
Copy link

The serial console is currently not configured on Elemental OS. Could you please add the kernel extra argument 'console=ttyS0,115200' by default to make it work?

@ldevulder
Copy link
Contributor

ldevulder commented Oct 18, 2024

As we quickly discussed on Slack, I think it is not possible to have something that will work on all type of hardware. As a former sysadmin I can say that on x86 I saw baremetal with remote console configured on ttyS0, some with ttyS1, with also mix of speed configuration: 9600, 19200 or 115200. So there's no real "default" configuration.

And I don't know if it's still the case but the IPMI specification set the default baud rate for BMC at 19200 and sometimes it is not configurable (it was the case for some IBM servers).

Just my 2 cent, regarding my previous experiences ;-)

But in the KVM image/iso maybe it could be defined, as this doesn't follow IPMI rules, so easier in that case.

@kkaempf
Copy link
Contributor

kkaempf commented Oct 21, 2024

See also rancher/elemental-toolkit#1773 😉

@philippebi
Copy link
Author

Note that as a workaround, the following works:

config:
  cloud-config:
    stages:
      after-install-chroot:
      - name: "Set serial console"
        commands:
          - grub2-editenv /oem/grubenv set extra_cmdline="console=ttyS0,115200"

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

3 participants