Skip to content

console=ttyS0 is too slow and useless #48

@xnox

Description

@xnox

console=ttyS0 is specified in the gadget by default, in UC20, for all modes: recovery, install, and run mode.

However, on the hardware that does not have serial console (majority of real x86 hardware) this option significantly delays the boot, as the kernel is polling for the serial console to appear, delaying the boot by 90s.

Furthermore if the serial console is present, the baud rate is not set to be high enough, resulting in painfully slow boots still.

I would like to drop serial console option from the pc gadget.
If not completely, I can see the value of keeping it for the recover mode.
Alternatively I think we should publish a separate serial pc gadget, that specifies only the serial console with a high baud rate.

Could we make console a grubenv paramenter? such that ubuntu-image / snap-prepare-image can modify it, and it would persist from install mode, to sealed secrets, run/recover modes?

Also see https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1879290

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions