Project

General

Profile

Actions

Bug #14609

closed

loader: os console in options menu should use first name from list

Added by Toomas Soome 6 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
External Bug:

Description

The current os_console setup in options menu is assuming single value set in console variable. Since all usable device names for kernel have 4 chars, we can only compare first 4 chars, and ignore the rest. This does also follow the kernel logic to use first name from console variable (in case the os_console is not set).

Note the console variable setter function does validate the console names, so we always do have correct name(s) in console variable.

Testing done: verify the correct os_console value is set in options menu and on boot. With console="ttya,text", we should have os_console set to ttya. Note, full fix is provided with 14585.


Related issues

Related to illumos gate - Feature #14580: loader.efi: detect console from ConOut/ConOutDevClosedToomas Soome

Actions
Related to illumos gate - Bug #14584: unix: console property should only have one valueClosedToomas Soome

Actions
Related to illumos gate - Feature #12389: loader should consult with ACPI SPCR table for serial consoleClosedToomas Soome

Actions
Related to illumos gate - Bug #14585: loader: should preserve order of console device listClosedToomas Soome

Actions
Related to illumos gate - Bug #14596: cstyle should allow empty increment with for loopIn ProgressToomas Soome

Actions
Related to illumos gate - Bug #14602: ttymon: cleanupClosedToomas Soome

Actions
Related to illumos gate - Feature #14607: Add CONS_GETDEV so we can see which port is /dev/consoleClosedToomas Soome

Actions
Related to illumos gate - Feature #14608: ttymon should use tty-mode propertyClosedToomas Soome

Actions
Actions

Also available in: Atom PDF