GRUB should allow multiple serial consoles
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.
Updated by Electric Monk over 6 years ago
- Status changed from New to Closed
commit 5626beece2e5dedec7197ecf325cfaa1854a6c2e Author: Keith M Wesolowski <firstname.lastname@example.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 <email@example.com> Approved by: Richard Lowe <firstname.lastname@example.org>