Project

General

Profile

Actions

Feature #6835

closed

GRUB should allow multiple serial consoles

Added by Robert Mustacchi over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
bootloader
Start date:
2016-03-29
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

See 6834 for background.

Just as GRUB supports the composite console to allow i/o to both VGA and serial devices, so too should it allow for i/o to all serial ports that actually exist. There are two different ways this could be implemented, one better than the other:

1. Keep the existing single-unit configuration, but allow for fallback. So for example serial --unit=1,0,2 might try to initialise ttyb, then ttya if ttyb doesn't exist, then ttyc if neither exists. This would be slightly better than today; only a single port would actually be used, but we could ensure that if the preferred port doesn't exist/work, we at least find one that does and use it instead.

2. Do away with the need for the serial command entirely when using the composite console; instead add support for multiple consoles of the same type and have the composite console use them all. Currently GRUB supports only one console of any kind, and the composite uses the one device of each class.

Obviously (2) is superior but will require more work.

Actions #1

Updated by Electric Monk over 6 years ago

  • Status changed from New to Closed

git commit 5626beece2e5dedec7197ecf325cfaa1854a6c2e

commit  5626beece2e5dedec7197ecf325cfaa1854a6c2e
Author: Keith M Wesolowski <wesolows@foobazco.org>
Date:   2016-04-08T20:26:43.000Z

    6834 GRUB tries to use nonexistent serial port
    6835 GRUB should allow multiple serial consoles
    Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
    Approved by: Richard Lowe <richlowe@richlowe.net>

Actions

Also available in: Atom PDF