Skip to content

mxgrub: Default to ttyS0 for serial console #128

Merged
merged 1 commit into from
Nov 1, 2020

Conversation

pmenzel
Copy link
Contributor

@pmenzel pmenzel commented Jul 2, 2020

No description provided.

We started to use the serial console for debugging for the Dell
PowerEdge R910 and R930, which assign `ttyS1` to the serial console on
the back, as they also have, I think, a serial port on the front.

Unfortunately, Linux does not allow to change the serial console port at
run-time, so the set value on the Linux kernel command line matters.

Most systems, including desktops, often only have one port, or the port,
we are interested in, so it’s `ttyS0` in Linux.

Therefore, change the default to `ttyS0` to cover more systems.
@donald
Copy link
Collaborator

donald commented Jul 3, 2020

So our serial cables at the back of the servers won't work anymore?

@pmenzel
Copy link
Contributor Author

pmenzel commented Jul 3, 2020

Until the next restart (if nobody changes the Linux parameter in GRUB), yes, that will be the case.

The long term goal is to document deviations from ttyS0 as a tag hostconfig, and let mxgrub use this information to generate the wanted command line.

@donald
Copy link
Collaborator

donald commented Jul 3, 2020

Okay with me :-)

@pmenzel
Copy link
Contributor Author

pmenzel commented Nov 1, 2020

/usr/sbin/mxgrub with ttyS0 was already installed since September 4th, 2020.

@pmenzel pmenzel merged commit a0db2b6 into master Nov 1, 2020
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants