Feature #14580
closedloader.efi: detect console from ConOut/ConOutDev
100%
Description
Walk devices listed in ConOut (ConOutDev) variable(s) and set up console accordingly.
We need to check both variables because ConOut may be missing. In fact, both of them may be missing, in which case, we default to efi console (video). I have witnessed only laptop missing both ConOut and ConOutDev, therefore fall back to video should be justified (no serial on laptops).
Testing done: tested on my supermicro (physical system). For test, one should remove console and ttyX-mode lines from /boot/solaris/bootenv.rc and remove console line from /boot/defaults/loader.conf.
Related issues
Updated by Toomas Soome 5 months ago
- Tracker changed from Bug to Feature
- Description updated (diff)
- Category set to bootloader
- Status changed from New to In Progress
- Assignee set to Toomas Soome
- % Done changed from 0 to 90
Updated by Gary Mills 5 months ago
I have this setting in /boot/loader.conf on my supermicro system:
console="ttyc"
Will this still work, or should I move it?
Updated by Toomas Soome 5 months ago
Gary Mills wrote in #note-3:
I have this setting in /boot/loader.conf on my supermicro system:
[...]
Will this still work, or should I move it?
it is fine; what we try to do here (and in 12389 for BIOS version) is, we set initial value for console, any later settings will override the detected value.
Updated by Toomas Soome 5 months ago
- Related to Feature #12389: loader should consult with ACPI SPCR table for serial console added
Updated by Toomas Soome 4 months ago
- Related to Bug #14609: loader: os console in options menu should use first name from list added
Updated by Electric Monk 29 days ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
git commit e27085df90712f99e5ea3d44ab0b83c73ac1bf52
commit e27085df90712f99e5ea3d44ab0b83c73ac1bf52 Author: Toomas Soome <tsoome@me.com> Date: 2022-07-11T07:42:55.000Z 14580 loader.efi: detect console from ConOut/ConOutDev Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Richard Lowe <richlowe@richlowe.net>
Updated by Toomas Soome 29 days ago
- Related to Bug #14533: loader.efi: detect console from ConsOut added